@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Public+Sans:wght@400;500;600&family=Space+Mono:wght@400;700&display=swap");

:root {
    /* Colors - Deep Industrial Palette */
    --bg: #0A0C0E;
    --surface: #15181C;
    --surface-light: #1E2227;
    --accent: #C7A14F; /* Petro-Gold */
    --accent-dark: #9A7B38;
    --error: #E3524E;
    --text-main: #F2F4F7;
    --text-muted: #8C95A1;
    --line: rgba(255, 255, 255, 0.08);
    --line-bold: rgba(255, 255, 255, 0.15);
    
    /* Spacing */
    --pad-sm: 12px;
    --pad-md: 24px;
    --pad-lg: 48px;
    --container-max: 1280px;

    /* Effects */
    --blur-glass: blur(12px) saturate(160%);
    --shadow-deep: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
}

/* Global Reset & Base */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: "Public Sans", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Anchors */
h1, h2, h3, .brand-wrap {
    font-family: "Outfit", sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.mono {
    font-family: "Space Mono", monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Utilities */
.utility-bar {
    min-height: 48px;
    padding: 0 var(--pad-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 12, 14, 0.6);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#utility-left {
    font-family: "Space Mono", monospace;
    font-size: 0.7rem;
    color: var(--accent);
}

.utility-links { display: flex; gap: 24px; }

.utility-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-family: "Space Mono", monospace;
    transition: color 0.2s ease;
}

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

/* Main Header */
.main-header {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    z-index: 99;
    height: 80px;
    padding: 0 var(--pad-md);
    background: rgba(21, 24, 28, 0.4);
    backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-logo { 
    width: 36px; 
    height: 36px; 
    filter: drop-shadow(0 0 8px rgba(199, 161, 79, 0.3));
}

.main-nav { 
    display: flex; 
    gap: 32px; 
    align-items: center;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 0;
}

.main-nav a:hover { color: var(--text-main); }
.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

.language-switcher {
    list-style: none;
    display: flex;
    gap: 8px;
}

.language-switcher button {
    width: 40px;
    height: 40px;
    border-radius: 4px; /* Industrial sharp edges */
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-muted);
    font-family: "Space Mono", monospace;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-switcher button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.language-switcher button.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(199, 161, 79, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 128px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: relative;
    background: 
        radial-gradient(circle at 70% 30%, rgba(199, 161, 79, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(227, 82, 78, 0.03) 0%, transparent 40%);
}

/* Structural Background Grid */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, white, transparent);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: var(--pad-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#hero-eyebrow {
    font-family: "Space Mono", monospace;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#hero-eyebrow::before {
    content: "[";
    color: var(--text-muted);
}
#hero-eyebrow::after {
    content: "]";
    color: var(--text-muted);
}

#hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 0.95;
    font-weight: 800;
    margin-bottom: 32px;
    background: linear-gradient(180deg, #fff 0%, #a0a6ae 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    border-left: 1px solid var(--line-bold);
    padding-left: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 18px 42px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.cta-button:hover {
    transform: translateX(8px);
}

.proof-points {
    margin-top: 64px;
    display: flex;
    gap: 32px;
    list-style: none;
}

.proof-points li {
    font-family: "Space Mono", monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proof-points li::before {
    content: "●";
    color: var(--accent);
}

.hero-mark-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-mark {
    width: 70%;
    filter: drop-shadow(0 0 100px rgba(199, 161, 79, 0.15));
    opacity: 0.9;
}

/* Sections */
.content-section,
.text-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--pad-lg) var(--pad-md);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.section-title::before {
    content: "";
    width: 60px;
    height: 1px;
    background: var(--accent);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards-grid article {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
}

.cards-grid article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.cards-grid article:hover {
    background: var(--surface-light);
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-deep);
}

.cards-grid article:hover::before {
    height: 100%;
}

.cards-grid h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.cards-grid p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

footer {
    padding: var(--pad-lg) var(--pad-md);
    border-top: 1px solid var(--line);
    text-align: center;
}

#footer-note {
    font-family: "Space Mono", monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-content { padding: var(--pad-md); }
    .hero-mark-wrap { display: none; }
    .cards-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; }
}

/* Animations */
@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.1;
    animation: scan 8s linear infinite;
    z-index: 11;
    pointer-events: none;
}

