/* ================================================================
   NYAAY AI — Global Styles
   Dark Legal Theme | Vanilla CSS
   ================================================================ */

:root {
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-dark: #8a6d2a;
    --navy: #0a0e1a;
    --navy-mid: #0f1628;
    --navy-light: #1a2340;
    --navy-card: #141c30;
    --navy-border: #1e2e50;
    --white: #f0ede8;
    --white-dim: rgba(240, 237, 232, 0.7);
    --white-faint: rgba(240, 237, 232, 0.15);
    --red-risk: #e74c3c;
    --orange-risk: #e67e22;
    --green-ok: #27ae60;
    --blue-accent: #2980b9;
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-legal: 'Crimson Text', serif;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(201, 168, 76, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ================================================================
   BACKGROUND CANVAS & OVERLAY
   ================================================================ */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.home-page .bg-overlay {
    background:
        linear-gradient(to bottom, rgba(10, 14, 26, 0.65) 0%, rgba(10, 14, 26, 0.4) 40%, rgba(10, 14, 26, 0.85) 100%),
        url('../assets/court_bg.png') center/cover no-repeat;
    background-attachment: fixed;
}

.login-page .bg-overlay {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.92) 0%, rgba(15, 22, 40, 0.88) 100%),
        url('../assets/court_bg.png') center/cover no-repeat;
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 48px;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.gavel-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.6));
    animation: gavelGlow 3s ease-in-out infinite;
}

.gavel-icon.large {
    font-size: 52px;
}

@keyframes gavelGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(201, 168, 76, 1));
    }
}

.brand-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 3px;
}

.brand-ai {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(201, 168, 76, 0.8);
}

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

.nav-links a {
    color: var(--white-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.btn-login {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy) !important;
    font-weight: 700 !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: var(--transition) !important;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(201, 168, 76, 0.5) !important;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 48px 60px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
}

/* ================================================================
   BOT COMPONENT
   ================================================================ */
.bot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.bot-orb {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-orb.small {
    width: 60px;
    height: 60px;
}

.bot-orb.medium {
    width: 80px;
    height: 80px;
}

.bot-core {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold-dark));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.8), 0 0 40px rgba(201, 168, 76, 0.4);
    animation: corePulse 2s ease-in-out infinite;
    z-index: 3;
}

.bot-orb.small .bot-core {
    width: 22px;
    height: 22px;
}

.bot-orb.medium .bot-core {
    width: 30px;
    height: 30px;
}

@keyframes corePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(201, 168, 76, 0.8), 0 0 40px rgba(201, 168, 76, 0.4);
    }

    50% {
        transform: scale(1.12);
        box-shadow: 0 0 35px rgba(201, 168, 76, 1), 0 0 70px rgba(201, 168, 76, 0.6);
    }
}

.bot-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 168, 76, 0.35);
    animation: ringExpand 3s ease-in-out infinite;
}

.ring1 {
    width: 55px;
    height: 55px;
    animation-delay: 0s;
}

.ring2 {
    width: 72px;
    height: 72px;
    animation-delay: 0.5s;
    border-color: rgba(201, 168, 76, 0.2);
}

.ring3 {
    width: 90px;
    height: 90px;
    animation-delay: 1s;
    border-color: rgba(201, 168, 76, 0.1);
}

.bot-orb.small .ring1 {
    width: 35px;
    height: 35px;
}

.bot-orb.small .ring2 {
    width: 50px;
    height: 50px;
}

.bot-orb.medium .ring1 {
    width: 46px;
    height: 46px;
}

.bot-orb.medium .ring2 {
    width: 62px;
    height: 62px;
}

.bot-orb.medium .ring3 {
    width: 78px;
    height: 78px;
}

@keyframes ringExpand {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.bot-pulse {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.15), transparent 70%);
    animation: pulsate 2.5s ease-in-out infinite;
}

@keyframes pulsate {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.bot-speech {
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gold-light);
    font-family: var(--font-legal);
    font-style: italic;
    max-width: 500px;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--gold);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ================================================================
   HERO TYPOGRAPHY
   ================================================================ */
.hero-title {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.title-line1 {
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 6px;
    color: var(--gold);
    font-weight: 400;
}

.title-line2 {
    font-size: clamp(22px, 4vw, 36px);
    letter-spacing: 4px;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.title-brand {
    font-size: clamp(38px, 7vw, 72px);
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 40%, var(--gold) 70%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.5));
    animation: titleShimmer 4s ease-in-out infinite;
}

@keyframes titleShimmer {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.9));
    }
}

.hero-tagline {
    font-family: var(--font-legal);
    font-style: italic;
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--gold-light);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--white-dim);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* ================================================================
   HERO BADGES
   ================================================================ */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 10px;
    padding: 12px 18px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.badge:hover {
    border-color: rgba(201, 168, 76, 0.6);
    background: rgba(201, 168, 76, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.2);
}

.badge-icon {
    font-size: 24px;
}

.badge-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.badge-sub {
    font-size: 11px;
    color: var(--white-dim);
}

/* ================================================================
   HERO CTA
   ================================================================ */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 0 25px rgba(201, 168, 76, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 45px rgba(201, 168, 76, 0.7), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: 0.6s;
}

.btn-primary:hover .btn-glow {
    transform: translateX(100%);
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: var(--white-dim);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-secondary:hover {
    color: var(--white);
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(201, 168, 76, 0.05);
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 12px;
    padding: 20px 40px;
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 0 32px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--gold);
    font-weight: 700;
}

.stat-label {
    font-size: 11px;
    color: var(--white-dim);
    letter-spacing: 1px;
    margin-top: 2px;
}

.stat-div {
    width: 1px;
    height: 40px;
    background: rgba(201, 168, 76, 0.2);
}

/* ================================================================
   ANIMATIONS: animate-in
   ================================================================ */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

.delay-5 {
    animation-delay: 1.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   FEATURES SECTION
   ================================================================ */
.features-section {
    position: relative;
    z-index: 10;
    padding: 100px 48px;
    background: linear-gradient(to bottom, transparent, var(--navy-mid), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    padding: 6px 18px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 42px);
    color: var(--white);
    letter-spacing: 3px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(20, 28, 48, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    padding: 32px 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    cursor: default;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(201, 168, 76, 0.06);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 168, 76, 0.1);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--white-dim);
    line-height: 1.7;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-section {
    position: relative;
    z-index: 10;
    padding: 80px 48px;
}

.steps-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
    background: rgba(20, 28, 48, 0.8);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius);
    padding: 28px 22px;
    width: 160px;
    flex-shrink: 0;
    transition: var(--transition);
}

.step:hover {
    border-color: rgba(201, 168, 76, 0.5);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.step-num {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.step-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.step p {
    font-size: 11px;
    color: var(--white-dim);
    line-height: 1.5;
}

.step-arrow {
    font-size: 22px;
    color: var(--gold);
    opacity: 0.5;
    flex-shrink: 0;
}

/* ================================================================
   CONFIDENTIAL SECTION
   ================================================================ */
.confidential-section {
    position: relative;
    z-index: 10;
    padding: 60px 48px;
}

.confidential-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(39, 174, 96, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: var(--radius);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.conf-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.conf-text h3 {
    font-family: var(--font-display);
    color: #2ecc71;
    font-size: 18px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.conf-text p {
    font-size: 14px;
    color: var(--white-dim);
    line-height: 1.7;
}

.conf-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.conf-badge {
    background: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.4);
    color: #2ecc71;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 48px;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    background: rgba(10, 14, 26, 0.9);
}

.footer .brand-name {
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: var(--font-legal);
    font-style: italic;
    color: var(--gold);
    margin: 4px 0 16px;
}

.footer-copy {
    font-size: 12px;
    color: var(--white-dim);
}

/* ================================================================
   LOGIN PAGE
   ================================================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: rgba(10, 14, 26, 0.6);
    border-right: 1px solid rgba(201, 168, 76, 0.15);
}

.login-brand {
    margin-bottom: 40px;
}

.login-brand .brand-name {
    font-size: 36px;
    display: block;
    margin: 12px 0 4px;
}

.brand-tag {
    font-family: var(--font-legal);
    font-style: italic;
    color: var(--gold);
    font-size: 16px;
}

.login-quote {
    border-left: 3px solid var(--gold-dark);
    padding-left: 20px;
    margin-bottom: 36px;
}

.login-quote blockquote {
    font-family: var(--font-legal);
    font-style: italic;
    font-size: 18px;
    color: var(--white-dim);
    line-height: 1.6;
}

.login-quote cite {
    font-size: 13px;
    color: var(--gold);
    margin-top: 8px;
    display: block;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--white-dim);
}

.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(20, 28, 48, 0.9);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: var(--shadow), 0 0 60px rgba(201, 168, 76, 0.08);
    backdrop-filter: blur(20px);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.shield-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.login-header h2 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 4px;
}

.login-header p {
    font-size: 13px;
    color: var(--white-dim);
}

.login-notice {
    background: rgba(39, 174, 96, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #2ecc71;
    font-size: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    opacity: 0.6;
}

.login-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--white);
    padding: 13px 44px;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.login-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.05);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

.toggle-pass {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toggle-pass:hover {
    opacity: 1;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white-dim);
    cursor: pointer;
}

.forgot-link {
    color: var(--gold);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    position: relative;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
    margin-bottom: 24px;
}

.btn-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(201, 168, 76, 0.6), 0 8px 25px rgba(0, 0, 0, 0.3);
}

.login-footer-note {
    text-align: center;
    font-size: 11px;
    color: var(--white-faint);
    line-height: 1.8;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding-top: 20px;
}

/* ================================================================
   FORM ELEMENTS (shared)
   ================================================================ */
input,
select,
textarea {
    font-family: var(--font-body);
    color: var(--white);
}

input::placeholder,
textarea::placeholder {
    color: rgba(240, 237, 232, 0.3);
}

select option {
    background: var(--navy-mid);
    color: var(--white);
}

/* ================================================================
   UTILITY
   ================================================================ */
.req {
    color: var(--gold);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 20px;
    }

    .nav-links a:not(.btn-login) {
        display: none;
    }

    .hero {
        padding: 80px 20px 40px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .features-section,
    .how-section,
    .confidential-section {
        padding: 60px 20px;
    }

    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        padding: 40px 24px;
        display: none;
    }

    .login-right {
        padding: 40px 20px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .stats-bar {
        padding: 16px;
        gap: 8px;
    }

    .stat {
        padding: 0 16px;
    }

    .steps-flow {
        gap: 8px;
    }

    .step {
        width: 130px;
        padding: 20px 12px;
    }

    .step-arrow {
        display: none;
    }
}

/* ================================================================
   LIGHT THEME — Warm Parchment
   Activated by: <html data-theme="light">
   ================================================================ */
[data-theme="light"] {
    --gold: #b8860b;
    --gold-light: #c9a84c;
    --gold-dark: #8a6d2a;
    --navy: #f5f0e8;
    --navy-mid: #ede8dc;
    --navy-light: #e2dbd0;
    --navy-card: #faf7f2;
    --navy-border: #d6cfc4;
    --white: #1a1a2e;
    --white-dim: rgba(26, 26, 46, 0.7);
    --white-faint: rgba(26, 26, 46, 0.12);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --glow: 0 0 20px rgba(184, 134, 11, 0.3);
}

[data-theme="light"] body {
    background: var(--navy);
    color: var(--white);
}

[data-theme="light"] .home-page .bg-overlay {
    background:
        linear-gradient(to bottom, rgba(245, 240, 232, 0.75) 0%, rgba(245, 240, 232, 0.5) 40%, rgba(245, 240, 232, 0.9) 100%),
        url('../assets/court_bg.png') center/cover no-repeat;
}

[data-theme="light"] .login-page .bg-overlay {
    background: linear-gradient(135deg, rgba(245, 240, 232, 0.94) 0%, rgba(237, 232, 220, 0.9) 100%),
        url('../assets/court_bg.png') center/cover no-repeat;
}

[data-theme="light"] .navbar {
    background: rgba(245, 240, 232, 0.92);
    border-bottom-color: rgba(184, 134, 11, 0.25);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(245, 240, 232, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-links a {
    color: rgba(26, 26, 46, 0.7);
}

[data-theme="light"] .nav-links a:hover {
    color: var(--gold);
}

[data-theme="light"] .btn-login {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff !important;
}

[data-theme="light"] .badge {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(184, 134, 11, 0.3);
}

[data-theme="light"] .feature-card {
    background: rgba(250, 247, 242, 0.9);
    border-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .feature-card:hover {
    background: rgba(201, 168, 76, 0.1);
}

[data-theme="light"] .step {
    background: rgba(250, 247, 242, 0.9);
    border-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .stats-bar {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .confidential-card {
    background: rgba(250, 247, 242, 0.9);
    border-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .footer {
    background: rgba(237, 232, 220, 0.95);
    border-top-color: rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .login-card {
    background: rgba(250, 247, 242, 0.97);
    border-color: rgba(184, 134, 11, 0.25);
}

[data-theme="light"] .login-left {
    background: rgba(26, 26, 46, 0.05);
}

[data-theme="light"] .login-notice {
    background: rgba(184, 134, 11, 0.08);
    border-color: rgba(184, 134, 11, 0.2);
    color: var(--gold-dark);
}

[data-theme="light"] input,
[data-theme="light"] .login-form input {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(184, 134, 11, 0.2);
    color: var(--white);
}

[data-theme="light"] input::placeholder {
    color: rgba(26, 26, 46, 0.4);
}

/* ================================================================
   THEME TOGGLE BUTTON (all pages)
   ================================================================ */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.theme-toggle-btn:hover {
    background: rgba(201, 168, 76, 0.16);
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.2);
}

.theme-icon {
    font-size: 15px;
}

.theme-label {
    font-size: 12px;
    letter-spacing: 0.5px;
}

[data-theme="light"] .theme-toggle-btn {
    background: rgba(184, 134, 11, 0.1);
    border-color: rgba(184, 134, 11, 0.35);
    color: var(--gold-dark);
}

/* ================================================================
   LANGUAGE SELECTOR (all pages)
   ================================================================ */
.lang-selector-wrap {
    position: relative;
}

.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--white-dim);
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-toggle-btn:hover {
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--white);
    background: rgba(201, 168, 76, 0.1);
}

.lang-globe {
    font-size: 16px;
}

.lang-btn-label {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lang-chevron {
    font-style: normal;
    font-size: 10px;
    transition: transform 0.2s;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: rgba(14, 20, 38, 0.97);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.lang-dropdown.open {
    display: flex;
}

.lang-dropdown-header {
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--gold);
    padding: 12px 16px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    background: rgba(201, 168, 76, 0.05);
}

.lang-list {
    overflow-y: auto;
    max-height: 320px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 168, 76, 0.3) transparent;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    text-align: left;
    gap: 8px;
}

.lang-option:hover {
    background: rgba(201, 168, 76, 0.08);
}

.lang-option.active {
    background: rgba(201, 168, 76, 0.12);
}

.lang-native {
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
}

.lang-english {
    font-size: 11px;
    color: var(--white-dim);
}

[data-theme="light"] .lang-dropdown {
    background: rgba(250, 247, 242, 0.98);
    border-color: rgba(184, 134, 11, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .lang-option:hover {
    background: rgba(184, 134, 11, 0.08);
}

[data-theme="light"] .lang-native {
    color: var(--white);
}

[data-theme="light"] .lang-english {
    color: var(--white-dim);
}

[data-theme="light"] .lang-dropdown-header {
    background: rgba(184, 134, 11, 0.06);
}

/* ================================================================
   TOAST NOTIFICATION
   ================================================================ */
.nyaay-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 28, 48, 0.95);
    border: 1px solid rgba(201, 168, 76, 0.4);
    color: var(--gold-light);
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 13px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.nyaay-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

[data-theme="light"] .nyaay-toast {
    background: rgba(250, 247, 242, 0.97);
    color: var(--gold-dark);
    border-color: rgba(184, 134, 11, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ================================================================
   THEME-AWARE: Login Page
   ================================================================ */
[data-theme="light"] .login-right .login-card {
    background: rgba(250, 247, 242, 0.97);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .login-left {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.08), rgba(26, 26, 46, 0.04));
}