/* style.css - PHOENIX Sovereign Onboarding Presentation Hub */

:root {
    --bg-primary: #040814;
    --bg-secondary: #0a1128;
    --card-bg: rgba(10, 17, 40, 0.6);
    --border-color: rgba(212, 175, 55, 0.15);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --orange: #ff5a00;
    --orange-glow: rgba(255, 90, 0, 0.3);
    --text-primary: #f4f6fc;
    --text-secondary: #a0aabf;
    --text-muted: #6e798c;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

body.theme-royal {
    --bg-primary: #040814;
    --bg-secondary: #0a1128;
    --card-bg: rgba(10, 17, 40, 0.6);
    --border-color: rgba(212, 175, 55, 0.15);
    --gold: #d4af37;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --orange: #ff5a00;
    --orange-glow: rgba(255, 90, 0, 0.3);
    --text-primary: #f4f6fc;
    --text-secondary: #a0aabf;
    --text-muted: #6e798c;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

body.theme-slate {
    --bg-primary: #0b0f19;
    --bg-secondary: #161e2e;
    --card-bg: rgba(22, 30, 46, 0.8);
    --border-color: rgba(100, 116, 139, 0.25);
    --gold: #38bdf8;
    --gold-glow: rgba(56, 189, 248, 0.3);
    --orange: #94a3b8;
    --orange-glow: rgba(148, 163, 184, 0.25);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body.theme-classic {
    --bg-primary: #fdfcfb; /* Premium warm alabaster ivory */
    --bg-secondary: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --gold: #7c2d12; /* Rich dark rust-gold for contrast */
    --gold-glow: rgba(124, 45, 18, 0.1);
    --orange: #1e3a8a; /* Deep Prussian Blue for conservative accent */
    --orange-glow: rgba(30, 58, 138, 0.1);
    --text-primary: #0f172a; /* Dark slate */
    --text-secondary: #334155;
    --text-muted: #64748b;
    --font-heading: Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

/* Theme Selector Dropdown */
.theme-select-dropdown {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f4f6fc;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}
.theme-select-dropdown:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.theme-select-dropdown option {
    background: #040814;
    color: #f4f6fc;
}

body.theme-slate .theme-select-dropdown option {
    background: #161e2e;
    color: #f8fafc;
}

/* Classic Overrides */
body.theme-classic .stars-container {
    display: none;
}
body.theme-classic .card-glass {
    backdrop-filter: none;
    background: #ffffff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}
body.theme-classic input {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
body.theme-classic input:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.1);
}
body.theme-classic .navbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: none;
    color: #0f172a;
}
body.theme-classic .navbar .logo {
    color: #0f172a;
}
body.theme-classic .navbar .logo .gold-text {
    color: #1e3a8a !important;
}
body.theme-classic .nav-links a {
    color: #475569;
}
body.theme-classic .nav-links a.active {
    color: #1e3a8a;
}
body.theme-classic .convo-badge {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}
body.theme-classic .theme-select-dropdown {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}
body.theme-classic .theme-select-dropdown option {
    background: #ffffff;
    color: #0f172a;
}
body.theme-classic .gold-text {
    color: #7c2d12 !important; /* Rich terracotta/rust for premium contrast on light backgrounds */
}
body.theme-classic .orange-text {
    color: #9a3412 !important;
}
body.theme-classic .status-table th {
    background: #f8fafc;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}
body.theme-classic .status-table td {
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}
body.theme-classic .status-badge {
    background: #e2e8f0;
    color: #475569;
}
body.theme-classic .status-badge.active-step {
    background: #dbeafe;
    color: #1e40af;
}
body.theme-classic .progress-pill {
    background: #e2e8f0;
    color: #334155;
}
body.theme-classic .mock-inbox {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
body.theme-classic .inbox-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}
body.theme-classic .inbox-code-box {
    background: #f1f5f9;
    color: #1e3a8a;
}
body.theme-classic .milestone-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
body.theme-classic .milestone-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
body.theme-classic .step .circle {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}
body.theme-classic .step.active .circle {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(30, 58, 138, 0.15);
}
body.theme-classic .step.completed .circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}
body.theme-classic .step .label {
    color: #334155;
}
body.theme-classic .step.active .label {
    color: #1e3a8a;
}
body.theme-classic .step .desc {
    color: #64748b;
}
body.theme-classic .rwa-template-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}
body.theme-classic .copy-btn {
    background: #1e3a8a;
    color: #ffffff;
}
body.theme-classic .copy-btn:hover {
    background: #1d4ed8;
}
body.theme-classic .footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Background Stars and Glimmers */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0c1a40 0%, #040814 100%);
    opacity: 0.8;
}

/* Premium Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-speed);
}

a:hover {
    color: var(--orange);
}

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

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

.italic-title {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 600;
}

.font-bold {
    font-weight: 800;
}

/* Layout Elements */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Cards */
.card-glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Header & Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background: rgba(4, 8, 20, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.navbar .logo .divider {
    color: rgba(255, 255, 255, 0.15);
    margin: 0 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition-speed);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.convo-badge {
    background: rgba(255, 90, 0, 0.15);
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 4rem 1rem;
}

.glow-effect {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gold-glow) 0%, rgba(20, 20, 20, 0) 70%);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-content .subtitle {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-speed) ease-in-out;
}

.primary-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
    color: #ffffff;
    box-shadow: 0 5px 20px var(--orange-glow);
    border: none;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--orange-glow);
    color: #ffffff;
}

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

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Routing Section */
.section-desc {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.flow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.flow-step {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: left;
    transition: var(--transition-speed);
}

.flow-step:hover {
    border-color: var(--border-color);
    background: rgba(255, 255, 255, 0.04);
}

.flow-step .step-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.flow-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.flow-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.15);
}

.compliance-highlight {
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--gold);
    border-radius: 12px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.compliance-highlight .shield-icon {
    font-size: 2rem;
}

.compliance-highlight p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* 80/20 Distribution Sektion */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.dist-card {
    position: relative;
    overflow: hidden;
}

.border-gold {
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.border-orange {
    border: 1px solid rgba(255, 90, 0, 0.2);
    box-shadow: 0 10px 30px rgba(255, 90, 0, 0.05);
}

.percent-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-gold {
    color: var(--gold);
}

.badge-orange {
    color: var(--orange);
}

.dist-card h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.dist-card h2::after {
    left: 0;
    transform: none;
}

.dist-list {
    list-style: none;
    margin-top: 1.5rem;
}

.dist-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.dist-list li span {
    font-weight: 800;
    color: var(--gold);
}

.border-orange .dist-list li span {
    color: var(--orange);
}

/* Simulator Sektion */
.simulator-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.simulator-controls {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    text-align: left;
}

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

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group select {
    background: #0d1633;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
    transition: var(--transition-speed);
}

.input-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-row .data-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.data-row .data-value {
    font-size: 1.15rem;
    font-weight: 600;
}

.highlight-row {
    border-bottom: none;
    padding-top: 1.5rem;
}

.highlight-row .data-value {
    font-size: 1.7rem;
}

/* Visual Output Split Bar */
.split-bar {
    width: 100%;
    height: 45px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.split-80 {
    width: 80%;
    background: linear-gradient(90deg, #d4af37 0%, #f1c40f 100%);
    color: #040814;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-out;
}

.split-20 {
    width: 20%;
    background: linear-gradient(90deg, #ff5a00 0%, #ff7f50 100%);
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-out;
}

.split-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.detail-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}

.detail-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.detail-box .big-number {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
}

.detail-box .hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Dynamic Milestones List */
.milestones-container {
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    text-align: left;
}

.milestones-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.milestones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.milestone-item {
    background: rgba(255, 255, 255, 0.015);
    border-left: 3px solid var(--gold);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
}

.milestone-item.orange-border {
    border-left-color: var(--orange);
}

.milestone-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.milestone-item p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.milestone-item p:last-child {
    margin-bottom: 0;
}

.milestone-problem {
    color: #e09f67 !important; /* Soft amber/orange color for problem context */
}

/* Compliance Stepper */
.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 3rem auto 0 auto;
    max-width: 850px;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 85px;
    right: 85px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
    padding: 0 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.step:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.step .circle {
    width: 50px;
    height: 50px;
    background: #0d1633;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    transition: var(--transition-speed);
}

.step.active .circle {
    background: var(--gold);
    color: #040814;
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.step .label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #ffffff;
}

.step.active .label {
    color: var(--gold);
}

.step .desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 160px;
}

/* Footer Section */
.footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer .small-text {
    font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .navbar {
        padding: 1.5rem;
    }
    
    .nav-links {
        display: none; /* Mobile menu can be added if requested */
    }
    
    .grid-2col, .simulator-grid, .milestones-grid {
        grid-template-columns: 1fr;
    }
    
    .stepper {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
        padding-left: 2rem;
    }
    
    .stepper::before {
        left: 45px;
        top: 25px;
        bottom: 25px;
        width: 1px;
        height: auto;
    }
    
    .step {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
        padding: 0;
    }
    
    .step .circle {
        margin-bottom: 0;
    }
    
    .step .desc {
        text-align: left;
        max-width: 100%;
    }
}

/* RWA Template Styles */
.rwa-template-container {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out, margin 0.3s ease, padding 0.3s ease;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.rwa-template-container.show {
    max-height: 1500px;
    opacity: 1;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rwa-template-container h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.rwa-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.rwa-box {
    position: relative;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.rwa-box pre {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #e0e0e0;
    white-space: pre-wrap;
    word-break: break-word;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--navy-dark);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--orange);
    color: white;
    transform: translateY(-1px);
}



/* ==========================================================================
   Login Gate & Secure Access Styles
   ========================================================================== */

.login-container {
    max-width: 500px;
    margin: 6rem auto;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.login-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.login-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.login-form {
    margin-top: 2rem;
    text-align: left;
}

.login-form .input-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.login-form input[type="email"],
.login-form input[type="text"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    color: white;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(224, 184, 114, 0.15);
}

.full-width {
    width: 100%;
    margin-top: 0.5rem;
}

.login-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
    line-height: 1.4;
    text-align: center;
}

.login-hint code {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-family: monospace;
}

.link-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85rem;
    margin-top: 1.25rem;
    display: block;
    width: 100%;
    text-align: center;
    transition: color 0.3s ease;
}

.link-btn:hover {
    color: var(--gold);
}

/* Mock Inbox Sektion */
.mock-inbox {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-top: 2.5rem;
    text-align: left;
    overflow: hidden;
    animation: fadeIn 0.4s ease;
}

.inbox-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
}

.inbox-body {
    padding: 1.25rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.inbox-body p {
    margin-bottom: 0.4rem;
}

.inbox-code-box {
    background: rgba(224, 159, 103, 0.08);
    border: 1px dashed rgba(224, 159, 103, 0.4);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    margin: 1rem 0;
}

#mock-otp-code {
    font-family: monospace;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: 5px;
}

.inbox-footer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Locked Country Badge Styles */
.locked-badge {
    background: rgba(224, 159, 103, 0.08);
    border: 1px solid rgba(224, 159, 103, 0.25);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    color: #e09f67;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    animation: fadeIn 0.3s ease;
}

.lock-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lock-btn:hover {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
    transform: translateY(-1px);
}

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


/* ==========================================================================
   Admin Tracker Table Styles
   ========================================================================== */

.admin-tracker-section {
    border: 1px solid rgba(224, 184, 114, 0.2) !important;
    padding: 2rem !important;
    border-radius: 16px;
    margin-top: 2rem;
}

.status-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.status-table th, .status-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-table th {
    font-family: 'Outfit', sans-serif;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.status-table td {
    color: var(--text-secondary);
}

.status-table tr:hover td {
    color: white;
    background: rgba(255, 255, 255, 0.01);
}

.status-badge {
    background: rgba(224, 159, 103, 0.1);
    color: #e09f67;
    border: 1px solid rgba(224, 159, 103, 0.3);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.active-step {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.3);
}

.progress-pill {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--gold);
}

/* Language Selector Buttons */
.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
}
.lang-btn.active {
    background: var(--gold);
    color: #040814;
    border-color: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Light theme overrides for language buttons */
body.theme-classic .lang-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #475569;
}
body.theme-classic .lang-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
body.theme-classic .lang-btn.active {
    background: #1e3a8a;
    color: #ffffff;
    border-color: #1e3a8a;
    box-shadow: 0 0 8px rgba(30, 58, 138, 0.2);
}
