/*
Theme Name: Apex Landing Page
Theme URI: 
Author: Antigravity
Author URI: 
Description: Apex Premium SaaS Landing Page Theme
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
Text Domain: apex
*/

/* ════════════════════════════════════════════════════════════════════════════
   APEX PREMIUM SAAS LANDING PAGE CSS
   ════════════════════════════════════════════════════════════════════════════ */

:root {
    --bg-base: #030509; /* Very deep dark blue/black */
    --bg-surface: #0a0d14;
    --bg-panel: rgba(255, 255, 255, 0.02);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    
    --accent-primary: #F59E0B; /* Amber/Gold */
    --accent-primary-hover: #D97706;
    --accent-secondary: #6366F1; /* Indigo */
    
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    
    --success: #10B981;
    --danger: #EF4444;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 40px;
}

h1, h2, h3, h4, .display-title, .section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

/* ── Typography Utilities ── */
.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #E5E7EB 50%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.animated-gradient {
    background: linear-gradient(to right, #FFFFFF, var(--accent-primary), #FFFFFF);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* ── Glassmorphism ── */
.glass-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ── Announcement Bar ── */
.announcement-bar {
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1001;
    background: linear-gradient(90deg, #451a03, #78350f, #451a03);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    padding: 10px 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}
@keyframes gradientMove { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.announcement-content {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    font-size: 13px; font-weight: 500; font-family: 'Inter', sans-serif;
}
.pulse-indicator {
    width: 8px; height: 8px; background: #10B981; border-radius: 50%;
    box-shadow: 0 0 12px #10B981; animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.countdown { font-family: 'Space Mono', monospace; background: rgba(0,0,0,0.4); padding: 2px 6px; border-radius: 4px; color: var(--accent-primary); }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 40px; left: 0; width: 100%; z-index: 1000;
    padding: 16px 0; transition: var(--transition-smooth);
}
.glass-nav {
    background: rgba(3, 5, 9, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: var(--transition-smooth); }
.nav-links a:hover { color: var(--text-primary); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 100px; font-weight: 600; font-size: 14px;
    text-decoration: none; cursor: pointer; transition: var(--transition-smooth);
    border: none; outline: none; position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--text-primary); color: var(--bg-base);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}
.btn-secondary {
    background: rgba(255,255,255,0.05); color: var(--text-primary); border: 1px solid var(--border-subtle);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

.btn-glow {
    background: linear-gradient(135deg, var(--accent-primary), #D97706);
    color: #fff; border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255,255,255,0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-sheen {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg); animation: sheen 4s infinite;
}
@keyframes sheen { 0% { left: -100%; } 20%, 100% { left: 200%; } }
.btn-large { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Hero Section ── */
.hero { position: relative; padding: 180px 0 120px; overflow: hidden; min-height: 100vh; display:flex; align-items:center; }
.hero-bg-effects { position: absolute; top:0; left:0; width:100%; height:100%; z-index:-1; overflow:hidden; }
.grid-bg {
    position: absolute; width: 200%; height: 200%; top:-50%; left:-50%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 60%);
}
@keyframes gridMove { 0%{transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);} 100%{transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px);} }

.glow-orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; }
.orb-primary { top: 10%; right: 10%; width: 500px; height: 500px; background: var(--accent-primary); }
.orb-secondary { bottom: -10%; left: 10%; width: 600px; height: 600px; background: var(--accent-secondary); opacity: 0.2; }

.hero-container { display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; max-width: 600px; }
.hero-visual { flex: 1; position: relative; perspective: 1000px; }

@media(max-width: 1024px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 800px; display: flex; flex-direction: column; align-items: center; }
    .hero-visual { width: 100%; margin-top: 60px; }
}

.badge-wrapper { margin-bottom: 24px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--accent-primary); }
.display-title { font-size: clamp(48px, 5vw, 64px); margin-bottom: 24px; }
.hero-subtitle { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; max-width: 540px; }
.hero-subtitle strong { color: var(--text-primary); }

.hero-cta-group { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
@media(max-width: 1024px) { .hero-cta-group { align-items: center; } }
.guarantee-text { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); }

.social-proof { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.avatar-group { display: flex; align-items: center; }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg-base); margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.avatar-more { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-surface); border: 1px solid var(--border-subtle); font-size: 10px; font-weight: bold; display: flex; align-items: center; justify-content: center; margin-left: -10px; z-index: 10; }
.proof-text { font-size: 13px; color: var(--text-secondary); }
.proof-text strong { color: var(--text-primary); }

/* ── Hero UI Mockup ── */
.mockup-container { position: relative; width: 100%; max-width: 440px; margin: 0 auto; transform-style: preserve-3d; }
.mockup-card { padding: 0; overflow: hidden; transform: rotateY(-10deg) rotateX(5deg); box-shadow: -20px 20px 60px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.2); }
.mockup-header { background: rgba(0,0,0,0.3); padding: 12px 16px; display: flex; align-items: center; border-bottom: 1px solid var(--border-subtle); }
.mockup-dots { display: flex; gap: 6px; margin-right: 16px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: #4B5563; }
.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }
.mockup-title { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.mockup-body { padding: 24px; }

.score-ring-container { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.score-ring { width: 80px; height: 80px; }
.ring-bg { fill: none; stroke: var(--bg-surface); stroke-width: 3; }
.ring-fill { fill: none; stroke: var(--success); stroke-width: 3; stroke-linecap: round; animation: drawRing 2s ease-out forwards; stroke-dasharray: 0, 100; }
@keyframes drawRing { to { stroke-dasharray: 96, 100; } }
.score-text { display: flex; flex-direction: column; }
.score-num { font-size: 36px; font-weight: 800; font-family: 'Plus Jakarta Sans'; line-height: 1; color: var(--success); }
.score-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 4px; }

.action-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.action-item { display: flex; align-items: center; gap: 12px; background: rgba(0,0,0,0.2); padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border-subtle); }
.action-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; }
.action-icon.success { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.action-title { font-size: 13px; font-weight: 600; }
.action-desc { font-size: 11px; color: var(--text-muted); }

.mockup-btn { width: 100%; padding: 12px; background: var(--text-primary); color: var(--bg-base); border: none; border-radius: var(--radius-sm); font-weight: 600; font-size: 13px; cursor: pointer; }

.decor-card { position: absolute; background: var(--bg-panel); border: 1px solid var(--border-subtle); backdrop-filter: blur(12px); border-radius: var(--radius-md); padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 10; }
.stats-card { top: 20%; right: -30px; transform: translateZ(50px); }
.stat-trend { font-size: 20px; font-weight: 800; color: var(--success); font-family: 'Plus Jakarta Sans'; }
.stat-label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.ai-card { bottom: 10%; left: -40px; transform: translateZ(30px); font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.ai-icon { font-size: 16px; animation: pulseDot 2s infinite; }

/* ── Logo Ticker ── */
.logo-ticker { padding: 40px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: rgba(0,0,0,0.2); overflow: hidden; }
.ticker-label { text-align: center; font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; font-weight: 600; margin-bottom: 24px; }
.ticker-wrapper { display: flex; width: 200%; animation: tickerMove 20s linear infinite; }
.ticker-track { display: flex; justify-content: space-around; width: 100%; }
.ticker-track span { font-size: 24px; font-weight: 700; color: var(--text-muted); font-family: 'Plus Jakarta Sans'; opacity: 0.5; transition: var(--transition-smooth); }
.ticker-track span:hover { opacity: 1; color: var(--text-primary); }
@keyframes tickerMove { 0%{transform: translateX(0);} 100%{transform: translateX(-50%);} }

/* ── Demo Comparison Section ── */
.demo-section { padding: 120px 0; }
.section-header { margin-bottom: 60px; max-width: 600px; }
.section-header.center { margin: 0 auto 60px; text-align: center; }
.section-desc { font-size: 18px; color: var(--text-secondary); margin-top: 16px; }

.comparison-container { display: flex; align-items: center; gap: 24px; position: relative; }
@media(max-width: 768px) { .comparison-container { flex-direction: column; } }

.comp-panel { flex: 1; padding: 32px; display: flex; flex-direction: column; gap: 24px; position: relative; }
.comp-panel.before { opacity: 0.7; transform: scale(0.95); }
.comp-panel.after { border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 10px 40px rgba(245, 158, 11, 0.1); }

.animated-border { position: absolute; top:0; left:0; width:100%; height:100%; border-radius: var(--radius-lg); z-index:-1; overflow:hidden; }
.animated-border::before { content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%; background: conic-gradient(transparent, var(--accent-primary), transparent 30%); animation: spinBorder 4s linear infinite; }
.animated-border::after { content:''; position:absolute; inset:2px; background:var(--bg-base); border-radius: calc(var(--radius-lg) - 2px); }
@keyframes spinBorder { 100%{transform:rotate(360deg);} }

.panel-tag { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.panel-tag.bad { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.panel-tag.good { background: rgba(245, 158, 11, 0.15); color: var(--accent-primary); box-shadow: 0 0 15px rgba(245,158,11,0.2); }

.chat-bubble { padding: 20px; border-radius: var(--radius-md); font-size: 14px; line-height: 1.7; position: relative; }
.bot-bad { background: rgba(255,255,255,0.03); color: var(--text-muted); font-style: italic; border-bottom-left-radius: 4px; }
.bot-good { background: rgba(245, 158, 11, 0.05); color: var(--text-primary); border: 1px solid rgba(245, 158, 11, 0.2); border-bottom-right-radius: 4px; }

.flaw-list, .win-list { list-style: none; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
.flaw-list li { color: var(--text-muted); display: flex; gap: 8px; }
.win-list li { color: var(--text-primary); display: flex; gap: 8px; font-weight: 500; }

.comp-divider { display: flex; align-items: center; justify-content: center; z-index: 10; }
.vs-badge { width: 48px; height: 48px; background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-family: 'Plus Jakarta Sans'; font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
@media(max-width: 768px) { .comp-divider { margin: -10px 0; } }

/* ── Bento Box Features ── */
.features-section { padding: 120px 0; background: rgba(255,255,255,0.01); }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; auto-rows: minmax(300px, auto); }
@media(max-width: 900px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card { padding: 32px; display: flex; flex-direction: column; overflow: hidden; position: relative; transition: var(--transition-smooth); }
.bento-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }
.bento-large { grid-column: span 2; flex-direction: row; align-items: center; gap: 40px; }
@media(max-width: 900px) { .bento-large { grid-column: span 1; flex-direction: column; align-items: flex-start; } }

.bento-content { flex: 1; z-index: 2; }
.bento-icon { font-size: 32px; margin-bottom: 24px; background: rgba(255,255,255,0.05); width: 64px; height: 64px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-subtle); }
.bento-title { font-size: 24px; margin-bottom: 12px; }
.bento-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

.bento-visual { flex: 1; min-width: 250px; position: relative; z-index: 1; }
.mini-dashboard { background: rgba(0,0,0,0.4); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 20px; height: 160px; display: flex; align-items: flex-end; }
.bar-chart { display: flex; gap: 12px; width: 100%; height: 100%; align-items: flex-end; }
.bar { flex: 1; background: rgba(255,255,255,0.1); border-radius: 4px 4px 0 0; transition: height 1s ease; }
.bar.active { background: var(--success); box-shadow: 0 0 15px rgba(16,185,129,0.4); }

.research-visual { display: flex; flex-direction: column; gap: 12px; }
.search-pill { background: rgba(0,0,0,0.4); border: 1px solid var(--border-subtle); padding: 12px 16px; border-radius: 100px; font-size: 12px; font-family: 'Space Mono'; color: var(--text-muted); }
.search-pill.success { border-color: rgba(16,185,129,0.3); color: var(--success); }

/* ── Pricing Section ── */
.pricing-section { padding: 140px 0; position: relative; }
.pricing-wrapper { display: flex; align-items: center; gap: 80px; }
@media(max-width: 992px) { .pricing-wrapper { flex-direction: column; } }

.pricing-info { flex: 1; }
.pricing-subtitle { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; margin-top: 16px; }

.value-stack { background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 32px; }
.stack-item { display: flex; align-items: center; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed rgba(255,255,255,0.05); }
.stack-item .check { color: var(--success); font-weight: bold; margin-right: 16px; }
.stack-item .item-name { flex: 1; font-weight: 500; }
.stack-item .item-value { color: var(--text-muted); font-family: 'Space Mono'; font-size: 14px; }
.stack-total { display: flex; justify-content: space-between; margin-top: 24px; font-size: 20px; font-weight: 700; font-family: 'Plus Jakarta Sans'; }
.strike { text-decoration: line-through; color: var(--danger); opacity: 0.7; }

.pricing-card-wrapper { flex: 0 0 420px; width: 100%; position: relative; }
.pricing-card { padding: 48px; border-color: rgba(245, 158, 11, 0.4); text-align: center; }
.premium-glow { box-shadow: 0 20px 80px rgba(245, 158, 11, 0.15), inset 0 0 0 1px rgba(245, 158, 11, 0.4); }

.card-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #EF4444, #B91C1C); color: #fff; padding: 6px 16px; border-radius: 100px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4); }
.card-header { margin-bottom: 32px; }
.card-header h3 { font-size: 24px; color: var(--text-secondary); margin-bottom: 16px; }
.price { display: flex; justify-content: center; align-items: flex-start; line-height: 1; margin-bottom: 16px; }
.currency { font-size: 24px; font-weight: 700; color: var(--accent-primary); margin-top: 10px; margin-right: 4px; }
.amount { font-size: 72px; font-weight: 800; font-family: 'Plus Jakarta Sans'; }
.billing { font-size: 14px; color: var(--text-muted); font-weight: 500; }

.urgency-meter { margin-top: 24px; padding: 16px; background: rgba(239, 68, 68, 0.05); border: 1px dashed rgba(239, 68, 68, 0.2); border-radius: var(--radius-sm); text-align: left; }
.meter-header { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 8px; color: var(--text-secondary); }
.meter-bar { width: 100%; height: 6px; background: rgba(0,0,0,0.5); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.meter-fill { height: 100%; background: var(--danger); }
.meter-text { font-size: 11px; color: var(--text-muted); text-align: center; }

.guarantee-box { margin-top: 24px; display: flex; align-items: flex-start; gap: 12px; text-align: left; font-size: 12px; color: var(--text-muted); }
.g-icon { font-size: 20px; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border-subtle); padding: 60px 0 40px; background: #010204; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--border-subtle); padding-top: 24px; font-size: 13px; color: var(--text-muted); }
@media(max-width: 768px) { .footer-top, .footer-bottom { flex-direction: column; gap: 20px; text-align: center; } }

/* ── Animations for Scroll ── */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }

.active.reveal-up { opacity: 1; transform: translateY(0); }
.active.reveal-scale { opacity: 1; transform: scale(1); }
.active.reveal-left { opacity: 1; transform: translateX(0); }
.active.reveal-right { opacity: 1; transform: translateX(0); }

.loader { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Utility ── */
.hidden { display: none !important; }

/* ── Hero Custom Image ── */
.hero-custom-image {
    width: 100%;
    max-width: 540px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    display: block;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRODUCT VIDEO SECTION
   ════════════════════════════════════════════════════════════════════════════ */
.video-section {
    padding: 120px 0;
    position: relative;
}

.video-wrapper {
    margin-top: 48px;
}

.video-player-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow:
        0 0 60px rgba(245, 158, 11, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.6);
    aspect-ratio: 16 / 9;
}

/* Glowing border pulse */
.video-player-container::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(245, 158, 11, 0.5) 30%,
        transparent 60%
    );
    animation: spinBorder 6s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.video-player-container::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-lg) - 2px);
    background: var(--bg-base);
    z-index: 1;
    pointer-events: none;
}

.video-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Video Placeholder ── */
.video-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(3, 5, 9, 0.6);
    backdrop-filter: blur(6px);
}

.play-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(245, 158, 11, 0.4);
    animation: ringPulse 2.5s ease-in-out infinite;
}

@keyframes ringPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    50%  { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1);   opacity: 0; }
}

.play-icon-svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.4));
}

.placeholder-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.placeholder-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* ── Actual video ── */
.demo-video {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.demo-video-embed {
    border: none;
}

/* ════════════════════════════════════════════════════════════════════════════
   THANK YOU PAGE STYLES
   ════════════════════════════════════════════════════════════════════════════ */

.thank-you-page {
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── New FAQ Section Styles ── */
.faq-section { padding: 120px 0; background: rgba(0,0,0,0.2); }
.faq-list { max-width: 800px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition-smooth); }
.faq-item.active { border-color: var(--accent-primary); box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1); }
.faq-question { padding: 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.faq-question h4 { font-size: 16px; margin: 0; }
.faq-icon { font-size: 18px; transition: transform 0.4s ease; color: var(--accent-primary); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 24px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ── Industry Tags Styles ── */
.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 40px auto 0; }
.industry-tag { padding: 8px 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle); border-radius: 100px; font-size: 13px; font-weight: 500; color: var(--text-secondary); transition: var(--transition-smooth); cursor: default; }
.industry-tag:hover { background: rgba(245, 158, 11, 0.1); border-color: var(--accent-primary); color: var(--text-primary); }

/* ── Pain Points Section ── */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
@media(max-width: 768px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card { padding: 32px; border-top: 3px solid var(--danger); }
.pain-num { font-size: 48px; font-weight: 900; color: rgba(239, 68, 68, 0.1); line-height: 1; margin-bottom: 16px; font-family: 'Plus Jakarta Sans'; }
.pain-title { font-size: 18px; margin-bottom: 12px; color: var(--text-primary); }
.pain-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── Background Effects ── */
.ty-bg-effects {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.ty-orb-1 {
    top: -10%; left: 20%;
    width: 600px; height: 600px;
    background: var(--accent-primary);
    opacity: 0.15;
}
.ty-orb-2 {
    bottom: -20%; right: 10%;
    width: 500px; height: 500px;
    background: var(--accent-secondary);
    opacity: 0.12;
}
.ty-orb-3 {
    top: 40%; right: 30%;
    width: 300px; height: 300px;
    background: var(--success);
    opacity: 0.08;
}

/* ── Floating Particles ── */
.ty-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}
.ty-particle {
    position: absolute;
    background: rgba(245, 158, 11, 0.4);
    border-radius: 50%;
    animation: particleFloat 5s ease-in-out infinite alternate;
}
@keyframes particleFloat {
    0%   { transform: translateY(0) scale(1); opacity: 0.3; }
    100% { transform: translateY(-30px) scale(1.5); opacity: 0.7; }
}

/* ── Navbar Override for Thank You ── */
.ty-nav {
    position: relative;
    top: 0;
    padding: 20px 0;
    background: rgba(3, 5, 9, 0.5);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

/* ── Hero Section ── */
.ty-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.ty-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: visible;
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow:
        0 20px 80px rgba(245, 158, 11, 0.08),
        0 0 0 1px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: cardAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}
@keyframes cardAppear {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Success Checkmark ── */
.ty-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
}

.ty-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--success);
    stroke-miterlimit: 10;
    animation: checkmarkFill .4s ease-in-out .4s forwards, checkmarkScale .3s ease-in-out .9s both;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
}

.ty-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--success);
    fill: none;
    animation: checkmarkStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.ty-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke-linecap: round;
    animation: checkmarkStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes checkmarkStroke {
    100% { stroke-dashoffset: 0; }
}
@keyframes checkmarkFill {
    100% { box-shadow: inset 0 0 0 100px rgba(16, 185, 129, 0.08); }
}
@keyframes checkmarkScale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

/* ── Confetti ── */
.ty-confetti-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 100;
}
.ty-confetti-piece {
    position: absolute;
    top: 30%;
    opacity: 0;
    animation: confettiFall 2s ease-out forwards;
}
@keyframes confettiFall {
    0%   { opacity: 1; transform: translateY(0) rotate(0deg) scale(0); }
    10%  { opacity: 1; transform: translateY(-80px) rotate(90deg) scale(1); }
    100% { opacity: 0; transform: translateY(300px) rotate(720deg) scale(0.5); }
}

/* ── Badge ── */
.ty-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
    margin-bottom: 24px;
    animation: badgeAppear 0.5s ease-out 1s both;
}
@keyframes badgeAppear {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ty-badge-icon {
    font-size: 16px;
}

/* ── Typography ── */
.ty-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
    animation: fadeUp 0.6s ease-out 1.1s both;
}

.ty-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 40px;
    animation: fadeUp 0.6s ease-out 1.2s both;
}

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

/* ── Order Summary ── */
.ty-order-summary {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    text-align: left;
    animation: fadeUp 0.6s ease-out 1.3s both;
}

.ty-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-subtle);
}

.ty-order-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ty-order-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
}

.ty-status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulseDot 2s infinite;
}

.ty-order-details {
    padding: 16px 20px;
}

.ty-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.ty-order-row:last-child {
    border-bottom: none;
}

.ty-order-key {
    font-size: 14px;
    color: var(--text-muted);
}

.ty-order-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.ty-highlight {
    color: var(--accent-primary);
}

/* ── Next Steps ── */
.ty-steps {
    margin-bottom: 40px;
    text-align: left;
    animation: fadeUp 0.6s ease-out 1.4s both;
}

.ty-steps-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.ty-step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ty-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}
.ty-step:hover {
    border-color: rgba(245, 158, 11, 0.2);
    background: rgba(245, 158, 11, 0.03);
    transform: translateX(4px);
}

.ty-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-primary), #D97706);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.ty-step-content h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ty-step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── CTA Group ── */
.ty-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease-out 1.5s both;
}

.ty-btn {
    padding: 12px 24px;
    font-size: 14px;
    gap: 8px;
}

/* ── Social Sharing ── */
.ty-share {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    animation: fadeUp 0.6s ease-out 1.6s both;
}

.ty-share-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.ty-share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ty-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.ty-share-btn:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .ty-card {
        padding: 40px 24px;
        margin: 0 16px;
    }
    .ty-hero {
        padding: 40px 0;
    }
    .ty-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .ty-order-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
