/* ============================================================
   PipeSaaS CRM — Landing Page Styles
   Design: Clean, premium SaaS — Blue primary + Green CTAs
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Colors */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #0f172a;

    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --white: #ffffff;
    --amber-500: #f59e0b;

    /* Semantic */
    --primary: var(--blue-600);
    --primary-hover: var(--blue-700);
    --primary-light: var(--blue-50);
    --cta: var(--green-500);
    --cta-hover: var(--green-600);
    --text: var(--slate-800);
    --text-secondary: var(--slate-500);
    --text-light: var(--slate-400);
    --bg: var(--white);
    --bg-alt: var(--slate-50);
    --border: var(--slate-200);

    /* Typography */
    --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-py: 6rem;
    --container-max: 1200px;
    --container-px: 1.5rem;

    /* Misc */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-hover); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--slate-900); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(37,99,235,0.3);
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
    transform: translateY(-1px);
}
.btn-cta {
    background: var(--cta);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(16,185,129,0.3);
}
.btn-cta:hover {
    background: var(--cta-hover);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(16,185,129,0.4);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--blue-200);
}
.btn-outline:hover {
    background: var(--blue-50);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}
.btn-white:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
    color: var(--primary);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn svg { width: 20px; height: 20px; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
    padding: 0.75rem 0;
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 10px rgba(0,0,0,0.04);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--slate-900);
    text-decoration: none;
}
.navbar-logo:hover { color: var(--slate-900); }
.navbar-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1rem;
}
.navbar-logo span { color: var(--primary); }

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.navbar-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--slate-600);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar-menu a:hover { color: var(--primary); background: var(--blue-50); }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--slate-700);
}
.mobile-toggle svg { width: 24px; height: 24px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    padding: 9rem 0 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 580px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cta);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 50%, var(--green-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.hero-trust-item svg { width: 16px; height: 16px; color: var(--cta); }

.hero-visual {
    position: relative;
}
.hero-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.hero-mockup-header {
    background: var(--slate-50);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.hero-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--slate-300);
}
.hero-mockup-dot:first-child { background: #ff5f57; }
.hero-mockup-dot:nth-child(2) { background: #febc2e; }
.hero-mockup-dot:nth-child(3) { background: #28c840; }
.hero-mockup-body {
    padding: 1.5rem;
    min-height: 320px;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--white) 100%);
}
.mockup-kanban {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}
.mockup-column { }
.mockup-column-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.mockup-column-title .count {
    background: var(--slate-200);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.55rem;
}
.mockup-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-sm);
}
.mockup-card-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mockup-card-value {
    font-size: 0.55rem;
    color: var(--cta);
    font-weight: 700;
}
.mockup-card-tag {
    display: inline-block;
    padding: 0.1rem 0.3rem;
    font-size: 0.45rem;
    font-weight: 600;
    border-radius: 3px;
    margin-top: 0.2rem;
}
.mockup-card-tag.blue { background: var(--blue-100); color: var(--blue-600); }
.mockup-card-tag.green { background: #d1fae5; color: var(--green-600); }
.mockup-card-tag.amber { background: #fef3c7; color: #d97706; }
.mockup-card-tag.red { background: #fee2e2; color: #dc2626; }

.hero-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}
.hero-float-1 { top: 30%; left: -40px; animation-delay: 0s; }
.hero-float-2 { bottom: 15%; right: -30px; animation-delay: 1s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.hero-float .float-number { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-float .float-label { font-size: 0.7rem; color: var(--text-secondary); font-weight: 500; }
.hero-float .float-trend { font-size: 0.65rem; color: var(--cta); font-weight: 700; }

/* ── Logos ─────────────────────────────────────────────────── */
.logos-section {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.logos-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}
.logos-grid .logo-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--slate-400);
    white-space: nowrap;
}

/* ── Pain Points ──────────────────────────────────────────── */
.pain-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pain-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f59e0b);
    opacity: 0;
    transition: var(--transition);
}
.pain-card:hover {
    border-color: #fecaca;
    box-shadow: 0 8px 30px rgba(239,68,68,0.08);
}
.pain-card:hover::before { opacity: 1; }
.pain-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
}
.pain-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}
.pain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Features ─────────────────────────────────────────────── */
.features-section {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}
.feature-icon.blue { background: var(--blue-50); }
.feature-icon.green { background: #ecfdf5; }
.feature-icon.purple { background: #f5f3ff; }
.feature-icon.amber { background: #fffbeb; }
.feature-icon.rose { background: #fff1f2; }
.feature-icon.sky { background: #f0f9ff; }
.feature-icon.teal { background: #f0fdfa; }
.feature-icon.indigo { background: #eef2ff; }

.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── How It Works ─────────────────────────────────────────── */
.how-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
}
.how-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.how-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.how-step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(37,99,235,0.25);
}
.how-step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}
.how-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ── Screenshots ──────────────────────────────────────────── */
.screenshots-section {
    padding: var(--section-py) 0;
    background: var(--slate-900);
    color: var(--white);
}
.screenshots-section h2 { color: var(--white); }
.screenshots-section .section-subtitle { color: var(--slate-400); }
.screenshots-section .section-label { color: var(--blue-400); }
.screenshots-section .section-label::before { background: var(--blue-400); }

.screenshots-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.screenshot-tab {
    padding: 0.6rem 1.25rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--slate-400);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.screenshot-tab:hover,
.screenshot-tab.active {
    background: rgba(59,130,246,0.2);
    color: var(--white);
    border-color: rgba(59,130,246,0.3);
}
.screenshot-display {
    max-width: 960px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}
.screenshot-window-bar {
    background: var(--slate-800);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.screenshot-display-body {
    background: var(--slate-800);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--slate-500);
    font-size: 0.9rem;
}
.screenshot-placeholder {
    text-align: center;
}
.screenshot-placeholder .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-section {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}
.pricing-toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
}
.pricing-toggle-label.active { color: var(--text); font-weight: 700; }
.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    cursor: pointer;
}
.toggle-switch input { display: none; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--slate-300);
    border-radius: 14px;
    transition: var(--transition);
}
.toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::after { transform: translateX(24px); }
.pricing-save-badge {
    background: #dcfce7;
    color: var(--green-600);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    transition: all var(--transition);
    position: relative;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}
.pricing-card.highlighted {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(37,99,235,0.15);
    transform: scale(1.03);
    z-index: 2;
}
.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.pricing-plan-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.pricing-price {
    margin-bottom: 1.5rem;
}
.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1;
}
.pricing-amount .currency {
    font-size: 1.25rem;
    vertical-align: super;
    font-weight: 600;
}
.pricing-period {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}
.pricing-original {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
    display: none;
}
.annual-active .pricing-original { display: inline; }

.pricing-cta {
    width: 100%;
    margin-bottom: 1.75rem;
}
.pricing-features {
    list-style: none;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--slate-600);
}
.pricing-features li svg {
    width: 18px;
    height: 18px;
    color: var(--cta);
    flex-shrink: 0;
    margin-top: 2px;
}
.pricing-features li.disabled {
    color: var(--text-light);
}
.pricing-features li.disabled svg {
    color: var(--slate-300);
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section {
    padding: var(--section-py) 0;
    background: var(--bg);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--blue-200);
}
.testimonial-stars {
    display: flex;
    gap: 0.15rem;
    margin-bottom: 1rem;
    color: var(--amber-500);
}
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}
.testimonial-info .name {
    font-weight: 600;
    font-size: 0.9rem;
}
.testimonial-info .role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--blue-200); }
.faq-item.active { border-color: var(--primary); box-shadow: 0 2px 12px rgba(37,99,235,0.08); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-700);
    gap: 1rem;
    user-select: none;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--slate-400);
}
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ── CTA Final ────────────────────────────────────────────── */
.cta-section {
    padding: var(--section-py) 0;
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    border-radius: 50%;
}
.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 0.6rem;
}
.footer-col a {
    color: var(--slate-400);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.footer-badges span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}
.footer-badges svg { width: 16px; height: 16px; }

/* ── Animations ───────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-ctas { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { max-width: 600px; margin: 0 auto; }
    .hero-float { display: none; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.highlighted { transform: scale(1.02); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --section-py: 4rem; }
    .navbar-menu { display: none; }
    .mobile-toggle { display: block; }
    
    /* Mobile menu */
    .navbar-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .hero { padding: 7rem 0 3rem; }
    .pain-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; gap: 2rem; }
    .how-steps::before { display: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-card.highlighted { transform: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .screenshots-tabs { gap: 0.35rem; }
    .screenshot-tab { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    
    .btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
    .navbar-actions .btn-outline { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .pricing-amount { font-size: 2.25rem; }
}
