/* ============================================
   GEIST FONT FACES
   ============================================ */
@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/Geist/Geist-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

/* ============================================
   DARK COMMAND CENTER PALETTE
   ============================================ */
:root {
    --color-bg_primary: #0a0a0a;
    --color-bg_secondary: #111827;
    --color-bg_tertiary: #1a1f2e;
    --color-surface: #1e293b;

    --color-primary: #f0f0f0;
    --color-primary_h: #d4d4d4;

    --color-secondary: #009fde;
    --color-secondary_h: #38bdf8;
    --color-secondary_light: #0c2d3f;
    --color-secondary_glow: rgba(0, 159, 222, 0.15);
    --color-secondary_glow_strong: rgba(0, 159, 222, 0.3);

    --color-accent: #22d3ee;

    --color-tetriary: #800020;
    --color-tetriary_light: #2a0a10;
    --color-quaternary: #efb522;

    --color-transparent_h: #1a1f2e;
    --color-transparent_h_light: #151a26;

    --color-light: #94a3b8;
    --color-normal: #cbd5e1;
    --color-contrast: #0a0a0a;

    --color-border: rgba(255, 255, 255, 0.08);
    --color-border_hover: rgba(255, 255, 255, 0.15);
    --color-shade: rgba(255, 255, 255, 0.06);

    --color-error: #ef4444;
    --color-error_light: #450a0a;
    --color-warning: #FF6A1A;
    --color-warning_light: #431407;
    --color-success: #0edd5e;
    --color-success_light: #052e16;
    --color-info: #fbbf24;
    --color-disabled: #1e293b;
}

/* ============================================
   BASE STYLES
   ============================================ */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Geist', system-ui, sans-serif;
    color: var(--color-primary);
    background-color: var(--color-bg_primary);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* ============================================
   VISUAL TEXTURE & PATTERNS
   ============================================ */
.dot-grid {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 159, 222, 0.3), transparent);
    max-width: 80%;
    margin: 0 auto;
}

.hero-glow {
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 159, 222, 0.15) 0%, transparent 70%);
}

.blue-glow-text {
    text-shadow: 0 0 40px rgba(0, 159, 222, 0.3), 0 0 80px rgba(0, 159, 222, 0.1);
}

/* ============================================
   GLASS CARD STYLES
   ============================================ */
.glass-card {
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
    border-color: rgba(0, 159, 222, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 159, 222, 0.08);
}

.data-card {
    position: relative;
    overflow: hidden;
    background: var(--color-bg_secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    border-radius: 2px 2px 0 0;
}

/* ============================================
   BROWSER CHROME FRAME
   ============================================ */
.browser-frame {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 159, 222, 0.12), 0 25px 50px rgba(0, 0, 0, 0.5);
}

.browser-chrome {
    background: var(--color-bg_secondary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-shadow {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 4px var(--color-secondary); }
    50% { box-shadow: 0 0 12px var(--color-secondary); }
}

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

/* ============================================
   SCROLL ANIMATION UTILITIES
   ============================================ */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.is-visible {
    animation-fill-mode: forwards;
    animation-duration: 0.7s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible.fade-up { animation-name: fadeUp; }
.animate-on-scroll.is-visible.fade-in { animation-name: fadeIn; }
.animate-on-scroll.is-visible.slide-left { animation-name: slideLeft; }
.animate-on-scroll.is-visible.slide-right { animation-name: slideRight; }
.animate-on-scroll.is-visible.scale-up { animation-name: scaleUp; }

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ============================================
   STATUS INDICATOR
   ============================================ */
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-success);
    animation: glowPulse 2s ease-in-out infinite;
}

.status-dot-blue {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
    animation: glowPulse 2s ease-in-out infinite;
}

/* ============================================
   TIMELINE (Benefits section)
   ============================================ */
.timeline-line {
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-secondary), rgba(0, 159, 222, 0.1));
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg_primary);
    border: 2px solid var(--color-secondary);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* ============================================
   FAQ DETAILS
   ============================================ */
details summary::-webkit-details-marker {
    display: none;
}

details[open] .faq-answer {
    animation: fadeUp 0.3s ease-out forwards;
}

/* ============================================
   LEGAL PAGE CONTENT STYLES
   Scoped to .legal-content so they don't
   conflict with marketing page Tailwind classes
   ============================================ */
.legal-content h1 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    text-align: center;
    margin-bottom: 20px;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
    color: var(--color-secondary);
    margin-top: 20px;
}

.legal-content p {
    margin-bottom: 15px;
    color: var(--color-light);
}

.legal-content a {
    color: var(--color-secondary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content ul {
    list-style-type: disc !important;
    margin-left: 20px;
}

.legal-content ol {
    list-style: auto !important;
    margin-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--color-light);
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal-content table th,
.legal-content table td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    text-align: left;
}

.legal-content table th {
    background-color: var(--color-bg_tertiary);
    color: var(--color-primary);
}

.legal-content strong {
    color: var(--color-primary) !important;
}

/* ============================================
   STICKY FEATURE NAV (features.html)
   ============================================ */
.feature-nav-item {
    transition: all 0.2s ease;
}

.feature-nav-item:hover {
    color: var(--color-secondary);
    background: rgba(0, 159, 222, 0.05);
}

.feature-nav-item.active {
    color: var(--color-secondary);
    background: rgba(0, 159, 222, 0.1);
    border-bottom: 2px solid var(--color-secondary);
}
