/* ==================== STARTLY.RUN MARKETING SITE ==================== */
/* Modern, conversion-focused design for runners */

:root {
    --primary-blue: #4F8EF7;
    --primary-blue-dark: #3D7DE5;
    --primary-blue-light: #5E9FFF;
    --accent-green: #2D8B4E;
    --accent-green-light: #E8F5E9;
    --accent-warm: #FF6B35;
    --accent-warm-light: #FFF4EE;
    --text-dark: #1a1a2e;
    --text-secondary: #555555;
    --text-muted: #888888;
    --bg-light: #f7f8fc;
    --bg-white: #ffffff;
    --bg-warm: #fefcfa;
    --border-color: #e8e8ee;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue-dark) 100%);
    --gradient-hero: linear-gradient(160deg, #f0f4ff 0%, #fefcfa 40%, #f0faf4 100%);
    --gradient-hero-orb-1: radial-gradient(circle, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
    --gradient-hero-orb-2: radial-gradient(circle, rgba(45, 139, 78, 0.06) 0%, transparent 70%);
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);
    --shadow-glow-blue: 0 8px 40px rgba(79, 142, 247, 0.20);
    --shadow-glow-green: 0 8px 40px rgba(45, 139, 78, 0.20);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY ==================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.85rem; }
}

/* ==================== NAVIGATION ==================== */

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    height: 36px;
    width: auto;
}

.brand-startly { color: var(--text-dark); }
.brand-dot-run { color: var(--accent-green); }

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-dark);
}

.navbar-toggler {
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.btn-cta {
    background: var(--accent-green);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 139, 78, 0.3);
    background: #248A44;
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 50px;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}

/* ==================== HERO SECTION ==================== */

.hero {
    background: var(--gradient-hero);
    padding: 9rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: var(--gradient-hero-orb-1);
    pointer-events: none;
    animation: float-slow 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -8%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--gradient-hero-orb-2);
    pointer-events: none;
    animation: float-slow 25s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-green-light);
    color: var(--accent-green);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(45, 139, 78, 0.15);
}

.hero-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 3.75rem;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.hero-title .highlight {
    display: block;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.5rem;
    margin-top: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-cta {
    margin-bottom: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-cta .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-cta .btn-cta.btn-lg {
    background: var(--accent-green);
    color: white;
    box-shadow: 0 4px 14px rgba(45, 139, 78, 0.3);
}

.hero-cta .btn-cta.btn-lg:hover {
    background: #248A44;
    box-shadow: 0 6px 20px rgba(45, 139, 78, 0.4);
}

.hero-cta .btn-outline-dark {
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 50px;
    background: transparent;
    transition: all 0.2s;
}

.hero-cta .btn-outline-dark:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}

.app-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.app-badge {
    height: 44px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.app-badge:hover {
    opacity: 1;
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(79, 142, 247, 0.12) 0%, rgba(45, 139, 78, 0.06) 50%, transparent 75%);
    border-radius: 50%;
    filter: blur(30px);
    z-index: 0;
}

.phone-mockup {
    background: white;
    border-radius: 44px;
    width: 290px;
    height: 600px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.phone-screen {
    background: var(--bg-light);
    height: 100%;
    padding: 60px 16px 30px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 30px;
    background: #1a1a2e;
    border-radius: 20px;
    z-index: 2;
}

.phone-content {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.race-card {
    border-left: 4px solid var(--primary-blue);
}

.race-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.race-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.race-card .countdown {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: 8px;
}

.checklist-preview {
    padding: 12px;
}

.checklist-preview h5 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.checklist-item:last-child {
    border-bottom: none;
}

.check-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-box.checked {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
}

.checklist-item span {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.checklist-item.checked span {
    text-decoration: line-through;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .hero {
        padding: 7rem 0 3rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .phone-mockup {
        width: 250px;
        height: 520px;
    }
}

/* ==================== SECTIONS ==================== */

section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== TRUST STRIP ==================== */

.trust-strip {
    background: var(--bg-white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

/* ==================== PAIN POINT ==================== */

.pain-point {
    background: var(--bg-warm);
    padding: 6rem 0;
}

.pain-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pain-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.pain-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pain-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.pain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==================== HOW IT WORKS ==================== */

.how-it-works {
    background: var(--bg-white);
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-glow-blue);
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==================== FEATURES ==================== */

.features {
    background: var(--bg-light);
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.feature-icon.blue { background: #EBF4FF; color: var(--primary-blue); }
.feature-icon.green { background: var(--accent-green-light); color: var(--accent-green); }
.feature-icon.orange { background: #FFF4EC; color: var(--accent-warm); }
.feature-icon.purple { background: #F3E5F5; color: #7B1FA2; }

.feature-card h4 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==================== PRICING ==================== */

.pricing {
    background: var(--bg-white);
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    border: 2px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow-blue);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-guarantee {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.pricing-guarantee i {
    color: var(--accent-green);
    font-size: 1rem;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.plan-price {
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.plan-price .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-dark);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.plan-features li i {
    color: var(--accent-green);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 142, 247, 0.4);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: white;
}

/* ==================== WHY RUNNERS CHOOSE STARTLY ==================== */

.testimonials {
    background: var(--bg-light);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.testimonial-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card h5 {
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* Founder Note */
.founder-note {
    background: var(--bg-warm);
}

.founder-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.founder-card::before {
    content: '\201C';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.founder-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.founder-card p:last-of-type {
    margin-bottom: 0;
}

.founder-sig {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.founder-sig .sig-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.founder-sig .sig-text {
    font-weight: 600;
    color: var(--text-dark);
}

.founder-sig .sig-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==================== BLOG PREVIEW ==================== */

.blog-preview {
    background: var(--bg-white);
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.blog-image,
.blog-card-image {
    aspect-ratio: 16/9;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.8);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-image i {
    font-size: 3.5rem;
    color: white;
    opacity: 0.9;
}

.blog-content,
.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #EBF4FF;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    width: fit-content;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--primary-blue);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ==================== CTA SECTION ==================== */

.cta-section {
    background: linear-gradient(135deg, #1a2e1a 0%, #1a2940 50%, #1a1a2e 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .btn-cta {
    background: var(--accent-green);
    color: white;
    box-shadow: 0 4px 14px rgba(45, 139, 78, 0.4);
    padding: 0.875rem 2.5rem;
    font-size: 1.1rem;
}

.cta-section .btn-cta:hover {
    background: #34A85A;
    box-shadow: 0 6px 20px rgba(45, 139, 78, 0.5);
    color: white;
    transform: translateY(-2px);
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-note {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

/* ==================== FOOTER ==================== */

.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand .brand-startly { color: white; }
.footer-brand .brand-dot-run { color: var(--primary-blue); }

.footer-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--primary-blue);
}

.footer h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer ul a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* ==================== PAGE HERO ==================== */

.page-hero {
    background: var(--bg-light);
    padding: 8rem 0 3.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-blue));
}

.page-hero h1 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== UTILITIES ==================== */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ==================== AFFILIATE DISCLOSURE ==================== */

.affiliate-disclosure {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Affiliate product box - light, optional feel */
.affiliate-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.affiliate-box-header {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.affiliate-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.affiliate-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.affiliate-item-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

.affiliate-item-link {
    font-size: 0.9rem;
    color: var(--primary-blue);
    text-decoration: none;
}

.affiliate-item-link:hover {
    text-decoration: underline;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.newsletter-section h2 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.newsletter-lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.newsletter-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-form .btn {
    border-radius: var(--radius-md);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Legal Page Content (Privacy & Terms) */
.legal-content {
    padding: 4rem 0;
    background: white;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--primary-blue);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content .effective-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form {
        max-width: 100% !important;
    }

    .legal-content {
        padding: 2rem 0;
    }
}

/* ==================== SCROLL ANIMATIONS ==================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Scale-in variant for cards */
.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* Smooth navbar transition on scroll */
.navbar {
    transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Prefers reduced motion — disable all animations */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 9999;
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.cookie-consent a { color: #7ec8e3; }
.cookie-consent button {
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}
.cookie-consent .btn-accept { background: var(--primary-blue); color: #fff; }
.cookie-consent .btn-decline { background: transparent; color: #ccc; border: 1px solid #555; }
