/* DRVN CSS Design System - Cyberpunk Underground Theme */

/* --- CSS VARIABLES & TOKENS --- */
:root {
    --bg-dark-absolute: #060608;
    --bg-dark-base: #0b0b0e;
    --bg-dark-card: #121217;
    --bg-dark-card-hover: #171720;
    
    --neon-cyan: #00f0ff;
    --neon-cyan-glow: rgba(0, 240, 255, 0.4);
    --neon-cyan-dim: rgba(0, 240, 255, 0.1);
    
    --neon-purple: #bd00ff;
    --neon-purple-glow: rgba(189, 0, 255, 0.4);
    --neon-purple-dim: rgba(189, 0, 255, 0.1);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Orbitron', 'Syne', sans-serif;
    --font-body: 'Outfit', 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- GENERAL RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark-absolute);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-absolute);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-dark-card);
    border-radius: 4px;
    border: 2px solid var(--bg-dark-absolute);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 8px var(--neon-purple-glow);
}

/* Background Effects */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -2;
}

.radar-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.35;
}

.radar-glow.shadow-purple {
    background: radial-gradient(circle, var(--neon-purple-glow) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: floatGlow 15s ease-in-out infinite alternate;
}

.radar-glow.shadow-cyan {
    background: radial-gradient(circle, var(--neon-cyan-glow) 0%, transparent 70%);
    bottom: 15%;
    left: -150px;
    animation: floatGlow 20s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* --- TYPOGRAPHY & UTILITIES --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-weight: 700;
}

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

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

.neon-purple-text {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

.neon-cyan-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark-absolute);
    border: none;
}

.btn-primary:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark-absolute);
    transform: translateY(-2px);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(12px);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: -1;
}

.btn-primary.btn-glow:hover::after {
    opacity: 0.7;
    background: var(--neon-cyan);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple-glow);
    background: rgba(189, 0, 255, 0.03);
    transform: translateY(-2px);
}

.btn-nav-cta {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-nav-cta:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark-absolute);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
    transform: translateY(-1px);
}

.btn-submit {
    background: linear-gradient(90deg, var(--neon-purple) 0%, #d500f9 100%);
    color: var(--text-primary);
    border: none;
    width: 100%;
    padding: 16px;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.btn-glow-purple:hover {
    box-shadow: 0 0 25px var(--neon-purple-glow);
}

/* Loader */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-primary);
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.hidden {
    display: none !important;
}

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


/* --- HEADER NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 6, 8, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}


/* --- MOBILE NAV MENU --- */
.mobile-menu {
    position: fixed;
    top: 77px;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-dark-base);
    border-bottom: 0px solid var(--border-color);
    overflow: hidden;
    z-index: 99;
    transition: height var(--transition-normal), border-bottom var(--transition-normal);
}

.mobile-menu.open {
    height: 250px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
}

.mobile-link {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.mobile-cta {
    width: 100%;
}


/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(189, 0, 255, 0.08);
    border: 1px solid rgba(189, 0, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #e040fb;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #e040fb;
    border-radius: 50%;
    box-shadow: 0 0 8px #e040fb;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}


/* --- MOCKUP SMARTPHONE --- */
.mockup-frame-wrapper {
    position: relative;
    z-index: 1;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 85%;
    border-radius: 40px;
    filter: blur(50px);
    z-index: -1;
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.shadow-purple-heavy {
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
    box-shadow: 0 0 40px rgba(189, 0, 255, 0.4);
}

.shadow-cyan-heavy {
    background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
}

.smartphone-frame {
    width: 320px;
    height: 650px;
    background-color: #030303;
    border: 11px solid #1a1a20;
    border-radius: 42px;
    position: relative;
    box-shadow: 
        0 25px 50px -12px rgba(0,0,0,0.8),
        0 0 20px rgba(189, 0, 255, 0.15);
    overflow: hidden;
    animation: floatFrame 6s ease-in-out infinite;
    transition: border-color var(--transition-normal);
}

/* Frame notch / top speaker */
.smartphone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 22px;
    background: #1a1a20;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.smartphone-frame.minified {
    width: 280px;
    height: 570px;
    border: 8px solid #15151a;
    border-radius: 32px;
    animation: none; /* inside list blocks, no floating */
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.smartphone-frame.minified::before {
    width: 100px;
    height: 16px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #09090b;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.phone-screenshot.fade-out {
    opacity: 0.1;
    transform: scale(0.97);
}

@keyframes floatFrame {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1.5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}


/* --- SCROLL-LINKED FEATURE SHOWCASE --- */
.features {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-dark-absolute) 0%, var(--bg-dark-base) 100%);
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.showcase-scroll-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    position: relative;
}

/* Sticky Phone Area on Desktop */
.sticky-phone-area {
    position: sticky;
    top: 130px;
    height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Feature blocks list */
.feature-blocks-list {
    display: flex;
    flex-direction: column;
    gap: 120px; /* Space them out for scroll tracking */
    padding: 60px 0 120px 0;
}

.feature-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    border-radius: 16px;
    background-color: transparent;
    border: 1px dashed transparent;
    opacity: 0.25;
    transform: scale(0.96);
    transition: 
        opacity var(--transition-normal), 
        transform var(--transition-normal), 
        background-color var(--transition-normal),
        border-color var(--transition-normal);
}

.feature-block.active {
    opacity: 1;
    transform: scale(1);
    background-color: var(--bg-dark-card);
    border-style: solid;
    border-color: var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Glowing active states depending on type */
.feature-block.active[data-glow="shadow-purple-heavy"] {
    border-color: rgba(189, 0, 255, 0.3);
    box-shadow: 0 15px 35px var(--neon-purple-dim);
}

.feature-block.active[data-glow="shadow-cyan-heavy"] {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 35px var(--neon-cyan-dim);
}

.block-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    display: block;
    color: var(--text-muted);
    transition: color var(--transition-normal);
}

.feature-block.active .block-num {
    color: var(--neon-cyan);
}

.feature-block:nth-child(even).active .block-num {
    color: var(--neon-purple);
}

.feature-block-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.feature-block-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Phone frame inside the block (Hidden on Desktop, Visible on Mobile 9:16) */
.mobile-phone-preview {
    display: none;
    width: 100%;
}


/* --- RADAR / SPECS SECTION --- */
.radar {
    padding: 100px 0;
    background-color: var(--bg-dark-absolute);
    border-top: 1px solid var(--border-color);
}

.radar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.radar-content {
    display: flex;
    flex-direction: column;
}

.radar-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 50%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.radar-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cian-glow-icon {
    color: var(--neon-cyan);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

.purple-glow-icon {
    color: var(--neon-purple);
    border-color: rgba(189, 0, 255, 0.2);
    box-shadow: 0 0 10px rgba(189, 0, 255, 0.05);
}

.feature-details h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Radar Rotating Animation Visual */
.radar-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-circle-outer {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.02);
}

.radar-circle-outer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(0, 240, 255, 0.08);
}

.radar-circle-outer::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background: rgba(0, 240, 255, 0.08);
}

.radar-circle-middle {
    width: 260px;
    height: 260px;
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-circle-inner {
    width: 120px;
    height: 120px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.03) 0%, transparent 70%);
}

.radar-sweeper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, rgba(0, 240, 255, 0.15) 0deg, transparent 90deg);
    border-radius: 50%;
    pointer-events: none;
    animation: sweep 4s linear infinite;
}

.radar-ping {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: fadePing 4s infinite ease-in-out;
}

.ping-1 { top: 25%; left: 30%; animation-delay: 0.5s; }
.ping-2 { top: 60%; left: 75%; background: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); animation-delay: 1.8s; }
.ping-3 { top: 75%; left: 45%; animation-delay: 2.8s; }

@keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadePing {
    0%, 100% { opacity: 0; transform: scale(0.6); }
    20%, 40% { opacity: 1; transform: scale(1.1); }
    70% { opacity: 0.1; }
}


/* --- BETA REGISTRATION SECTION --- */
.tester {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark-base) 0%, var(--bg-dark-absolute) 100%);
    position: relative;
}

.tester-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.tester-inner-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tester-inner-card:hover {
    border-color: rgba(189, 0, 255, 0.2);
    box-shadow: 0 20px 45px rgba(189, 0, 255, 0.05);
}

.tester-glow-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-purple) 0%, var(--neon-cyan) 100%);
}

.tester-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    letter-spacing: 0.08em;
}

.tester-subtitle {
    color: var(--neon-cyan);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.tester-info {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Floating Input Styling */
.tester-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -8px;
    text-align: center;
}

.disclaimer-link {
    color: var(--neon-cyan);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.disclaimer-link:hover {
    color: var(--text-primary);
}

.input-group {
    position: relative;
    width: 100%;
    text-align: left;
}

.tester-input {
    width: 100%;
    padding: 16px;
    background-color: rgba(6, 6, 8, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-fast);
}

.tester-input:focus {
    border-color: transparent;
    background-color: rgba(6, 6, 8, 0.9);
}

.tester-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all var(--transition-fast);
    pointer-events: none;
    font-size: 1rem;
}

/* Floating label effect when typing or focused */
.tester-input:focus ~ .tester-label,
.tester-input:not(:placeholder-shown) ~ .tester-label {
    top: -8px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-cyan);
    background-color: var(--bg-dark-card);
    padding: 0 8px;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--neon-cyan);
    transition: width var(--transition-normal);
}

.tester-input:focus ~ .input-focus-line {
    width: 100%;
}

.error-message {
    color: #ff1744;
    font-size: 0.8rem;
    margin-top: 6px;
    padding-left: 4px;
    display: none;
}

.error-message.visible {
    display: block;
}

.tester-input.invalid {
    border-color: #ff1744;
}

.tester-input.invalid ~ .input-focus-line {
    background: #ff1744;
}

/* Feedback Layout */
.form-feedback {
    padding: 20px 0;
    animation: fadeIn 0.4s ease;
}

.feedback-icon {
    margin-bottom: 18px;
}

.success-feedback {
    color: #00e676;
}

.success-feedback h3 {
    font-family: var(--font-heading);
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.success-feedback p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.error-feedback {
    color: #ff1744;
}

.error-feedback h3 {
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- DOWNLOADS SECTION (COMING SOON) --- */
.downloads {
    padding: 100px 0;
    background-color: var(--bg-dark-absolute);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.downloads-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.downloads-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.downloads-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Store Button Style */
.store-button {
    background: transparent;
    border: none;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: default;
}

.store-button.coming-soon {
    opacity: 0.45;
    filter: grayscale(0.85);
    transition: all var(--transition-normal);
}

.store-button.coming-soon:hover {
    opacity: 0.7;
    filter: grayscale(0.4);
}

.store-badge-img {
    height: 48px;
    width: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.badge-tag {
    position: absolute;
    top: -2px;
    background: var(--bg-dark-card);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 2;
}


/* --- FOOTER --- */
.footer {
    background-color: var(--bg-dark-base);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--neon-purple-glow);
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-link:hover {
    color: var(--neon-cyan);
}


/* --- RESPONSIVE DESIGN & 9:16 MOBILE VIEWPORTS --- */

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-ctas {
        justify-content: center;
        width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }

    /* Redesigned Showcase layout for Mobile (9:16 stack) */
    .showcase-scroll-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sticky-phone-area {
        display: none; /* Hide the sticky desktop phone mockup */
    }

    .feature-blocks-list {
        gap: 60px;
        padding: 20px 0;
    }

    .feature-block {
        opacity: 0.4;
        transform: scale(0.96);
        border: 1px solid var(--border-color);
        background-color: rgba(18, 18, 23, 0.3);
        padding: 30px 20px;
    }

    /* Active highlighted mobile item */
    .feature-block.active {
        opacity: 1;
        transform: scale(1.0);
        background-color: var(--bg-dark-card);
    }

    /* Specific mobile active glows */
    .feature-block.active[data-glow="shadow-purple-heavy"] {
        border-color: var(--neon-purple);
        box-shadow: 0 10px 30px rgba(189, 0, 255, 0.15);
    }

    .feature-block.active[data-glow="shadow-cyan-heavy"] {
        border-color: var(--neon-cyan);
        box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
    }

    .mobile-phone-preview {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        width: 100%;
    }
    
    .radar-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .radar-visual {
        order: -1;
    }
    
    .feature-item {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 16px 20px;
    }
    
    .navbar, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tester-inner-card {
        padding: 40px 24px;
    }
    
    .tester-title {
        font-size: 1.8rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .smartphone-frame.minified {
        width: 240px;
        height: 490px;
    }

    .radar-circle-outer {
        width: 300px;
        height: 300px;
    }
    
    .radar-circle-middle {
        width: 200px;
        height: 200px;
    }
    
    .radar-circle-inner {
        width: 100px;
        height: 100px;
    }
}

/* --- DEVICE SELECTION FOR FORM --- */
.device-selection-group {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.group-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.device-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.device-option-card {
    cursor: pointer;
    position: relative;
    user-select: none;
    display: block;
}

.device-option-card input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.option-content {
    background-color: rgba(6, 6, 8, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-fast);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.option-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.device-option-card:hover .option-content {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Radio active states (iOS -> Cyan, Android -> Purple) */
.device-option-card:first-child input[type="radio"]:checked + .option-content {
    background-color: rgba(0, 240, 255, 0.05);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
    color: var(--neon-cyan);
}

.device-option-card:first-child input[type="radio"]:checked + .option-content .option-icon {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 5px var(--neon-cyan-glow));
}

.device-option-card:last-child input[type="radio"]:checked + .option-content {
    background-color: rgba(189, 0, 255, 0.05);
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple-glow);
    color: var(--neon-purple);
}

.device-option-card:last-child input[type="radio"]:checked + .option-content .option-icon {
    color: var(--neon-purple);
    filter: drop-shadow(0 0 5px var(--neon-purple-glow));
}

@media (max-width: 480px) {
    .device-options {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .option-content {
        padding: 10px 8px;
        font-size: 0.8rem;
        gap: 6px;
        border-radius: 6px;
    }
    .option-icon {
        width: 16px;
        height: 16px;
    }
}

