/* --- DESIGN SYSTEM & CSS SYSTEM --- */
:root {
    /* Google Brand Colors */
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC05;
    --google-green: #34A853;
    
    /* Neon glow filters using Google colors */
    --glow-cyan-filter: drop-shadow(0 0 10px rgba(66, 133, 244, 0.5));
    --glow-purple-filter: drop-shadow(0 0 10px rgba(186, 104, 200, 0.5));
    --glow-pink-filter: drop-shadow(0 0 10px rgba(234, 67, 53, 0.5));
    
    --grad-text-gold: linear-gradient(135deg, #f7d070 0%, #c59b27 100%);
    /* Google Brand Gradient */
    --grad-neon: linear-gradient(135deg, var(--google-blue) 0%, var(--google-red) 33%, var(--google-yellow) 66%, var(--google-green) 100%);

    --font-head: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-hq: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Default Dark Theme variables */
body {
    --color-void: #020205;
    --color-bg-panel: rgba(10, 8, 20, 0.5);
    --color-bg-panel-hover: rgba(18, 14, 36, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.05);
    --color-text-primary: #f5f4f9;
    --color-text-secondary: #9f9cb0;
    --color-text-muted: rgba(255, 255, 255, 0.3);
    --color-text-light: #fff;
    --grad-text-cyber: linear-gradient(135deg, #ffffff 10%, #dcd7f5 55%, #8d81c4 100%);
    --color-accent-nav: rgba(255, 255, 255, 0.4);
    --color-card-shadow: rgba(0, 0, 0, 0.4);
    --color-radar-bg: rgba(66, 133, 244, 0.2);
    --color-cert-bg: radial-gradient(circle at 50% 0%, #0c0a1f 0%, #030308 100%);
    --color-input-bg: rgba(0, 0, 0, 0.25);
    --color-cert-border: rgba(66, 133, 244, 0.25);
    
    /* Mapped theme colors */
    --theme-primary: var(--google-blue);
    --theme-secondary: var(--google-red);
    --theme-tertiary: var(--google-green);
    --theme-warning: var(--google-yellow);

    /* Mapped neon variables for backwards compatibility with stylesheet */
    --neon-cyan: var(--google-blue);
    --neon-purple: #a67cff;
    --neon-pink: var(--google-red);
    --neon-yellow: var(--google-yellow);
}

/* Light Theme overrides */
body.light-theme {
    --color-void: #f5f5fa;
    --color-bg-panel: rgba(255, 255, 255, 0.75);
    --color-bg-panel-hover: rgba(255, 255, 255, 0.9);
    --color-glass-border: rgba(0, 0, 0, 0.08);
    --color-text-primary: #1e1b2f;
    --color-text-secondary: #5a5475;
    --color-text-muted: rgba(30, 27, 47, 0.5);
    --color-text-light: #0d0b1a;
    --grad-text-cyber: linear-gradient(135deg, var(--google-blue) 0%, #4285F4 60%, #34A853 100%);
    --color-accent-nav: rgba(30, 27, 47, 0.3);
    --color-card-shadow: rgba(30, 27, 47, 0.08);
    --color-radar-bg: rgba(66, 133, 244, 0.15);
    --color-cert-bg: radial-gradient(circle at 50% 0%, #ffffff 0%, #ebe8f7 100%);
    --color-input-bg: rgba(255, 255, 255, 0.6);
    --color-cert-border: rgba(66, 133, 244, 0.45);

    /* Mapped neon variables for light theme */
    --neon-cyan: #1a73e8; /* Darker blue for light theme */
    --neon-purple: #7b1fa2;
    --neon-pink: #d93025; /* Darker red */
    --neon-yellow: #e37400; /* Darker yellow/orange */
}

/* --- SYSTEM RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* Hide standard cursor to show custom pointer */
    cursor: none !important;
}

body {
    background-color: var(--color-void);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- THEME TOGGLE BUTTON --- */
.btn-theme-toggle {
    background: transparent;
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-hq);
    margin-right: 15px;
}

.btn-theme-toggle:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(182, 36, 255, 0.2);
    transform: rotate(12deg) scale(1.05);
}

.btn-theme-toggle i {
    width: 18px;
    height: 18px;
}

/* --- CUSTOM NEON MOUSE POINTER --- */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--neon-cyan);
    transition: width 0.1s, height 0.1s;
}

.cursor-ring {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(182, 36, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(182, 36, 255, 0.15);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

/* Expand ring when hovering clickable elements */
.pointer-hover .cursor-ring {
    width: 50px;
    height: 50px;
    border-color: var(--neon-pink);
    background-color: rgba(255, 0, 127, 0.05);
}

.pointer-hover .cursor-dot {
    background-color: var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-pink);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-void);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border: 2px solid var(--color-void);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* --- AMBIENT NEON BLURS (GOOGLE GEMINI STYLE) --- */
.bg-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.22;
    mix-blend-mode: screen;
    transition: opacity 0.8s, mix-blend-mode 0.8s;
}

body.light-theme .bg-blur {
    opacity: 0.14;
    mix-blend-mode: multiply;
}

.blur-blue {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--google-blue) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: gemini-blue 28s infinite ease-in-out alternate;
}

.blur-red {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--google-red) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    animation: gemini-red 32s infinite ease-in-out alternate;
}

.blur-yellow {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--google-yellow) 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation: gemini-yellow 24s infinite ease-in-out alternate;
}

.blur-green {
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, var(--google-green) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    animation: gemini-green 30s infinite ease-in-out alternate;
}

@keyframes gemini-blue {
    0% { transform: translate(0, 0) scale(1); border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
    33% { transform: translate(120px, 80px) scale(1.15); border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    66% { transform: translate(-80px, 120px) scale(0.9); border-radius: 50% 50% 40% 60% / 40% 50% 60% 40%; }
    100% { transform: translate(30px, -60px) scale(1.05); border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
}

@keyframes gemini-red {
    0% { transform: translate(0, 0) scale(1); border-radius: 50% 50% 50% 50%; }
    33% { transform: translate(-130px, 100px) scale(1.2); border-radius: 40% 60% 30% 70% / 50% 40% 60% 50%; }
    66% { transform: translate(60px, -90px) scale(0.85); border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%; }
    100% { transform: translate(0, 0) scale(1); border-radius: 50% 50% 50% 50%; }
}

@keyframes gemini-yellow {
    0% { transform: translate(0, 0) scale(1); border-radius: 60% 40% 50% 50%; }
    33% { transform: translate(-90px, -110px) scale(0.9); border-radius: 50% 50% 60% 40% / 60% 40% 50% 50%; }
    66% { transform: translate(100px, 60px) scale(1.15); border-radius: 40% 60% 30% 70% / 40% 50% 60% 60%; }
    100% { transform: translate(0, 0) scale(1); border-radius: 60% 40% 50% 50%; }
}

@keyframes gemini-green {
    0% { transform: translate(0, 0) scale(1); border-radius: 40% 60% 40% 60%; }
    33% { transform: translate(110px, -100px) scale(1.15); border-radius: 50% 50% 60% 40% / 40% 60% 50% 50%; }
    66% { transform: translate(-100px, -60px) scale(0.85); border-radius: 60% 40% 50% 50% / 50% 40% 60% 50%; }
    100% { transform: translate(0, 0) scale(1); border-radius: 40% 60% 40% 60%; }
}

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

/* --- GENERAL BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition-hq);
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-neon {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15), inset 0 0 8px rgba(0, 243, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.5s;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-neon:hover {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4), inset 0 0 12px rgba(0, 243, 255, 0.2);
    border-color: var(--color-text-light);
    text-shadow: 0 0 10px #fff;
    transform: translateY(-2px);
}

.btn-secondary-neon {
    background: transparent;
    color: var(--neon-purple);
    border: 1px solid rgba(182, 36, 255, 0.4);
    box-shadow: 0 0 15px rgba(182, 36, 255, 0.05);
}

.btn-secondary-neon:hover {
    color: var(--color-text-light);
    border-color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(182, 36, 255, 0.3), inset 0 0 10px rgba(182, 36, 255, 0.1);
    transform: translateY(-2px);
}

.btn-portal-action {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-glass-border);
    color: var(--color-text-primary);
}

.btn-portal-action:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.25);
}

/* --- GLASS PANEL SYSTEM --- */
.glass-panel {
    background: var(--color-bg-panel);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-hq);
    position: relative;
    overflow: hidden;
}

.interactive-panel:hover {
    background: var(--color-bg-panel-hover);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
}

/* --- NAVIGATION HEADER --- */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
}

.glass-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(2, 2, 5, 0.65);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 5px;
}

.brand-glow {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -1.5px;
    background: var(--grad-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sparkle-dot {
    width: 6px;
    height: 6px;
    background-color: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-menu a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-text-light);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-neon);
    transition: var(--transition-fast);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-light);
}

/* --- HERO SECTION --- */
.hero-viewport {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 20px 80px 20px;
    position: relative;
}

.hero-wrapper {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    z-index: 10;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coinage-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #8cefff;
    margin-bottom: 24px;
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.05);
}

.coinage-badge i {
    width: 14px;
    height: 14px;
    color: var(--neon-cyan);
}

.main-title {
    font-size: 7.5rem;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -5px;
    background: var(--grad-text-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.9));
    animation: titleEntrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes titleEntrance {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.pronounce-guide {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pronounce-guide span {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
}

.btn-voice {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-voice:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.music-icon {
    width: 14px;
    height: 14px;
}

.waves-container {
    display: none;
    align-items: center;
    gap: 3px;
    height: 12px;
}

.waves-container span {
    width: 2px;
    height: 100%;
    background-color: var(--neon-cyan);
    border-radius: 2px;
    animation: waveBar 0.8s ease infinite alternate;
}

.waves-container span:nth-child(2) { animation-delay: 0.15s; }
.waves-container span:nth-child(3) { animation-delay: 0.3s; }
.waves-container span:nth-child(4) { animation-delay: 0.05s; }

@keyframes waveBar {
    0% { transform: scaleY(0.25); }
    100% { transform: scaleY(1.3); }
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    max-width: 500px;
    line-height: 1.6;
}

/* --- HERO TABBED CARD --- */
.portal-card {
    height: 380px;
    display: flex;
    flex-direction: column;
}

.card-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(182, 36, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.card-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--color-glass-border);
}

.tab-trigger {
    flex: 1;
    background: none;
    border: none;
    padding: 20px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.tab-trigger:hover {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.01);
}

.tab-trigger.active {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.02);
}

.tab-trigger::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-neon);
    transform: scaleX(0);
    transition: var(--transition-hq);
}

.tab-trigger.active::after {
    transform: scaleX(1);
}

.card-body {
    padding: 45px;
    flex: 1;
    position: relative;
}

.panel-tab {
    display: none;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.panel-tab.active {
    display: flex;
}

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

.definition-quote {
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1.5;
    color: var(--color-text-light);
}

.definition-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
}

.meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-purple);
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.meta-desc {
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

.meta-desc strong {
    color: var(--color-text-light);
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: var(--transition-fast);
}

.scroll-down a:hover {
    color: var(--color-text-light);
}

.arrow-bounce {
    animation: verticalBounce 2s infinite;
}

@keyframes verticalBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --- SECTION STRUCTURE --- */
section {
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.section-wrapper {
    width: 100%;
    max-width: 1200px;
}

.section-title-box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 70px auto;
}

.title-main {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: var(--grad-text-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.title-sub {
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    font-weight: 400;
}

/* --- THE PILLARS SECTION --- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.pillar-card {
    padding: 50px 40px;
    position: relative;
    border-radius: 28px;
}

.panel-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px 4px 0 0;
}

.border-1 { background-color: var(--neon-cyan); }
.border-2 { background-color: var(--neon-purple); }
.border-3 { background-color: var(--neon-pink); }

.panel-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-hq);
}

.pillar-card[data-pillar="1"] .panel-icon-box { background: rgba(0, 243, 255, 0.05); border: 1px solid rgba(0, 243, 255, 0.15); color: var(--neon-cyan); }
.pillar-card[data-pillar="2"] .panel-icon-box { background: rgba(182, 36, 255, 0.05); border: 1px solid rgba(182, 36, 255, 0.15); color: var(--neon-purple); }
.pillar-card[data-pillar="3"] .panel-icon-box { background: rgba(255, 0, 127, 0.05); border: 1px solid rgba(255, 0, 127, 0.15); color: var(--neon-pink); }

.pillar-card:hover .panel-icon-box {
    transform: rotate(5deg) scale(1.08);
}

.pillar-card[data-pillar="1"]:hover .panel-icon-box { box-shadow: 0 0 20px var(--neon-cyan); border-color: var(--neon-cyan); background: rgba(0, 243, 255, 0.15); }
.pillar-card[data-pillar="2"]:hover .panel-icon-box { box-shadow: 0 0 20px var(--neon-purple); border-color: var(--neon-purple); background: rgba(182, 36, 255, 0.15); }
.pillar-card[data-pillar="3"]:hover .panel-icon-box { box-shadow: 0 0 20px var(--neon-pink); border-color: var(--neon-pink); background: rgba(255, 0, 127, 0.15); }

.pillar-card h3 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.pillar-card p {
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* --- ALIGNMENT ARENA --- */
.alignment-arena {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 60px;
    align-items: center;
    gap: 60px;
}

.arena-left h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.arena-left p {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.arena-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.alignment-diagram {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    mix-blend-mode: screen;
    transition: var(--transition-hq);
}

.diagram-ring .ring-label {
    position: absolute;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.ring-wisdom {
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2) 0%, transparent 75%);
    transform: translate(-45px, -30px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.05);
}
.ring-wisdom .ring-label { top: 20px; color: var(--neon-cyan); }

.ring-awareness {
    background: radial-gradient(circle, rgba(182, 36, 255, 0.2) 0%, transparent 75%);
    transform: translate(45px, -30px);
    box-shadow: 0 0 30px rgba(182, 36, 255, 0.05);
}
.ring-awareness .ring-label { top: 20px; color: var(--neon-purple); }

.ring-understanding {
    background: radial-gradient(circle, rgba(255, 0, 127, 0.2) 0%, transparent 75%);
    transform: translate(0, 45px);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.05);
}
.ring-understanding .ring-label { bottom: 20px; color: var(--neon-pink); }

.diagram-core {
    position: absolute;
    width: 85px;
    height: 85px;
    background: var(--color-void);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transition: var(--transition-hq);
}

.core-text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: -0.5px;
    color: var(--color-text-secondary);
    transition: var(--transition-hq);
}

/* Align active states triggers by JS */
.diagram-aligned .ring-wisdom {
    transform: translate(-10px, -5px);
}
.diagram-aligned .ring-awareness {
    transform: translate(10px, -5px);
}
.diagram-aligned .ring-understanding {
    transform: translate(0, 10px);
}
.diagram-aligned .diagram-core {
    border-color: var(--color-text-light);
    box-shadow: 0 0 35px var(--neon-purple), inset 0 0 15px rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.diagram-aligned .core-text {
    color: var(--color-text-light);
    text-shadow: 0 0 8px #fff;
}


/* --- PORTAL CONSCIOUSNESS QUIZ --- */
.quiz-console {
    max-width: 750px;
    margin: 0 auto;
    min-height: 520px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    border-radius: 28px;
}

.console-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.console-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    z-index: 10;
}

.console-state.active {
    display: flex;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Radar Scan Visual */
.console-radar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(0, 243, 255, 0.2);
    position: relative;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.radar-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, var(--neon-cyan) 0%, transparent 60%);
    border-radius: 50%;
    animation: rotateConic 4s linear infinite;
    opacity: 0.4;
}

.radar-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 1px dashed rgba(0, 243, 255, 0.1);
}

.radar-center-icon {
    width: 30px;
    height: 30px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px var(--neon-cyan));
    z-index: 2;
    animation: pulseIcon 2.5s infinite ease-in-out;
}

@keyframes rotateConic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); opacity: 0.8; }
}

#panel-start h3 {
    font-size: 2.3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

#panel-start p {
    color: var(--color-text-secondary);
    max-width: 480px;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* Question Console */
.console-header-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 15px;
}

.console-progress {
    width: 60%;
    height: 3px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--grad-neon);
    box-shadow: 0 0 10px var(--neon-purple);
    transition: width 0.4s ease;
}

.console-step-indicator {
    font-family: var(--font-head);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--neon-cyan);
}

.console-prompt {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 40px;
    text-align: left;
    width: 100%;
}

.console-answers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

.answer-card {
    text-align: left;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--color-glass-border);
    border-radius: 16px;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.answer-card:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(182, 36, 255, 0.4);
    color: var(--color-text-light);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(182, 36, 255, 0.05);
}

.answer-card::after {
    content: '→';
    font-family: var(--font-head);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-fast);
    color: var(--neon-purple);
}

.answer-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}


/* --- CYBER CERTIFICATE --- */
.neon-certificate-card {
    width: 100%;
    max-width: 580px;
    background: var\(--color-cert-bg\);
    border: 2px solid var\(--color-cert-border\);
    border-radius: 24px;
    padding: 45px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(182, 36, 255, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.cert-cyber-border {
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 16px;
    pointer-events: none;
}

.cert-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(182, 36, 255, 0.01) 1px, transparent 1px);
    background-size: 100% 8px;
    pointer-events: none;
}

.cert-brand {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--neon-cyan);
    margin-bottom: 25px;
    opacity: 0.8;
}

.cert-declares {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.cert-user-name {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 12px 0 20px 0;
    background: var(--grad-text-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: inline-block;
    padding-bottom: 8px;
    min-width: 220px;
}

.cert-evaluation-statement {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.cert-large-score {
    font-family: var(--font-head);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1;
    margin: 20px 0;
    background: var(--grad-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(182, 36, 255, 0.35));
}

.cert-summary-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
}

.cert-metadata {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    font-size: 0.72rem;
}

.meta-signature, .meta-date {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.meta-date {
    text-align: right;
}

.meta-title {
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.meta-sign-val {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.console-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.name-entry-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
}

.name-entry-field label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.name-entry-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-glass-border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
    outline: none;
    transition: var(--transition-fast);
}

.name-entry-field input:focus {
    border-color: rgba(182, 36, 255, 0.5);
    box-shadow: 0 0 15px rgba(182, 36, 255, 0.15);
}


/* --- COGNITIVE SANDBOX --- */
.sandbox-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    padding: 55px;
    gap: 60px;
}

.sandbox-input {
    display: flex;
    flex-direction: column;
}

.sandbox-input label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
}

.sandbox-input textarea {
    width: 100%;
    height: 200px;
    background: var\(--color-input-bg\);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    padding: 24px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1.15rem;
    resize: none;
    outline: none;
    transition: var(--transition-hq);
}

.sandbox-input textarea:focus {
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.05);
    background: rgba(0, 0, 0, 0.35);
}

.sandbox-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.preset-pill {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-glass-border);
    padding: 8px 16px;
    border-radius: 10px;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.preset-pill:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: rgba(0, 243, 255, 0.3);
    color: var(--color-text-light);
}

.sandbox-metrics {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.05);
    padding-left: 60px;
}

.gauge-box {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 30px;
}

.gauge-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg-circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.02);
    stroke-width: 5;
}

.gauge-fill-circle {
    fill: none;
    stroke: url(#gauge-gradient);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 10px rgba(182, 36, 255, 0.4));
}

.gauge-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-val {
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.gauge-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    margin-top: 5px;
}

.sandbox-analysis-result h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.sandbox-analysis-result p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    max-width: 260px;
    line-height: 1.6;
}

/* --- THE CREATOR / ORIGIN SECTION --- */
.creator-section-viewport {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 8, 20, 0.4) 100%);
}

.creator-card-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    padding: 70px;
    gap: 60px;
    align-items: center;
}

.creator-visual {
    position: relative;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.neon-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(182, 36, 255, 0.15) 0%, transparent 70%);
    filter: blur(15px);
}

.geometric-rings {
    position: relative;
    width: 220px;
    height: 220px;
}

.g-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ring-red {
    width: 100%;
    height: 100%;
    border-color: rgba(255, 0, 127, 0.15);
    animation: rotateLoop 20s linear infinite;
}

.ring-blue {
    width: 82%;
    height: 82%;
    top: 9%;
    left: 9%;
    border-color: rgba(0, 243, 255, 0.15);
    animation: rotateLoop 15s linear infinite reverse;
}

.ring-green {
    width: 64%;
    height: 64%;
    top: 18%;
    left: 18%;
    border-color: rgba(182, 36, 255, 0.15);
    animation: rotateLoop 10s linear infinite;
}

@keyframes rotateLoop {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.creator-logo-initial {
    font-family: var(--font-head);
    font-size: 5rem;
    font-weight: 800;
    position: absolute;
    background: var(--grad-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(182,36,255,0.4));
}

.creator-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--neon-cyan);
    margin-bottom: 8px;
    display: block;
}

.creator-title-name {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.creation-timestamp {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.creation-timestamp i {
    width: 16px;
    height: 16px;
    color: var(--neon-pink);
}

.creator-description-quote {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 35px;
}

.creator-footer-sig {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sig-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
}

.signature-style {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(135deg, #fff, #bfb9e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1.5px;
}

/* --- FOOTER --- */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 70px 20px 45px 20px;
    background: #010103;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-logo {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.logo-txt {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -1.5px;
    background: var(--grad-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 12px;
}

.logo-sub {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 35px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.3);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-text-light);
    transform: translateY(-2px);
}

/* --- RESPONSIVE SYSTEMS --- */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .tagline {
        max-width: 600px;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .alignment-arena {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 50px;
    }
    
    .sandbox-container {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 50px;
    }
    
    .sandbox-metrics {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-left: 0;
        padding-top: 40px;
    }
    
    .creator-card-container {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 50px;
        text-align: center;
    }
    
    .creator-footer-sig {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    * {
        /* Enable default touch cursor on smaller screens for mobile ergonomics */
        cursor: auto !important;
    }
    
    #custom-cursor {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(2, 2, 5, 0.95);
        border: 1px solid var(--color-glass-border);
        border-radius: 15px;
        padding: 24px;
        gap: 18px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .main-title {
        font-size: 4.5rem;
        letter-spacing: -2px;
    }
    
    .pronounce-guide span {
        font-size: 1.2rem;
    }
    
    .definition-quote {
        font-size: 1.3rem;
    }
    
    .card-body {
        padding: 30px;
    }
    
    .title-main {
        font-size: 2.3rem;
    }
    
    .quiz-console {
        padding: 30px;
    }
    
    .console-prompt {
        font-size: 1.5rem;
    }
    
    .neon-certificate-card {
        padding: 30px;
    }
    
    .cert-user-name {
        font-size: 1.9rem;
    }
    
    .cert-large-score {
        font-size: 3.5rem;
    }
    
    .footer-meta {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
