/* --- CORE & VARIABLES --- */
:root {
    --bg: #020202;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text: #ffffff;
    --text-muted: #888888;
    --border: rgba(255, 255, 255, 0.1);
    --font-soul: 'Cinzel', serif;
    --font-tech: 'Inter', sans-serif;
    --cursor-size: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { background-color: var(--bg); color: var(--text); font-family: var(--font-tech); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.4s; }
ul { list-style: none; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }
.section-padding { padding: 120px 0; position: relative; z-index: 3; }
.bg-darker { background: #050505; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.text-center { text-align: center; }
.mb-60 { margin-bottom: 60px; }

h1, h2, h3, h4 { font-family: var(--font-soul); font-weight: 400; }
.section-tag { font-family: var(--font-tech); font-size: 0.8rem; letter-spacing: 4px; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; }
.section-head { font-size: 3.5rem; line-height: 1.1; }

/* --- CURSOR --- */
.cursor-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; background: white; border-radius: 50%; z-index: 9999; pointer-events: none; transform: translate(-50%, -50%); }
.cursor-ring { position: fixed; top: 0; left: 0; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%; z-index: 9998; pointer-events: none; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background 0.3s; mix-blend-mode: difference; }
.cursor-ring.active { width: 80px; height: 80px; background: white; border-color: transparent; opacity: 1; }

/* --- NAV & HERO --- */
#warpCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.6; pointer-events: none; }
.noise-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAKrVq36zwjjgzhhYWGMYAEYB8RmROaABADeOQ8CXl/xfgAAAABJRU5ErkJggg=='); opacity: 0.05; pointer-events: none; z-index: 2; }
.navbar { position: fixed; top: 0; width: 100%; padding: 25px 0; z-index: 1000; background: rgba(2,2,2,0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-family: var(--font-soul); font-size: 2rem; font-weight: 700; letter-spacing: -1px; display: inline-block; }
.brand-logo .logo-img { height: 45px; width: auto; display: block; transition: transform 0.3s ease; }
.brand-logo:hover .logo-img { transform: scale(1.05); }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #ccc; }
.btn-nav { border: 1px solid white; padding: 8px 20px; transition: 0.3s; }
.btn-nav:hover { background: white; color: black; }
.mobile-toggle { display: none; }
.hero { height: 100vh; display: flex; align-items: center; position: relative; z-index: 3; }
.hero-subtitle { color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.hero-title { font-size: 5.5rem; line-height: 1; margin-bottom: 40px; }
.serif-glow { font-style: italic; text-shadow: 0 0 30px rgba(255,255,255,0.3); }
.mask span { display: block; transform: translateY(100%); animation: reveal 1s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
.mask:nth-child(2) span { animation-delay: 0.2s; }
.hero-desc { max-width: 600px; font-size: 1.2rem; color: #bbb; margin-bottom: 50px; }
.btn-primary { background: white; color: black; padding: 18px 40px; font-weight: 600; text-transform: uppercase; display: inline-block; transition: 0.3s; }
.btn-secondary { margin-left: 20px; border-bottom: 1px solid white; padding-bottom: 5px; }
.marquee-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 15px 0; background: black; z-index: 3; overflow: hidden; }
.track { display: flex; gap: 60px; white-space: nowrap; animation: scroll 30s linear infinite; }
.track span { font-family: var(--font-soul); font-size: 1.2rem; text-transform: uppercase; color: #888; }

/* --- NEW: DEFINITION CARD --- */
.definition-card { max-width: 800px; margin: 0 auto; background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 60px; backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); position: relative; transform-style: preserve-3d; }
.def-header { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.word-title { font-size: 4rem; font-family: var(--font-soul); line-height: 1; }
.phonetic { font-family: var(--font-tech); color: var(--text-muted); font-size: 1.2rem; font-style: italic; }
.def-divider { height: 1px; background: var(--border); margin: 30px 0; }
.def-item { display: flex; gap: 20px; margin-bottom: 20px; font-size: 1.1rem; color: #ccc; }
.def-num { font-family: var(--font-soul); color: var(--text-muted); }
.def-item.highlight p { color: white; border-left: 2px solid white; padding-left: 15px; }

/* --- PHILOSOPHY --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.lead { font-size: 1.5rem; font-family: var(--font-soul); margin-bottom: 20px; }
.stats-row { display: flex; gap: 60px; margin-top: 50px; border-top: 1px solid var(--border); padding-top: 30px; }
.stat .num { display: block; font-size: 3rem; font-family: var(--font-soul); line-height: 1; }
.stat .label { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); }
.sphere-wireframe { width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: radial-gradient(circle, transparent 60%, rgba(255,255,255,0.05)); box-shadow: 0 0 50px rgba(255,255,255,0.05); animation: pulse 5s infinite alternate; margin: 0 auto; }

/* --- SERVICES --- */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; perspective: 1000px; }
.pillar-card { background: var(--card-bg); border: 1px solid var(--border); padding: 40px 30px; position: relative; transform-style: preserve-3d; transform: translateZ(0); transition: transform 0.1s; cursor: none; overflow: hidden; }
.pillar-card:hover { border-color: rgba(255,255,255,0.4); }
.card-content { position: relative; z-index: 2; pointer-events: none; transform: translateZ(30px); }
.icon-box { font-size: 2rem; margin-bottom: 25px; color: white; }
.pillar-card h3 { font-family: var(--font-soul); font-size: 1.5rem; margin-bottom: 15px; }
.p-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.p-list { border-top: 1px solid var(--border); padding-top: 15px; }
.p-list li { font-size: 0.85rem; color: #ccc; margin-bottom: 8px; position: relative; padding-left: 15px; }
.p-list li::before { content: '+'; position: absolute; left: 0; color: #666; }
.card-shine { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--x) var(--y), rgba(255,255,255,0.1), transparent 40%); z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.pillar-card:hover .card-shine { opacity: 1; }

/* --- INSIGHTS --- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.insight { padding: 30px; border-left: 1px solid var(--border); transition: 0.3s; }
.insight:hover { border-color: white; background: rgba(255,255,255,0.03); }
.i-num { font-family: var(--font-soul); font-size: 2rem; color: #333; display: block; margin-bottom: 10px; }
.insight h4 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }
.insight p { font-size: 0.9rem; color: var(--text-muted); }

/* --- ARSENAL --- */
.arsenal-grid-advanced { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.arsenal-column { background: rgba(255,255,255,0.02); padding: 30px; border-radius: 4px; border: 1px solid var(--border); }
.stack-title { font-size: 1.1rem; color: #fff; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border); padding-bottom: 15px; display: flex; align-items: center; }
.stack-icon { color: #666; margin-right: 10px; font-size: 1.2rem; }
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.tech-card { background: rgba(0,0,0,0.5); border: 1px solid var(--border); padding: 15px; display: flex; align-items: center; gap: 10px; transition: 0.3s; border-radius: 4px; }
.tech-card i { font-size: 1.2rem; color: #888; transition: 0.3s; }
.tech-card span { font-size: 0.85rem; color: #bbb; font-family: var(--font-tech); transition: 0.3s; }
.tech-card:hover { border-color: white; transform: translateX(5px); background: rgba(255,255,255,0.05); }
.tech-card:hover i, .tech-card:hover span { color: white; }

/* --- REALMS --- */
.realm-list-arrogant { border-left: 1px solid var(--border); padding-left: 0; }
.realm-list-arrogant li { display: flex; gap: 30px; padding: 30px; border-bottom: 1px solid var(--border); transition: 0.3s; }
.realm-list-arrogant li:hover { background: white; }
.realm-list-arrogant li:hover h4, .realm-list-arrogant li:hover p, .realm-list-arrogant li:hover .r-num { color: black; }
.r-num { font-family: var(--font-soul); font-size: 1.5rem; color: #444; transition: 0.3s; }
.r-content h4 { font-family: var(--font-soul); font-size: 1.5rem; margin-bottom: 5px; transition: 0.3s; }
.r-content p { font-size: 0.9rem; color: #888; transition: 0.3s; }

/* --- EXTRAS --- */
.process-steps { display: flex; flex-wrap: wrap; gap: 30px; }
.step-item { flex: 1; min-width: 250px; border-top: 1px solid var(--border); padding-top: 20px; }
.step-num { font-family: var(--font-soul); font-size: 3rem; color: rgba(255,255,255,0.1); margin-bottom: 10px; }
.contact-section { background: #080808; padding: 100px 0; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.big-head { font-size: 4rem; font-family: var(--font-soul); line-height: 1.1; margin-bottom: 20px; }
.contact-links a { display: block; font-size: 1.5rem; margin-bottom: 15px; color: #ccc; transition: 0.3s; }
.contact-links a:hover { color: white; padding-left: 10px; }
#ruhForm .group { margin-bottom: 30px; border-bottom: 1px solid #333; }
#ruhForm input, #ruhForm select { width: 100%; background: transparent; border: none; padding: 15px 0; color: white; font-family: var(--font-soul); font-size: 1.2rem; outline: none; }
#ruhForm select option { background: black; }
.btn-submit { background: white; color: black; border: none; padding: 15px 40px; font-family: var(--font-soul); font-size: 1.2rem; cursor: none; transition: 0.3s; }
.btn-submit:hover { background: #ddd; transform: translateY(-2px); }
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.foot-flex { display: flex; justify-content: space-between; align-items: center; }
.f-logo { font-family: var(--font-soul); font-size: 1.5rem; }
.f-copy { color: var(--text-muted); font-size: 0.8rem; }
.price-card .price { font-size: 2.5rem; font-family: var(--font-soul); margin-bottom: 10px; }
.price-card .price span { font-size: 1rem; color: var(--text-muted); }
.badge { background: white; color: black; display: inline-block; padding: 2px 10px; font-size: 0.7rem; text-transform: uppercase; font-weight: bold; margin-bottom: 10px; }
.btn-price { display: block; text-align: center; margin-top: 20px; border: 1px solid var(--border); padding: 10px; transition: 0.3s; pointer-events: auto; cursor: none; }
.btn-price:hover { background: white; color: black; }
.highlight-border { border: 1px solid rgba(255,255,255,0.5); box-shadow: 0 0 30px rgba(255,255,255,0.05); }

/* --- ANIMATIONS --- */
@keyframes reveal { to { transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeUpAnim 0.8s forwards; }
.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.6s; }
@keyframes fadeUpAnim { to { opacity: 1; transform: translateY(0); } }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { from { transform: scale(0.9); opacity: 0.5; } to { transform: scale(1.1); opacity: 1; } }

@media (max-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .grid-2, .contact-wrapper, .insights-grid, .arsenal-grid-advanced { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    .mobile-toggle { display: flex; flex-direction: column; gap: 6px; }
    .bar { width: 30px; height: 2px; background: white; }
    .cursor-dot, .cursor-ring { display: none; }
    * { cursor: auto; }
}

/* --- DROPDOWN STYLES --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    font-size: 0.85rem;
    color: #ccc;
    border-left: 2px solid transparent;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    color: white;
    background: rgba(255,255,255,0.05);
    border-left-color: white;
    padding-left: 30px; /* Slide effect */
}

/* --- MOBILE MENU FIXES --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #050505;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid rgba(255,255,255,0.1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .dropdown-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        text-align: center;
        padding: 10px 0 20px 0;
        display: none; /* Hidden until toggled or just show always on mobile */
    }
    
    /* Show dropdown links flat on mobile for easier navigation */
    .dropdown:hover .dropdown-menu, .dropdown .dropdown-menu {
        display: block; 
    }

    .dropdown-menu a {
        padding: 5px 0;
        color: #888;
    }
}