/* ==========================================================================
   IC ALGORITHM - LUXURY FINTECH STYLING
   ========================================================================== */

/* --- Design Tokens / CSS Variables --- */
:root {
    --bg-primary: #081120;
    --bg-secondary: #0c182b;
    --bg-tertiary: #12223a;
    
    --color-gold: #F5B301;
    --color-gold-hover: #ffc424;
    --color-gold-glow: rgba(245, 179, 1, 0.4);
    --color-gold-dim: rgba(245, 179, 1, 0.15);
    
    --color-white: #ffffff;
    --color-gray-100: #f8fafc;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-600: #475569;
    --color-gray-800: #1e293b;
    
    --color-success: #10b981;
    --color-success-bg: rgba(16, 185, 129, 0.1);
    --color-danger: #ef4444;
    --color-danger-bg: rgba(239, 68, 68, 0.1);
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --glass-bg: rgba(13, 25, 47, 0.65);
    --glass-border: 1px solid rgba(255, 255, 255, 0.07);
    --glass-border-hover: 1px solid rgba(245, 179, 1, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-gray-800);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dim);
}

/* --- Reusable Components & Grid --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-gold);
    color: #081120;
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 179, 1, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(245, 179, 1, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.85rem;
    background: rgba(245, 179, 1, 0.08);
    border: 1px solid rgba(245, 179, 1, 0.25);
    color: var(--color-gold);
}

.btn-nav:hover {
    background: var(--color-gold);
    color: #081120;
    box-shadow: 0 4px 15px rgba(245, 179, 1, 0.2);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* Glow Pulse Effect */
.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: -1;
}

.btn-glow:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- Header / Sticky Nav --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(8, 17, 32, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-fast);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(8, 17, 32, 0.95);
    border-bottom: 1px solid rgba(245, 179, 1, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    color: var(--color-white);
}

.accent-text {
    color: var(--color-gold);
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-gray-400);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
    box-shadow: 0 0 8px var(--color-gold-glow);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Nav Menu Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid rgba(245, 179, 1, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    transform: translateX(-300px);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-300);
}

.mobile-link:hover {
    color: var(--color-gold);
}

.btn-mobile-cta {
    width: 80%;
    padding: 12px 0;
    background-color: var(--color-gold);
    color: var(--bg-primary);
    text-align: center;
    border-radius: 30px;
    font-weight: 700;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    overflow: hidden;
}

.grid-glow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(245, 179, 1, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 179, 1, 0.03) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    pointer-events: none;
    z-index: 1;
}

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

.badge-container {
    margin-bottom: 20px;
}

.glow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 179, 1, 0.08);
    border: 1px solid rgba(245, 179, 1, 0.2);
    color: var(--color-gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sparkle-icon {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-gray-300);
    margin-bottom: 36px;
    font-weight: 400;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.cta-micro-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--color-gray-400);
}

/* --- Pure HTML/CSS Terminal Mockup --- */
.hero-visual {
    width: 100%;
}

.dashboard-mockup {
    background: var(--bg-secondary);
    border: var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 16/11;
}

.dashboard-header {
    height: 40px;
    background: rgba(8, 17, 32, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.window-controls span:nth-child(1) { background-color: var(--color-danger); }
.window-controls span:nth-child(2) { background-color: #f59e0b; }
.window-controls span:nth-child(3) { background-color: var(--color-success); }

.dashboard-title {
    font-size: 0.75rem;
    color: var(--color-gray-400);
    font-family: var(--font-heading);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--color-success);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-success);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.dashboard-body {
    display: flex;
    flex: 1;
}

.sidebar-mock {
    width: 50px;
    background: rgba(8, 17, 32, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    gap: 16px;
}

.sidebar-item {
    color: var(--color-gray-600);
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.sidebar-item.active {
    color: var(--color-gold);
    background: rgba(245, 179, 1, 0.08);
}

.main-terminal {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 16px;
}

.terminal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--color-gray-400);
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.stat-val.positive { color: var(--color-success); }
.stat-val.accent { color: var(--color-gold); }

.terminal-chart-container {
    flex: 1;
    background: rgba(8, 17, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--color-gray-400);
    margin-bottom: 12px;
}

.chart-price {
    color: var(--color-success);
    font-weight: bold;
    margin-left: 6px;
}

.mock-chart {
    flex: 1;
    position: relative;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.grid-lines span {
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    width: 100%;
}

.candlestick-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 15px;
}

.candle {
    width: 8px;
    height: var(--height);
    margin-bottom: var(--top);
    position: relative;
}

.candle::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(var(--wick-bottom) - var(--wick-top));
    bottom: calc(0px - var(--wick-top));
    z-index: 1;
}

.candle.up {
    background-color: var(--color-success);
}

.candle.up::before {
    background-color: var(--color-success);
}

.candle.down {
    background-color: var(--color-danger);
}

.candle.down::before {
    background-color: var(--color-danger);
}

.candle.custom-glow {
    background-color: var(--color-gold);
    box-shadow: 0 0 15px var(--color-gold);
}

.candle.custom-glow::before {
    background-color: var(--color-gold);
}

.chart-alert-bubble {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: #081120;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(245, 179, 1, 0.4);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -6px); }
}

/* --- Trust Bar Section --- */
.trust-bar {
    padding: 30px 0;
    background: rgba(13, 25, 47, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 5;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px;
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(245, 179, 1, 0.05);
    border: 1px solid rgba(245, 179, 1, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.trust-item:hover .trust-icon-box {
    background: var(--color-gold);
    color: #081120;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(245, 179, 1, 0.3);
}

.trust-text h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-text p {
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-tag {
    display: inline-block;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--color-gray-400);
    font-size: 1.05rem;
}

/* --- Problem Section --- */
.problem-section {
    padding: 100px 0;
    position: relative;
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    border: var(--glass-border-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 179, 1, 0.05);
}

.card-icon-header {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.card-icon-header.emotional { background: var(--color-danger-bg); }
.card-icon-header.timing { background: var(--color-danger-bg); }
.card-icon-header.strategy { background: var(--color-danger-bg); }

.card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.card-text {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

.section-cta-container {
    text-align: center;
}

/* --- Solution Section --- */
.solution-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.solution-radial-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(245, 179, 1, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.solution-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: center;
}

.solution-content {
    position: relative;
}

/* Interactive Live Signal Feed Widget */
.solution-visual {
    width: 100%;
}

.signals-container {
    background: rgba(13, 25, 47, 0.5);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.signals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.signals-header h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-gray-300);
}

.blinking-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.5px;
}

.signals-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 280px;
    overflow-y: hidden;
}

.signal-alert {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
}

.signal-alert:hover {
    background: rgba(255, 255, 255, 0.04);
}

.signal-alert.success {
    border-left: 4px solid var(--color-success);
}

.signal-alert.warning {
    border-left: 4px solid var(--color-gold);
}

.signal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.signal-asset {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.signal-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.signal-alert.success .signal-badge {
    background: var(--color-success-bg);
    color: var(--color-success);
}

.signal-alert.warning .signal-badge {
    background: var(--color-gold-dim);
    color: var(--color-gold);
}

.signal-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

.solution-list {
    list-style: none;
    margin: 32px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.solution-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.check-icon {
    flex-shrink: 0;
}

/* --- Benefits Section --- */
.benefits-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

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

.benefit-card {
    padding: 36px 30px;
}

.benefit-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--color-gold-dim);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.benefit-card:hover .benefit-icon-container {
    transform: rotateY(180deg);
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--color-gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Video Section --- */
.video-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto 48px auto;
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #102035 0%, #060b13 100%);
    border: var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    padding: 16px;
}

.video-inner-mockup {
    width: 100%;
    height: 100%;
    background: #091222;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.mock-video-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.glowing-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 60%);
    filter: blur(10px);
    animation: drift 6s ease-in-out infinite alternate;
}

@keyframes drift {
    0% { transform: translate(-40%, -50%) scale(1); }
    100% { transform: translate(-60%, -45%) scale(1.15); }
}

.grid-line-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(8, 17, 32, 0.45);
    transition: var(--transition-fast);
}

.play-overlay:hover {
    background: rgba(8, 17, 32, 0.35);
}

.play-button {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px; /* Align arrow */
    box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.4);
    animation: pulse-ring 2s infinite;
    transition: var(--transition-fast);
}

.video-wrapper:hover .play-button {
    transform: scale(1.1);
    background-color: var(--color-gold-hover);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(245, 179, 1, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0); }
}

.play-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

/* --- Testimonial Section --- */
.testimonial-section {
    padding: 100px 0;
}

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

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.star-rating {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.testimonial-comment {
    color: var(--color-gray-100);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-glow) 0%, rgba(245, 179, 1, 0.2) 100%);
    border: 1.5px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.user-info h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.user-info span {
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
}

.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(13, 25, 47, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(245, 179, 1, 0.25);
    background: rgba(13, 25, 47, 0.5);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}

.faq-icon {
    color: var(--color-gray-400);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: rgba(8, 17, 32, 0.25);
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    color: var(--color-gray-400);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Final CTA Section --- */
.final-cta {
    position: relative;
    padding: 120px 0;
    background: var(--bg-primary);
    text-align: center;
    overflow: hidden;
}

.final-cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 179, 1, 0.08) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.final-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-gray-300);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    background: #050b15;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 40px 0;
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
}

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

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.disclosure, .disclaimer-text {
    line-height: 1.6;
    color: var(--color-gray-600);
    font-size: 0.75rem;
}

.disclosure strong, .disclaimer-text strong {
    color: var(--color-gray-400);
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-gray-600);
}

/* --- Exit Intent Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 48px 32px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border-color: rgba(245, 179, 1, 0.3);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    color: var(--color-gray-600);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-white);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.modal-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.modal-subheadline {
    color: var(--color-gray-300);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.btn-full {
    width: 100%;
}

.modal-dismiss-link {
    display: block;
    margin: 20px auto 0 auto;
    font-size: 0.75rem;
    color: var(--color-gray-600);
    border-bottom: 1px solid transparent;
}

.modal-dismiss-link:hover {
    color: var(--color-gray-400);
    border-bottom-color: var(--color-gray-400);
}

/* --- Mobile Sticky CTA Bar --- */
.mobile-sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(12, 24, 43, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(245, 179, 1, 0.25);
    z-index: 900;
    padding: 12px 20px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}

.mobile-sticky-cta.visible {
    transform: translateY(-100px); /* Adjust based on viewport offsets */
    display: block;
    bottom: 0;
}

.mobile-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mobile-cta-info {
    display: flex;
    flex-direction: column;
}

.mobile-cta-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.mobile-cta-sub {
    font-size: 0.7rem;
    color: var(--color-gray-400);
}

.btn-mobile-sticky {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* --- Scroll Reveal Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-group {
        align-items: center;
    }
    
    .dashboard-mockup {
        max-width: 650px;
        margin: 0 auto;
    }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-container {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .signals-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-actions {
        /* Keep Watch Free Demo Button hidden on tiny screens to optimize logo spacing */
    }
    
    .btn-nav {
        display: none;
    }
    
    .trust-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Active menu bar morphing */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
