:root {
    --bg-black: #05070a;
    --navy-blue: #0a0f1e;
    --electric-blue: #2e5bff;
    --cyber-cyan: #00f5ff;
    --text-white: #ffffff;
    --text-slate: #94a3b8;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background */
.neural-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 10%, rgba(46, 91, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 245, 255, 0.1) 0%, transparent 40%),
        #05070a;
}

.neural-bg canvas {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
    padding: 1.2rem 0;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
}

.logo span { color: var(--cyber-cyan); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-slate);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
    border: 1px solid var(--cyber-cyan);
    color: var(--cyber-cyan) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
}

@media (max-width: 768px) {
    #navbar { padding: 1.5rem 0; }
    #navbar.scrolled { padding: 0.5rem 0; }
    .nav-links { display: none; }
}

/* Hero Section */
#hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(0, 245, 255, 0.1);
    color: var(--cyber-cyan);
    padding: 0.5rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-left: 3px solid var(--cyber-cyan);
    margin-bottom: 2rem;
}

h1 {
    font-size: 6.5rem;
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 2.5rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-slate);
    margin-bottom: 3.5rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 2rem;
}

.btn {
    padding: 1.2rem 2.8rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: 0.4s;
    border-radius: 4px;
}

.btn.primary {
    background: #fff;
    color: #000;
}

.btn.secondary {
    border: 1px solid var(--glass-border);
    color: #fff;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    z-index: 1;
}

/* Hero Master Trace - Dual Circuit Effect */
.image-frame.hero-trace {
    padding: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.image-frame.hero-trace::before,
.image-frame.hero-trace::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(transparent, transparent, transparent, var(--cyber-cyan));
    animation: rotate-trace 8s linear infinite;
}

.image-frame.hero-trace::after {
    animation-delay: -4s; /* Offset to make them look parallel/dual */
    opacity: 0.4;
}

.image-frame.hero-trace:hover::before { animation-duration: 4s; }
.image-frame.hero-trace:hover::after { animation-duration: 4s; }

.hero-image img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(100%) contrast(1.1);
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
    position: relative;
    z-index: 2;
}

.image-frame.hero-trace:hover img {
    filter: grayscale(0%);
}

.image-frame.hero-trace:hover {
    transform: scale(1.02);
}

.hero-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Sections Global */
section {
    padding: 140px 0;
    background: transparent;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    font-weight: 900;
}

.text-center { text-align: center; }

/* Master Titles (Massive & Gradient) */
.master-title {
    font-size: 6.5rem;
    line-height: 1.0;
    font-weight: 900;
    background: linear-gradient(to bottom, #fff 0%, var(--text-slate) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3rem;
}

section:not(#hero) .master-title, footer .master-title {
    text-transform: uppercase;
    font-size: 5.5rem;
}

@media (max-width: 768px) {
    .master-title { font-size: 3.5rem !important; }
    section:not(#hero) .master-title, footer .master-title { font-size: 2.8rem !important; }
    section { padding: 80px 0; }
    .badge { margin-bottom: 1.5rem; }
}

/* About / Soy */
#soy { 
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .about-grid { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
        text-align: center;
    }
}

.about-image .circuit-trace {
    position: relative;
    padding: 1px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.about-image .circuit-trace::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--cyber-cyan));
    animation: rotate-trace 8s linear infinite;
    top: -50%;
    left: -50%;
}

.about-image .circuit-trace::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #05070a;
    border-radius: 11px;
    z-index: 1;
}

@keyframes rotate-trace {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    filter: grayscale(100%) contrast(1.1);
    transition: 0.5s;
    position: relative;
    z-index: 2;
    display: block;
}

.about-image img:hover { 
    filter: grayscale(0%); 
}

.about-image .circuit-trace:hover::before {
    animation-duration: 2s;
}

.highlight {
    font-size: 1.6rem;
    color: var(--cyber-cyan);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.pillar-card {
    background: var(--glass);
    padding: 4rem 3rem;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card:hover {
    border-color: var(--cyber-cyan);
    transform: translateY(-15px);
    background: rgba(46, 91, 255, 0.05);
}

.pillar-icon { font-size: 3rem; margin-bottom: 2.5rem; }
.pillar-card h3 { font-size: 1.8rem; margin-bottom: 1.5rem; }
.pillar-card p { color: var(--text-slate); font-size: 1rem; }

/* Confidentiality */
.confidential-box {
    background: linear-gradient(145deg, #0a0f1e 0%, #05070a 100%);
    padding: 6rem;
    border: 1px solid var(--cyber-cyan);
    box-shadow: 0 0 50px rgba(0, 245, 255, 0.1);
    border-radius: 12px;
}

.confidential-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.lock-icon { font-size: 3rem; color: var(--cyber-cyan); }
.conf-text { font-size: 1.2rem; color: var(--text-slate); margin-bottom: 3rem; }

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.impact-item h4 { color: var(--electric-blue); font-size: 1.2rem; margin-bottom: 1rem; }

/* Ultra-Premium Centric Contact */
footer {
    padding: 160px 0 80px;
    background: transparent;
    border-top: 1px solid var(--glass-border);
}

.footer-title {
    font-size: 5.5rem;
    line-height: 1.0;
    font-weight: 900;
    margin-bottom: 5rem;
    background: linear-gradient(to bottom, #fff 0%, var(--text-slate) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
    max-width: 900px;
    margin-inline: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    border-radius: 12px;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--cyber-cyan);
    background: rgba(0, 245, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.ai-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--cyber-cyan);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    border: 1px solid rgba(0, 245, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    animation: aiPulse 3s infinite;
}

.ai-status {
    display: block;
    font-size: 0.6rem;
    color: var(--text-slate);
    opacity: 0.6;
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@keyframes aiPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

.card-icon {
    font-size: 2rem;
    color: var(--cyber-cyan);
    margin-bottom: 1.5rem;
    display: block;
}

.card-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-slate);
    margin-bottom: 0.5rem;
}

.card-value {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    transition: 0.3s;
}

.contact-card:hover .card-value {
    color: var(--cyber-cyan);
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-slate);
    font-size: 0.85rem;
}

.co-creation, .cookies {
    margin-top: 0.5rem;
    opacity: 0.7;
    font-weight: 400;
}

/* Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-title { font-size: 3.5rem; }
    .contact-cards { grid-template-columns: 1fr; }
    h1 { font-size: 4rem; }
    .hero-grid, .about-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 2rem;
    }
    #hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    .hero-image { order: -1; max-width: 400px; margin: 0 auto; }
    .lead { margin-inline: auto; }
    .hero-btns { justify-content: center; }
    .pillars-grid, .impact-grid { grid-template-columns: 1fr; }
}

/* Pillars Grid V2 (Premium Centric) */
.pillars-premium-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0;
}

.premium-pillar-card {
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 4px;
    transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    align-items: flex-start;
    backdrop-filter: blur(10px);
}

.premium-pillar-card:hover {
    background: rgba(0, 245, 255, 0.03);
    border-color: var(--cyber-cyan);
    transform: translateX(10px);
}

.premium-pillar-icon {
    font-size: 2.5rem;
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3));
}

.premium-pillar-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.premium-pillar-info p {
    font-size: 0.95rem;
    color: var(--text-slate);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .pillars-premium-grid { grid-template-columns: 1fr; }
    .premium-pillar-card:hover { transform: translateY(-5px); }
}

/* Digital Icons Option C */
.digital-icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cyber-cyan);
    flex-shrink: 0;
    position: relative;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.05);
}

.premium-pillar-card.digital:hover .digital-icon-box {
    background: var(--cyber-cyan);
    color: #000;
    box-shadow: 0 0 30px var(--cyber-cyan);
    transform: scale(1.1) rotate(8deg);
}

.premium-pillar-card.digital:hover {
    transform: scale(1.02) translateX(15px);
    border-color: var(--cyber-cyan);
    background: rgba(46, 91, 255, 0.05);
}

/* Vault Design Option B */
.vault-container {
    max-width: 900px;
    margin: 0 auto;
}

.vault-main {
    text-align: center;
    margin-bottom: 5rem;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.vault-icon-scanner {
    font-size: 4rem;
    color: var(--cyber-cyan);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.scan-line {
    position: absolute;
    top: 0;
    left: -20%;
    width: 140%;
    height: 2px;
    background: var(--cyber-cyan);
    box-shadow: 0 0 15px var(--cyber-cyan);
    animation: scan 3s infinite ease-in-out;
    opacity: 0.5;
}

@keyframes scan {
    0%, 100% { top: 0; }
    50% { top: 100%; }
}

.vault-lead {
    font-size: 1.3rem;
    color: var(--text-slate);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.vault-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vault-node {
    background: var(--glass);
    padding: 3rem;
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--cyber-cyan);
    transition: 0.4s;
}

.vault-node:hover {
    background: rgba(0, 245, 255, 0.05);
    transform: translateY(-10px);
    border-color: var(--cyber-cyan);
}

.node-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.node-header i {
    font-size: 1.5rem;
    color: var(--cyber-cyan);
}

.node-header h3 {
    font-size: 1.4rem;
    margin: 0;
}

@media (max-width: 768px) {
    .vault-grid { grid-template-columns: 1fr; }
    .vault-main { padding: 2rem; margin-bottom: 3rem; }
    .vault-lead { font-size: 1.1rem; }
    .vault-node { padding: 2rem; }
}

/* Mobile Dock Navigation */
.mobile-dock {
    display: none;
}

@media (max-width: 768px) {
    .mobile-dock {
        display: flex;
        position: fixed;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background: rgba(10, 15, 30, 0.85);
        backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 100px;
        padding: 12px 20px;
        justify-content: space-around;
        align-items: center;
        z-index: 2000;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    }

    .dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: var(--text-slate);
        gap: 4px;
        transition: 0.3s;
    }

    .dock-item i {
        font-size: 1.2rem;
    }

    .dock-item span {
        font-size: 0.65rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    .dock-item:hover, .dock-item.active {
        color: var(--cyber-cyan);
        text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    }
}

/* Mood Console Styles */
.mood-console {
    position: fixed;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 0;
    z-index: 3000;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.mood-console button {
    background: transparent;
    border: none;
    color: var(--text-slate);
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mood-console button:hover {
    color: #fff;
}

body.bg-mode-3 .mood-console button:nth-child(1),
body.bg-mode-2 .mood-console button:nth-child(2),
body.bg-mode-4 .mood-console button:nth-child(3) {
    background: var(--cyber-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

@media (max-width: 768px) {
    .mood-console {
        bottom: 110px; /* Above the mobile dock */
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }
}
