/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --accent: #60a5fa;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-section: #f1f5f9;
    --success: #10b981;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-white);
    color: var(--text-body);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== HEADER ===== */
header {
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo h1 span {
    color: var(--text-dark);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-cta {
    padding: 10px 22px !important;
    background: var(--primary) !important;
    color: white !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f7ff 0%, var(--bg-white) 100%);
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
    max-width: 520px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 36px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-body);
    font-size: 14px;
    font-weight: 500;
}

.feature-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 3px;
}

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

.btn-primary {
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 16px 32px;
    background: var(--bg-white);
    color: var(--text-body);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 28px 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.stat-box .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
    letter-spacing: -0.5px;
}

.stat-box .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
}

.illustration-card {
    background: linear-gradient(145deg, #f0f7ff, #e8f4fd);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.illustration-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(37, 99, 235, 0.06) 1px, transparent 0);
    background-size: 24px 24px;
}

.illustration-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 360px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    font-size: 14px;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.floating-card strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.floating-card span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
}

.card-1 {
    top: 20px;
    right: 0;
    animation-name: floatUp;
}

.card-2 {
    bottom: 80px;
    left: -10px;
    animation-name: floatDown;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20px;
    right: 20px;
    animation-name: floatUp;
    animation-delay: 2s;
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.illustration-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.avatar-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite;
}

.avatar-inner {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), #c7d2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow-lg);
}

/* ===== SECTIONS (Features, Companies) ===== */
.for-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.for-section.alt-bg {
    background: var(--bg-light);
}

.section-label {
    text-align: center;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-heading {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 0;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.for-section.alt-bg .feature-card {
    background: var(--bg-white);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.05);
    box-shadow: 0 8px 16px var(--primary-glow);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.step-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--bg-section);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.step-card:hover .step-number {
    color: var(--primary-light);
}

.step-connector {
    display: none;
}

.step-icon-box {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.center-btn {
    display: flex;
    margin: 0 auto;
    align-items: center;
    gap: 10px;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 720px;
    margin: 48px auto 0;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.faq-question {
    padding: 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 20px;
    color: var(--primary);
    font-weight: 400;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-light);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    padding: 0 28px 24px;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
}

/* ===== FINAL CTA / WAITLIST ===== */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, var(--primary) 50%, #7c3aed 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 32px 32px;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.cta-heading {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    letter-spacing: -1px;
}

.cta-heading span {
    color: #fbbf24;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 44px;
    line-height: 1.7;
}

.waitlist-form-inline {
    max-width: 640px;
    margin: 0 auto 36px;
}

.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-row input {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transition: all 0.3s ease;
}

.form-row input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-row input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit-inline {
    padding: 16px 32px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-submit-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-submit-inline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.role-selector {
    margin-top: 32px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
}

.role-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.role-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-size: 14px;
}

.role-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.role-option input {
    cursor: pointer;
    accent-color: white;
}

/* Messages */
.success-message,
.error-message {
    margin-top: 20px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    animation: slideIn 0.3s ease-out;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.success-message {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: white;
}

.error-message {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: white;
}

/* ===== FOOTER ===== */
footer {
    padding: 64px 0 0;
    background: #0f172a;
    color: #94a3b8;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 64px;
    padding-bottom: 48px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-brand h2 {
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 340px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: all 0.25s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.footer-section h3 {
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    color: #475569;
    font-size: 14px;
    margin: 0;
}

/* ===== POPUP MODAL ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 440px;
    width: 90%;
    position: relative;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.popup-header {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    padding: 44px 32px 36px;
    text-align: center;
    color: white;
}

.popup-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
}

.popup-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
    letter-spacing: -0.5px;
}

.popup-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.popup-content {
    padding: 32px;
    background: white;
}

.popup-benefit {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 14px;
}

.popup-benefit:last-child {
    margin-bottom: 0;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.6;
}

.benefit-text strong {
    color: var(--text-dark);
    font-weight: 700;
}

.popup-actions {
    padding: 0 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
}

.popup-btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.popup-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.popup-btn-secondary {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.popup-btn-secondary:hover {
    color: var(--text-dark);
    background: var(--bg-light);
}

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Scroll Effect */
header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

/* Mobile Menu Open State */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.nav-links.mobile-open a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.nav-links.mobile-open a:hover {
    background: var(--bg-light);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-illustration {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons button {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
        text-align: center;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .section-heading {
        font-size: 32px;
    }

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

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

    .form-row {
        flex-direction: column;
    }

    .form-row input {
        min-width: 100%;
    }

    .role-options {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-heading {
        font-size: 34px;
    }

    .illustration-card {
        min-height: 350px;
        padding: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-heading {
        font-size: 26px;
    }

    .cta-heading {
        font-size: 28px;
    }

    .for-section,
    .how-it-works,
    .faq-section,
    .final-cta {
        padding: 64px 0;
    }
}
