/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --bg-color: #fbfbfe;
    --text-color: #1f1f2e;
    --text-muted: #6b6b80;

    /* Pastel Accents */
    --accent-purple: #cbb4ff;
    --accent-purple-dark: #a27afb;
    --accent-green: #bce9d6;
    --accent-green-dark: #74d8ac;
    --accent-beige: #f9eecd;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-green) 100%);
    --gradient-text: linear-gradient(90deg, var(--accent-purple-dark) 0%, var(--accent-green-dark) 100%);

    /* Surfaces */
    --surface-white: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.75);

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(162, 122, 251, 0.15);

    /* Borders */
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 30px;

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--text-color);
    color: var(--surface-white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: var(--surface-white);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #f0f0f5;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    border-radius: var(--border-radius-lg);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(251, 251, 254, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -0.04em;
}

.logo .accent {
    color: var(--accent-purple-dark);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, rgba(203, 180, 255, 0) 70%);
    opacity: 0.4;
    filter: blur(80px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--surface-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple-dark);
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.headline {
    font-size: 4rem;
    margin-bottom: 20px;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.floating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: var(--surface-white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Hero Visual / Mockup */
.hero-visual {
    position: relative;
}

.mockup-bg-blur {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    opacity: 0.3;
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
}

.mockup-card {
    position: relative;
    z-index: 1;
    background: var(--surface-white);
    /* Non-glass fallback */
    padding: 24px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.mockup-header .dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e5ea;
    margin-right: 6px;
}

.mockup-header .dots span:nth-child(1) {
    background: #ff5f56;
}

.mockup-header .dots span:nth-child(2) {
    background: #ffbd2e;
}

.mockup-header .dots span:nth-child(3) {
    background: #27c93f;
}

.mockup-header .title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    flex: 1;
    background: #f8f8fa;
    padding: 20px;
    border-radius: var(--border-radius-sm);
}

.stat-item.highlight {
    background: var(--accent-green);
    color: #1a4f36;
}

.stat-item .label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-item .value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 150px;
    padding-top: 20px;
}

.bar-wrap {
    width: 12%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background: #f0f0f5;
    border-radius: 6px 6px 0 0;
}

.bar {
    width: 100%;
    background: var(--accent-purple);
    border-radius: 6px 6px 0 0;
    transition: height 1.5s ease;
}

.highlight-bar {
    background: var(--accent-purple-dark);
}

.mockup-mini-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.mockup-mini-card .icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c734b;
}

.mockup-mini-card .text strong {
    display: block;
    font-size: 0.9rem;
}

.mockup-mini-card .text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.float-anim-1 {
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.float-anim-2 {
    bottom: -30px;
    left: -40px;
    animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ==========================================================================
   Services Section (Rounded Modern Cards)
   ========================================================================== */
.services-section {
    padding: 120px 0;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.hook-statement {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.service-card {
    flex: 1 1 320px;
    max-width: 400px;
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--surface-white);
}

.service-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--accent-purple);
    color: #fff;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card:nth-child(2n) .icon-wrapper {
    background: var(--accent-green);
    color: #1a4f36;
}

.service-card:nth-child(3n) .icon-wrapper {
    background: var(--accent-beige);
    color: #8c734b;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-hook {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-purple-dark);
}

.service-card:nth-child(2n) .service-hook {
    color: var(--accent-green-dark);
}

.service-card:nth-child(3n) .service-hook {
    color: #8c734b;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Results
   ========================================================================== */
.results-section {
    padding: 120px 0;
    background: var(--bg-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 64px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-box {
    background: var(--surface-white);
    padding: 40px 24px;
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.stat-box h3 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-color);
    margin-bottom: 8px;
}

.stat-box p {
    color: var(--text-muted);
    font-weight: 500;
}

.satisfaction-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--surface-white);
    padding: 16px 32px;
    border-radius: 100px;
    width: fit-content;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.stars {
    letter-spacing: 2px;
}

/* ==========================================================================
   How It Works
   ========================================================================== */
.how-it-works-section {
    padding: 120px 0;
    background: #ffffff;
}

.steps-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.step-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 0;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta-section {
    padding: 80px 0 120px;
}

.cta-block {
    background: var(--gradient-primary);
    padding: 80px 40px;
    text-align: center;
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: 0 30px 60px rgba(203, 180, 255, 0.4);
}

.cta-block h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: #1f1f2e;
}

.cta-block p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.minimal-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.minimal-footer p {
    color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .headline {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .floating-tags {
        justify-content: center;
    }

    .mockup-bg-blur {
        width: 300px;
        height: 300px;
    }

    .mockup-mini-card.float-anim-2 {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .steps-layout {
        grid-template-columns: 1fr;
    }

    .services-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .headline {
        font-size: 2.2rem;
    }

    .subheadline {
        font-size: 1.1rem;
    }

    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hook-statement {
        font-size: 1.2rem;
    }

    .cta-block {
        padding: 50px 20px;
    }

    .cta-block h2 {
        font-size: 2rem;
    }

    .stat-box h3 {
        font-size: 2.5rem;
    }

    .services-section,
    .results-section,
    .how-it-works-section,
    .final-cta-section {
        padding: 80px 0;
    }

    .satisfaction-badge {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }
}