:root {
    --bg-color: #030303;
    /* Deeper black */
    --text-color: #eef1f5;
    --gold-primary: #D4AF37;
    --gold-accent: #f9d976;
    --gold-glow: rgba(212, 175, 55, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.01);
    --glass-border: rgba(255, 255, 255, 0.03);
    /* Thinner for layered look */
    --glass-blur: blur(40px);
    --premium-easing: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-pro: 0.8s var(--premium-easing);

    /* Aesthetic 2.0 Depth */
    --glow-soft: rgba(255, 255, 255, 0.03);
    --glow-gold: rgba(212, 175, 55, 0.08);
    --glass-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Inter:wght@200;300;400;500;600&family=Outfit:wght@200;300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

body,
html {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: initial;
    /* Manual scroll control for pro effects */
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s var(--premium-easing);
}

.preloader-content {
    text-align: center;
}

.preloader-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    letter-spacing: 1.5em;
    color: #fff;
    margin-bottom: 30px;
    display: block;
    position: relative;
    text-align: center;
    width: 100%;
    transform: translateX(0.75em);
}

/* Glitch Effect */
.preloader-title::before,
.preloader-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    clip: rect(0, 0, 0, 0);
}

.preloader-title::before {
    left: -2px;
    text-shadow: 2px 0 #ff00c1;
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.preloader-title::after {
    left: 2px;
    text-shadow: -2px 0 #00fff9;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 50px, 0);
    }

    40% {
        clip: rect(70px, 9999px, 90px, 0);
    }

    60% {
        clip: rect(20px, 9999px, 40px, 0);
    }

    80% {
        clip: rect(50px, 9999px, 30px, 0);
    }

    100% {
        clip: rect(80px, 9999px, 20px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    25% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    50% {
        clip: rect(30px, 9999px, 80px, 0);
    }

    75% {
        clip: rect(90px, 9999px, 10px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 70px, 0);
    }
}

.preloader-bar {
    width: 250px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.preloader-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
    transform: translateX(-100%);
    animation: progress-slide-pro 5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    box-shadow: 0 0 15px var(--gold-primary);
}

@keyframes progress-slide-pro {
    0% {
        transform: translateX(-100%);
    }

    30% {
        transform: translateX(-70%);
    }

    60% {
        transform: translateX(-60%);
    }

    85% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(0);
    }
}

.preloader-subtitle {
    margin-top: 25px;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Outfit', sans-serif;
    animation: pro-blink 2s infinite alternate;
}

@keyframes pro-shimmer {

    0%,
    100% {
        opacity: 0.3;
        filter: blur(2px);
    }

    50% {
        opacity: 1;
        filter: blur(0px);
    }
}

/* --- Leak Alert Toast --- */
.leak-alert-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(50px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: calc(100% - 60px);
    max-height: calc(100vh - 60px);
    color: var(--text-color);
    z-index: 11000;
    transform: translateX(120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    text-align: left;
    pointer-events: auto;
}

.leak-alert-toast::-webkit-scrollbar {
    width: 3px;
}

.leak-alert-toast::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 10px;
    opacity: 0.2;
}

.leak-alert-toast.visible {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.alert-close:hover {
    color: var(--gold-primary);
    transform: scale(1.1) rotate(90deg);
}

.alert-content {
    overflow-y: auto;
    padding-right: 5px;
    /* Space for scrollbar */
}

.alert-glow {
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    animation: alert-border-glow 3s linear infinite, alert-pulse 2s ease-in-out infinite alternate;
}

@keyframes alert-border-glow {
    to {
        background-position: 200% center;
    }
}

@keyframes alert-pulse {
    from {
        opacity: 0.4;
        filter: blur(2px);
    }

    to {
        opacity: 1;
        filter: blur(5px);
    }
}

.alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--gold-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.alert-header-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.beta-badge {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-size: 0.55rem;
    padding: 1px 10px;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-left: auto;
    box-shadow: 0 0 15px var(--gold-glow);
    animation: beta-pulse-gold 3s infinite ease-in-out;
}

@keyframes beta-pulse-gold {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.highlight-leak {
    color: var(--gold-primary);
    font-weight: 800;
    text-shadow: 0 0 10px var(--gold-glow);
    font-size: 1.1em;
    padding: 0 4px;
}

.alert-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 5px;
    transition: var(--transition-pro);
    z-index: 10;
}

.alert-close:hover {
    color: #fff;
    transform: scale(1.1);
}

.alert-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin: 0;
}

/* --- Language Selection --- */
#lang-selection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: none;
    /* Controlled by JS */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s var(--premium-easing);
}

#lang-selection.active {
    display: flex;
    opacity: 1;
}

.lang-selection-content {
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.lang-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    letter-spacing: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Removed Frequency Scanner styles */

.lang-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: var(--glass-blur);
    padding: 18px 40px;
    border-radius: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition-pro);
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.82);
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.lang-btn:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-flag {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .lang-options {
        flex-direction: column;
        align-items: center;
    }

    .lang-btn {
        width: 100%;
        max-width: 320px;
        flex-direction: row;
        padding: 20px;
    }
}

.lang-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.lang-btn:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lang-btn:hover::before {
    transform: translateX(100%);
}

.lang-flag {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
    display: inline-block;
}

.lang-flag img.emoji {
    font-size: 1.5rem;
    /* Matches the parent font-size */
}

.lang-selector {
    display: flex;
    gap: 15px;
    align-items: center;
}

.flag {
    cursor: pointer;
    opacity: 0.3;
    transition: var(--transition-pro);
    display: flex;
    align-items: center;
}

.flag img.emoji {
    font-size: 0.9rem;
    /* Matches taskbar-logo size */
}

.flag.active {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.flag:hover {
    opacity: 0.8;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
    mix-blend-mode: plus-lighter;
}

/* --- Scanline Overlay --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.01), rgba(0, 255, 0, 0.005), rgba(0, 0, 255, 0.01));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* --- Background Atmosphere --- */
.atmospheric-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    filter: blur(100px);
    opacity: 0.5;
    transition: all 2s ease;
}

.content {
    position: relative;
    z-index: 10;
    opacity: 0;
    transition: opacity 1.5s var(--premium-easing);
}

.content.ready {
    opacity: 1;
}

/* --- Taskbar (Professional Pill) --- */
.taskbar {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 12px 32px;
    border-radius: 100px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--glass-shadow);
    transition: all 0.8s var(--premium-easing);
    width: auto;
    max-width: 90vw;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
}

.taskbar-logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    color: #fff;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s var(--premium-easing);
    pointer-events: none;
}

.taskbar-logo.active {
    opacity: 1;
    transform: translateX(0);
}

.mobile-close {
    display: none;
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .mobile-close {
        display: block;
    }
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition-pro);
}

.nav-links a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.nav-links a.nav-pill {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    color: var(--gold-primary);
    font-weight: 700;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.nav-links a.nav-pill:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.blinking {
    animation: pro-blink-gold 2s infinite alternate ease-in-out;
}

@keyframes pro-blink-gold {
    0% {
        opacity: 1;
        filter: drop-shadow(0 0 2px var(--gold-primary));
    }

    100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 8px var(--gold-primary));
    }
}

/* --- Hero & "Project Explode" --- */
.bespoke-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.title-container {
    text-align: center;
}

.main-title-wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.2em;
    /* Reduced gap */
    margin-bottom: 2rem;
    width: 100%;
    padding: 0 20px;
    /* Safety padding */
    overflow: visible;
    max-width: 100vw;
}

.title-word {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 8vw, 8rem);
    /* Slightly smaller base and mid-scale */
    font-weight: 700;
    letter-spacing: 0.15em;
    /* Reduced from 0.3em for width stability */
    white-space: nowrap;
    /* PREVENT TEXT BREAK */
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 1s var(--premium-easing);
}

/* Cinematic Blur Out */
.project-word.exploded {
    filter: blur(80px);
    /* Deeper blur */
    opacity: 0;
    letter-spacing: 2em;
    transform: translateY(-50px) scale(1.1);
    /* Subtle float instead of drop */
    pointer-events: none;
}

.ragnar-word {
    transition: all 1s var(--premium-easing);
}

.ragnar-word.tracking {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.618em;
    opacity: 0.3;
    text-transform: uppercase;
}

/* --- Professional Scanner Interface --- */
.hero-main {
    margin-top: 60px;
    width: 100%;
    max-width: 800px;
}

.input-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(40px);
    border-radius: 100px;
    padding: 8px 8px 8px 25px;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    transition: var(--transition-pro);
    gap: 15px;
}

.input-icon {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
    opacity: 0.5;
    flex-shrink: 0;
}

.input-glass:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .input-glass {
        flex-direction: column;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.03);
        padding: 15px;
        gap: 15px;
    }

    #url-input {
        padding: 10px 15px;
        text-align: center;
        width: 100%;
    }

    .btn-scan {
        width: 100%;
    }
}

#url-input,
#leak-input,
#password-input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 16px 32px;
    flex: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 200;
    outline: none;
    letter-spacing: 0.05em;
}

#url-input::placeholder,
#leak-input::placeholder,
#password-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.btn-scan {
    padding: 16px 40px;
    border-radius: 100px;
    background: #fff;
    color: #000;
    border: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-pro);
}

.btn-scan:hover {
    background: var(--gold-primary);
    transform: scale(1.05);
}

.scanner-viewport {
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}

.diag-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    padding: 35px;
    border-radius: 20px;
    transition: all 0.5s var(--premium-easing);
    opacity: 0.3;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.diag-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.diag-item.active {
    opacity: 1;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.diag-item.active::after {
    opacity: 1;
}

.diag-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.diag-status {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--gold-glow);
}

.diag-bar-wrap {
    height: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

/* --- Scanner Tabs & Mode Switcher --- */
.scanner-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    /* Fix overflow */
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: var(--transition-pro);
    white-space: nowrap;
    /* Prevent internal text wrap */
}

@media (max-width: 600px) {
    .scanner-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 0.55rem;
    }
}

.tab-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.mode-panel {
    display: none;
}

.mode-panel.active {
    display: block;
}

/* --- Scanning States & Transitions --- */
.scanner-interface.scanning-active .scanner-tabs,
.scanner-interface.scanning-active .mode-panel {
    display: none !important;
}

.scanner-interface.scanning-active .protocol-analysis-wrap,
.scanner-interface.scanning-active .scanning-logs {
    margin-top: 0;
}

.reset-notice {
    margin-top: 30px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Dropzone (File Scanner) --- */
.dropzone {
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed var(--glass-border);
    backdrop-filter: blur(40px);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition-pro);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dropzone:hover,
.dropzone.dragover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.03);
    transform: scale(1.01);
}

.dropzone-icon {
    width: 48px;
    height: 48px;
    color: var(--gold-primary);
    margin-bottom: 20px;
    opacity: 0.6;
}

.dropzone-content p {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 10px;
}

.dropzone-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

/* --- Simulated Scanning Logs --- */
.scanning-logs {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #00ff88;
    text-align: left;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid rgba(0, 255, 136, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.05);
}

.log-entry {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(-10px);
    animation: log-in 0.3s forwards;
}

.log-entry span {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 10px;
}

@keyframes log-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.diag-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
    box-shadow: 0 0 20px var(--gold-primary);
    transition: width 0.1s linear;
}

/* --- Real-Time Protocol Analysis --- */
.protocol-analysis-wrap {
    margin-top: 20px;
    height: 60px;
    /* Fixed height to prevent layout jumps */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.analyzing-text {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    animation: pro-blink 1s infinite alternate;
}

.protocol-feedback {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s var(--premium-easing);
    border-left: 4px solid var(--gold-primary);
    min-width: 320px;
    justify-content: flex-start;
}

.protocol-feedback.safe {
    border-left-color: #00ff88;
    background: rgba(0, 255, 136, 0.02);
}

.protocol-feedback.warning {
    border-left-color: #ffcc00;
    background: rgba(255, 204, 0, 0.02);
}

.protocol-feedback.danger {
    border-left-color: #ff4444;
    background: rgba(255, 68, 68, 0.02);
}

.protocol-feedback.invalid {
    border-left-color: #999;
    color: #999;
    background: rgba(255, 255, 255, 0.02);
}

.protocol-icon-pro {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

@keyframes pro-blink {
    from {
        opacity: 0.2;
    }

    to {
        opacity: 1;
    }
}

/* --- Global Section Settings --- */
.section {
    padding: 80px 4%;
    /* Even tighter */
    min-height: 80vh;
    /* Reduced from 100vh to keep content visible */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10;
    overflow: hidden;
    /* Prevent bleed */
}

.section-bg-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cinzel', serif;
    font-size: 15vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    letter-spacing: 0.2em;
}

.glass-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, transparent 100%);
    backdrop-filter: var(--glass-blur);
    border-radius: 60px;
    padding: 80px 60px;
    /* Reduced from 120px 100px */
    width: 100%;
    max-width: 1300px;
    box-shadow: var(--glass-shadow);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.glass-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%, rgba(212, 175, 55, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.industrial-header {
    font-size: 3.5rem;
    margin-bottom: 5rem;
    color: #fff;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.3em;
    width: 100%;
    text-transform: uppercase;
    position: relative;
}

.industrial-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--gold-primary);
    box-shadow: 0 0 20px var(--gold-glow);
}

.section:not(.about-section) :is(.industrial-header, .industrial-header::after) {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}

.about-section .industrial-header {
    text-align: left;
}

/* --- About Split Layout --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 120px;
    width: 100%;
}

.split-content {
    flex: 1.2;
    z-index: 2;
}

.split-visual {
    flex: 0.8;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.visual-orb {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    backdrop-filter: blur(40px);
    box-shadow:
        0 0 80px rgba(212, 175, 55, 0.1),
        inset 0 0 40px rgba(255, 255, 255, 0.05);
    animation: orb-float 6s ease-in-out infinite;
}

.abstract-grid {
    position: absolute;
    width: 140%;
    height: 140%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotateX(60deg) rotateZ(45deg);
    opacity: 0.15;
    z-index: -1;
}

/* --- About Features List --- */
.feature-list {
    list-style: none;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.feature-list .dot {
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-glow);
}

/* --- Principles Section --- */
/* --- Principles Section --- */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Timeline Line */
.principles-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2) 20%, rgba(212, 175, 55, 0.2) 80%, transparent);
    z-index: -1;
}

.principle-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-pro);
}

.principle-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.3);
}

.principle-num {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-primary);
    opacity: 0.5;
    letter-spacing: 0.2em;
}

.principle-content h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    color: #fff;
}

.principle-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.pro-illustration {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.2)) brightness(0.8);
    z-index: 1;
    animation: float-pro 10s ease-in-out infinite;
}

.orb-img {
    width: 120%;
    height: 120%;
}

@keyframes float-pro {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10px, -20px) scale(1.02);
    }
}

@keyframes orb-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- Security Section --- */
.security-pro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    align-items: stretch;
    /* Cards same height */
}

.pro-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    /* Reduced padding */
    border-radius: 40px;
    transition: var(--transition-pro);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Ensure uniform height in grid */
}

.pro-card:hover {
    background: rgba(212, 175, 55, 0.02);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.pro-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.02), transparent);
    transform: translateX(-100%);
    transition: transform 1s var(--premium-easing);
}

.pro-card:hover::after {
    transform: translateX(100%);
}

.pro-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    margin-bottom: 10px;
}

.pro-icon-wrap svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.pro-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.pro-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* --- Contact Section --- */
.pro-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.form-row {
    display: flex;
    gap: 32px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.input-group label {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    opacity: 0.4;
    text-transform: uppercase;
}

.pro-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 18px 24px;
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-pro);
    width: 100%;
}

.pro-input:focus {
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-scan {
    padding: 16px 60px;
    background: var(--gold-primary);
    border: none;
    border-radius: 100px;
    color: #000;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.5s var(--premium-easing);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.btn-scan:hover {
    transform: translateY(-5px) scale(1.05);
    background: #fff;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2);
}

.btn-scan:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #333;
    color: #888;
}

.pro-btn {
    padding: 22px 60px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 100px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.3em;
    cursor: pointer;
    transition: var(--transition-pro);
    align-self: center;
    text-transform: uppercase;
}

.pro-btn:hover {
    background: var(--gold-primary);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Verified Badge Stylings */
.verified-badge {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
    fill: var(--gold-primary);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
    opacity: 1;
}

.verdict-title.verified {
    font-size: 1.8rem;
    letter-spacing: 0.15em;
}

.pro-verdict.safe .verdict-title {
    color: var(--gold-primary);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.pro-verdict.safe .verified-badge {
    color: var(--gold-primary);
    fill: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

/* --- Donate Section --- */
.industrial-donate-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 100px 80px;
    border-radius: 60px;
    text-align: center;
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.industrial-donate-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 60px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent, rgba(212, 175, 55, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.donate-header {
    margin-bottom: 50px;
}

.pix-visual {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    background: rgba(212, 175, 55, 0.03);
    border: 1px dashed var(--gold-primary);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    opacity: 0.6;
}

.btn-whatsapp-pro {
    display: inline-block;
    padding: 22px 50px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: 0.15em;
    transition: var(--transition-pro);
}

.btn-whatsapp-pro:hover {
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.3);
}

/* --- Pro Verdict Color States --- */
.pro-verdict {
    margin-top: 30px;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03), transparent);
    animation: verdictReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.pro-verdict::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

@keyframes verdictReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.verdict-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.verdict-message {
    font-size: 0.9rem;
    opacity: 0.6;
}

.tip-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* --- Footer --- */
footer {
    padding: 100px 10% 60px;
    border-top: 1px solid var(--glass-border);
    width: 100%;
}

.footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0.3;
}

.copyright {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-credit {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
}

/* --- Reveal System --- */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s var(--premium-easing);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none !important;
}

/* --- Unified Responsive Architecture --- */
@media (max-width: 1024px) {
    .taskbar {
        width: 92%;
        max-width: 95vw;
        top: 20px;
        padding: 10px 20px;
        border-radius: 100px;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.6s var(--premium-easing);
        z-index: 3000;
        display: flex;
    }

    .nav-links.mobile-active {
        transform: translateX(0);
    }

    .nav-links li a {
        font-size: 1.2rem;
        color: #fff;
    }

    .mobile-toggle {
        display: flex;
        order: 3;
        z-index: 2001;
    }

    .taskbar-logo {
        opacity: 1;
        transform: none;
        order: 1;
        font-size: 1rem;
    }

    .lang-selector {
        order: 2;
        margin-left: auto;
        margin-right: 20px;
    }

    .main-title-wrap {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.2em;
        padding: 0 10px;
        width: 100%;
        max-width: 100vw;
    }

    .title-word {
        font-size: clamp(1.8rem, 9vw, 4rem);
        letter-spacing: 0.08em;
        text-align: center;
    }

    .hero-main {
        padding: 0 20px;
    }

    .split-layout {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .about-section .industrial-header {
        text-align: center;
    }

    .about-section .industrial-header::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .split-visual {
        height: 300px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .symbol-img {
        max-width: 180px;
        height: auto;
    }

    .visual-orb {
        width: 200px;
        height: 200px;
    }

    .glass-container {
        padding: 60px 30px;
        border-radius: 40px;
        margin: 0 15px;
    }

    .industrial-header {
        font-size: 2rem;
        letter-spacing: 0.15em;
        margin-bottom: 3rem;
    }

    .principles-grid,
    .security-pro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-bg-title {
        display: none;
    }

    /* Preloader Mobile Fix */
    .preloader-title {
        font-size: 2rem;
        letter-spacing: 0.8em;
        transform: translateX(0.4em);
    }

    .preloader-bar {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }

    .industrial-donate-card {
        padding: 60px 30px;
        border-radius: 40px;
    }

    .pro-form .form-row {
        flex-direction: column;
        gap: 32px;
    }

    .btn-scan,
    .pro-btn {
        width: 100%;
        padding: 18px 30px;
    }

    .donation-toast {
        min-width: 90vw;
    }
}

/* --- Donation Toasts --- */
#notification-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    width: 100%;
}

.donation-toast {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.6s var(--premium-easing);
    min-width: 280px;
    max-width: 95vw;
    box-sizing: border-box;
}

.donation-toast.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-icon-wrap {
    width: 32px;
    height: 32px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-primary);
}

.toast-icon-wrap svg {
    width: 16px;
    height: 16px;
}

.toast-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-user {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.toast-msg {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.toast-msg strong {
    color: var(--gold-primary);
}

@media (max-width: 480px) {
    .title-word {
        font-size: clamp(1.1rem, 8.5vw, 2.2rem);
        letter-spacing: 0.02em;
    }

    .main-title-wrap {
        gap: 0.1em;
        padding: 0 5px;
    }

    .subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.25em;
    }

    .protocol-feedback {
        min-width: 100%;
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .diagnostic-grid {
        grid-template-columns: 1fr;
    }

    .diag-item {
        padding: 20px;
    }

    .glass-container {
        padding: 40px 15px;
    }

    .verdict-title {
        font-size: 1.8rem;
    }

    /* Preloader Ultra-Mobile Fix */
    .preloader-title {
        font-size: 1.5rem;
        letter-spacing: 0.5em;
        transform: translateX(0.25em);
    }

    .preloader-bar {
        width: 140px;
    }
}

@media (max-width: 360px) {
    .title-word {
        font-size: clamp(1rem, 8vw, 1.8rem);
        letter-spacing: 0.01em;
    }

    .main-title-wrap {
        gap: 0.05em;
        padding: 0 2px;
    }
}

.symbol-img {
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.2));
    transition: var(--transition-pro);
}

.symbol-img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* --- Password Strength Tester Refined --- */
.password-input-wrap {
    position: relative;
    max-width: 550px !important;
    margin: 0 auto 40px auto !important;
    height: 64px;
    padding: 0 10px 0 25px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(212, 175, 55, 0.1) !important;
}

#password-input {
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    height: 100%;
}

.password-toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-pro);
    margin-right: 5px;
}

.password-toggle-btn:hover {
    color: var(--gold-primary);
    transform: scale(1.1);
}

.password-tester-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 20px;
    animation: fadeIn 1s var(--premium-easing);
}

.speedometer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.speedometer-container {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.speedometer {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.speedometer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.speedometer-progress {
    fill: none;
    stroke: var(--gold-primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    /* 2 * PI * 54 */
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.8s var(--premium-easing), stroke 0.8s var(--premium-easing);
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.speedometer-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.speedometer-score {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.speedometer-label {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-top: 5px;
}

.strength-verdict {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    transition: all 0.5s var(--premium-easing);
}

.strength-verdict.weak {
    color: #ff4d4d;
    border-color: rgba(255, 77, 77, 0.3);
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.1);
}

.strength-verdict.medium {
    color: #ffd11a;
    border-color: rgba(255, 209, 26, 0.3);
    box-shadow: 0 0 20px rgba(255, 209, 26, 0.1);
}

.strength-verdict.strong {
    color: var(--gold-primary);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.strength-verdict.secure {
    color: #00ffcc;
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
}

/* --- Password Guidance --- */
.password-guidance {
    text-align: left;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.guidance-title {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.password-tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    transition: all 0.3s ease;
}

.tip-item.valid {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
}

.tip-icon {
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.tip-item.valid .tip-icon {
    color: #00ffcc;
    filter: drop-shadow(0 0 5px rgba(0, 255, 204, 0.4));
}

.tip-item:not(.valid) .tip-icon {
    color: #ff4d4d;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .password-tester-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .speedometer-container {
        width: 140px;
        height: 140px;
    }

    .password-guidance {
        padding: 20px;
    }

    /* Force horizontal layout for password input on mobile */
    .password-input-wrap {
        flex-direction: row !important;
        padding-left: 20px !important;
        padding-right: 5px !important;
        gap: 10px !important;
        border-radius: 100px !important;
        height: 60px !important;
    }

    #password-input {
        padding: 0 !important;
        font-size: 0.85rem !important;
    }

    .password-toggle-btn {
        margin-right: 0 !important;
        padding: 8px !important;
    }
}

/* ============================================= */
/* --- Testimonials Section ---                  */
/* ============================================= */

.testimonials-section {
    padding: 120px 0;
}

.testimonials-subtitle {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    margin-bottom: 50px;
    margin-top: -10px;
}

.testimonials-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.testimonials-track.scrolling {
    animation: testimonials-scroll var(--scroll-duration, 30s) linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes testimonials-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(var(--scroll-distance));
    }
}

.testimonial-card {
    flex: 0 0 380px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.6s var(--premium-easing);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.03);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary), rgba(212, 175, 55, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    letter-spacing: 0;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.testimonial-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testimonial-stars {
    font-size: 0.85rem;
    color: var(--gold-primary);
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    text-shadow: 0 0 10px var(--gold-glow);
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}

/* --- Testimonials Responsive --- */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 320px;
        padding: 26px;
    }

    .testimonial-avatar {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .testimonial-name {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-subtitle {
        font-size: 0.8rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .testimonial-card {
        flex: 0 0 280px;
        padding: 22px;
        border-radius: 18px;
    }

    .testimonial-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .testimonial-name {
        font-size: 0.85rem;
    }

    .testimonial-role {
        font-size: 0.65rem;
    }

    .testimonial-stars {
        font-size: 0.75rem;
    }

    .testimonial-text {
        font-size: 0.78rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        flex: 0 0 260px;
        padding: 20px;
    }

    .testimonial-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* --- ChatGPT CTA Button --- */
.chatgpt-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.chatgpt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 36px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.6s var(--premium-easing);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.chatgpt-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.chatgpt-cta-btn:hover {
    border-color: var(--gold-primary);
    color: #fff;
    background: rgba(212, 175, 55, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow);
}

.chatgpt-cta-btn:hover::before {
    transform: translateX(100%);
}

.chatgpt-logo-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
    transition: filter 0.6s ease;
}

.chatgpt-cta-btn:hover .chatgpt-logo-icon {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.7));
}

@media (max-width: 768px) {
    .chatgpt-cta-wrapper {
        margin-top: 32px;
        padding: 0 20px;
    }

    .chatgpt-cta-btn {
        padding: 14px 24px;
        font-size: 0.78rem;
        gap: 10px;
        text-align: left;
    }

    .chatgpt-logo-icon {
        width: 22px;
        height: 22px;
    }
}