:root {
    --bg-color: #050507;
    --text-color: #f5f5f7;
    --text-muted: #86868b;
    --accent: #2997ff;
    --accent-glow: rgba(41, 151, 255, 0.4);
    --card-bg: #121214;
    --border-color: #2d2d30;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --container-width: 1200px;
    --section-spacing: 80px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: var(--section-spacing) 0;
}

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

.large-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.3;
    font-weight: 500;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

body.loaded .loader {
    opacity: 0;
}

.loader-track {
    width: 200px;
    height: 2px;
    background: #333;
    position: relative;
    overflow: hidden;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--text-color);
    transition: width 0.1s ease;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    mix-blend-mode: difference;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    color: #e0e0e0;
}

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

.btn-nav {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: white;
    color: black;
    border-color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.reveal-text {
    display: inline-block;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.6;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    animation: scrollDrop 2s infinite;
}

@keyframes scrollDrop {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Services Grid */
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.icon-box {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-family: monospace;
    border: 1px solid var(--border-color);
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Primary Selling Point (Unification) */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.content-side {
    flex: 1;
}

.content-side h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.content-side p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.visual-side {
    flex: 1;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Abstract Graphic for Unification */
.unification-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    filter: blur(20px);
}

.c1 {
    width: 200px;
    height: 200px;
    background: rgba(41, 151, 255, 0.4);
    top: 0;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.c2 {
    width: 180px;
    height: 180px;
    background: rgba(140, 82, 255, 0.4);
    bottom: 20px;
    right: 20px;
    animation: float 7s ease-in-out infinite reverse;
}

.c3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Features List */
.feature-row {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: baseline;
}

.feature-row:last-child {
    border-bottom: 1px solid var(--border-color);
}

.feature-row h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

.feature-row p {
    color: var(--text-muted);
}

/* About / Philosophy */
.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 800px;
}

/* Legal */
.legal-box {
    background: #101010; /* Very dark grey, almost black */
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.pulse {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 165, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 165, 0, 0); }
}

.legal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.detail-item .value {
    font-family: monospace;
    font-size: 1rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* Contact */
.final-cta {
    background: linear-gradient(180deg, var(--bg-color) 0%, #111 100%);
}

.contact-card {
    margin-top: 3rem;
    margin-bottom: 5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--border-color);
    min-width: 300px;
}

.email-link {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: 0.5rem;
    display: inline-block;
}

.footer-bottom {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none; /* Simple mobile hide for now, could add hamburger */
    }
}
