@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #0D0D0D;
    --bg-secondary: #141414;
    --bg-tertiary: #1A1A1A;
    
    --accent-gold: #C6A75E;
    --accent-gold-hover: #DBC48B;
    
    --text-primary: #F5F5F5;
    --text-secondary: #8A8A8A;
    --text-muted: #6B6B6B;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing & Layout */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-slow: 0.8s var(--ease-out-expo);
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Cursor (Liquid Style) */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198, 167, 94, 0.5);
    transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background-color 0.3s, border-radius 0.3s;
}

.cursor-hover .cursor-outline {
    width: 80px;
    height: 80px;
    background-color: rgba(198, 167, 94, 0.1);
    border-color: var(--accent-gold);
    mix-blend-mode: screen;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-gold);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198, 167, 94, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(198, 167, 94, 0.1);
    border-color: var(--accent-gold);
}

/* Noise Texture Overlay Removed */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(64px, 8vw, 110px);
    letter-spacing: -2px;
    line-height: 1.05;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 2rem;
}

h3 {
    font-size: 24px;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.mono-text {
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Buttons & Links */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(198, 167, 94, 0.2);
}

.btn-glass {
    background: rgba(198, 167, 94, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(198, 167, 94, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-glass .arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s var(--ease-out-expo);
}

.btn-glass:hover {
    background: rgba(198, 167, 94, 0.2);
    border-color: rgba(198, 167, 94, 0.6);
    box-shadow: 0 10px 30px rgba(198, 167, 94, 0.2);
    transform: translateY(-2px);
}

.btn-glass:hover .arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* System Terminal */
#system-terminal {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 300px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    z-index: 900;
    font-family: var(--font-mono);
    font-size: 11px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#system-terminal.visible {
    opacity: 1;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}
.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #27C93F; }

.terminal-title {
    margin-left: auto;
    color: var(--text-muted);
}

.terminal-body {
    padding: 12px;
    height: 140px; /* Increased height */
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.terminal-body .log {
    color: #4ADE80; /* Softer, modern terminal green */
    margin-top: 6px;
    line-height: 1.8; /* Heavily increased to stop descender clipping */
    padding-bottom: 6px; /* Added padding to clear hidden overflow for descenders */
    animation: typeLog 0.3s steps(20, end);
    white-space: nowrap;
    overflow: hidden;
}

@keyframes typeLog {
    from { width: 0; }
    to { width: 100%; }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero_bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.35; /* Restored background image but keeping it subtle */
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

#knowledge-graph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.45; /* Restored canvas visibility */
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    display: block;
    margin-bottom: 24px;
    opacity: 0.8;
}

.hero-title {
    margin-bottom: 32px;
}

.hero-title span {
    display: block;
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(48px, 6vw, 90px);
    line-height: 1.2;
    margin-top: 16px; /* Added breathing room for the & symbol */
}

.hero-description {
    font-size: 22px;
    max-width: 600px;
    margin-bottom: 48px;
    color: var(--text-secondary);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-primary);
    border-radius: 30px;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
    z-index: 20;
}

.badge-1 {
    top: 0px;
    right: -10%; /* Pushed out to not crowd the text */
    animation-delay: 0s;
}

.badge-2 {
    bottom: 60px;
    right: -25%; /* Pushed out to not crowd the text */
    animation-delay: -3s;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.badge-dot.green { background-color: #1DBF73; box-shadow: 0 0 10px #1DBF73; }
.badge-dot.gold { background-color: var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold); }

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

/* Old hero styling removed */

.hero-actions {
    display: flex;
    gap: 24px;
}

/* Credibility Strip */
.credibility {
    padding: 60px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.stat-item p {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* About Section */
.about {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.8), transparent);
}

/* Expertise Section */
.expertise {
    background-color: var(--bg-secondary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.expertise-card {
    background-color: var(--bg-tertiary);
    padding: 40px 32px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 167, 94, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.expertise-card:hover::before {
    opacity: 1;
}

/* Futuristic Glassmorphism Utilities */
.glass-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.expertise-icon {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-style: italic;
}

/* Strategy Pipeline */
.pipeline {
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.pipeline-container {
    margin-top: 64px;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.pipeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(198,167,94,0.5) 50%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
    transform: translateY(-50%);
}

.pipeline-node {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 22%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-dot {
    width: 16px;
    height: 16px;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.node-dot.glow {
    background-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(198, 167, 94, 0.8);
}

.node-content {
    padding: 24px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.node-content:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 167, 94, 0.4);
}

.glow-card {
    border-color: rgba(198, 167, 94, 0.5);
    background: linear-gradient(to bottom right, rgba(198,167,94,0.1), rgba(20,20,20,0.4));
}

.node-step {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

/* SERP Slider */
.serp-slider-section {
    background-color: var(--bg-secondary);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-after {
    background-image: url('images/results_bg.png'); /* Futuristic Data Bg */
    background-color: #0A1410; /* Dark green tint */
    background-blend-mode: overlay;
    filter: contrast(1.2);
}

.slider-before {
    background-color: #1A1414; /* Dark red tint */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill="none"><rect width="100" height="100" fill="%231a1414"/><path d="M0 100 L100 0" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
    width: 50%; /* Initial state */
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid rgba(255,255,255,0.1);
}

.slider-data {
    padding: 40px;
    text-align: center;
    min-width: 300px;
}

.green-glow {
    border-color: rgba(29, 191, 115, 0.3);
    box-shadow: 0 0 30px rgba(29, 191, 115, 0.1);
}

.red-glow {
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.1);
}

.slider-data h4 {
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 8px;
}

.slider-data h2 {
    font-size: 64px;
    margin-bottom: 8px;
    line-height: 1;
}

.slider-data .badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(29, 191, 115, 0.2);
    color: #1DBF73;
    border-radius: 20px;
    font-size: 12px;
    font-family: var(--font-mono);
    margin-top: 16px;
    border: 1px solid rgba(29, 191, 115, 0.4);
}

.slider-data .badge.red {
    background: rgba(255, 71, 87, 0.2);
    color: #FF4757;
    border-color: rgba(255, 71, 87, 0.4);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 4px;
    background-color: var(--text-primary);
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent-gold); /* Highlighted border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(198, 167, 94, 0.4), inset 0 0 10px rgba(198, 167, 94, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    animation: pulseGlow 2s infinite; /* Subtle awareness animation */
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(198, 167, 94, 0.3), inset 0 0 5px rgba(198, 167, 94, 0.2); }
    50% { box-shadow: 0 0 30px rgba(198, 167, 94, 0.8), inset 0 0 15px rgba(198, 167, 94, 0.4); }
    100% { box-shadow: 0 0 10px rgba(198, 167, 94, 0.3), inset 0 0 5px rgba(198, 167, 94, 0.2); }
}

.slider-handle:hover .slider-handle-button {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: rgba(198, 167, 94, 0.1);
    box-shadow: 0 0 40px rgba(198, 167, 94, 1);
}

/* Case Studies */
.case-studies {
    position: relative;
}

.results-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('images/results_bg.png') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: -1;
    mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0));
}

.case-study-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 64px;
}

.case-study-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    padding: 40px;
    background-color: var(--bg-secondary);
    border-left: 2px solid transparent;
    transition: var(--transition-slow);
}

.case-study-item:hover {
    border-left-color: var(--accent-gold);
    background-color: var(--bg-tertiary);
}

.case-metric {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

/* Timeline */
.timeline {
    background-color: var(--bg-secondary);
}

.timeline-container {
    max-width: 800px;
    margin: 64px auto 0;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    padding-left: 48px;
    margin-bottom: 64px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -4px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(198, 167, 94, 0.5);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    display: block;
}

.timeline-content h3 {
    margin-bottom: 4px;
}

.timeline-company {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

/* SERP Radar Matrix */
.radar-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 64px auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198,167,94,0.05) 0%, transparent 70%);
    overflow: hidden;
    border: 1px solid rgba(198,167,94,0.2);
    box-shadow: 0 0 50px rgba(198,167,94,0.05);
}

.radar-rings {
    position: absolute;
    inset: 0;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(198,167,94,0.1);
    border-radius: 50%;
}

.ring.r1 { width: 100px; height: 100px; }
.ring.r2 { width: 200px; height: 200px; }
.ring.r3 { width: 300px; height: 300px; }

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(198,167,94,0.5) 360deg);
    transform-origin: 0 0;
    animation: radar-spin 4s linear infinite;
    z-index: 2;
}

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

.radar-node {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    z-index: 3;
    transition: color 0.3s, border-color 0.3s, text-shadow 0.3s, box-shadow 0.3s;
}

.radar-node.scanned {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    text-shadow: 0 0 8px var(--accent-gold);
    box-shadow: 0 0 15px rgba(198,167,94,0.5);
}

.n1 { top: 20%; left: 30%; }
.n2 { top: 70%; left: 20%; }
.n3 { top: 40%; left: 60%; }
.n4 { top: 80%; left: 70%; }
.n5 { top: 10%; left: 60%; }
.n6 { top: 50%; left: 15%; }
.n7 { top: 60%; left: 80%; }
.n8 { top: 30%; left: 85%; }

/* FAQ Accordion */
.faq {
    padding: 120px 0;
    background-color: var(--bg-tertiary);
}

.faq-header {
    text-align: center;
    margin-bottom: 64px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 32px 0;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    font-family: var(--font-mono);
    font-size: 24px;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
}

.faq-answer p {
    padding-bottom: 32px;
    margin: 0;
}

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

/* Natural Language Contact Form */
.contact-terminal {
    padding: 160px 0;
    background: var(--bg-primary);
    text-align: center;
}

.contact-marquee {
    font-family: var(--font-heading);
    font-size: clamp(80px, 15vw, 200px);
    line-height: 1;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    margin-bottom: 64px;
    user-select: none;
}

.nl-form {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
}

.nl-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: inherit;
    padding: 0 16px;
    margin: 0 8px;
    text-align: center;
    width: auto;
    min-width: 200px;
    outline: none;
    transition: border-color 0.3s ease;
}

.nl-input:focus {
    border-bottom-color: var(--accent-gold);
}

.nl-input::placeholder {
    color: rgba(198, 167, 94, 0.3);
}

.nl-submit-wrapper {
    margin-top: 64px;
    text-align: center;
}

/* Mega Footer */
.mega-footer {
    background-color: var(--bg-secondary);
    padding: 80px 5% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

.footer-brand h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #1DBF73;
    border-radius: 50%;
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background-color: #1DBF73;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 16px;
}

.footer-col a {
    color: var(--text-secondary);
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-col a:hover::after {
    width: 100%;
}

.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-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.live-time {
    color: var(--accent-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .credibility-grid, .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        gap: 40px;
    }
    .pipeline-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .pipeline-line {
        width: 2px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(198,167,94,0.5) 50%, rgba(255,255,255,0.05) 100%);
    }
    .pipeline-node {
        width: 80%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: rgba(13, 13, 13, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 24px;
    }
    
    .cursor-dot, .cursor-outline {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .slider-wrapper {
        height: 300px;
    }

    .slider-data h2 {
        font-size: 40px;
    }

    #system-terminal {
        display: none;
    }

    .radar-container {
        width: 300px;
        height: 300px;
    }

    .radar-sweep {
        width: 150px;
        height: 150px;
    }
}
