/* ==========================================================================
   CS Trim - Professional Modern Landing Page Stylesheet
   Designed for Israeli Video Editors & Content Creators (RTL)
   ========================================================================== */

:root {
    --bg-main: #0c0d12;
    --bg-card: #141721;
    --bg-card-hover: #1a1e2b;
    --bg-card-alt: #10121a;
    --bg-input: #0e1017;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(37, 99, 235, 0.5);
    
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-glow: rgba(37, 99, 235, 0.35);
    
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.3);
    
    --cyan: #38bdf8;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --font-main: 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 0%, #0d1a33 0%, #0c0d12 60%);
    min-height: 100vh;
}

/* Ambient glow balls */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}
.glow-1 {
    top: -150px;
    right: 10%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.glow-2 {
    top: 250px;
    left: 5%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
}

.gradient-text {
    background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.text-accent { color: #60a5fa !important; }
.text-success { color: #34d399 !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* OS Detection Highlighted Download Button */
.btn-os-highlight {
    position: relative;
    order: -1;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.55), 0 8px 30px rgba(37, 99, 235, 0.5) !important;
    animation: osPulseHighlight 3.5s ease-in-out infinite;
}

@keyframes osPulseHighlight {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.45), 0 8px 24px rgba(37, 99, 235, 0.4);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.85), 0 12px 34px rgba(37, 99, 235, 0.65);
        transform: translateY(-2px);
    }
}

.os-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.73rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    margin-right: 6px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    line-height: 1.3;
    white-space: nowrap;
    animation: fadeIn 0.4s ease;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 16px;
    flex-direction: column;
    gap: 4px;
}
.btn-lg .btn-subtext {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.85;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1.15rem;
    border-radius: 18px;
    width: 100%;
    max-width: 480px;
}
.btn-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}
.btn-main-txt {
    font-weight: 700;
    font-size: 1.15rem;
}
.btn-sec-txt {
    font-size: 0.82rem;
    font-weight: 400;
    opacity: 0.88;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(12, 13, 18, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: white;
}
.brand-badge {
    font-size: 0.72rem;
    color: #93c5fd;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover {
    color: white;
}

.btn-nav-cta {
    background: rgba(37, 99, 235, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}
.btn-nav-cta:hover {
    background: var(--primary);
    color: white;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 70px 0 60px;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-wrap {
    margin-bottom: 24px;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    margin-bottom: 34px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-brand {
    display: block;
    font-size: 4.4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-tagline {
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.highlight-free {
    display: inline-block;
    padding: 0 4px;
    font-weight: 900;
    background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 35%, #a78bfa 70%, #38bdf8 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: freePulseShimmer 2.6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes freePulseShimmer {
    0%, 100% {
        background-position: 0% 50%;
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
    }
    50% {
        background-position: 100% 50%;
        transform: scale(1.08) translateY(-1px);
        filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.9)) drop-shadow(0 0 28px rgba(167, 139, 250, 0.5));
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 740px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-announcement-wrap {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.hero-announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 20px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.14) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(250, 204, 21, 0.35);
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 1.02rem;
    color: #fef08a;
    text-decoration: none;
    transition: var(--transition);
}

.hero-announcement-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(250, 204, 21, 0.6);
    box-shadow: 0 8px 25px rgba(250, 204, 21, 0.28);
    color: #fff;
}

.hero-badge-sparkle {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #0b0f19;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(250, 204, 21, 0.3);
}

.hero-badge-arrow {
    font-size: 1.1rem;
    color: #facc15;
    transition: transform 0.2s ease;
}

.hero-announcement-pill:hover .hero-badge-arrow {
    transform: translateX(-4px);
}

.hero-love-wrap {
    margin-bottom: 34px;
    display: flex;
    justify-content: center;
}

.hero-love-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(147, 51, 234, 0.08) 100%);
    border: 1px solid rgba(244, 63, 94, 0.3);
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 1.15rem;
    color: #fce7f3;
    font-weight: 500;
}

.heart-beat-icon {
    display: inline-block;
    font-size: 1.2rem;
    animation: heartBeat 1.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px rgba(244, 63, 94, 0.5));
    }
    14% {
        transform: scale(1.3);
        filter: drop-shadow(0 0 10px rgba(244, 63, 94, 0.95));
    }
    28% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(244, 63, 94, 0.6));
    }
    42% {
        transform: scale(1.24);
        filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.85));
    }
    70% {
        transform: scale(1);
        filter: drop-shadow(0 0 3px rgba(244, 63, 94, 0.5));
    }
}

.love-word {
    background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-features-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.hero-feat-highlight {
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.28);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    color: #fef08a;
}
.feat-sparkle {
    font-size: 1rem;
}



/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(20, 23, 33, 0.4);
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-card {
    padding: 16px;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #93c5fd 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 100px 0 80px;
}

.section-badge-wrap {
    text-align: center;
    margin-bottom: 14px;
}
.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(37, 99, 235, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.section-title {
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
    font-size: 1.15rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.card-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.icon-purple, .icon-blue {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
}
.icon-indigo, .icon-blue-alt {
    background: rgba(59, 130, 246, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.feature-lead {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.feature-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.feature-points li strong {
    color: white;
}
.feature-point-featured {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.12) 0%, rgba(234, 179, 8, 0.05) 100%) !important;
    border: 1px solid rgba(250, 204, 21, 0.35) !important;
    border-radius: 12px;
    padding: 14px 16px !important;
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.08);
}
.feature-point-featured strong {
    color: #fef08a !important;
}
.icon-check {
    color: var(--success);
    font-weight: 800;
    margin-top: 2px;
}

.perks-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}
.perk-box {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}
.perk-box.perk-highlight {
    border-color: rgba(250, 204, 21, 0.35);
    background: linear-gradient(180deg, rgba(250, 204, 21, 0.08) 0%, rgba(20, 23, 33, 0.7) 100%);
}
.perk-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.perk-box h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.perk-box p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   Interactive Simulator Section
   ========================================================================== */
.simulator-section {
    padding: 90px 0;
    background: radial-gradient(circle at 50% 50%, #151928 0%, #0c0d12 80%);
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.sim-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.sim-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.sim-pill {
    font-size: 0.75rem;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.sim-card-title h3 {
    font-size: 1.35rem;
}

.sim-controls {
    display: flex;
    background: #0d0f17;
    border-radius: 8px;
    padding: 3px;
}
.sim-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.sim-btn.active {
    background: #23283a;
    color: white;
}

.sim-stage-info {
    display: flex;
    justify-content: space-between;
    background: #0d0f17;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 0.85rem;
}
.sim-label {
    color: var(--text-muted);
    margin-left: 6px;
}
.sim-val {
    font-weight: 700;
    color: white;
}

/* Sim 1: Timeline track */
.sim-timeline-view {
    height: 70px;
    background: #0a0b10;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    padding: 6px;
    gap: 4px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.sim-clip {
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    white-space: nowrap;
}
.sim-clip-speech {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}
.sim-clip-silence {
    background: repeating-linear-gradient(
        45deg,
        rgba(239, 68, 68, 0.3),
        rgba(239, 68, 68, 0.3) 6px,
        rgba(239, 68, 68, 0.6) 6px,
        rgba(239, 68, 68, 0.6) 12px
    );
    border: 1px dashed #ef4444;
}
.sim-silence-tag {
    font-size: 0.72rem;
    opacity: 0.85;
    color: #fca5a5;
    pointer-events: none;
}

.sim-legend {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.legend-box {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}
.legend-box.speech { background: #10b981; }
.legend-box.silence { background: #ef4444; }

.sim-action-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}
.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}
.sim-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sim 2: Caption Slider & Phone Mockup */
.slider-box {
    margin-bottom: 20px;
}
.slider-flex {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.slider-flex input[type="range"] {
    flex: 1;
    accent-color: var(--cyan);
    height: 6px;
    cursor: pointer;
}
.word-count-badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
}

/* Phone Mockup */
.phone-mockup {
    width: 260px;
    height: 380px;
    background: #000;
    border-radius: 34px;
    border: 6px solid #282c3f;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}
.phone-speaker {
    width: 70px;
    height: 12px;
    background: #1e2230;
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #181d2e 0%, #0d0f18 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 16px 20px;
}
.reel-creator-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: white;
}
.creator-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f43f5e, #fb923c);
}

.reel-video-placeholder {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
/* Simulator Highlight Marker Bar */
.sim-highlight-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.65);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-hl-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-left: 4px;
}

.sim-hl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e2235;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sim-hl-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.sim-hl-btn.active {
    background: rgba(255, 255, 255, 0.14);
    border-color: #facc15;
    color: white;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.25);
}

#simHlYellow.active {
    border-color: #facc15;
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
}
#simHlGreen.active {
    border-color: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.35);
}
#simHlPink.active {
    border-color: #ec4899;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.35);
}
#simHlCyan.active {
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
}

.sim-swatch {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.sim-hl-btn.sim-hl-off.active {
    border-color: #94a3b8;
    box-shadow: none;
}

.caption-display-box {
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    border: 2px solid rgba(250, 204, 21, 0.35);
    min-height: 52px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    line-height: 1.35;
    animation: popIn 0.3s ease;
}

.sim-word {
    display: inline-block;
    padding: 2px 6px;
    margin: 2px 3px;
    border-radius: 6px;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
}

.sim-word.sim-highlighted-word {
    color: #090a0f !important;
    font-weight: 900;
    transform: scale(1.08);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

@keyframes popIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.reel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    font-size: 0.72rem;
    color: white;
}

.caption-presets {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.preset-pill {
    background: #141724;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}
.preset-pill.active, .preset-pill:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--cyan);
    color: white;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-section {
    padding: 90px 0;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    transition: var(--transition);
}
.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}
.step-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 18px;
    left: 24px;
}
.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Installation & Download Section
   ========================================================================== */
.install-section {
    padding: 80px 0 100px;
}

.download-box-wrapper {
    background: linear-gradient(135deg, #0f172a 0%, #0c0f18 100%);
    border: 1px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(37, 99, 235, 0.2);
    border-radius: 28px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.dl-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.dl-title {
    font-size: 2.3rem;
    margin-bottom: 16px;
}
.dl-subtitle {
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}
.dl-buttons-row {
    margin-bottom: 24px;
}
.dl-meta-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* Guide Card */
.install-guide-card {
    background: #0d0f17;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.guide-tabs {
    display: flex;
    background: #141724;
    border-bottom: 1px solid var(--border-color);
}
.guide-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 12px 10px;
    cursor: pointer;
    transition: var(--transition);
}
.guide-tab.active {
    background: #0d0f17;
    color: white;
    border-bottom: 2px solid var(--primary);
}

.guide-pane {
    padding: 24px 26px;
}
.guide-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    counter-reset: step-counter;
}
.guide-steps > li {
    counter-increment: step-counter;
    position: relative;
    padding-right: 44px;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.guide-steps > li::before {
    content: counter(step-counter);
    position: absolute;
    right: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.16);
    border: 1px solid rgba(37, 99, 235, 0.4);
    color: #93c5fd;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guide-steps li strong {
    color: white;
    font-weight: 600;
}
.guide-steps code {
    background: #1a1d2d;
    padding: 2px 7px;
    border-radius: 5px;
    color: #38bdf8;
    font-family: var(--font-mono);
    font-size: 0.84rem;
    border: 1px solid rgba(56, 189, 248, 0.18);
}
.tip-box {
    margin-top: 6px;
    background: rgba(245, 158, 11, 0.08);
    border-right: 2px solid var(--warning);
    padding: 6px 12px;
    border-radius: 0 5px 5px 0;
    font-size: 0.82rem;
    color: #fde68a;
    display: inline-block;
}
.link-inline {
    color: var(--cyan);
    text-decoration: underline;
    font-weight: 600;
}

/* ==========================================================================
   Windows Guide - SmartScreen Screenshots & Visuals
   ========================================================================== */
.ss-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.ss-badge-safe {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}
.ss-subtext {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 4px;
    margin-bottom: 12px;
}
.ss-subtext strong {
    color: #f1f5f9;
}
.ss-subtext em {
    color: #38bdf8;
    font-style: normal;
}
.ss-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 6px;
}
.ss-step-box {
    background: #090c15;
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.ss-step-box:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(56, 189, 248, 0.18);
}
.ss-step-top {
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #f1f5f9;
}
.ss-step-num {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ss-img-wrap {
    position: relative;
    background: #0078d7;
    aspect-ratio: 526 / 487;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ss-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.ss-step-box:hover .ss-img-wrap img {
    transform: scale(1.03);
}
.ss-zoom-pill {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    color: #e2e8f0;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.85;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.ss-step-box:hover .ss-zoom-pill {
    opacity: 1;
    background: rgba(37, 99, 235, 0.95);
    color: #ffffff;
    border-color: rgba(147, 197, 253, 0.4);
}
.ss-step-bottom {
    padding: 9px 11px;
    font-size: 0.79rem;
    line-height: 1.42;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
}
.link-glow {
    color: #38bdf8 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.highlight-btn {
    color: #4ade80 !important;
    background: rgba(74, 222, 128, 0.12);
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    font-weight: 700;
    display: inline-block;
}

/* Lightbox Modal */
.guide-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 15, 0.88);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.guide-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.guide-modal-box {
    position: relative;
    max-width: 580px;
    width: 100%;
    background: #0f1422;
    border: 1px solid rgba(59, 130, 246, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(37, 99, 235, 0.28);
    border-radius: 16px;
    overflow: hidden;
    animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScaleIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.guide-modal-header {
    padding: 14px 20px;
    background: #141b2d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.guide-modal-caption {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
}
.guide-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    transition: all 0.2s;
}
.guide-modal-close:hover {
    background: #ef4444;
    color: #ffffff;
}
.guide-modal-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 72vh;
    object-fit: contain;
    background: #0078d7;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 80px 0 100px;
}
.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    border-color: rgba(37, 99, 235, 0.45);
}
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    text-align: right;
    font-family: var(--font-main);
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    line-height: 1;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 26px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 26px 22px;
}

/* ==========================================================================
   Typo Suggestion / Community Section
   ========================================================================== */
.suggest-section {
    padding: 60px 0 90px;
}

.suggest-card {
    background: linear-gradient(135deg, #131620 0%, #10121a 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 99, 235, 0.08);
.community-accuracy-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(16, 185, 129, 0.12) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin: 24px auto 0;
    max-width: 720px;
    text-align: right;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.cab-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.4));
}
.cab-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.cab-text strong {
    color: #93c5fd;
    font-weight: 700;
    font-size: 1.02rem;
}

.suggest-form {
    margin-top: 28px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.suggest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.suggest-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggest-form label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.suggest-form label .req {
    color: #ef4444;
}

.suggest-form input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.98rem;
    outline: none;
    transition: var(--transition);
}

.suggest-form input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    background: #11141e;
}

.suggest-form input::placeholder {
    color: var(--text-muted);
}

.btn-submit-suggest {
    margin-top: 10px;
    padding: 16px 28px;
    font-size: 1.05rem;
    align-self: center;
    width: 100%;
    max-width: 380px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.suggest-status {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.6;
}

.suggest-status.success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.suggest-status.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

/* Community Section Tabs & Feedback */
.com-tab-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}
.com-tab-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.35);
}
.com-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.web-fb-pill {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.web-fb-pill input {
    display: none !important;
}
.web-fb-pill:hover {
    background: rgba(37, 99, 235, 0.12);
    color: #ffffff;
}
.web-fb-pill.active {
    background: rgba(37, 99, 235, 0.25);
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.2);
}

@media (max-width: 768px) {
    .suggest-card {
        padding: 30px 20px;
    }
    .suggest-grid {
        grid-template-columns: 1fr;
    }
    .btn-submit-suggest {
        max-width: 100%;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: #090a0f;
    padding: 60px 0 40px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 12px;
    border-right: 1px solid var(--border-color);
    padding-right: 12px;
}

.footer-share {
    display: flex;
    align-items: center;
    gap: 12px;
}
.share-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.share-btn {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition);
}
.share-btn.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
}
.share-btn.whatsapp:hover {
    background: #25d366;
    color: black;
}
.share-btn.telegram {
    background: rgba(0, 136, 204, 0.15);
    color: #0088cc;
    border: 1px solid rgba(0, 136, 204, 0.3);
}
.share-btn.telegram:hover {
    background: #0088cc;
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .hero-brand {
        font-size: 3.5rem;
    }
    .hero-tagline {
        font-size: 1.75rem;
    }

    .features-grid, .sim-grid, .download-box-wrapper {
        grid-template-columns: 1fr;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .perks-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-brand {
        font-size: 2.7rem;
    }
    .hero-tagline {
        font-size: 1.35rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-love-pill {
        font-size: 0.98rem;
        padding: 6px 16px;
        gap: 8px;
    }
    .hero-announcement-pill {
        font-size: 0.88rem;
        padding: 6px 14px;
        text-align: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    .download-box-wrapper {
        padding: 30px 20px;
    }
    .dl-title {
        font-size: 1.8rem;
    }
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-desc {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        display: block;
    }
    .community-accuracy-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .ss-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Lead Capture Modal & Download Gate
   ========================================================================== */
.lead-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 15, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lead-modal-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.lead-modal-card {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: linear-gradient(180deg, #131826 0%, #0c0f18 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(37, 99, 235, 0.22);
    border-radius: 22px;
    padding: 34px 28px 28px;
    text-align: center;
    direction: rtl;
    transform: scale(0.93) translateY(14px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-modal-overlay.active .lead-modal-card {
    transform: scale(1) translateY(0);
}

.lead-modal-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    transition: all 0.2s ease;
}

.lead-modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
    transform: rotate(90deg);
}

.lead-icon-bubble {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(56, 189, 248, 0.25));
    border: 1px solid rgba(56, 189, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
    animation: pulseLeadBadge 3s ease-in-out infinite;
}

@keyframes pulseLeadBadge {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28); }
    50% { transform: scale(1.05); box-shadow: 0 12px 30px rgba(56, 189, 248, 0.38); }
}

.lead-modal-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.lead-modal-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 18px;
}

.lead-target-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    border-radius: 9999px;
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.lead-form-group {
    margin-bottom: 16px;
    text-align: right;
}

.lead-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.lead-input-icon {
    position: absolute;
    right: 14px;
    color: #64748b;
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.lead-input {
    width: 100%;
    padding: 14px 44px 14px 16px;
    background: rgba(10, 14, 24, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.02rem;
    font-family: inherit;
    direction: ltr;
    text-align: right;
    transition: all 0.2s ease;
    outline: none;
}

.lead-input:focus {
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
}

.lead-input:focus ~ .lead-input-icon {
    color: #38bdf8;
}

.lead-btn-submit {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.22s ease;
}

.lead-btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.55);
    transform: translateY(-2px);
}

.lead-btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.lead-footer-note {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.8rem;
}

.lead-error-msg {
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: right;
    display: none;
}

/* Toast notification */
.download-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #101524;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 99, 235, 0.25);
    color: #f8fafc;
    padding: 14px 24px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100001;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
}

.download-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.download-toast-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}


