:root {
    /* Colors */
    --bg-dark: #050508;
    --bg-panel: rgba(15, 18, 25, 0.65);
    
    --chrome-light: #e0e5ec;
    --chrome-mid: #8a9ba8;
    --chrome-dark: #2a333c;
    
    --neon-cyan: #00f0ff;
    --neon-cyan-dim: rgba(0, 240, 255, 0.2);
    
    --neon-purple: #b026ff;
    --neon-purple-dim: rgba(176, 38, 255, 0.2);
    
    --cyan-primary: var(--neon-cyan);
    --purple-primary: var(--neon-purple);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

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

body {
    background-color: #020202;
    color: var(--chrome-light);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.mobile-app {
    width: 100%;
    max-width: 414px;
    height: 100vh;
    position: relative;
    background-color: var(--bg-dark);
    overflow-y: auto;
    overflow-x: hidden;
}

@media (min-width: 450px) {
    .mobile-app {
        height: 90vh;
        max-height: 896px;
        border-radius: 40px;
        border: 8px solid #1a1a24;
        box-shadow: 0 0 50px rgba(0, 240, 255, 0.1), inset 0 0 20px rgba(255,255,255,0.05);
    }
}

/* Abstract Background Mesh/Gradients */
.background-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, var(--neon-cyan-dim) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, var(--neon-purple-dim) 0%, transparent 40%),
        linear-gradient(135deg, #020205 0%, #0a0c10 100%);
    filter: blur(40px);
    animation: pulseBg 10s infinite alternate;
}

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

/* Chrome Text Effects */
.chrome-text {
    background: linear-gradient(180deg, #ffffff 0%, #8a9ba8 45%, #2a333c 50%, #8a9ba8 55%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

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

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

.cyan-text {
    color: var(--neon-cyan);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 1rem;
    max-width: 60%;
}

nav a {
    color: var(--chrome-mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-dim);
}

/* Layout */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 6%;
}

.text-center {
    text-align: center;
}

.hero {
    margin-bottom: 4rem;
}

.chrome-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #b8c6d1 45%, #445362 50%, #b8c6d1 55%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.subtitle {
    color: var(--chrome-mid);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.chrome-border-panel {
    box-shadow: 0 0 20px var(--neon-cyan-dim), inset 0 0 20px var(--neon-cyan-dim);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.purple-border-panel {
    box-shadow: 0 0 20px var(--neon-purple-dim), inset 0 0 20px var(--neon-purple-dim);
    border: 1px solid rgba(176, 38, 255, 0.3);
}

.panel-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.glow-line {
    height: 2px;
    width: 50px;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.glow-line.cyan {
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.glow-line.purple {
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
}

/* Form Elements */
.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.input-group label {
    font-size: 0.85rem;
    color: var(--chrome-mid);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chrome-input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.chrome-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-dim);
}

.dimensions-grid {
    display: flex;
    flex-direction: column;
}

.chrome-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(180deg, #3a4754 0%, #1a2228 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.chrome-btn::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.chrome-btn:hover {
    box-shadow: 0 0 20px var(--neon-cyan-dim);
    border-color: var(--neon-cyan);
}

.chrome-btn:hover::before {
    left: 100%;
    opacity: 1;
}

/* Results Display */
.hidden {
    display: none;
}

.results-container {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.5s ease forwards;
}

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

.results-container h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.total-area-box, .kit-recommendation {
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.total-area-box .value, .kit-recommendation .value {
    font-weight: 700;
    font-size: 1.1rem;
}

.mix-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.table-header, .table-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Display Unit Selector */
.display-unit-selector {
    margin-bottom: 1.5rem;
    background: rgba(0,0,0,0.4);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}
.display-unit-selector .label {
    display: block;
    font-size: 0.85rem;
    color: var(--chrome-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
}
.radio-group input[type="radio"] {
    accent-color: var(--neon-cyan);
    transform: scale(1.2);
}

.table-header {
    color: var(--chrome-mid);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.table-row {
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.2s ease;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.component-name {
    font-weight: 600;
}

.total-row {
    background: rgba(0, 240, 255, 0.1);
    border-top: 1px solid var(--neon-cyan);
    margin-top: 0.5rem;
    font-weight: bold;
}

/* Timeline / Guide */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-purple), transparent);
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--neon-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple-dim);
    z-index: 1;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--chrome-mid);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Social Share */
.social-share {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-share p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--chrome-mid);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-btn {
    background: transparent;
    border: 1px solid var(--chrome-mid);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

#share-twitter:hover {
    border-color: #1DA1F2;
    color: #1DA1F2;
    box-shadow: 0 0 10px rgba(29, 161, 242, 0.3);
}

#share-facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
    box-shadow: 0 0 10px rgba(66, 103, 178, 0.3);
}

/* Logon Screen Styles */
.logon-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 380px;
    z-index: 100;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.logon-panel.fade-out {
    opacity: 0;
    transform: translate(-50%, -55%);
    visibility: hidden;
}

#app-content {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

#app-content.hidden {
    display: block; /* override default hidden */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

#app-content.fade-in {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.skip-btn:hover {
    color: white !important;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* Dealers Section */
.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.dealer-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dealer-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-dim);
    transform: translateY(-5px);
}

.dealer-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.dealer-card .location {
    color: var(--chrome-light);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.dealer-card .contact {
    color: var(--chrome-mid);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.dealer-btn {
    margin-top: auto;
    text-align: center;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dealer-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Support Section */
.support-tier {
    margin-top: 1rem;
    animation: fadeIn 0.5s ease forwards;
}

.support-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.standard-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--chrome-mid);
}

.premium-card {
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.premium-card.support-card h3 {
    text-shadow: 0 0 8px currentColor;
}

#qr-modal:not(.hidden) {
    display: flex;
}

/* PRODUCT SUPPORT HUB STYLES */
.product-header-card {
    background: linear-gradient(135deg, rgba(0,240,255,0.1) 0%, rgba(184,0,255,0.1) 100%);
    border: 1px solid var(--cyan-primary);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.15);
}

.product-header-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.troubleshooting-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--chrome-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--chrome-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.2);
}

.faq-question:hover {
    background: rgba(184, 0, 255, 0.1);
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--chrome-mid);
    font-size: 0.9rem;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--purple-primary);
}

.dealer-contact-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--chrome-mid);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border-top: 3px solid var(--cyan-primary);
}
