/* ========================================
   Raffle Platform - Marketing Site CSS
   ======================================== */

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

:root {
    --primary: #4F46E5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --primary-50: rgba(79,70,229,0.05);
    --primary-100: rgba(79,70,229,0.1);
    --secondary: #7C3AED;
    --secondary-light: #a78bfa;
    --accent: #10B981;
    --accent-light: #34d399;
    --accent-dark: #059669;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --bg-dark-2: #1e293b;
    --bg-dark-3: #334155;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

::selection { background: var(--primary-100); color: var(--primary-dark); }

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

/* ========================================
   Navigation
   ======================================== */
.site-nav {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226,232,240,0.6);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 3px;
    letter-spacing: -0.5px;
}

.nav-brand span { color: var(--text); }

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--primary-50);
}

.nav-links a.active {
    color: var(--primary);
    background: var(--primary-100);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    border-radius: var(--radius-sm);
}

.nav-toggle:hover { background: var(--bg-alt); }

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 1px 3px rgba(79,70,229,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 12px rgba(79,70,229,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 1px 3px rgba(16,185,129,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-accent:hover {
    background: var(--accent-dark);
    color: white;
    box-shadow: 0 4px 12px rgba(16,185,129,0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-white:hover {
    background: #f8fafc;
    color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: var(--radius); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 100px 24px 80px;
    text-align: center;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79,70,229,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(124,58,237,0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 40%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(79,70,229,0.08) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
    box-shadow: var(--shadow-xs);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--bg-dark);
    letter-spacing: -1.5px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    margin-top: 64px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual-inner {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.05),
        var(--shadow-xl),
        0 0 80px rgba(79,70,229,0.15);
    position: relative;
    overflow: hidden;
}

.hero-visual-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    color: white;
    text-align: center;
}

.hero-stat-value {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   Sections
   ======================================== */
.section { padding: 100px 24px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-white); }

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

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

.section-header .section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-dark .section-header .section-label { color: var(--accent-light); }
.section-dark .section-header p { color: var(--text-muted); }

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    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(--secondary));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79,70,229,0.15);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: transform var(--transition);
}

.feature-card:hover .feature-icon { transform: scale(1.1); }

.feature-icon.purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.feature-icon.blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.feature-icon.green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.feature-icon.orange { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.feature-icon.pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.feature-icon.teal { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

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

/* ========================================
   Steps
   ======================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 20px);
    right: calc(16.67% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 4px 15px rgba(79,70,229,0.3);
    transition: transform var(--transition);
}

.step:hover .step-number { transform: scale(1.1); }

.step h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.step p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ========================================
   Pricing
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: -8px 0 36px;
}

.billing-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.billing-save {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(16,185,129,0.12);
    padding: 4px 10px;
    border-radius: 50px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-dark-3);
    border-radius: 28px;
    transition: 0.3s;
}

.switch .slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background: var(--primary);
}

.switch input:checked + .slider::before {
    transform: translateX(24px);
}

.price-card {
    background: var(--bg-dark-2);
    border: 1px solid var(--bg-dark-3);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.price-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(79,70,229,0.08) 0%, var(--bg-dark-2) 40%);
    transform: scale(1.04);
    box-shadow: 0 0 0 1px var(--primary), 0 20px 40px rgba(79,70,229,0.15);
}

.price-card.featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.price-card-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.price-card .price-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-card .price {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    margin: 20px 0;
    letter-spacing: -2px;
    line-height: 1;
}

.price-card .price small {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin: 28px 0;
}

.price-card ul li {
    padding: 10px 0;
    color: #cbd5e1;
    font-size: 14px;
    border-bottom: 1px solid rgba(51,65,85,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card ul li:last-child { border-bottom: none; }

.price-card ul li .check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16,185,129,0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 24px;
    text-align: center;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%),
        linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

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

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ========================================
   Auth Pages
   ======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-left {
    flex: 1;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.auth-left .auth-content { position: relative; z-index: 1; }

.auth-left h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.15;
}

.auth-left p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 440px;
    line-height: 1.7;
}

.auth-left ul {
    list-style: none;
    margin-top: 40px;
}

.auth-left ul li {
    padding: 10px 0;
    font-size: 16px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-left ul li .check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--bg-alt);
}

.auth-card {
    width: 100%;
    max-width: 440px;
}

.auth-card h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.auth-card .subtitle {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 15px;
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    font-weight: 600;
}

.plan-selector {
    margin: 24px 0;
}

.plan-selector-title {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.01em;
}

.plan-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.plan-card {
    position: relative;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: white;
}

.plan-card:hover {
    border-color: var(--primary);
}

.plan-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-card.selected {
    border-color: var(--primary);
    background: var(--primary-100);
    box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}

.plan-card.featured {
    border-color: var(--primary);
}

.plan-card-name {
    font-weight: 700;
    font-size: 14px;
}

.plan-card-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2px;
}

.cycle-toggle {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.plan-cycle-option {
    flex: 1;
}

.plan-cycle-option input {
    position: absolute;
    opacity: 0;
}

.plan-cycle-option span {
    display: block;
    text-align: center;
    padding: 9px 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.plan-cycle-option em {
    font-style: normal;
    color: #16a34a;
    font-size: 12px;
}

.plan-cycle-option input:checked + span {
    border-color: var(--primary);
    background: var(--primary-100);
    color: var(--primary-dark);
}

@media (max-width: 480px) {
    .plan-cards { grid-template-columns: 1fr; }
}

.error-msg {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.success-msg {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-muted);
    padding: 72px 24px 0;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-brand span { color: var(--primary-light); }

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-col h4 {
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    padding: 5px 0;
    transition: all var(--transition);
}

.footer-col a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(51,65,85,0.5);
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    padding: 22px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    font-family: inherit;
    transition: color var(--transition);
}

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

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
    margin-left: 16px;
}

.faq-icon::before { content: '+'; font-size: 18px; color: var(--text-secondary); font-weight: 500; }

.faq-item.open .faq-icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(45deg);
}

.faq-item.open .faq-icon::before { color: white; }

.faq-answer {
    padding: 0 0 22px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    display: none;
    animation: faqSlideDown 0.3s ease;
}

.faq-item.open .faq-answer { display: block; }

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

/* ========================================
   Trust Logos / Social Proof
   ======================================== */
.social-proof {
    text-align: center;
    padding: 0 24px;
    margin-top: -20px;
}

.social-proof p {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.4;
}

.trust-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: -0.5px;
}

/* ========================================
   Metrics Bar
   ======================================== */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.metric-item {
    text-align: center;
    padding: 32px 20px;
    border-right: 1px solid var(--border);
}

.metric-item:last-child { border-right: none; }

.metric-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    line-height: 1;
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 44px; }
    .section-header h2 { font-size: 34px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { gap: 20px; }
    .price-card.featured { transform: scale(1.02); }
    .price-card.featured:hover { transform: scale(1.02) translateY(-4px); }
}

@media (max-width: 968px) {
    .hero h1 { font-size: 38px; }
    .hero p { font-size: 17px; }
    .features-grid,
    .steps,
    .pricing-grid,
    .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .auth-page { flex-direction: column; }
    .auth-left { padding: 48px 24px; min-height: auto; }
    .auth-right { padding: 40px 24px; }
    .metrics-bar { grid-template-columns: repeat(2, 1fr); }
    .metric-item:nth-child(2) { border-right: none; }
    .metric-item:nth-child(1),
    .metric-item:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }
    .nav-links.open a { padding: 10px 12px; }
    .hero { padding: 64px 20px 48px; }
    .hero h1 { font-size: 32px; letter-spacing: -1px; }
    .hero p { font-size: 16px; }
    .hero-visual-inner { padding: 28px 20px; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; }
    .hero-stat-value { font-size: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 64px 20px; }
    .section-header h2 { font-size: 28px; }
    .section-header p { font-size: 16px; }
    .cta-section { padding: 64px 20px; }
    .cta-section h2 { font-size: 30px; }
    .metrics-bar { margin-top: -24px; }
    .metric-item { padding: 24px 16px; }
    .metric-value { font-size: 26px; }
    .auth-left h2 { font-size: 30px; }
    .auth-card h1 { font-size: 24px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 300px; }
    .nav-actions .btn-outline { display: none; }
    .btn-lg { padding: 12px 24px; font-size: 15px; }
}
