/* ===== DARK MODE (Default) ===== */
:root {
    /* Brand Colors - THE LOOM TAG */
    --deep-blue: #021226;
    --deep-blue-dark: #010a14;
    --deep-blue-light: #0d2845;
    --brand-gold: #D4AF37;
    --brand-gold-bright: #F9DA88;
    --brand-white: #FFFFFF;
    --brand-blue-accent: #1a5490;

    /* Background */
    --bg-gradient: radial-gradient(circle at 50% -20%, #0d2845 0%, #021226 50%, #010a14 100%);

    /* Text Colors */
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #333333;

    /* Functional Status Colors */
    --primary-auth: #34A853;
    --primary-fail: #EA4335;
    --brand-blue: var(--brand-gold);

    /* Glassmorphism Variables - Dark Theme */
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-border-color: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --glass-blur: 20px;

    /* Card Colors */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.08);

    /* Legacy/Compat Variables */
    --accent: var(--brand-gold);
    --glass-bg: var(--glass-surface);
    --glass-border: var(--glass-border-color);
    --font-main: 'Outfit', sans-serif;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
    /* Background - Dirty white with SVG pattern */
    --bg-gradient: #F5F5F0;

    /* Text Colors - Dark for readability */
    --text-main: #1a1a1a;
    --text-muted: rgba(0, 0, 0, 0.6);

    /* Glassmorphism - Light Theme */
    --glass-surface: rgba(26, 84, 144, 0.04);
    --glass-border-color: rgba(26, 84, 144, 0.15);
    --glass-highlight: rgba(26, 84, 144, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(26, 84, 144, 0.12);

    /* Card Colors */
    --card-bg: rgba(255, 255, 255, 0.6);
    --card-border: rgba(26, 84, 144, 0.15);
    --card-hover-bg: rgba(255, 255, 255, 0.8);

    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(26, 84, 144, 0.10);
    --shadow-card: 0 15px 35px rgba(26, 84, 144, 0.15);

    /* Deep Blue adjustments */
    --deep-blue: #1a5490;
    --deep-blue-dark: #0d2845;
}

/* Light Mode Background with SVG */
[data-theme="light"] body {
    background: #F5F5F0;
    background-image:
        url('background.svg'),
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(26, 84, 144, 0.04) 0%, transparent 60%),
        linear-gradient(135deg, #FAFAF5 0%, #F5F5F0 100%);
    background-size: cover, 180% 180%, 180% 180%, 100% 100%;
    background-position: center, 0% 0%, 100% 100%, center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Light Mode Text Overrides */
[data-theme="light"] .section-title {
    background: linear-gradient(135deg, #0f2d52 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-title {
    background: linear-gradient(180deg, #0f2d52 0%, #4a5d72 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-brand {
    color: var(--brand-gold);
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.1);
}

[data-theme="light"] .md-card.problem h3,
[data-theme="light"] .feature-content h3,
[data-theme="light"] .showcase-desc h4,
[data-theme="light"] .outcome-card h4 {
    color: #0f2d52;
}

/* Light Mode Badge Styling */
[data-theme="light"] .hero-footer-badges {
    background: rgba(26, 84, 144, 0.08);
    border: 1px solid rgba(26, 84, 144, 0.2);
    color: #0f2d52;
    box-shadow: 0 10px 40px rgba(26, 84, 144, 0.15);
}

[data-theme="light"] .badge-item .material-symbols-outlined {
    color: var(--brand-gold);
}

/* Light Mode Dashboard Sidebar Styling */
[data-theme="light"] .dash-sidebar {
    background: rgba(26, 84, 144, 0.05);
    border-right: 1px solid rgba(26, 84, 144, 0.15);
    color: #0f2d52;
}

[data-theme="light"] .dashboard-mockup {
    background: #ffffff;
    border: 1px solid rgba(26, 84, 144, 0.2);
}

/* Light Mode Process Steps Styling */
[data-theme="light"] .step-num {
    color: var(--brand-gold);
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

[data-theme="light"] .process-step h4 {
    color: #0f2d52;
}

[data-theme="light"] .process-step p {
    color: rgba(0, 0, 0, 0.7);
}

/* Light Mode Dashboard Analytics Styling */
[data-theme="light"] .dash-header {
    color: #0f2d52;
    font-weight: 700;
}

[data-theme="light"] .dash-stat label {
    color: rgba(15, 45, 82, 0.6);
}

[data-theme="light"] .dash-stat .value {
    color: #0f2d52;
}

[data-theme="light"] .dash-stat .value.success {
    color: #4ade80;
    /* Same green as dark mode */
}

[data-theme="light"] .dash-stat .value.danger {
    color: #f87171;
    /* Same red as dark mode */
}

[data-theme="light"] .dash-item {
    color: #0f2d52;
}

[data-theme="light"] .dash-item.active {
    background: rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .dash-chart {
    background: rgba(26, 84, 144, 0.03);
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: background 0.5s ease, color 0.5s ease;
}

::selection {
    background-color: var(--brand-gold);
    color: var(--deep-blue);
}

/* Preservation of Original Theme for Verification Pages */
#view-authentic,
#view-invalid {
    background: #F5F5F0;
    background-image:
        url('background.svg'),
        radial-gradient(circle at 30% 40%, rgba(52, 168, 83, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(76, 175, 80, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #FAFAF5 0%, #F5F5F0 100%);
    background-size: cover, 180% 180%, 180% 180%, 100% 100%;
    background-position: center, 0% 0%, 100% 100%, center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-dark);
    /* Reset text color to dark for these pages */
}

#ripple-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* View Layers */
.view-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    transition: opacity 0.5s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    z-index: 10;
}

.view-layer.active {
    display: flex;
    opacity: 1;
}

/* ===== TEST MODE BANNER ===== */
#test-mode-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-test 2s ease-in-out infinite;
}

#test-mode-banner .material-symbols-outlined {
    font-size: 1.5rem;
}

@keyframes pulse-test {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(255, 152, 0, 0.4);
    }

    50% {
        box-shadow: 0 10px 40px rgba(255, 152, 0, 0.7);
    }
}

/* ===== NAV BAR ACTION BUTTONS (Theme Toggle, Portal, Hamburger) ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    white-space: nowrap;
}

.nav-action-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
    transform: translateY(-1px);
}

.nav-action-btn .material-symbols-outlined {
    font-size: 1.15rem;
    color: var(--brand-gold);
    transition: color 0.3s ease;
}

.nav-action-btn:hover .material-symbols-outlined {
    color: var(--brand-gold-bright);
}

.nav-action-label {
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

/* On small nav (scrolled), keep compact */
.mobile-nav.scrolled .nav-action-label {
    display: none;
}

.mobile-nav.scrolled .nav-action-btn {
    padding: 0.35rem 0.6rem;
    border-radius: 50%;
}

/* Light mode adjustments for nav action buttons */
[data-theme="light"] .nav-action-btn {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

[data-theme="light"] .nav-action-btn:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* Tablet */
@media (max-width: 1024px) {
    .nav-action-label {
        display: none;
    }

    .nav-action-btn {
        padding: 0.4rem 0.6rem;
        border-radius: 50%;
    }
}

/* Mobile: icon-only compact buttons */
@media (max-width: 768px) {
    .nav-action-label {
        display: none;
    }

    .nav-action-btn {
        padding: 0.35rem;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
    }

    .nav-action-btn .material-symbols-outlined {
        font-size: 1.1rem;
    }

    .nav-actions {
        gap: 0.35rem;
    }
}

/* Extra small */
@media (max-width: 480px) {
    .nav-action-btn {
        width: 32px;
        height: 32px;
        padding: 0.3rem;
    }

    .nav-action-btn .material-symbols-outlined {
        font-size: 1rem;
    }

    .nav-actions {
        gap: 0.25rem;
    }
}

/* ===== HOME PAGE STYLES (Material Design Premium) ===== */

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.home-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

/* Common Section Styles */
.home-section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.6rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--brand-gold);
}

/* Material Design Buttons - Premium Gold */
.md-btn {
    border: none;
    outline: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.md-btn.primary {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #A07D3F 100%);
    color: #000;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.md-btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.5);
    background: linear-gradient(135deg, #F9DA88 0%, #D4AF37 100%);
}

/* Glass Cards */
.md-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.md-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--brand-gold);
    background: var(--card-hover-bg);
}

/* Hero Section */
.home-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    z-index: 2;
}

.hero-brand {
    font-size: 1.2rem;
    color: var(--brand-gold);
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.05);
    backdrop-filter: blur(5px);
}

.hero-line {
    display: none;
    /* Replaced by badge style above */
}

.hero-title {
    font-size: 4.2rem;
    color: white;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.08;
    letter-spacing: -1.5px;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, #FFFFFF 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

.hero-image-container {
    margin: 4rem 0;
    perspective: 1000px;
    position: relative;
}

/* Glow effect behind hero image */
.hero-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--brand-gold) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(60px);
    z-index: -1;
}

.hero-img {
    max-width: 550px;
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    transform: rotateX(5deg);
}

.hero-footer-badges {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    align-items: center;
    color: white;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    padding: 1.2rem 3rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.badge-item .material-symbols-outlined {
    color: var(--brand-gold);
}

.badge-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon.error {
    background: rgba(234, 67, 53, 0.1);
    color: #EA4335;
    border: 1px solid rgba(234, 67, 53, 0.2);
}

.card-icon.success {
    background: rgba(52, 168, 83, 0.1);
    color: #34A853;
    border: 1px solid rgba(52, 168, 83, 0.2);
}

.md-card.problem h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.md-card.problem p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Feature Box (Hardware) */
.feature-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 32px;
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 5rem;
    border-left: 4px solid var(--brand-gold);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Glass shine effect */
.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.05) 45%, transparent 50%);
    pointer-events: none;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    border-color: var(--brand-gold-bright);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-content p {
    color: var(--text-muted);
}

.feature-list {
    list-style: none;
    margin-top: 2.5rem;
}

.feature-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-list li span {
    color: var(--brand-gold);
    font-size: 1.8rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    margin-top: 2px;
}

.feature-list li div {
    color: var(--text-muted);
    font-weight: 300;
}

.feature-list li div strong {
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.feature-image img {
    max-width: 400px;
    width: 100%;
}

/* Digital Experience Section */
.home-section.dark-bg {
    background: transparent;
    color: inherit;
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.home-section.dark-bg .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header.light-text h2 {
    color: white;
    /* was brand-blue */
}

.section-header.light-text p {
    color: var(--text-muted);
}

.home-section.dark-bg .experience-flow {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 32px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.home-section.dark-bg .app-showcase {
    background: transparent;
    padding: 0;
    margin-top: 4rem;
}

/* Flowchart */
.experience-flow {
    display: flex;
    max-width: 1200px;
    margin: 4rem auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.flow-step.main {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #A07D3F 100%);
    color: #000;
    padding: 1.5rem 3rem;
    border-radius: 16px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    z-index: 2;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.flow-step.main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0.3;
    pointer-events: none;
}

.flow-connectors {
    display: none;
    /* Hidden - looked out of place */
}

.flow-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.outcome-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.outcome-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.outcome-card span {
    font-size: 2rem;
    color: var(--brand-gold);
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.outcome-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.outcome-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 1;
}


/* App Showcase - Redesigned */
.app-showcase {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    margin-top: 6rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.showcase-card {
    flex: 1;
    min-width: 320px;
    max-width: 450px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-card.genuine::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.showcase-card.counterfeit::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.showcase-card:hover {
    transform: translateY(-12px);
    border-color: var(--brand-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.25), var(--shadow-card);
}

.showcase-card:hover::before {
    opacity: 1;
}

.showcase-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.showcase-badge.warning {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.showcase-card:hover .showcase-badge {
    transform: scale(1.1) rotate(10deg);
}

.showcase-preview {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

[data-theme="light"] .showcase-preview {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.showcase-card:hover .showcase-preview {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .showcase-card:hover .showcase-preview {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.preview-header {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.preview-header.success {
    background: rgba(16, 185, 129, 0.25);
    border-bottom: 2px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.preview-header.danger {
    background: rgba(239, 68, 68, 0.25);
    border-bottom: 2px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

/* Light Mode Preview Headers */
[data-theme="light"] .preview-header.success {
    background: rgba(16, 185, 129, 0.25);
    border-bottom: 2px solid rgba(16, 185, 129, 0.5);
    color: #047857;
}

[data-theme="light"] .preview-header.danger {
    background: rgba(239, 68, 68, 0.25);
    border-bottom: 2px solid rgba(239, 68, 68, 0.5);
    color: #b91c1c;
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.showcase-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.showcase-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.showcase-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.showcase-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    color: var(--brand-gold);
    font-weight: 600;
    transition: all 0.3s ease;
}

.showcase-card:hover .showcase-action {
    gap: 1rem;
}

.showcase-action .material-symbols-outlined {
    transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-action .material-symbols-outlined {
    transform: translateX(8px);
}

/* Old styles - keeping for backwards compatibility */
.showcase-desc h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.showcase-desc p {
    color: var(--text-muted);
    opacity: 1;
    margin-bottom: 1.5rem;
}

.md-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
}

.md-link.accent {
    color: var(--brand-gold);
}

.md-link.danger {
    color: #ff8a80;
}

/* Dashboard Mockup - Dark Mode */
.dashboard-mockup {
    display: flex;
    height: 500px;
    background: #020b16;
    /* Deep dark blue for dashboard */
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(197, 160, 89, 0.2);
    position: relative;
}

.dash-sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.dash-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.dash-logo span {
    color: var(--brand-gold);
}

.dash-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-item {
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: 0.2s;
    color: white;
}

.dash-item:hover,
.dash-item.active {
    opacity: 1;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.15) 0%, transparent 100%);
    border-left: 2px solid var(--brand-gold);
}

.dash-main {
    flex: 1;
    padding: 2rem;
    background: transparent;
}

.dash-header {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 700;
}

.dash-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dash-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-stat label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dash-stat .value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-top: 0.5rem;
}

.value.success {
    color: #4ade80;
}

.value.danger {
    color: #f87171;
}

.dash-chart {
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    position: relative;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.fake-chart-line {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 100" preserveAspectRatio="none"><path d="M0,80 Q50,70 100,50 T200,60 T300,30 T400,40 T500,10" fill="none" stroke="%23C5A059" stroke-width="3"/></svg>');
    background-size: 100% 100%;
}

/* Process Section */
.home-section.bg-light {
    background: transparent;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    position: relative;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover::before {
    opacity: 1;
}

.process-step:hover {
    border-color: var(--brand-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: var(--brand-gold);
    opacity: 1.0;
    position: absolute;
    top: 0px;
    right: 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-num {
    opacity: 0.1;
    transform: scale(1.1);
    color: var(--brand-gold);
}

.process-step h4 {
    color: white;
    margin: 1rem 0 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.process-step p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Dark Box Advantage */
.dark-box-section {
    padding-bottom: 5rem;
}

.dark-box {
    background: linear-gradient(135deg, #002D62 0%, #001a3d 100%);
    border-radius: 40px;
    padding: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 45, 98, 0.4);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.dark-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.dark-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="white" stroke-opacity="0.03" fill="none"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.box-title {
    text-align: center;
    color: var(--brand-gold);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 3;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.advantage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 3;
}

.adv-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.adv-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.adv-item span {
    color: var(--brand-gold);
    font-size: 2rem;
    flex-shrink: 0;
}

.adv-item strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.adv-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Footer */
/* Footer */
.home-footer {
    background: #010a14;
    color: white;
    padding: 6rem 1.5rem 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.footer-brand {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.footer-links {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
}

.separator {
    margin: 0 10px;
    color: #444;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .feature-box {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .feature-box {
        border-left: none;
        border-top: 6px solid var(--brand-gold);
    }

    .feature-list li {
        text-align: left;
    }

    .experience-flow {
        flex-direction: column;
    }

    .flow-connectors {
        display: none;
    }

    .flow-outcomes {
        grid-template-columns: 1fr;
    }

    .dashboard-mockup {
        height: auto;
        flex-direction: column;
    }

    .dash-sidebar {
        width: 100%;
        padding: 1.5rem;
    }

    .dash-stats {
        flex-direction: column;
    }

    .advantage-list {
        grid-template-columns: 1fr;
    }
}

/* ===== MOBILE NAVIGATION (Redesigned - Floating Dark Glass) ===== */
.mobile-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    /* Increased significantly */
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(13, 40, 69, 0.4);
    /* Dark mode default */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] .mobile-nav {
    background: rgba(15, 45, 82, 0.95);
    /* Nearly opaque for light mode */
    border: 1px solid rgba(15, 45, 82, 0.2);
    box-shadow: 0 8px 30px rgba(15, 45, 82, 0.2);
}

[data-theme="light"] .nav-logo {
    color: white;
    /* Ensure logo is white on dark bar */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Pop effect */
}

[data-theme="light"] .hamburger-btn {
    color: white;
    /* Ensure menu icon is white */
}

.mobile-nav:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    background: rgba(13, 40, 69, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar Scroll State */
.mobile-nav.scrolled {
    top: 0.75rem;
    padding: 0.5rem 1.25rem;
    width: 85%;
    max-width: 500px;
    box-shadow: 0 4px 24px rgba(0, 45, 98, 0.12);
}

.mobile-nav.scrolled .nav-logo {
    font-size: 1rem;
}

.mobile-nav.scrolled .nav-logo::before {
    width: 8px;
    height: 8px;
}

.nav-logo {
    font-weight: 800;
    font-size: 1.5rem;
    /* Increased from 1.1rem */
    color: white;
    letter-spacing: 2px;
    /* Increased from 1px */
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    /* Increased spacing */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.4);
    /* Strong shadow + glow */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    /* Extra depth */
}

.nav-logo::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: var(--brand-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-gold);
}

.hamburger-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-btn:hover {
    background: rgba(0, 45, 98, 0.05);
    transform: rotate(90deg);
}

.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-blue) 0%, #001a3d 100%);
    z-index: 200;
    padding: 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-menu-btn {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    margin-bottom: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.menu-logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--brand-gold);
}

.nav-links {
    list-style: none;
    margin-top: 2rem;
}

.nav-links li {
    margin-bottom: 0.5rem;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.2s;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    color: white;
    background: rgba(197, 160, 89, 0.15);
    border-left-color: var(--brand-gold);
    padding-left: 1.5rem;
}

/* Show nav on all screens */
.home-wrapper {
    padding-top: 100px;
    /* Adjusted for floating header */
}

/* Mobile Fixes for Verification Pages */
@media (max-width: 768px) {

    /* Ensure background is visible on verification pages */
    #ripple-canvas {
        display: block !important;
        opacity: 1 !important;
        z-index: 0 !important;
    }

    body {
        background-attachment: scroll;
        min-height: 100vh;
    }


    .view-layer {
        background: transparent !important;
        padding: 1rem;
    }

    .glass-panel {
        padding: 1.75rem 1.25rem !important;
        margin: 0.5rem auto !important;
        max-width: calc(100% - 1rem) !important;
        position: relative;
        z-index: 10;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    }

    .demo-card,
    .screenshot-box {
        max-width: 100% !important;
        margin: 0 auto 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .feature-box {
        padding: 2rem 1.5rem;
    }

    .app-showcase {
        grid-template-columns: 1fr;
    }
}

/* Extra small screens */
@media (max-width: 600px) {
    .mobile-nav {
        padding: 0.5rem 1rem;
    }

    .nav-logo {
        font-size: 0.9rem;
    }

    .side-menu {
        width: 280px;
        right: -280px;
    }
}

/* ===== VERIFICATION PAGE STYLES (Keep existing) ===== */

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: translateY(20px);
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

h1 {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

h3 {
    font-weight: 600;
    color: #5f6368;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

p {
    line-height: 1.6;
    color: #3c4043;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.status-badge.success {
    background: rgba(52, 168, 83, 0.1);
    color: var(--primary-auth);
}

.status-badge.error {
    background: rgba(234, 67, 53, 0.1);
    color: var(--primary-fail);
}

.content-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.info-block {
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.info-block:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.8);
}

.glass-panel.warning {
    border-color: rgba(234, 67, 53, 0.3);
}

.alert-box {
    background: #fce8e6;
    color: #c5221f;
    padding: 1rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-weight: 500;
}

.action-btn {
    background: var(--primary-fail);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s;
    margin-right: 0.5rem;
}

.action-btn:hover {
    transform: scale(1.05);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.eco-list {
    list-style: none;
    text-align: left;
}

.eco-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.nav-btn-home {
    margin-top: 0.5rem;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.nav-btn-home:hover {
    background: var(--brand-blue);
    color: white;
}

.nav-btn-home.secondary {
    border-color: #666;
    color: #666;
}

.nav-btn-home.secondary:hover {
    background: #666;
    color: white;
}

@media (max-width: 600px) {
    .glass-panel {
        padding: 1.5rem;
        border-radius: 20px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .status-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* ===== QR SCAN INFO VIEW (Unverified) ===== */
#view-qr-info {
    background: #F5F5F0;
    background-image:
        url('background.svg'),
        radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, #FAFAF5 0%, #F5F5F0 100%);
    background-size: cover, 180% 180%, 180% 180%, 100% 100%;
    background-position: center, 0% 0%, 100% 100%, center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-dark);
}

.status-badge.qr-info-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
}

.qr-warning-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-left: 4px solid #F59E0B;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #92400E;
    line-height: 1.6;
}

.qr-warning-banner .material-symbols-outlined {
    color: #F59E0B;
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.qr-warning-banner strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #78350F;
}

.qr-warning-banner p {
    margin: 0;
    color: #92400E;
}

.qr-nfc-prompt {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, rgba(26, 84, 144, 0.08) 0%, rgba(26, 84, 144, 0.04) 100%);
    border: 1px solid rgba(26, 84, 144, 0.2);
    border-radius: 12px;
    margin-top: 2rem;
    color: #0f2d52;
}

.qr-nfc-prompt .material-symbols-outlined {
    color: #1a5490;
    font-size: 2rem;
    flex-shrink: 0;
    animation: pulse-nfc 2s ease-in-out infinite;
}

@keyframes pulse-nfc {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.qr-nfc-prompt p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== LEGAL CONTENT VIEWS (Terms & Privacy) ===== */
#view-terms,
#view-privacy {
    background: #F5F5F0;
    background-image:
        url('background.svg'),
        linear-gradient(135deg, #FAFAF5 0%, #F5F5F0 100%);
    background-size: cover, 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-dark);
}

.legal-card {
    max-width: 800px;
    width: 100%;
    margin: 2rem auto;
}

.legal-content {
    padding: 1.5rem 0;
}

.legal-content h3 {
    font-size: 1.2rem;
    color: #0f2d52;
    margin: 2rem 0 0.8rem;
    font-weight: 700;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ===== GDPR BANNER ===== */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(2, 18, 38, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.gdpr-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.gdpr-content .material-symbols-outlined {
    color: #D4AF37;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.gdpr-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.gdpr-content a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.gdpr-content a:hover {
    text-decoration: underline;
}

.gdpr-dismiss {
    background: linear-gradient(135deg, #D4AF37 0%, #A07D3F 100%);
    color: #000;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

.gdpr-dismiss:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ===== FOOTER LEGAL LINKS ===== */
.footer-legal {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.legal-link {
    color: #D4AF37;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.legal-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-gdpr {
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4) !important;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.footer-gdpr a {
    color: #D4AF37;
    text-decoration: none;
}

.footer-gdpr a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .gdpr-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1rem;
    }

    .gdpr-content {
        flex-direction: column;
    }

    .qr-warning-banner {
        flex-direction: column;
        text-align: center;
    }

    .qr-nfc-prompt {
        flex-direction: column;
        text-align: center;
    }
}