/* ============================================
   VoxSub Website - Main Stylesheet
   Dark Mode Design with Rich Gradient Accents
   ============================================ */

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

/* ============================================
   CSS Variables - Design System
   ============================================ */
:root {
    /* Primary Palette - Gold/Amber */
    --primary-yellow: #2F9BFF;
    --primary-yellow-hover: #63B8FF;
    --primary-yellow-dim: rgba(47, 155, 255, 0.1);
    --primary-amber: #00D4FF;

    /* Hero Gradient - warm gold → amber */
    --gradient-primary: linear-gradient(135deg, #2F9BFF 0%, #00D4FF 100%);
    --gradient-primary-hover: linear-gradient(135deg, #63B8FF 0%, #0078D7 100%);

    /* Section accent gradients */
    --gradient-blue-purple: linear-gradient(135deg, #4285f4 0%, #9b72cb 100%);
    --gradient-teal-blue:   linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    --gradient-hero-text:   linear-gradient(135deg, #ffffff 0%, #2F9BFF 58%, #00D4FF 100%);
    --gradient-section-divider: linear-gradient(90deg, transparent, rgba(47,155,255,0.35), transparent);

    /* Browser brand colors */
    --chrome-color: #4285f4;
    --chrome-dim: rgba(66, 133, 244, 0.12);
    --chrome-border: rgba(66, 133, 244, 0.35);
    --firefox-color: #FF6611;
    --firefox-dim: rgba(255, 102, 17, 0.12);
    --firefox-border: rgba(255, 102, 17, 0.35);
    --edge-color: #0078D7;
    --edge-dim: rgba(0, 120, 215, 0.12);
    --edge-border: rgba(0, 120, 215, 0.35);

    /* Backgrounds */
    --bg-dark: #09090b;
    --bg-dark-secondary: #0f0f12;
    --bg-dark-tertiary: #1a1a1f;
    --bg-card: #16161b;
    --bg-gradient: linear-gradient(160deg, #09090b 0%, #0f0f12 50%, #09090b 100%);

    /* Text */
    --text-white: #ffffff;
    --text-gray: #a8a8b3;
    --text-dim: #6b6b7a;

    /* Borders */
    --border-dark: #252530;
    --border-subtle: #1e1e28;
    --border-glow: rgba(47, 155, 255, 0.3);
    --border-glow-strong: rgba(47, 155, 255, 0.5);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(47, 155, 255, 0.16);
    --shadow-glow-md: 0 0 50px rgba(47, 155, 255, 0.24);
    --shadow-chrome: 0 4px 20px rgba(66, 133, 244, 0.25);
    --shadow-firefox: 0 4px 20px rgba(255, 102, 17, 0.25);
    --shadow-edge: 0 4px 20px rgba(0, 120, 215, 0.25);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-ar: 'Tajawal', 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', 'Courier New', monospace;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body[dir="rtl"] {
    font-family: var(--font-family-ar);
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

p {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

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

a:hover {
    color: var(--primary-yellow-hover);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-2xl) 0;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(9, 9, 11, 0.97);
    border-bottom-color: var(--border-dark);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    color: var(--text-white);
    opacity: 0.9;
}

.nav-logo img {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 12px rgba(47, 155, 255, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

/* ── Browser icon buttons ── */
.nav-browser-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: var(--transition-bounce);
    position: relative;
    text-decoration: none;
}

.nav-browser-btn img {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}

.nav-browser-btn.chrome {
    background: var(--chrome-dim);
    border: 1px solid var(--chrome-border);
}

.nav-browser-btn.firefox {
    background: var(--firefox-dim);
    border: 1px solid var(--firefox-border);
}

.nav-browser-btn.chrome:hover {
    background: rgba(66, 133, 244, 0.25);
    border-color: var(--chrome-color);
    box-shadow: var(--shadow-chrome);
    transform: translateY(-3px) scale(1.08);
}

.nav-browser-btn.firefox:hover {
    background: rgba(255, 102, 17, 0.25);
    border-color: var(--firefox-color);
    box-shadow: var(--shadow-firefox);
    transform: translateY(-3px) scale(1.08);
}

.nav-browser-btn.edge {
    background: var(--edge-dim);
    border: 1px solid var(--edge-border);
}

.nav-browser-btn.edge:hover {
    background: rgba(0, 120, 215, 0.25);
    border-color: var(--edge-color);
    box-shadow: var(--shadow-edge);
    transform: translateY(-3px) scale(1.08);
}

/* tooltip labels */
.nav-browser-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--border-dark);
    color: var(--text-gray);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.nav-browser-btn[data-tooltip]:hover::after {
    opacity: 1;
}

/* ── Premium button ── */
.nav-premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: rgba(47, 155, 255, 0.06);
    color: var(--primary-yellow);
    border: 1px solid rgba(47, 155, 255, 0.25);
    text-decoration: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-premium-btn:hover {
    background: rgba(47, 155, 255, 0.14);
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    box-shadow: 0 0 20px rgba(47, 155, 255, 0.15);
    transform: translateY(-1px);
}

.nav-premium-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* ── Language toggle ── */
.lang-toggle {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dark);
    color: var(--text-gray);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    font-family: inherit;
    font-size: 0.85rem;
}

.lang-toggle:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    background: rgba(47, 155, 255, 0.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* nav divider */
.nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 2px;
    flex-shrink: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow-md);
    background: var(--gradient-primary-hover);
}

/* Hero Chrome button */
.btn-chrome {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: none;
}

.btn-chrome:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
    color: #fff;
}

/* Hero Firefox button */
.btn-firefox {
    background: linear-gradient(135deg, #FF6611 0%, #e8520a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 102, 17, 0.3);
    border: none;
}

.btn-firefox:hover {
    background: linear-gradient(135deg, #e8520a 0%, #cc450a 100%);
    box-shadow: 0 6px 25px rgba(255, 102, 17, 0.45);
    transform: translateY(-2px);
    color: #fff;
}

/* Hero Edge button */
.btn-edge {
    background: linear-gradient(135deg, #0078D7 0%, #005a9e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 120, 215, 0.3);
    border: none;
}

.btn-edge:hover {
    background: linear-gradient(135deg, #005a9e 0%, #004578 100%);
    box-shadow: 0 6px 25px rgba(0, 120, 215, 0.45);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: var(--bg-dark-tertiary);
    color: var(--text-white);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
}

.btn-outline:hover {
    background: var(--primary-yellow-dim);
    transform: translateY(-2px);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.3);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 60%, rgba(66, 133, 244, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 40%, rgba(47, 155, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--border-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-yellow);
    margin-bottom: var(--spacing-md);
}

.hero h1 {
    background: linear-gradient(135deg, var(--text-white) 0%, #8fd3ff 45%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: var(--bg-dark-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-section-divider);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

.section-subtitle {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-xs);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 155, 255, 0.4);
    box-shadow: var(--shadow-glow-md), var(--shadow-md);
}

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

/* ============================================
   Bento Box Features Section
   ============================================ */
.bento-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.bento-card {
    background: #121217;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 155, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(47, 155, 255, 0.05);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.bento-hero {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(145deg, #161224 0%, #0d0b14 100%);
    border-color: rgba(128, 90, 213, 0.2);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
}

.bento-hero:hover {
    border-color: rgba(128, 90, 213, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(128, 90, 213, 0.15);
}

.bento-bg.bg-purple {
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(128, 90, 213, 0.1) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
}

.bento-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.05);
}

.bento-hero .hero-icon {
    width: 90px;
    height: 90px;
    font-size: 3rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(128, 90, 213, 0.2), rgba(85, 60, 154, 0.4));
    border-color: rgba(128, 90, 213, 0.4);
    box-shadow: 0 10px 30px rgba(128, 90, 213, 0.2), inset 0 2px 10px rgba(255,255,255,0.1);
}

.icon-purple { background: linear-gradient(135deg, rgba(128, 90, 213, 0.1), rgba(85, 60, 154, 0.2)); border-color: rgba(128, 90, 213, 0.2); }
.icon-blue { background: linear-gradient(135deg, rgba(66, 153, 225, 0.1), rgba(43, 108, 176, 0.2)); border-color: rgba(66, 153, 225, 0.2); }
.icon-red { background: linear-gradient(135deg, rgba(245, 101, 101, 0.1), rgba(197, 48, 48, 0.2)); border-color: rgba(245, 101, 101, 0.2); }
.icon-orange { background: linear-gradient(135deg, rgba(237, 137, 54, 0.1), rgba(192, 86, 33, 0.2)); border-color: rgba(237, 137, 54, 0.2); }
.icon-teal { background: linear-gradient(135deg, rgba(56, 178, 172, 0.1), rgba(40, 94, 97, 0.2)); border-color: rgba(56, 178, 172, 0.2); }
.icon-green { background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(39, 103, 73, 0.2)); border-color: rgba(72, 187, 120, 0.2); }

.emoji-icon {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.bento-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    font-weight: 700;
}

.bento-hero .bento-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.bento-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.bento-hero .bento-desc {
    font-size: 1.15rem;
    max-width: 80%;
    margin: 0 auto;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #D6BCFA, #805AD5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
    .bento-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-hero {
        grid-column: span 2;
        grid-row: span 1;
        padding: 2.5rem;
    }
}

@media (max-width: 600px) {
    .bento-features-grid {
        grid-template-columns: 1fr;
    }
    .bento-hero {
        grid-column: span 1;
        padding: 2rem;
    }
    .bento-hero .bento-desc {
        max-width: 100%;
    }
}

/* Flat Long Shadow Effect */
.long-shadow {
    color: #fff;
    text-shadow: 
      1px 1px rgba(0,0,0,0.15), 2px 2px rgba(0,0,0,0.15), 3px 3px rgba(0,0,0,0.15), 4px 4px rgba(0,0,0,0.15), 
      5px 5px rgba(0,0,0,0.15), 6px 6px rgba(0,0,0,0.15), 7px 7px rgba(0,0,0,0.15), 8px 8px rgba(0,0,0,0.15), 
      9px 9px rgba(0,0,0,0.15), 10px 10px rgba(0,0,0,0.15), 11px 11px rgba(0,0,0,0.15), 12px 12px rgba(0,0,0,0.15), 
      13px 13px rgba(0,0,0,0.15), 14px 14px rgba(0,0,0,0.15), 15px 15px rgba(0,0,0,0.15), 16px 16px rgba(0,0,0,0.15), 
      17px 17px rgba(0,0,0,0.15), 18px 18px rgba(0,0,0,0.15), 19px 19px rgba(0,0,0,0.15), 20px 20px rgba(0,0,0,0.15),
      21px 21px rgba(0,0,0,0.15), 22px 22px rgba(0,0,0,0.15), 23px 23px rgba(0,0,0,0.15), 24px 24px rgba(0,0,0,0.15),
      25px 25px rgba(0,0,0,0.15), 26px 26px rgba(0,0,0,0.15), 27px 27px rgba(0,0,0,0.15), 28px 28px rgba(0,0,0,0.15),
      29px 29px rgba(0,0,0,0.15), 30px 30px rgba(0,0,0,0.15), 31px 31px rgba(0,0,0,0.15), 32px 32px rgba(0,0,0,0.15),
      33px 33px rgba(0,0,0,0.15), 34px 34px rgba(0,0,0,0.15), 35px 35px rgba(0,0,0,0.15), 36px 36px rgba(0,0,0,0.15),
      37px 37px rgba(0,0,0,0.15), 38px 38px rgba(0,0,0,0.15), 39px 39px rgba(0,0,0,0.15), 40px 40px rgba(0,0,0,0.15),
      41px 41px rgba(0,0,0,0.15), 42px 42px rgba(0,0,0,0.15), 43px 43px rgba(0,0,0,0.15), 44px 44px rgba(0,0,0,0.15),
      45px 45px rgba(0,0,0,0.15), 46px 46px rgba(0,0,0,0.15), 47px 47px rgba(0,0,0,0.15), 48px 48px rgba(0,0,0,0.15),
      49px 49px rgba(0,0,0,0.15), 50px 50px rgba(0,0,0,0.15), 51px 51px rgba(0,0,0,0.15), 52px 52px rgba(0,0,0,0.15),
      53px 53px rgba(0,0,0,0.15), 54px 54px rgba(0,0,0,0.15), 55px 55px rgba(0,0,0,0.15), 56px 56px rgba(0,0,0,0.15),
      57px 57px rgba(0,0,0,0.15), 58px 58px rgba(0,0,0,0.15), 59px 59px rgba(0,0,0,0.15), 60px 60px rgba(0,0,0,0.15),
      61px 61px rgba(0,0,0,0.15), 62px 62px rgba(0,0,0,0.15), 63px 63px rgba(0,0,0,0.15), 64px 64px rgba(0,0,0,0.15),
      65px 65px rgba(0,0,0,0.15), 66px 66px rgba(0,0,0,0.15), 67px 67px rgba(0,0,0,0.15), 68px 68px rgba(0,0,0,0.15),
      69px 69px rgba(0,0,0,0.15), 70px 70px rgba(0,0,0,0.15), 71px 71px rgba(0,0,0,0.15), 72px 72px rgba(0,0,0,0.15),
      73px 73px rgba(0,0,0,0.15), 74px 74px rgba(0,0,0,0.15), 75px 75px rgba(0,0,0,0.15), 76px 76px rgba(0,0,0,0.15),
      77px 77px rgba(0,0,0,0.15), 78px 78px rgba(0,0,0,0.15), 79px 79px rgba(0,0,0,0.15), 80px 80px rgba(0,0,0,0.15);
}

.voxsub-feat-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-white);
}

.voxsub-feat-item p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(47, 155, 255, 0.15) 0%, rgba(245, 166, 35, 0.08) 100%);
    border: 1px solid rgba(47, 155, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================
   Platform Support
   ============================================ */
.platforms {
    background: var(--bg-dark);
}

.platform-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.platform-logo {
    opacity: 0.7;
    transition: var(--transition-fast);
    filter: grayscale(100%);
}

.platform-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.platform-note {
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
    margin-top: var(--spacing-md);
}

/* ============================================
   Screenshots Carousel
   ============================================ */
.screenshots {
    background: var(--bg-dark-secondary);
}

.carousel {
    position: relative;
    max-width: 900px;
    margin: var(--spacing-xl) auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-sm);
    pointer-events: none;
}

.carousel-btn {
    background: rgba(47, 155, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    pointer-events: all;
    font-size: 1.5rem;
}

.carousel-btn:hover {
    background: var(--primary-yellow);
    color: #000;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-dark-tertiary);
    border: 1px solid var(--border-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: rgba(47, 155, 255, 0.8);
    border-color: rgba(47, 155, 255, 0.8);
    box-shadow: 0 0 8px rgba(47, 155, 255, 0.4);
}

/* ============================================
   Stats Section
   ============================================ */
.stat-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
    font-weight: 900;
    font-family: var(--font-mono);
    line-height: 1;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-section-divider);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--primary-yellow);
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-dark);
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-white) 0%, #8fd3ff 45%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden {
    display: none !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Advanced Features
   ============================================ */
.advanced-features .feature-card {
    max-width: 900px;
    margin: 0 auto;
}

[dir="rtl"] .advanced-features .feature-card {
    text-align: right;
}

[dir="rtl"] .advanced-features .feature-card .feature-icon {
    margin-right: 0;
    margin-left: var(--spacing-md);
}

.advanced-features ul li {
    position: relative;
    padding-left: 0;
}

[dir="rtl"] .advanced-features ul li {
    padding-right: 0;
}

@media (max-width: 768px) {
    .advanced-features .feature-card>div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: var(--spacing-sm) !important;
    }
}
/* ============================================
   VoxSub 2026 Marketing Refresh
   Promotional image-led landing page
   ============================================ */
.vox-hero-grid {
    grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
    gap: clamp(2rem, 5vw, 5rem);
}

.vox-hero-copy h1 {
    font-size: clamp(2.5rem, 5.2vw, 5.1rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
    margin-bottom: 1.25rem;
}

.vox-hero-copy .hero-description {
    max-width: 660px;
    color: #d5d5df;
    font-size: clamp(1.06rem, 1.5vw, 1.28rem);
}

.vox-cta-row {
    margin-top: 1.8rem;
    margin-bottom: 1.4rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.vox-platform-pills,
.vox-trust-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.vox-platform-pills span,
.vox-platform-pills em,
.vox-trust-pills span {
    color: var(--text-gray);
    font-style: normal;
    font-size: 0.92rem;
}

.vox-platform-pills strong,
.vox-trust-pills span {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
    color: var(--text-white);
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 0.84rem;
    line-height: 1;
}

.vox-trust-pills span {
    color: #dfe9ff;
    border-color: rgba(0,120,215,0.25);
    background: rgba(0,120,215,0.09);
}

.vox-hero-visual {
    width: 100%;
}

.hero-screenshot-frame {
    padding: 0.8rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015)),
        rgba(10, 14, 24, 0.8);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 80px rgba(0, 120, 215, 0.13);
    position: relative;
    overflow: hidden;
}

.hero-screenshot-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 28px;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(0, 120, 215, 0.35), transparent 35%, rgba(47, 155, 255, 0.22));
    opacity: 0.45;
}

.hero-screenshot-frame img,
.showcase-media img,
.advanced-image img,
.promo-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-screenshot-frame img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.floating-card {
    position: absolute;
    z-index: 3;
    min-width: 190px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    background: rgba(7, 12, 24, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 45px rgba(0,0,0,0.35);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    color: var(--text-white);
    font-size: 0.95rem;
}

.floating-card span {
    color: var(--text-gray);
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

.floating-card-top {
    top: -1.15rem;
    right: 5%;
}

.floating-card-bottom {
    left: 4%;
    bottom: -1.2rem;
}

.vox-feature-grid .bento-card {
    min-height: 230px;
}

.product-showcase {
    background:
        radial-gradient(circle at 15% 10%, rgba(0, 120, 215, 0.08), transparent 26%),
        radial-gradient(circle at 85% 42%, rgba(47, 155, 255, 0.06), transparent 28%),
        var(--bg-dark);
    position: relative;
}

.product-showcase::before,
.promo-gallery-section::before,
.stats-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: var(--gradient-section-divider);
}

.showcase-row {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: center;
    margin: clamp(2rem, 6vw, 5rem) 0;
}

.showcase-row-reverse {
    grid-template-columns: minmax(420px, 1.15fr) minmax(280px, 0.85fr);
}

.showcase-row-reverse .showcase-copy {
    order: 2;
}

.showcase-row-reverse .showcase-media {
    order: 1;
}

.showcase-copy {
    padding: clamp(0.5rem, 2vw, 1rem);
}

.showcase-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(0, 120, 215, 0.12);
    border: 1px solid rgba(0, 120, 215, 0.25);
    color: #64b5ff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.showcase-copy h3 {
    font-size: clamp(1.7rem, 3vw, 3rem);
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}

.showcase-copy p {
    color: #bfc0ca;
    font-size: 1.06rem;
    line-height: 1.75;
    max-width: 560px;
}

.showcase-list {
    display: grid;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.showcase-list li {
    position: relative;
    padding-left: 1.55rem;
    color: var(--text-gray);
    font-size: 0.98rem;
}

.showcase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-yellow);
    font-weight: 800;
}

[dir="rtl"] .showcase-list li {
    padding-left: 0;
    padding-right: 1.55rem;
}

[dir="rtl"] .showcase-list li::before {
    left: auto;
    right: 0;
}

.showcase-media {
    border-radius: 26px;
    padding: 0.55rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.012));
    box-shadow: 0 22px 70px rgba(0,0,0,0.42);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.showcase-media:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 120, 215, 0.35);
    box-shadow: 0 30px 85px rgba(0,0,0,0.55), 0 0 55px rgba(0,120,215,0.12);
}

.showcase-media img {
    border-radius: 20px;
}

.how-it-works {
    background: var(--bg-dark-secondary);
    padding: var(--spacing-2xl) 0;
}

.steps-grid {
    max-width: 1020px;
    margin: 0 auto;
}

.advanced-features {
    background: var(--bg-dark);
    padding: var(--spacing-2xl) 0;
}

.advanced-panel {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 20%, rgba(0,120,215,0.14), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
    box-shadow: 0 22px 75px rgba(0,0,0,0.42);
}

.advanced-copy h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.4rem 0;
}

.profile-actions span {
    padding: 0.55rem 0.78rem;
    border-radius: 999px;
    color: #e6efff;
    border: 1px solid rgba(0,120,215,0.23);
    background: rgba(0,120,215,0.09);
    font-weight: 700;
    font-size: 0.86rem;
}

.privacy-note {
    color: var(--text-gray);
    border-left: 4px solid var(--primary-yellow);
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(47,155,255,0.06);
    line-height: 1.7;
}

[dir="rtl"] .privacy-note {
    border-left: 0;
    border-right: 4px solid var(--primary-yellow);
}

.advanced-image {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 22px 65px rgba(0,0,0,0.45);
}

.promo-gallery-section {
    background: var(--bg-dark-secondary);
    position: relative;
}

.promo-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.promo-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0d111c;
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.promo-gallery figure:hover {
    transform: translateY(-4px);
    border-color: rgba(47,155,255,0.26);
}

.promo-gallery img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.promo-gallery figcaption {
    padding: 0.75rem 0.9rem;
    color: var(--text-gray);
    font-size: 0.88rem;
    font-weight: 700;
}

.crunchyroll-logo {
    color: #F47521;
    font-weight: 800;
}

.vimeo-logo {
    color: #1AB7EA;
}

.netflix-logo {
    color: #E50914;
    font-weight: 800;
}

.stats-section {
    position: relative;
    background: var(--bg-dark-secondary);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 3rem 0;
}

.vox-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-label {
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.download {
    background:
        radial-gradient(circle at 50% 0%, rgba(0,120,215,0.16), transparent 35%),
        var(--bg-dark);
    padding: var(--spacing-2xl) 0;
}

.download-cta {
    justify-content: center;
    margin-top: 1.5rem;
}

.support-link-note {
    margin-top: 1.4rem;
    color: var(--text-dim);
    font-size: 0.92rem;
}

@media (max-width: 1100px) {
    .vox-hero-grid,
    .showcase-row,
    .showcase-row-reverse,
    .advanced-panel {
        grid-template-columns: 1fr;
    }

    .showcase-row-reverse .showcase-copy,
    .showcase-row-reverse .showcase-media {
        order: initial;
    }

    .vox-hero-copy {
        max-width: 820px;
        text-align: center;
        margin: 0 auto;
    }

    .vox-cta-row,
    .vox-platform-pills,
    .vox-trust-pills {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 900px) {
    .promo-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .vox-hero-copy h1 {
        font-size: clamp(2.35rem, 12vw, 3.5rem);
    }

    .hero-screenshot-frame,
    .showcase-media,
    .advanced-panel {
        border-radius: 20px;
    }

    .hero-screenshot-frame img,
    .showcase-media img {
        border-radius: 14px;
    }

    .promo-gallery,
    .vox-stats-grid {
        grid-template-columns: 1fr;
    }

    .vox-platform-pills,
    .vox-trust-pills,
    .download-cta {
        align-items: stretch;
    }

    .download-cta .btn,
    .vox-cta-row .btn {
        width: 100%;
        justify-content: center;
    }
}


/* ============================================
   VoxSub Polish Pass - icon, Arabic hero, and RTL text balance
   ============================================ */
.nav-logo img {
    border-radius: 24px;
    background: rgba(47, 155, 255, 0.08);
    box-shadow: 0 0 18px rgba(47, 155, 255, 0.32);
}

.vox-hero-copy h1 {
    max-width: 760px;
}

[dir="rtl"] .vox-hero-copy {
    text-align: right;
}

[dir="rtl"] .vox-hero-copy h1 {
    font-size: clamp(2.45rem, 4.7vw, 4.35rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    max-width: 720px;
}

[dir="rtl"] .vox-hero-copy .hero-description {
    max-width: 640px;
}

.vox-platform-pills strong,
.vox-trust-pills span {
    white-space: nowrap;
    direction: ltr;
    unicode-bidi: isolate;
}

[dir="rtl"] .vox-platform-pills,
[dir="rtl"] .vox-trust-pills,
[dir="rtl"] .vox-cta-row {
    justify-content: flex-start;
}

[dir="rtl"] .floating-card {
    text-align: right;
}

.hero-badge {
    border-color: rgba(47, 155, 255, 0.26);
    background: rgba(47, 155, 255, 0.07);
}

.hero-screenshot-frame {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 100px rgba(47, 155, 255, 0.16);
}

@media (min-width: 1101px) {
    .vox-hero-grid {
        grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
    }
}
