/* ============================================================
   HALTON DATA CENTER — LUXURY TYPOGRAPHY & DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #050508;
    --bg-surface: rgba(12, 12, 18, 0.75);
    --bg-card: rgba(16, 16, 24, 0.6);
    --bg-card-hover: rgba(22, 22, 34, 0.85);
    
    --border: rgba(255, 255, 255, 0.07);
    --border-bright: rgba(0, 212, 255, 0.35);

    /* Primary Accent: Vivid Cyan to Deep Blue */
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.2);
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    
    /* Gold Accent for maxRAID */
    --gold: #ffb700;
    --gold-glow: rgba(255, 183, 0, 0.2);
    --gold-gradient: linear-gradient(135deg, #ffc800 0%, #ff5500 100%);

    /* High-Contrast Typography Palette */
    --t-headline: #ffffff;
    --t-body: #a0a0b5;
    --t-muted: #5e5e73;

    --font-display: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--t-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Subtle Architectural Grid Background Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle Noise Texture */
.grain {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Container & Sections */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section {
    padding: 120px 0;
    position: relative;
    z-index: 5;
}

/* Crisp Section Badges */
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 20px;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 99px;
}

.tag-badge.gold {
    color: var(--gold);
    background: rgba(255, 183, 0, 0.06);
    border-color: rgba(255, 183, 0, 0.2);
}

/* Display Typography */
.display-hero {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--t-headline);
    line-height: 1.05;
    margin-bottom: 24px;
}

.heading-section {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--t-headline);
    line-height: 1.1;
    margin-bottom: 20px;
}

.subtitle-hero {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--t-body);
    font-weight: 300;
    max-width: 680px;
    line-height: 1.7;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.4s var(--ease);
}

nav.scrolled {
    padding: 14px 0;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -0.03em;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.brand span { color: var(--accent); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--t-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}
.nav-menu a:hover { color: #fff; }

/* Action Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-accent {
    background: var(--accent-gradient);
    color: #000;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    color: #000;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border);
    color: #fff;
}
.btn-glass:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 183, 0, 0.4);
    color: #000;
}

/* Hero Section */
.hero-section {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.55;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

/* Live NOC Status Console Card */
.status-card {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66;
    display: inline-block;
    margin-right: 8px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}
.status-row:last-child { border-bottom: none; }
.status-label { color: var(--t-muted); }
.status-val { color: var(--t-headline); font-weight: 600; font-family: monospace; }

/* Metrics Strip */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 60px;
}

.metric-box {
    background: var(--bg-card);
    padding: 40px 24px;
    text-align: center;
}

.metric-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--t-headline);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.78rem;
    color: var(--t-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--t-headline);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--t-body);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* maxRAID Spotlight */
.maxraid-block {
    background: linear-gradient(180deg, rgba(255, 183, 0, 0.03) 0%, rgba(5, 5, 8, 0) 100%);
    border: 1px solid rgba(255, 183, 0, 0.15);
    border-radius: 24px;
    padding: 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}

.maxraid-card {
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(255, 183, 0, 0.2);
    border-radius: 20px;
    padding: 32px;
}

.bar-row {
    margin-bottom: 18px;
}
.bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.bar-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    border-radius: 5px;
}

/* Ecosystem Banner */
.ecosystem-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 48px;
}

/* Facility Specs Matrix */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.spec-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}
.spec-box h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--t-headline);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.spec-box p {
    font-size: 0.92rem;
    color: var(--t-body);
    font-weight: 300;
}

/* Contact Wrapper */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
}

.input-box {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--t-headline);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 16px;
}
.input-box:focus {
    border-color: var(--accent);
}

textarea.input-box {
    min-height: 140px;
    resize: vertical;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
    background: #030305;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--t-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .metrics-strip { grid-template-columns: repeat(2, 1fr); }
    .maxraid-block { grid-template-columns: 1fr; padding: 36px; }
    .ecosystem-card { flex-direction: column; text-align: center; }
    .specs-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* Hamburger Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-cta { display: none; }
    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(5, 5, 8, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease);
        z-index: 150;
    }
    .nav-menu.open { opacity: 1; visibility: visible; }
    .nav-menu a { font-size: 1.3rem; }
    .display-hero { font-size: 2.4rem !important; }
    .heading-section { font-size: 1.8rem !important; }
    .section { padding: 80px 0; }
}
