/* Premium Vanilla CSS - DualTake Official Site (Conversion Optimized) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #050507;
    --bg-secondary: #0d0d12;
    --bg-tertiary: #0a0a10;
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-muted: #666;
    --accent-blue: rgba(48, 144, 240, 0.4);
    --accent-blue-solid: #3090f0;
    --gold: #ffe100;
    --gold-dim: #ffaa00;
    --surface-glass: rgba(20, 20, 25, 0.6);
    --surface-card: rgba(255, 255, 255, 0.04);
    --surface-card-hover: rgba(255, 255, 255, 0.08);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-border-hover: rgba(255, 255, 255, 0.16);
    
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Roboto", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 1.05;
    background: linear-gradient(135deg, #fff 0%, #ccc 50%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    background: linear-gradient(90deg, #ffe100 0%, #ffaa00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p.subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Pain-point tagline */
.pain-point {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 600;
    color: var(--gold);
    margin-top: 1.25rem;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

/* ===========================
   Navbar
   =========================== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

nav.nav-scrolled {
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
}

nav .logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-cta-button {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--surface-border);
    transition: all 0.25s ease;
    cursor: pointer;
}

.nav-cta-button:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--surface-border-hover);
}

nav.nav-scrolled .nav-cta-button {
    display: inline-flex;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--surface-border);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--surface-border-hover);
}

/* ===========================
   CTA Button
   =========================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    color: #111;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    margin-top: 2rem;
    box-shadow: 0 8px 32px var(--accent-blue), 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 44px rgba(48, 144, 240, 0.5), 0 4px 12px rgba(0,0,0,0.3);
}

.cta-button:active {
    transform: translateY(-1px) scale(1.01);
}

/* ===========================
   Layout
   =========================== */

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

/* ===========================
   Hero Section
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent-blue) 0%, rgba(48, 144, 240, 0.1) 40%, rgba(255,255,255,0) 70%);
    z-index: -1;
    filter: blur(80px);
    animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* ===========================
   Phone Mockup
   =========================== */

.mockup-container {
    margin-top: 4rem;
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: 44px;
    border: 6px solid #1a1a1f;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.05),
        inset 0 0 0 2px #333;
    overflow: hidden;
    background: #000;
    z-index: 10;
}

.mockup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 22px;
    background: #1a1a1f;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 100;
}

.mockup-img {
    width: 100%;
    display: block;
    transition: opacity 0.4s ease;
}

/* ===========================
   Stats Bar — Trust Anchors
   =========================== */

.stats-bar {
    padding: 4rem 0;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.stats-bar::before,
.stats-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--surface-border), transparent);
}

.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface-card);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--surface-card-hover);
    border-color: var(--surface-border-hover);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.stat-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
}

/* ===========================
   Feature Section
   =========================== */

.features {
    padding: 8rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--surface-border), transparent);
}

.feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 8rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .feature-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }
    
    .feature-row:nth-child(even) {
        flex-direction: row-reverse;
    }
    
    .feature-text, .feature-image {
        flex: 1;
    }
}

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

@media (min-width: 768px) {
    .feature-text {
        text-align: left;
        padding: 0 2rem;
    }
}

.feature-text h2 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===========================
   Scenarios Section
   =========================== */

.scenarios {
    padding: 8rem 0;
    background: var(--bg-primary);
    position: relative;
}

.scenarios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--surface-border), transparent);
}

.scenarios-header {
    text-align: center;
    margin-bottom: 4rem;
}

.scenarios-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.scenario-card {
    padding: 2rem 1.5rem;
    background: var(--surface-card);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
}

.scenario-card:hover {
    background: var(--surface-card-hover);
    border-color: var(--surface-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.scenario-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.scenario-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.scenario-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scenario-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ===========================
   Final CTA Section
   =========================== */

.final-cta {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    background: var(--bg-secondary);
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(48, 144, 240, 0.12) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
}

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

.final-cta h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta .subtitle {
    margin-bottom: 0;
}

/* ===========================
   Scroll Animations
   =========================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }

/* ===========================
   Footer
   =========================== */

footer {
    border-top: 1px solid var(--surface-border);
    padding: 3rem 5%;
    text-align: center;
    background: var(--bg-primary);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

footer a:hover {
    color: white;
}

footer p {
    margin-top: 2rem;
    color: #444;
    font-size: 0.85rem;
}

/* ===========================
   Utilities
   =========================== */

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.font-bold { font-weight: 700; }

/* ===========================
   Mobile Responsive
   =========================== */

@media (max-width: 480px) {
    .hero {
        padding-top: 80px;
    }

    .cta-button {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .mockup-container {
        max-width: 300px;
        border-radius: 36px;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .lang-toggle {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }

    .pain-point {
        font-size: 0.95rem;
    }

    .features,
    .scenarios,
    .final-cta {
        padding: 5rem 0;
    }

    .feature-row {
        margin-bottom: 5rem;
    }
}
