/* ===================================================
   VALORANT OPTIMIZER WEBSITE - HIGH CONTRAST EDITION
   =================================================== */

:root {
    --val-red: #ff4655;
    --val-teal: #00ffaa;
    --val-dark: #080b10;
    --val-dark2: #121824;
    --val-dark3: #1a2232;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.12);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--val-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, .hero-title, .section-title, .app-card-title, .settings-table th, .dl-title, .faq-card-sm h4 {
    font-family: 'Outfit', sans-serif;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(8,11,16,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
}
.logo-v {
    background: var(--val-red);
    color: white;
    font-weight: 800;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255,70,85,0.6);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.logo-v.sm { width: 28px; height: 28px; font-size: 0.9rem; border-radius: 6px; }
.logo-text { font-weight: 700; letter-spacing: -0.3px; color: #ffffff; white-space: nowrap; }
.logo-text strong { color: var(--val-red); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; font-weight: 600; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: #ffffff; }
.nav-cta {
    background: var(--val-red) !important;
    color: white !important;
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.2s !important;
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(255,70,85,0.4);
}
.nav-cta:hover { background: #e0334a !important; box-shadow: 0 0 30px rgba(255,70,85,0.7) !important; transform: translateY(-1px); }

/* ---- HERO ---- */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7.5rem 1.5rem 3.5rem;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 45px 45px;
}

.hero-glow { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; }
.hero-glow.red { top: 10%; right: 15%; width: 420px; height: 420px; background: rgba(255, 70, 85, 0.2); animation: pulseGlow 8s infinite alternate; }
.hero-glow.teal { bottom: 10%; left: 10%; width: 450px; height: 450px; background: rgba(0, 255, 170, 0.16); animation: pulseGlow 10s infinite alternate-reverse; }

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 1; }
}

.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 2; width: 100%; }
.hero-badgePulse {
    display: inline-block;
    background: rgba(255, 70, 85, 0.15);
    border: 1px solid rgba(255, 70, 85, 0.4);
    color: #ff5e6d;
    padding: 0.45rem 1.2rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.3);
}

.hero-title { font-size: 3.6rem; font-weight: 900; line-height: 1.15; margin-bottom: 1.2rem; letter-spacing: -1.2px; color: #ffffff; text-shadow: 0 4px 20px rgba(0,0,0,0.8); }
.gradient-text { background: linear-gradient(135deg, #ffffff 0%, #ff4655 45%, #00ffaa 90%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.shimmer { background-size: 200% auto; animation: shimmerAnim 4s linear infinite; }

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

.hero-subtitle { font-size: 1.15rem; color: #cbd5e1; max-width: 740px; margin: 0 auto 2.4rem; line-height: 1.65; font-weight: 400; text-shadow: 0 2px 10px rgba(0,0,0,0.6); }

.hero-cta-row { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2.8rem; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(135deg, #ff4655, #e0334a);
    color: white;
    padding: 0.95rem 2.2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 35px rgba(255, 70, 85, 0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(255, 70, 85, 0.7); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.95rem 2.2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 2rem; background: rgba(18, 24, 36, 0.85); border: 1px solid var(--glass-border); padding: 1.3rem 2.8rem; border-radius: 20px; backdrop-filter: blur(15px); width: 100%; max-width: 820px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.stat { text-align: center; }
.stat-val { display: block; font-size: 1.85rem; font-weight: 800; font-family: 'Rajdhani', sans-serif; color: var(--val-teal); text-shadow: 0 0 18px rgba(0,255,170,0.5); }
.stat-label { font-size: 0.78rem; color: #cbd5e1; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; font-weight: 600; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* ---- TRUST BAR ---- */
.trust-bar { background: rgba(255,255,255,0.025); border-y: 1px solid var(--glass-border); padding: 1.1rem 1.5rem; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1rem; text-align: center; }
.trust-item { font-size: 0.88rem; font-weight: 700; color: #e2e8f0; font-family: 'Outfit', sans-serif; }

/* ---- DOWNLOAD SECTION STYLING ---- */
.download-section { padding: 4.5rem 1.5rem; }
.dl-grid-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,70,85,0.35) !important;
    background: #0f1522;
    box-shadow: 0 0 60px rgba(0,0,0,0.7);
    width: 100%;
}
.dl-badge { display: inline-block; background: rgba(255,70,85,0.18); color: #ff5e6d; padding: 0.35rem 0.85rem; border-radius: 20px; font-size: 0.82rem; font-weight: 800; font-family: 'Rajdhani', sans-serif; border: 1px solid rgba(255,70,85,0.4); margin-bottom: 1rem; }
.dl-title { font-size: 2.6rem; font-weight: 900; margin-bottom: 0.3rem; line-height: 1.2; color: #ffffff; }
.dl-version { font-size: 0.98rem; color: #cbd5e1; margin-bottom: 1.6rem; font-weight: 600; }
.green-txt { color: #00ffaa; font-weight: 800; }

.dl-checklist { list-style: none; margin-bottom: 1.8rem; display: flex; flex-direction: column; gap: 0.75rem; }
.dl-checklist li { font-size: 0.95rem; color: #f1f5f9; display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.check-icon { font-size: 1.05rem; flex-shrink: 0; }

.dl-buttons-row { display: flex; gap: 1rem; margin-bottom: 1.8rem; }

.smartscreen-box {
    background: rgba(255,170,0,0.08);
    border: 1px solid rgba(255,170,0,0.35);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
}
.ss-title { font-size: 0.9rem; font-weight: 800; color: #ffcc00; margin-bottom: 0.4rem; font-family: 'Outfit', sans-serif; }
.ss-text { font-size: 0.85rem; color: #cbd5e1; line-height: 1.55; }

.sys-req-card { background: rgba(0,0,0,0.4); border-radius: 16px; padding: 1.4rem; margin-bottom: 1.2rem; border: 1px solid rgba(255,255,255,0.08); }
.sys-title { font-size: 0.82rem; font-weight: 800; color: #cbd5e1; letter-spacing: 1.5px; margin-bottom: 1rem; font-family: 'Rajdhani', sans-serif; }
.sys-row { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; }
.sys-row:last-child { border-bottom: none; }
.sys-lbl { color: #cbd5e1; }
.sys-val { font-weight: 700; color: #ffffff; }
.sys-val.green { color: #00ffaa; font-weight: 800; }

.vanguard-safe-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0,255,170,0.08);
    border: 1px solid rgba(0,255,170,0.35);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
}
.v-icon { font-size: 2rem; flex-shrink: 0; }
.vanguard-safe-card h4 { font-size: 1.05rem; font-weight: 800; color: #00ffaa; margin-bottom: 0.2rem; font-family: 'Outfit', sans-serif; }
.vanguard-safe-card p { font-size: 0.85rem; color: #e2e8f0; line-height: 1.45; }

/* ---- COMPACT 2-COLUMN ALIGNED FAQ GRID ---- */
.faq-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}
.faq-card-sm {
    padding: 1.4rem 1.6rem;
    border-radius: 14px;
    background: #121824;
    border: 1px solid rgba(255,255,255,0.12);
    transition: all 0.25s ease;
}
.faq-card-sm:hover {
    border-color: rgba(0, 255, 170, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.faq-card-sm h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.faq-card-sm p {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.55;
}

/* ---- APP INTERFACE PREVIEW COMPONENT ---- */
.app-preview-section { padding: 4.5rem 1.5rem; }
.app-ui-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: #0d121c;
    border: 1px solid rgba(255, 70, 85, 0.4) !important;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 0 60px rgba(0,0,0,0.85), 0 0 35px rgba(255, 70, 85, 0.2);
    width: 100%;
    overflow: hidden;
}
.app-header-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.9rem; border-bottom: 1px solid var(--glass-border); margin-bottom: 1rem; flex-wrap: wrap; gap: 0.8rem; }
.app-title-group { display: flex; align-items: center; gap: 0.6rem; }
.app-name { font-size: 1.1rem; font-family: 'Outfit', sans-serif; color: #ffffff; white-space: nowrap; }
.v-pill { background: rgba(0,255,170,0.18); color: #00ffaa; font-size: 0.78rem; font-weight: 800; padding: 0.18rem 0.55rem; border-radius: 10px; font-family: 'Rajdhani', sans-serif; }
.app-master-status { display: flex; align-items: center; gap: 0.5rem; background: rgba(0,255,170,0.12); border: 1px solid rgba(0,255,170,0.4); padding: 0.35rem 0.9rem; border-radius: 20px; font-size: 0.82rem; font-weight: 800; color: #00ffaa; font-family: 'Rajdhani', sans-serif; }
.status-indicator.active { width: 8px; height: 8px; border-radius: 50%; background: #00ffaa; box-shadow: 0 0 10px #00ffaa; }

.app-card { background: #161e2e; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.2rem; margin-bottom: 1rem; }
.app-card-title { font-size: 0.8rem; font-weight: 800; color: #a0aec0; letter-spacing: 1px; margin-bottom: 0.9rem; font-family: 'Rajdhani', sans-serif; }
.app-card-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; flex-wrap: wrap; gap: 0.5rem; }

.app-top-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.profile-pills-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.app-pill { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: #cbd5e1; padding: 0.6rem; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; font-family: 'Outfit', sans-serif; text-align: center; white-space: nowrap; }
.app-pill.active { background: var(--val-red); color: white; border-color: var(--val-red); box-shadow: 0 0 18px rgba(255,70,85,0.5); }

.profile-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.p-detail { background: rgba(0,0,0,0.4); padding: 0.55rem 0.8rem; border-radius: 6px; font-size: 0.78rem; }
.p-lbl { display: block; color: #a0aec0; font-size: 0.7rem; margin-bottom: 0.15rem; }
.p-val.green { color: #00ffaa; font-weight: 800; }

.jitter-badge { color: #00ffaa; font-size: 0.82rem; font-weight: 800; font-family: 'Rajdhani', sans-serif; }
.telemetry-gauges-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.gauge-box { background: rgba(0,0,0,0.4); padding: 0.6rem; border-radius: 8px; }
.g-header { display: flex; justify-content: space-between; font-size: 0.75rem; margin-bottom: 0.3rem; font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.g-val.green { color: #00ffaa; }
.g-val.orange { color: #ffaa00; }
.g-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.g-fill { height: 100%; border-radius: 3px; }
.g-fill.green { background: #00ffaa; }
.g-fill.orange { background: #ffaa00; }

.app-mid-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; margin-bottom: 1rem; }
.mux-heading { font-size: 0.95rem; font-weight: 800; color: #00ffaa; margin-bottom: 0.3rem; }
.mux-desc { font-size: 0.82rem; color: #cbd5e1; line-height: 1.5; }
.mux-content { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }

.shader-btn { background: rgba(255,70,85,0.18); border: 1px solid rgba(255,70,85,0.45); color: #ff5e6d; padding: 0.35rem 0.85rem; border-radius: 6px; font-size: 0.78rem; font-weight: 800; cursor: pointer; white-space: nowrap; }

.toggles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.toggle-item { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.3); padding: 0.5rem 0.75rem; border-radius: 6px; gap: 0.5rem; }
.t-txt strong { display: block; font-size: 0.8rem; color: #ffffff; }
.t-txt small { font-size: 0.7rem; color: #a0aec0; }
.app-switch { width: 32px; height: 18px; accent-color: var(--val-red); cursor: pointer; flex-shrink: 0; }

.insights-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.insight-box { background: rgba(0,0,0,0.4); padding: 0.6rem 0.75rem; border-radius: 8px; text-align: center; }
.i-lbl { display: block; font-size: 0.7rem; color: #a0aec0; margin-bottom: 0.2rem; }
.i-val { font-size: 0.82rem; font-family: 'Rajdhani', sans-serif; font-weight: 800; word-break: break-word; }
.i-val.blue { color: #38bdf8; }
.i-val.white { color: #ffffff; }
.i-val.green { color: #00ffaa; }

/* ---- SETTINGS TABLE STYLING ---- */
.settings-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 0;
    width: 100%;
}
.settings-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
    min-width: 600px;
}
.settings-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--val-teal);
    padding: 1.1rem 1.3rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
}
.settings-table td {
    padding: 1.05rem 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #f1f5f9;
    line-height: 1.5;
}
.settings-table tr:last-child td { border-bottom: none; }
.settings-table tr:hover td { background: rgba(255, 255, 255, 0.03); }
.settings-table code { color: #ffffff; background: rgba(255,255,255,0.12); padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.8rem; white-space: nowrap; font-weight: 600; }

.setting-icon { margin-right: 0.4rem; font-size: 1.05rem; }
.val-pill {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.val-pill.green { background: rgba(0,255,170,0.15); color: #00ffaa; border: 1px solid rgba(0,255,170,0.4); }
.val-pill.red { background: rgba(255,70,85,0.15); color: #ff5e6d; border: 1px solid rgba(255,70,85,0.4); }
.val-pill.teal { background: rgba(45,212,191,0.15); color: #2dd4bf; border: 1px solid rgba(45,212,191,0.4); }

/* ---- SECTIONS ---- */
.section { padding: 4.5rem 1.5rem; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.section-badge { color: var(--val-teal); font-size: 0.85rem; font-weight: 800; font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.4rem; text-align: center; }
.section-title { font-size: 2.4rem; font-weight: 900; text-align: center; margin-bottom: 0.7rem; letter-spacing: -0.5px; line-height: 1.25; color: #ffffff; }
.section-subtitle { text-align: center; color: #cbd5e1; font-size: 0.98rem; max-width: 650px; margin: 0 auto 3rem; line-height: 1.6; }

/* ---- FEATURES & STEPS ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; width: 100%; }
.glass-card { background: #121824; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.8rem; backdrop-filter: blur(10px); transition: all 0.3s ease; }
.glass-card:hover { transform: translateY(-4px); border-color: rgba(0, 255, 170, 0.4); box-shadow: 0 15px 35px rgba(0,0,0,0.6); }

.feature-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }
.feature-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; color: #ffffff; }
.feature-card p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; width: 100%; }
.step-num { font-size: 1.9rem; font-weight: 900; font-family: 'Rajdhani', sans-serif; color: var(--val-red); margin-bottom: 0.4rem; }
.step-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.4rem; color: #ffffff; }
.step-card p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; }

/* ---- FOOTER ---- */
.footer { padding: 3rem 1.5rem; border-top: 1px solid var(--glass-border); text-align: center; font-size: 0.88rem; color: #cbd5e1; }

/* ---- LEAD MODAL ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.88); backdrop-filter: blur(12px); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.hidden { display: none !important; }
.modal-card { width: 100%; max-width: 450px; position: relative; border: 1px solid rgba(0,255,170,0.5) !important; box-shadow: 0 0 50px rgba(0,255,170,0.25); animation: modalFade 0.3s ease; padding: 1.8rem; max-height: 90vh; overflow-y: auto; background: #0f1522; }
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: #a0aec0; font-size: 1.6rem; cursor: pointer; }
.modal-close-btn:hover { color: white; }

.modal-header { text-align: center; margin-bottom: 1.2rem; }
.modal-icon { font-size: 2.4rem; margin-bottom: 0.2rem; }
.modal-header h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.3rem; font-family: 'Outfit', sans-serif; color: #ffffff; }
.modal-header p { font-size: 0.88rem; color: #cbd5e1; line-height: 1.5; }

.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; color: #ffffff; font-family: 'Outfit', sans-serif; }
.form-group input, .form-group select { width: 100%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.15); color: white; padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.9rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus { border-color: var(--val-teal); }
.btn-block { width: 100%; justify-content: center; }

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

/* ===================================================
   RESPONSIVE MEDIA QUERIES FOR MOBILE & TABLETS
   =================================================== */

@media (max-width: 1024px) {
    .dl-grid-wrapper { grid-template-columns: 1fr; padding: 2rem; }
    .app-top-grid { grid-template-columns: 1fr; }
    .app-mid-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 6.5rem 1rem 2.5rem; min-height: auto; }
    .hero-title { font-size: 2.6rem; letter-spacing: -0.8px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; display: grid; gap: 1rem; padding: 1rem 1.5rem; }
    .stat-divider { display: none; }
    .hero-cta-row { flex-direction: column; width: 100%; max-width: 340px; margin: 0 auto 2.5rem; }
    .btn-primary, .btn-secondary { width: 100%; }

    .section { padding: 3.5rem 1rem; }
    .section-title { font-size: 1.9rem; }
    .section-subtitle { font-size: 0.9rem; margin-bottom: 2rem; }

    .app-ui-frame { padding: 1rem; }
    .profile-pills-row { flex-direction: column; }
    .telemetry-gauges-row { grid-template-columns: 1fr 1fr; }
    .toggles-grid { grid-template-columns: 1fr; }
    .insights-row { grid-template-columns: 1fr 1fr; }
    .mux-content { flex-direction: column; align-items: flex-start; }

    .dl-grid-wrapper { padding: 1.5rem; border-radius: 16px; }
    .dl-title { font-size: 2rem; }
    .dl-buttons-row { flex-direction: column; }

    .faq-grid-compact { grid-template-columns: 1fr; gap: 0.9rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.1rem; }
    .hero-badgePulse { font-size: 0.78rem; padding: 0.3rem 0.8rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 0.8rem; }
    .stat-val { font-size: 1.5rem; }

    .telemetry-gauges-row { grid-template-columns: 1fr; }
    .insights-row { grid-template-columns: 1fr; }
    .profile-details-grid { grid-template-columns: 1fr; }
    
    .modal-card { padding: 1.2rem; }
}
