/* ============================================
   SOLAIR AI - WEBSITE STYLES
   Modern, light theme with moving gradients
   ============================================ */

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

:root {
    --primary: #6C5CE7;
    --primary-light: #A29BFE;
    --accent: #00B4D8;
    --accent-2: #F72585;
    --accent-3: #4CC9F0;
    --bg: #FAFBFF;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --text: #1a1a2e;
    --text-secondary: #64648C;
    --text-muted: #9494B8;
    --border: rgba(108, 92, 231, 0.1);
    --shadow: 0 4px 32px rgba(108, 92, 231, 0.08);
    --shadow-hover: 0 8px 48px rgba(108, 92, 231, 0.15);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* --- Animated Gradient Background --- */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.35), transparent 70%);
    top: -10%;
    left: -5%;
    animation-duration: 25s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3), transparent 70%);
    top: 20%;
    right: -10%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.2), transparent 70%);
    bottom: 30%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.orb-4 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.25), transparent 70%);
    bottom: -5%;
    right: 20%;
    animation-duration: 18s;
    animation-delay: -3s;
}

.orb-5 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(162, 155, 254, 0.3), transparent 70%);
    top: 50%;
    left: 50%;
    animation-duration: 23s;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -60px) scale(1.1); }
    50% { transform: translate(-40px, 80px) scale(0.95); }
    75% { transform: translate(60px, 40px) scale(1.05); }
}

/* --- Typography --- */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--accent-2) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2));
    z-index: 10000;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar.scrolled {
    background: rgba(250, 251, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--text);
    color: white !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px !important;
    transition: all 0.2s !important;
}

.nav-cta:hover {
    background: var(--primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(108, 92, 231, 0.3);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

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

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

.hero-title {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--text);
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary svg,
.btn-primary span,
.btn-primary text {
    position: relative;
    z-index: 1;
}

/* Ensure all direct children are above the ::after overlay */
.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(108, 92, 231, 0.04);
    transform: translateY(-2px);
}

.btn-secondary:hover svg {
    animation: bounceDown 1s ease infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.btn-large {
    padding: 20px 36px;
    font-size: 17px;
    border-radius: 16px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

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

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* --- iPhone 16 Pro Mockup (real image) --- */
.hero-visual {
    flex: 0 0 auto;
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
}

.phone-container {
    position: relative;
    width: 290px;
    height: 597px;
    filter: drop-shadow(0 25px 60px rgba(26, 26, 46, 0.25)) drop-shadow(0 50px 100px rgba(108, 92, 231, 0.1));
}

/* Screenshot sits behind the frame */
.screen-image {
    position: absolute;
    top: 1.6%;
    left: 3.8%;
    width: 92.4%;
    height: 96.8%;
    object-fit: cover;
    object-position: top;
    border-radius: 36px;
    z-index: 1;
}

/* The real iPhone frame PNG overlays on top */
.phone-frame-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(108, 92, 231, 0.2), rgba(0, 180, 216, 0.05) 50%, transparent 70%);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

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

/* --- Sections Common --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.06);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- The Problem Section --- */
.the-problem {
    position: relative;
    z-index: 1;
    padding: 40px 0 80px;
}

.problem-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px 56px;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.08), transparent 70%);
    pointer-events: none;
}

.problem-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 32px;
    max-width: 600px;
}

.problem-highlight {
    color: var(--accent-2);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    margin-bottom: 32px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.problem-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(114, 9, 183, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
}

.problem-item span {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.problem-closer {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-3);
    letter-spacing: 0.01em;
}

/* --- Features Section --- */
.features {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

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

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

/* Animated gradient border on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    height: 3px;
    width: 200%;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--accent-2), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    animation: shimmerBorder 2s linear infinite;
}

@keyframes shimmerBorder {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* Hover glow overlay */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 92, 231, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(108, 92, 231, 0.2);
}

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

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

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(-3deg);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}


.feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(108, 92, 231, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.feature-icon-wrap.voice {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.1), rgba(247, 37, 133, 0.05));
    color: var(--accent-2);
}

.feature-icon-wrap.search {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 180, 216, 0.05));
    color: var(--accent);
}

.feature-icon-wrap.docs {
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.1), rgba(76, 201, 240, 0.05));
    color: var(--accent-3);
}

.feature-icon-wrap.memory {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.1), rgba(247, 37, 133, 0.05));
    color: var(--accent-2);
}

.feature-icon-wrap.vision {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 180, 216, 0.05));
    color: var(--primary);
}

.feature-icon-wrap.think-harder {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(251, 191, 36, 0.06));
    color: #F59E0B;
}

.feature-icon-wrap.forking {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(110, 231, 183, 0.05));
    color: #10B981;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Auto Mode Demo */

/* --- Voice Mode Demo Section --- */
.voice-demo {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    overflow: hidden;
}

.voice-demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.voice-demo-content .section-tag,
.voice-demo-content .section-title,
.voice-demo-content .section-subtitle {
    text-align: left;
    margin: 0;
    margin-bottom: 16px;
}

.voice-demo-content .section-subtitle {
    margin-bottom: 40px;
    max-width: none;
}

.voice-demo-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.voice-feat-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.voice-feat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.1), rgba(108, 92, 231, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    margin-top: 2px;
    transition: all 0.3s ease;
}

.voice-feat-item:hover .voice-feat-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.18), rgba(108, 92, 231, 0.18));
}

.voice-feat-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.voice-feat-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Video Phone Mockup */
.voice-demo-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.video-phone-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-phone-container {
    position: relative;
    width: 290px;
    height: 597px;
    filter: drop-shadow(0 25px 60px rgba(247, 37, 133, 0.15)) drop-shadow(0 50px 100px rgba(108, 92, 231, 0.1));
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.video-phone-container:hover {
    transform: scale(1.02) rotateY(-2deg);
}

.video-screen {
    position: absolute;
    top: 1.6%;
    left: 3.8%;
    width: 92.4%;
    height: 96.8%;
    object-fit: cover;
    object-position: top;
    border-radius: 36px;
    z-index: 1;
    background: #000;
}

.video-phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Play Button */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    box-shadow: 0 8px 32px rgba(247, 37, 133, 0.3), 0 0 0 0 rgba(247, 37, 133, 0.4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: playBtnPulse 2.5s ease-in-out infinite;
}

.video-play-btn svg {
    margin-left: 3px;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(247, 37, 133, 0.45), 0 0 0 12px rgba(247, 37, 133, 0.1);
}

.video-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.6);
}

@keyframes playBtnPulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(247, 37, 133, 0.3), 0 0 0 0 rgba(247, 37, 133, 0.4); }
    50% { box-shadow: 0 8px 32px rgba(247, 37, 133, 0.3), 0 0 0 16px rgba(247, 37, 133, 0); }
}

/* Animated voice rings */
.voice-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.voice-ring-1 {
    width: 360px;
    height: 360px;
    border-color: rgba(247, 37, 133, 0.15);
}

.voice-ring-2 {
    width: 360px;
    height: 360px;
    border-color: rgba(108, 92, 231, 0.12);
}

.voice-ring-3 {
    width: 360px;
    height: 360px;
    border-color: rgba(0, 180, 216, 0.1);
}

.video-phone-mockup.playing .voice-ring-1 {
    animation: voiceRingExpand 3s ease-out infinite;
}

.video-phone-mockup.playing .voice-ring-2 {
    animation: voiceRingExpand 3s ease-out infinite 1s;
}

.video-phone-mockup.playing .voice-ring-3 {
    animation: voiceRingExpand 3s ease-out infinite 2s;
}

@keyframes voiceRingExpand {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Video phone glow */
.video-phone-glow {
    position: absolute;
    width: 400px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(247, 37, 133, 0.12), rgba(108, 92, 231, 0.06) 50%, transparent 70%);
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.5s ease;
    animation: videoGlowPulse 4s ease-in-out infinite;
}

.video-phone-mockup.playing .video-phone-glow {
    opacity: 1;
    background: radial-gradient(ellipse, rgba(247, 37, 133, 0.2), rgba(108, 92, 231, 0.1) 50%, transparent 70%);
}

@keyframes videoGlowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* --- Manifesto Quote --- */
.manifesto {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.manifesto-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    border: none;
}

.manifesto-quote p {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text);
    font-style: italic;
    position: relative;
}

.manifesto-quote p::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    font-style: normal;
    color: var(--primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

/* --- Duress Code Spotlight --- */
.duress-spotlight {
    margin-top: 32px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.04), rgba(108, 92, 231, 0.04));
    border: 1px solid rgba(247, 37, 133, 0.12);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.duress-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.duress-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.12), rgba(108, 92, 231, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
}

.duress-header strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.duress-header p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.duress-details {
    margin-top: 12px;
}

.duress-details summary {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    padding: 4px 0;
    list-style: none;
    transition: color 0.2s;
}

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

.duress-details summary::before {
    content: '+ ';
}

.duress-details[open] summary::before {
    content: '- ';
}

.duress-details summary:hover {
    color: var(--accent-2);
}

.duress-details p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 8px;
    padding-left: 14px;
    border-left: 2px solid rgba(247, 37, 133, 0.15);
    animation: fadeSlideDown 0.3s ease;
}

/* --- Privacy Section --- */
.privacy {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.privacy-content .section-tag,
.privacy-content .section-title,
.privacy-content .section-subtitle {
    text-align: left;
    margin: 0;
    margin-bottom: 16px;
}

.privacy-content .section-subtitle {
    margin-bottom: 40px;
    max-width: none;
}

.privacy-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.privacy-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.privacy-check {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 180, 216, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-top: 2px;
}

.privacy-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.privacy-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Shield Visual */
.shield-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid;
}

.ring-1 {
    width: 280px;
    height: 280px;
    border-color: rgba(108, 92, 231, 0.1);
    animation: ringRotate 20s linear infinite;
}

.ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(0, 180, 216, 0.12);
    animation: ringRotate 15s linear infinite reverse;
}

.ring-3 {
    width: 160px;
    height: 160px;
    border-color: rgba(247, 37, 133, 0.1);
    animation: ringRotate 10s linear infinite;
}

.shield-ring::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ring-1::after { color: var(--primary); }
.ring-2::after { color: var(--accent); }
.ring-3::after { color: var(--accent-2); }

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shield-icon {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(0, 180, 216, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
    z-index: 2;
    animation: shieldFloat 3s ease-in-out infinite;
}

@keyframes shieldFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.shield-container::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.1), transparent 70%);
    animation: shieldGlow 3s ease-in-out infinite;
}

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

/* --- Models Section --- */
.models {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

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

.model-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.model-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108, 92, 231, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.model-card:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px) scale(1.02);
}

.model-card:hover::after {
    opacity: 1;
}

.model-card:hover .model-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.model-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 16px;
    color: white;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.model-icon.qwen { background: linear-gradient(135deg, #6C5CE7, #A29BFE); }
.model-icon.llama { background: linear-gradient(135deg, #0077B6, #00B4D8); }
.model-icon.mistral { background: linear-gradient(135deg, #F72585, #FF6B9D); }
.model-icon.gemma { background: linear-gradient(135deg, #10B981, #6EE7B7); }
.model-icon.deepseek { background: linear-gradient(135deg, #F59E0B, #FBBF24); }
.model-icon.vision-model { background: linear-gradient(135deg, #8B5CF6, #4CC9F0); }

.model-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.model-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
}

.model-tags {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.model-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.06);
    color: var(--primary);
    border-radius: 100px;
}

.speed-tag {
    background: rgba(16, 185, 129, 0.08);
    color: #10B981;
}

.models-trajectory {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 48px;
    font-style: italic;
    letter-spacing: -0.01em;
}

/* --- CTA Section --- */
.cta {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 40px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--accent-2), var(--primary));
    background-size: 300% 300%;
    border-radius: 34px;
    z-index: -1;
    opacity: 0.15;
    animation: gradientBorder 6s ease-in-out infinite;
}

@keyframes gradientBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-title {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-meta {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.cta-meta .dot {
    font-size: 20px;
    line-height: 1;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.footer-brand strong {
    font-size: 15px;
}

.footer-brand p {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Hero entrance animations (CSS only, no JS needed) --- */
.hero .hero-badge { animation: heroFadeIn 0.8s ease both; animation-delay: 0.1s; }
.hero .hero-title { animation: heroFadeIn 0.8s ease both; animation-delay: 0.2s; }
.hero .hero-subtitle { animation: heroFadeIn 0.8s ease both; animation-delay: 0.35s; }
.hero .hero-actions { animation: heroFadeIn 0.8s ease both; animation-delay: 0.5s; }
.hero .hero-stats { animation: heroFadeIn 0.8s ease both; animation-delay: 0.6s; }
.hero .hero-visual { animation: heroFadeIn 1s ease both; animation-delay: 0.4s; }

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

/* --- Scroll-triggered animations (below the fold) --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.24s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.32s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

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

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .problem-card {
        padding: 36px 32px;
    }

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

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .privacy-content .section-tag,
    .privacy-content .section-title,
    .privacy-content .section-subtitle {
        text-align: center;
    }

    .voice-demo-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .voice-demo-content .section-tag,
    .voice-demo-content .section-title,
    .voice-demo-content .section-subtitle {
        text-align: center;
    }

    .voice-demo-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 36px;
        height: 1px;
    }

    .phone-container {
        width: 240px;
        height: 494px;
    }

    .screen-image {
        border-radius: 30px;
    }

    .video-phone-container {
        width: 240px;
        height: 494px;
    }

    .video-screen {
        border-radius: 30px;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-play-btn svg {
        width: 26px;
        height: 26px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

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

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

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .cta-content {
        padding: 48px 24px;
    }

}
