/*
================================================
Reelify AI - Website Style
================================================
- Root & Base Styles
- Aurora Background Effect
- Header & Navigation
- Hero Section & Social Proof
- Problem/Solution Cards
- Features Grid
- Pricing Section
- FAQ Accordion
- Final CTA & Footer
- Scroll Animations
- Responsive Media Queries
================================================
*/

/* --- Root & Base Styles --- */
:root {
    --bg-dark: #0A0A10;
    /* A deep, premium black */
    --bg-light: #12121B;
    /* A slightly lighter surface color */
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1A6;
    --accent-blue: #3B82F6;
    --accent-purple: #8B5CF6;
    --border-color: rgba(255, 255, 255, 0.08);
    --success-green: #22C55E;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

h1 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 3.6rem;
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
}

h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Aurora Background Effect --- */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.aurora-dot {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    animation: float 24s infinite ease-in-out alternate;
}

.aurora-dot-1 {
    width: 500px;
    height: 500px;
    background-color: var(--accent-blue);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.aurora-dot-2 {
    width: 600px;
    height: 600px;
    background-color: var(--accent-purple);
    top: 50%;
    right: -20%;
    animation-delay: 5s;
}

.aurora-dot-3 {
    width: 400px;
    height: 400px;
    background-color: #f59e0b;
    bottom: -15%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    from {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    to {
        transform: translateY(50px) translateX(-50px) rotate(30deg);
    }
}

/* --- Header & Navigation --- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(10, 10, 16, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.main-header.scrolled {
    background: rgba(10, 10, 16, 0.9);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.main-header nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.main-header nav a:hover {
    color: var(--text-primary);
}

.cta-button-small {
    background: #FFFFFF;
    color: #0A0A10;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 10, 16, 0.08);
    box-shadow: 0 8px 20px rgba(8, 8, 12, 0.25);
}

/* Small dropdown container styles */
.download-dropdown.small {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.15);
}

.download-dropdown.small:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(255, 255, 255, 0.25);
}

/* When inside small dropdown, override individual button styles */
.download-dropdown.small .cta-button-small {
    border-radius: 8px 0 0 8px;
    box-shadow: none;
    transition: none;
    flex: 1;
}

/* Standalone small button hover (not in dropdown) */
.cta-button-small:not(.download-dropdown .cta-button-small):hover {
    background: #F5F5F7;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(8, 8, 12, 0.3);
}

/* --- General Section Styling --- */
section {
    padding: 100px 0;
}

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

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* --- Hero Section & Social Proof --- */
.hero {
    text-align: center;
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #0A0A10;
}

.hero .subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 30px;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

/* Download Dropdown Styles */
.download-dropdown {
    position: relative;
    display: inline-flex;
    align-items: stretch;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--accent-blue);
    transition: all 0.3s ease;
}

.download-dropdown:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-purple);
}

.dropdown-toggle {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border: none;
    padding: 16px 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0 12px 12px 0;
}

.dropdown-toggle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.dropdown-toggle svg {
    width: 16px;
    height: 16px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.dropdown-toggle:hover svg {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 8px;
    min-width: 200px;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 4px;
}

.dropdown-item:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

.dropdown-item svg {
    opacity: 0.7;
}



.dropdown-toggle-small {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border: none;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0 8px 8px 0;
}

.dropdown-toggle-small::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.dropdown-toggle-small svg {
    width: 12px;
    height: 12px;
    color: var(--text-primary);
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.dropdown-toggle-small:hover svg {
    transform: rotate(180deg);
    opacity: 1;
}

@media (min-width: 768px) {
    .cta-group {
        flex-direction: row;
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 80px 16px 30px;
    }

    .hero-content {
        max-width: 100%;
    }

    .cta-group {
        width: 100%;
    }

    .cta-button-large {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 12px;
        padding: 0;
    }

    .hero-stat {
        text-align: center;
        padding: 18px;
    }

    .hero-stat-value {
        font-size: 1.1rem;
    }

    .hero-stat-label {
        text-align: center;
        line-height: 1.4;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
}

.hero-stat-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    color: #0A0A10;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid rgba(10, 10, 16, 0.08);
    box-shadow: 0 20px 50px rgba(5, 5, 8, 0.35);
}

/* When inside dropdown, override individual button styles */
.download-dropdown .cta-button-large {
    border-radius: 12px 0 0 12px;
    box-shadow: none;
    transition: none;
    flex: 1;
}

/* Standalone button hover (not in dropdown) */
.cta-button-large:not(.download-dropdown .cta-button-large):hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 60px rgba(5, 5, 8, 0.4);
    background: #F5F5F7;
}

.cta-button-large svg {
    width: 20px;
    height: 20px;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cta-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.hero-visual {
    margin-top: 60px;
    max-width: 900px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: #000;
    overflow: hidden;
}

.hero-visual img,
.hero-visual video {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
}

.social-proof {
    margin-top: 80px;
    text-align: center;
}

.social-proof p {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* --- Testimonials Section --- */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- How It Works Section --- */
.how-it-works {
    background: var(--bg-dark);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 40px 20px;
    background: rgba(22, 21, 43, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Features Grid --- */
.badge-alt {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #0A0A10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

/* --- Pricing Section --- */
.pricing {
    background: var(--bg-light);
}

/* Platform tabs */
.platform-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 6px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.platform-tab {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.platform-tab.active {
    background: #FFFFFF;
    color: #0A0A10;
    box-shadow: 0 10px 25px rgba(5, 5, 8, 0.3);
}

.platform-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.pricing-content {
    display: none;
}

.pricing-content.active {
    display: block;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-plan {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.pricing-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-plan .plan-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-height: 40px;
    /* Aligns heights */
}

.pricing-plan .price {
    font-size: 3rem;
    font-weight: 800;
    margin: 25px 0;
}

.pricing-plan .price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.old-price {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    margin-right: 10px;
    opacity: 0.7;
}

.early-access-note {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button-plan {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: background 0.3s;
}

.cta-button-plan:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cta-button-plan.primary {
    background: #FFFFFF;
    color: #0A0A10;
    border: 1px solid rgba(10, 10, 16, 0.08);
    box-shadow: 0 15px 35px rgba(5, 5, 8, 0.35);
}

.cta-button-plan.primary:hover {
    background: #F5F5F7;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list .check {
    color: var(--success-green);
    font-weight: bold;
}

.pricing-plan.popular {
    transform: scale(1.05);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    color: #0A0A10;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.faq-accordion details {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
}

.faq-accordion details:first-of-type {
    border-top: 1px solid var(--border-color);
}

.faq-accordion summary {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: var(--text-primary);
}

.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.faq-accordion details p {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* --- Final CTA & Footer --- */
.final-cta {
    text-align: center;
}

.final-cta h2 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Scroll Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered animation delays */
.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

    .platform-tabs {
        max-width: none;
        width: 100%;
        margin-bottom: 30px;
    }

    .platform-tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .pricing-plan {
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-plan.popular {
        transform: scale(1);
        /* Reset scale for better layout */
    }
}

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

    h2 {
        font-size: 2.2rem;
    }

    .main-header {
        padding: 15px 20px;
    }

    .main-header nav {
        display: none;
    }

    /* Simplify header for mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 540px) {
    .platform-tabs {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }

    .platform-tab {
        width: 100%;
    }
}

/* 
--- Social Proof Section --- */
.social-proof-section {
    background: var(--bg-light);
    padding: 60px 0;
}

/* --- Before vs After Section --- */
.before-after {
    background: var(--bg-dark);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-side {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-side:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.comparison-side h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: left;
}

.comparison-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.genius .point {
    color: rgba(245, 245, 247, 0.9);
}

.point em {
    font-style: italic;
    color: var(--text-primary);
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* --- How It Works Section --- */
.how-it-works {
    background: var(--bg-dark);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 40px 20px;
    background: rgba(22, 21, 43, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* -
-- Responsive Updates --- */
@media (max-width: 900px) {
    .proof-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

@media (max-width: 768px) {
    .proof-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

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

    .step-card {
        padding: 32px 18px;
    }

    .step-number {
        right: 16px;
    }
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-light) 50%, var(--bg-dark) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

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

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-blue);
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: serif;
    opacity: 0.3;
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .testimonial-content p {
        font-size: 1rem;
    }
}

/* ---
 Testimonials Section --- */
.testimonials {
    padding: 80px 0;
    overflow: hidden;
}

.testimonials-carousel {
    margin-top: 50px;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    min-width: 400px;
    max-width: 400px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-style: italic;
}

.author {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
        padding: 20px;
    }

    .testimonials-track {
        gap: 20px;
    }
}

/* --- Platform Selection Modal --- */
.platform-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.platform-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.platform-modal-content {
    background: linear-gradient(135deg, var(--bg-light) 0%, #1a1a2e 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.platform-modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-primary);
}

.platform-modal-content > p {
    text-align: center;
    color: #888888;
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.platform-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #888888;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.platform-modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(90deg);
}

.platform-buttons {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.platform-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.platform-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.platform-option:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.platform-option:hover::before {
    opacity: 1;
}

.platform-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.platform-option[data-platform="ios"] .platform-icon {
    background: linear-gradient(135deg, #e8e8ed, #f5f5f8);
    color: #555555;
}

.platform-option[data-platform="ios"]:hover .platform-icon {
    background: linear-gradient(135deg, #f0f0f5, #ffffff);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.platform-option[data-platform="android"] .platform-icon {
    background: linear-gradient(135deg, #c8e6c9, #dcedc8);
    color: #388e3c;
}

.platform-option[data-platform="android"]:hover .platform-icon {
    background: linear-gradient(135deg, #d4edda, #e8f5e9);
    color: #2d6a2d;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.platform-info {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 1;
}

.platform-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.platform-info p {
    font-size: 0.85rem;
    color: #a0a0a0;
    margin: 0;
    font-weight: 500;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .platform-modal-content {
        padding: 40px 25px;
        width: 95%;
        max-width: 95%;
        margin: 20px;
    }

    .platform-modal-content h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .platform-modal-content > p {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .platform-modal-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
        width: 35px;
        height: 35px;
    }

    .platform-buttons {
        gap: 15px;
    }

    .platform-option {
        padding: 20px;
        gap: 15px;
    }

    .platform-option:active {
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.12);
    }

    .platform-icon {
        width: 50px;
        height: 50px;
    }

    .platform-icon svg {
        width: 30px;
        height: 30px;
    }

    .platform-info h3 {
        font-size: 1.2rem;
    }

    .platform-info p {
        font-size: 0.85rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .platform-modal-content {
        padding: 30px 20px;
        width: 92%;
        margin: 10px;
        border-radius: 20px;
    }

    .platform-modal-content h2 {
        font-size: 1.4rem;
    }

    .platform-modal-content > p {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .platform-buttons {
        gap: 12px;
    }

    .platform-option {
        padding: 18px 16px;
        gap: 12px;
        border-radius: 14px;
    }

    .platform-icon {
        width: 45px;
        height: 45px;
    }

    .platform-icon svg {
        width: 26px;
        height: 26px;
    }

    .platform-info h3 {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .platform-info p {
        font-size: 0.8rem;
    }
}

/* Update CTA button to work as button element */
.cta-button-large,
.cta-button-small {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

button.cta-button-large,
button.cta-button-small {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button.cta-button-plan {
    width: 100%;
}

/* Mobile touch improvements */
@media (hover: none) and (pointer: coarse) {
    .platform-option:hover {
        transform: none;
    }
    
    .platform-option:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.12);
    }

    .platform-modal-close:hover {
        transform: none;
    }

    .platform-modal-close:active {
        transform: scale(0.9);
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
