/* style.css - JustBuySell Landing Page */

/* ==========================================================================
   CSS Variables & Theme
   ========================================================================== */
:root {
    /* Colors */
    --primary: #3366CC;
    --primary-light: #4466EE;
    --primary-dark: #1a3a6e;
    --accent: #7BA4FF;
    
    --bg-dark: #0a1628;
    --bg-darker: #060d18;
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --text-light: #e2e8f0;
    --text-white: #ffffff;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(68, 102, 238, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(68, 102, 238, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-badge.dark {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-white); }
.bg-dark p { color: var(--text-light); }
.bg-dark h2 { color: var(--text-white); }

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 14px rgba(68, 102, 238, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 102, 238, 0.6);
}

/* App Store Buttons */
.store-btn {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    gap: 12px;
}

.store-btn:hover {
    transform: translateY(-2px);
    background: #111;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text .small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.store-text .big {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal, .reveal-left, .reveal-right, .fade-in-up {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.fade-in-up { transform: translateY(20px); }

.reveal.active, .reveal-left.active, .reveal-right.active, .fade-in-up.active {
    opacity: 1;
    transform: translate(0);
}

/* Icon Gradients */
.trust-icon i,
.floating-card .icon i,
.feature-icon i,
.step-icon i,
.usp-icon i,
.v-icon i,
.faq-question .icon i {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(5deg); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ==========================================================================
   Section 1: Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar.menu-open {
    background: var(--bg-dark);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.navbar.menu-open .logo-white {
    display: block !important;
}

.navbar.menu-open .logo-black {
    display: none !important;
}

.navbar.menu-open .mobile-menu-btn {
    color: var(--text-white) !important;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo-black {
    display: none;
}

.navbar.scrolled .logo-white {
    display: none;
}

.navbar.scrolled .logo-black {
    display: block;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-white);
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

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

.navbar.scrolled .nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--text-main);
}

.mobile-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 80px);
    background: white;
    padding: 24px 24px 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 2px;
    z-index: 995;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    text-align: center;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    color: var(--text-main);
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 12px;
    transition: var(--transition);
    font-size: 1rem;
}

.mobile-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.mobile-menu .btn {
    margin-top: 16px;
    text-align: center;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 990;
    opacity: 0;
    transition: opacity 0.35s ease;
    cursor: pointer;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   Section 2: Hero
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: pulse 8s ease-in-out infinite;
}

.glow-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(68,102,238,0.4) 0%, rgba(26,58,110,0) 70%);
}

.glow-2 {
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123,164,255,0.3) 0%, rgba(26,58,110,0) 70%);
    animation-delay: -4s;
}

.dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #7BA4FF, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Phone Frame CSS */
.phone-frame {
    position: relative;
    width: 320px;
    margin: 0 auto;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.phone-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.phone-frame.straight {
    transform: none;
    animation: none;
}

.phone-frame.mini {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.phone-frame.mini img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-position: top;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.phone-frame.tilted {
    transform: rotate(-5deg);
}

/* ==========================================================================
   Section 3: Trust Bar
   ========================================================================== */
.trust-bar {
    background: var(--bg-darker);
    padding: 40px 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: none; /* Hidden as per request */
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.trust-icon {
    font-size: 2rem;
    background: rgba(68, 102, 238, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* ==========================================================================
   Section 4: About
   ========================================================================== */
.about-section {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    z-index: 30;
    animation: float 5s ease-in-out infinite;
}

.floating-card.pos-1 {
    top: 20%;
    right: -20px;
}

.floating-card.pos-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: -2s;
}

.floating-card .icon {
    background: var(--bg-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.problem, .solution {
    padding: 24px;
    border-radius: var(--border-radius);
}

.problem {
    background: #fff5f5;
    border: 1px solid #fed7d7;
}

.solution {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
}

.problem h3 { color: #e53e3e; font-size: 1.1rem; }
.solution h3 { color: #38a169; font-size: 1.1rem; }

.problem ul li, .solution ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.problem svg { color: #e53e3e; flex-shrink: 0; width: 20px; height: 20px; }
.solution svg { color: #38a169; flex-shrink: 0; width: 20px; height: 20px; }

/* ==========================================================================
   Section 5: Features
   ========================================================================== */
.features-section {
    padding: 100px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Features Track */
.features-track-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.features-track {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 40px 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.features-track::-webkit-scrollbar {
    display: none;
}

.feature-card {
    flex: 0 0 340px;
    scroll-snap-align: center;
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-xl);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-image {
    order: -1;
    margin-bottom: 24px;
    width: 100%;
}

.feature-text h3 {
    margin: 16px 0;
}

.feature-icon {
    font-size: 2.5rem;
}

.slide-img {
    width: 280px;
    margin: 0 auto;
}
.slide-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.slideshow-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 60px;
}

.slide-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slide-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
    transform: scale(1.1);
}

.slideshow-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ==========================================================================
   Section 6: How It Works
   ========================================================================== */
.how-it-works {
    padding: 100px 0;
    overflow: hidden;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 64px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(68,102,238,0.2) 100%);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: white;
    padding: 32px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 8px var(--bg-light);
}

.step-icon {
    font-size: 2.5rem;
    margin: 24px 0 16px;
}

/* ==========================================================================
   Section 7: Why Us (USP)
   ========================================================================== */
.why-us {
    padding: 100px 0;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.usp-item {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.usp-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 10px 20px rgba(68,102,238,0.1);
}

.usp-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.usp-item h4 {
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   Section 8: Trust & Verification
   ========================================================================== */
.trust-verification {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.tv-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.verification-list {
    margin-top: 40px;
}

.verification-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.v-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.v-text strong {
    font-size: 1.2rem;
    color: white;
    display: block;
    margin-bottom: 8px;
}

/* ==========================================================================
   Section 9: FAQ
   ========================================================================== */
.faq-section {
    padding: 100px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

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

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

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
}

/* ==========================================================================
   Section 10: Final CTA
   ========================================================================== */
.final-cta {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    color: white;
}

.final-cta .glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(68,102,238,0.2) 0%, rgba(10,22,40,0) 70%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: 3rem;
    color: white;
}

/* ==========================================================================
   Section 11: Footer
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 32px;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
    font-size: 0.875rem;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
    
    .hero-container, .about-container, .tv-container, .cta-container {
        gap: 40px;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-line { display: none; }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .step { padding-top: 48px; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.2rem; }
    
    .container {
        padding: 0 16px;
    }
    
    .lead {
        font-size: 1.05rem;
    }
    
    .section-header {
        margin: 0 auto 40px;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* Nav */
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
        text-align: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.15;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin: 0 auto 28px;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .store-btn {
        flex: 1;
        padding: 12px 10px;
        gap: 8px;
        justify-content: center;
    }
    
    .store-btn img {
        width: 20px;
        height: 20px;
    }
    
    .store-text .big {
        font-size: 0.85rem;
    }
    
    .store-text .small {
        font-size: 0.55rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .phone-frame {
        width: 240px;
    }
    
    /* About */
    .about-section {
        padding: 60px 0;
    }
    
    .about-container, .tv-container, .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .about-visual {
        grid-row: 2;
        margin-top: 20px;
    }
    
    .floating-card {
        display: none;
    }
    
    .comparison {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 16px;
    }
    
    .problem, .solution {
        padding: 20px;
    }
    
    .problem ul li, .solution ul li {
        font-size: 0.9rem;
    }
    
    /* Features */
    .features-section {
        padding: 60px 0;
    }
    
    .features-track {
        padding: 16px 16px 40px;
        gap: 16px;
    }
    
    .feature-card {
        flex: 0 0 280px;
        padding: 24px 16px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
        margin: 12px 0;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
    
    .slide-img {
        width: 240px;
    }
    
    .slideshow-controls {
        margin-top: 20px;
    }
    
    .slide-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* How It Works */
    .how-it-works {
        padding: 60px 0;
    }
    
    .step {
        padding: 24px 20px;
        padding-top: 40px;
    }
    
    .step-icon {
        font-size: 2rem;
        margin: 16px 0 12px;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: -20px;
    }
    
    /* USP */
    .why-us {
        padding: 60px 0;
    }
    
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .usp-item {
        padding: 20px 12px;
    }
    
    .usp-icon {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }
    
    .usp-item h4 {
        font-size: 0.85rem;
    }
    
    /* Trust & Verification */
    .trust-verification {
        padding: 60px 0;
    }
    
    .tv-visual {
        grid-row: 2;
        margin-top: 20px;
    }
    
    .verification-list li {
        text-align: left;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .v-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        border-radius: 12px;
    }
    
    .v-text strong {
        font-size: 1rem;
    }
    
    .v-text p {
        font-size: 0.9rem;
    }
    
    /* FAQ */
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 18px 16px;
        font-size: 0.95rem;
        gap: 12px;
    }
    
    .faq-question .icon {
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .faq-answer p {
        padding: 0 16px 18px;
        font-size: 0.9rem;
    }
    
    /* Final CTA */
    .final-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .cta-visual {
        grid-row: 2;
        margin-top: 20px;
    }
    
    .phone-frame.tilted {
        transform: rotate(-3deg);
    }
    
    /* Footer */
    .footer {
        padding: 48px 0 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    /* Modal */
    .modal-content {
        padding: 32px 24px;
    }
    
    .modal-content h3 {
        font-size: 1.25rem;
    }
    
    .modal-content p {
        font-size: 0.9rem;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    h2 { font-size: 1.5rem; }
    
    .hero-cta {
        flex-direction: row;
        gap: 8px;
    }
    
    .store-text .big {
        font-size: 0.75rem;
    }
    
    .store-btn {
        padding: 10px 6px;
        gap: 6px;
    }
    
    .feature-card {
        flex: 0 0 260px;
    }
    
    .slide-img {
        width: 200px;
    }
    
    .usp-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .usp-item h4 {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   Modal
   ========================================================================== */

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

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

.modal-content {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-main);
    transform: rotate(90deg);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.modal-content h3 {
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.modal-ok {
    width: 100%;
}
