@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #635bff;
    --primary-hover: #0a2540;
    --accent-blue: #00d4ff;
    --text-main: #0a2540;
    --text-slate: #425466;
    --bg-main: #f6f9fc;
    --bg-white: #ffffff;
    --border-soft: #e6ebf1;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-hover: 0 18px 35px rgba(50, 50, 93, 0.15), 0 8px 15px rgba(0, 0, 0, 0.1);
    --radius-round: 50px;
    --radius-card: 16px;
    --tr: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.title-hero {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.title-hero strong {
    font-weight: 700;
}
.title-section {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p.lead {
    font-size: 1.25rem;
    color: var(--text-slate);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-round);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--tr);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);    
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}
.btn-link {
    background: transparent;
    color: var(--primary);
    padding: 0;
}
.btn-link:hover {
    color: var(--primary-hover);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--tr);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.01em;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-slate);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--tr);
}
.nav-links a:hover {
    color: var(--text-main);
}
.nav-cta {
    padding: 0.5rem 1.2rem;
}

/* Stripes background canvas */
.stripe-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    transform: skewY(-12deg);
    transform-origin: 0;
    background: linear-gradient(150deg, #f6f9fc 15%, #e1e9fc 70%, #d8e5ff 94%);
}
.stripe-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15rem;
    background: linear-gradient(150deg, var(--primary) 0%, var(--accent-blue) 100%);
    opacity: 0.15;
    filter: blur(80px);
    transform: translateY(50%);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 15rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-content {
    max-width: 600px;
}
.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(99, 91, 255, 0.1);
    color: var(--primary);
    border-radius: var(--radius-round);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-photo-wrap {
    position: relative;
    border-radius: 50%;
    width: 450px;
    height: 450px;
    margin-left: auto;
    overflow: visible;
}
.hero-photo-bg {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, #a39cfb 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(40px);
    z-index: 1;
    animation: drift 8s infinite alternate ease-in-out;
}
.hero-photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 2;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
    border: 4px solid var(--bg-white);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-20px, 20px) scale(1.05); }
}

/* Story Section */
.story-section {
    padding: 8rem 0;
    background: var(--bg-white);
    position: relative;
    z-index: 2;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.story-image {
    width: 100%;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
}

.timeline {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.timeline-item {
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: -1.5rem;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    top: 5px;
}
.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.timeline-item span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* Services */
.services-section {
    padding: 8rem 0;
    background: var(--bg-main);
    clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
    margin-top: -4vw;
}
.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-card);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--tr);
}
.service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.service-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 91, 255, 0.08);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.service-icon svg {
    width: 24px;
    height: 24px;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-section {
    padding: 2rem 0 8rem;
    background: var(--bg-main);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}
.review-text {
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-slate);
}
.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-soft);
    padding-top: 1rem;
}
.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.reviewer h4 {
    font-size: 0.95rem;
    margin-bottom: 0;
}
.reviewer span {
    font-size: 0.8rem;
    color: #8898aa;
}

/* CTA Chapter */
.cta-section {
    padding: 0;
    position: relative;
    height: 950px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    z-index: 1;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 31, 54, 0.9), rgba(99, 91, 255, 0.8));
    z-index: 2;
}
.cta-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--bg-white);
    max-width: 600px;
}
.cta-content .title-section {
    color: var(--bg-white);
    margin-bottom: 2rem;
}
.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-round);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--tr);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.btn-glass svg {
    width: 20px; height: 20px; margin-right: 8px;
}

/* Footer */
footer {
    background: var(--text-main);
    color: var(--border-soft);
    padding: 0.8rem 0;
    text-align: center;
    font-size: 0.85rem;
}

@media (max-width: 992px) {
    .hero-grid, .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
    }
    p.lead {
        margin: 0 auto 2rem;
    }
    .hero-photo-wrap {
        margin: 0 auto;
        width: 320px;
        height: 320px;
    }
    .story-grid .story-image {
        order: -1;
        aspect-ratio: auto;
        height: 400px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .nav-links, .nav-cta {
        display: none;
    }
}
