/* ==========================================================================
   Ozlo AI - Technical Coordinate Grid Theme (loook.ai & hashgraphvc.com style)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-dark: #020205; /* Deep rich obsidian space */
    --bg-card: rgba(10, 8, 22, 0.5); /* Semi-transparent midnight fuchsia-violet glass */
    --bg-card-hover: rgba(20, 16, 40, 0.8); /* Brighter hover glass */
    --border-color: rgba(212, 255, 0, 0.07); /* Subtle cyber lime border */
    --border-hover: rgba(212, 255, 0, 0.35); /* Glowing cyber lime border */
    
    --text-primary: #ededf0;
    --text-muted: #8c8da3; /* Slate grey with a subtle violet cast */
    --text-highlight: #ffffff;
    
    /* Designer Color Theory Accents */
    --accent-cyan: #d4ff00;       /* Cyber Acid-Lime (Neon high-contrast primary) */
    --accent-purple: #c026d3;     /* Hyper Fuchsia/Orchid (Secondary complement) */
    --accent-blue: #3b82f6;       /* Tech Cobalt (Grids, machine learning logic) */
    --accent-emerald: #00ffcc;    /* Aurora Mint / Teal (Telemetry details) */
    --accent-red: #ff3366;        /* Hot Crimson (Errors, brain lesions, active alarms) */
    --accent-orange: #ff7700;     /* Laser Amber (LiDAR obstacle bounds) */
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'Fira Code', SFMono-Regular, Consolas, monospace;
    
    --gradient-hero: linear-gradient(135deg, #d4ff00 0%, #c026d3 50%, #3b82f6 100%);
    --gradient-neon: linear-gradient(90deg, #d4ff00, #c026d3, #00ffcc, #3b82f6);
    --transition-apple: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 15% 15%, rgba(192, 38, 211, 0.08) 0%, transparent 45%),
                radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.07) 0%, transparent 45%),
                radial-gradient(circle at 50% 50%, rgba(212, 255, 0, 0.015) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
}

/* Section Containers & Headers styling */
section {
    position: relative;
    scroll-margin-top: 100px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-highlight);
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.badge-accent {
    display: inline-block;
    background: rgba(192, 38, 211, 0.06);
    border: 1px solid rgba(192, 38, 211, 0.2);
    color: #f472b6;
    padding: 0.25rem 0.8rem;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    text-shadow: 0 0 10px rgba(192, 38, 211, 0.3);
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

/* Scroll Reveal Elements */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Navigation Header (Apple-style blurred glass) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: var(--transition-apple);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-highlight);
}

.logo span {
    color: var(--accent-cyan);
}

/* Navigation items */
.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.main-nav a, .main-nav a:visited {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition-apple);
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: var(--transition-apple);
}

.main-nav a:hover {
    color: var(--text-highlight);
}

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

/* Specificity overrides for buttons inside navigation header */
.main-nav a.btn {
    padding: 0.8rem 1.8rem;
}

.main-nav a.btn::after {
    display: none;
}

.main-nav a.btn-secondary, .main-nav a.btn-secondary:visited {
    color: #ffffff;
}

.main-nav a.btn-secondary:hover {
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(192, 38, 211, 0.35);
}

.main-nav a.btn-primary, .main-nav a.btn-primary:visited {
    color: #000000;
}

.main-nav a.btn-primary:hover {
    color: #000000;
    box-shadow: 0 10px 25px rgba(212, 255, 0, 0.35);
}

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-highlight);
    border-radius: 2px;
    transition: var(--transition-apple);
}

/* Premium Apple & loook.ai style Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 980px; /* Apple-style pill shape */
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-apple);
    position: relative;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #a3e635 100%);
    color: #000000;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 255, 0, 0.15);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #a3e635 0%, var(--accent-cyan) 100%);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 255, 0, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #db2777 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(192, 38, 211, 0.15);
}
.btn-secondary:hover {
    background: linear-gradient(135deg, #db2777 0%, var(--accent-purple) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 38, 211, 0.35);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.45rem 1.1rem;
    font-size: 0.78rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   1. Coordinate Grid Lines (hashgraphvc.com style)
   ========================================================================== */
.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 1;
}

.grid-line.vertical {
    position: fixed;
    top: 0;
    width: 1px;
    height: 100vh;
}

.grid-line.vertical.line-left { left: 10%; }
.grid-line.vertical.line-right { right: 10%; }

.grid-line.horizontal {
    left: 0;
    height: 1px;
    width: 100%;
}

.grid-line.horizontal.line-top { top: 120px; }

/* Crosshair corner elements on cards */
.card-crosshair {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent-cyan);
    pointer-events: none;
    opacity: 0.4;
    transition: var(--transition-apple);
    z-index: 10;
}

.card-crosshair.tl {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.card-crosshair.tr {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

/* Hero Section with Coordinate Overlay */
.hero-section {
    padding: 12rem 0 6rem 0;
    position: relative;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 3rem 0;
}

.coordinate-marker {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    opacity: 0.5;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.coordinate-marker.top-left { top: 0; left: 0; }
.coordinate-marker.bottom-right { bottom: 0; right: 0; }

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    padding: 0.3rem 0.9rem;
    border-radius: 99px;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
}

.pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    animation: pulsate 2s infinite;
}

@keyframes pulsate {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 8px var(--accent-cyan); }
    100% { transform: scale(0.95); opacity: 0.5; }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.8rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.6;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

/* ==========================================================================
   2. Interactive Curation Hub Viewport (loook.ai style)
   ========================================================================== */
.simulator-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.simulator-window {
    border-radius: 20px;
    overflow: hidden;
    background: #020204;
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.simulator-header {
    background: #08080c;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.window-controls {
    display: flex;
    gap: 8px;
}

.ctrl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.ctrl-dot.close { background-color: #ff5f56; }
.ctrl-dot.minimize { background-color: #ffbd2e; }
.ctrl-dot.maximize { background-color: #27c93f; }

.window-title-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.simulator-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 520px;
}

/* Sidebar Selectors */
.simulator-sidebar {
    background: #040406;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-left: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.modality-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.9rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-apple);
}

.modality-btn:hover {
    color: var(--text-highlight);
    background: rgba(255, 255, 255, 0.02);
}

.modality-btn.active {
    background: rgba(212, 255, 0, 0.06);
    border-color: rgba(212, 255, 0, 0.25);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(212, 255, 0, 0.05);
}

/* Viewport Simulator area */
.simulator-viewport {
    background: #020204;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewport-canvas-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 12px;
    border: 1px dashed rgba(212, 255, 0, 0.15);
    overflow: hidden;
    /* Grid background representing coordinate system */
    background-size: 30px 30px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-color: #020205;
}

.viewport-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Draw a thin center crosshair */
.viewport-crosshair::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(212, 255, 0, 0.08);
}
.viewport-crosshair::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(212, 255, 0, 0.08);
}

.annotation-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* SVG Overlays styling */
.svg-bg-image {
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

/* Bounding box */
.svg-bbox {
    fill: none;
    stroke-width: 2px;
    transition: stroke-dashoffset 1s ease;
}

.svg-bbox.car { stroke: var(--accent-cyan); }
.svg-bbox.pedestrian { stroke: var(--accent-purple); }
.svg-bbox.medical-target { stroke: var(--accent-red); }

/* Bounding box label text */
.svg-label {
    font-family: var(--font-mono);
    font-size: 11px;
    fill: #ffffff;
}

.svg-label-bg {
    fill: #000000;
    opacity: 0.75;
}

/* Semantic segmentation path */
.svg-seg-mask {
    stroke-width: 1px;
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

.svg-seg-mask:hover {
    opacity: 0.65;
}

.svg-seg-mask.road { fill: rgba(59, 130, 246, 0.2); stroke: rgba(59, 130, 246, 0.5); }
.svg-seg-mask.organ { fill: rgba(255, 51, 102, 0.2); stroke: rgba(255, 51, 102, 0.5); }
.svg-seg-mask.building { fill: rgba(0, 255, 204, 0.2); stroke: rgba(0, 255, 204, 0.5); }
.svg-seg-mask.sidewalk { fill: rgba(192, 38, 211, 0.2); stroke: rgba(192, 38, 211, 0.5); }
.svg-seg-mask.vegetation { fill: rgba(212, 255, 0, 0.15); stroke: rgba(212, 255, 0, 0.4); }
.svg-seg-mask.water { fill: rgba(0, 255, 204, 0.25); stroke: rgba(0, 255, 204, 0.6); }

/* 3D LiDAR point cloud projection boxes */
.svg-3d-cuboid {
    fill: rgba(0, 210, 255, 0.04);
    stroke: var(--accent-cyan);
    stroke-width: 1.5px;
    stroke-linejoin: round;
}

.svg-3d-cuboid.alt {
    fill: rgba(134, 22, 252, 0.04);
    stroke: var(--accent-purple);
}

/* 2D Keypoint skeletons */
.svg-keypoint {
    fill: var(--accent-cyan);
    stroke: #ffffff;
    stroke-width: 1px;
    cursor: pointer;
    transition: r 0.2s ease, fill 0.2s ease;
}
.svg-keypoint:hover {
    r: 5.5px;
    fill: #ffffff;
}

.svg-bone {
    stroke: rgba(0, 210, 255, 0.4);
    stroke-width: 1.5px;
    stroke-dasharray: 2, 2;
}

/* Technical Point Cloud Dots */
.svg-pc-dot {
    fill: rgba(255, 255, 255, 0.35);
    transition: fill 0.3s ease;
}
.svg-pc-dot.road-dot { fill: rgba(59, 130, 246, 0.3); }
.svg-pc-dot.object-dot { fill: rgba(0, 210, 255, 0.7); }

/* Document OCR elements */
.svg-ocr-box {
    fill: rgba(0, 210, 255, 0.02);
    stroke: rgba(0, 210, 255, 0.25);
    stroke-width: 1px;
    stroke-dasharray: 3, 3;
    transition: var(--transition-apple);
}
.svg-ocr-box:hover {
    fill: rgba(0, 210, 255, 0.06);
    stroke: var(--accent-cyan);
    stroke-dasharray: 0;
}

/* Scanner sweep line */
.viewport-scanner-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    box-shadow: 0 0 10px var(--accent-cyan);
    opacity: 0.5;
    pointer-events: none;
    z-index: 15;
    animation: scanSweep 4s linear infinite;
}

@keyframes scanSweep {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

/* Label overlay card */
.label-info-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(2, 2, 4, 0.85);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 280px;
    z-index: 20;
    pointer-events: none;
}

.label-info-overlay h4 {
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 0.3rem;
}

.label-info-overlay p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   3. Bento Grid & Services (hashgraphvc.com inspired)
   ========================================================================== */
.services-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.45rem 1.2rem;
    border-radius: 980px;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-apple);
    font-size: 0.82rem;
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #a3e635 100%);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(212, 255, 0, 0.2);
}

.services-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.service-catalog-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: var(--transition-apple);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Bento Span options */
.service-catalog-card.span-2 {
    grid-column: span 2;
}

.service-catalog-card[data-service-cat="vision"]:hover {
    border-color: rgba(212, 255, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212, 255, 0, 0.06);
}
.service-catalog-card[data-service-cat="nlp"]:hover {
    border-color: rgba(192, 38, 211, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(192, 38, 211, 0.06);
}
.service-catalog-card[data-service-cat="llm"]:hover {
    border-color: rgba(0, 255, 204, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 255, 204, 0.06);
}
.service-catalog-card[data-service-cat="agent"]:hover {
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.06);
}

/* Animate the bounding box highlights on hover */
.service-catalog-card:hover .card-crosshair {
    border-color: var(--accent-cyan);
    opacity: 0.9;
}

.card-glow-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}
.card-glow-indicator.purple { background: var(--accent-purple); }
.card-glow-indicator.cyan { background: var(--accent-cyan); }
.card-glow-indicator.emerald { background: var(--accent-emerald); }
.card-glow-indicator.gold { background: var(--accent-gold); }

.service-catalog-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: var(--text-highlight);
    font-weight: 600;
}

.service-catalog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-weight: 300;
}

.tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tags-row span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.card-verified-tag {
    font-size: 0.72rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(5px);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.2rem;
    font-weight: 500;
    width: fit-content;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: var(--transition-apple);
}

.verified-icon {
    color: var(--accent-emerald);
    text-shadow: 0 0 8px var(--accent-emerald);
}

.service-catalog-card:hover .card-verified-tag {
    background: rgba(0, 255, 204, 0.04);
    border-color: rgba(0, 255, 204, 0.15);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.08);
}

/* ==========================================================================
   4. Team & Interactive VSCode Sandbox
   ========================================================================== */
.team-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.8rem 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-apple);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.member-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.dev-avatar { background: var(--gradient-hero); color: #FFFFFF; }
.annotator-avatar { background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-emerald) 100%); color: #FFFFFF; }
.designer-avatar { background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-red) 100%); color: #FFFFFF; }

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.member-role {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--accent-purple);
    text-shadow: 0 0 8px rgba(192, 38, 211, 0.3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.member-bio {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    min-height: 80px;
    font-weight: 300;
    line-height: 1.5;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.member-tags span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    color: var(--text-primary);
}

/* VSCode window styles */
.playground-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.vscode-window {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 4, 12, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
}

.vscode-titlebar {
    background: rgba(3, 2, 8, 0.95);
    padding: 0.9rem 1.4rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.window-title-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.vscode-container {
    display: grid;
    grid-template-columns: 210px 1fr;
    min-height: 520px;
}

.vscode-sidebar {
    background: rgba(3, 2, 8, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.8rem 0.8rem;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    padding-left: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
}

.sidebar-section-title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-left: 0.8rem;
    margin-bottom: 0.6rem;
}

.file-list {
    list-style: none;
}

.file-item {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-apple);
}

.file-item:hover, .file-item.active {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-highlight);
}

.file-item.active {
    border-left: 2px solid var(--accent-cyan);
}

.vscode-workspace {
    display: flex;
    flex-direction: column;
    background: rgba(5, 4, 12, 0.5);
}

.vscode-tabs-bar {
    background: rgba(3, 2, 8, 0.95);
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.tab-item {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    padding: 0.7rem 1.4rem;
    background: rgba(3, 2, 8, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

.tab-item.active {
    background: rgba(5, 4, 12, 0.9);
    color: var(--text-highlight);
    border-top: 2px solid var(--accent-cyan);
}

.editor-prompt-bar {
    padding: 1rem 1.8rem;
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.prompt-badge {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    background: rgba(212, 255, 0, 0.05);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.4rem;
}

#current-prompt {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 300;
}

.editor-split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-grow: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.editor-pane {
    padding: 1.8rem 2rem;
    overflow-y: auto;
    height: 320px;
}

.editor-pane.source-a-pane {
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.pane-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pane-tag.raw { color: var(--accent-red); }
.pane-tag.curated { color: var(--accent-emerald); }

.editor-code {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #e5e5ea;
}

.highlight-error {
    background: rgba(255, 51, 102, 0.12);
    border-bottom: 1.5px dashed var(--accent-red);
    color: #ff4f7e;
    cursor: help;
}

.highlight-correct {
    background: rgba(0, 255, 204, 0.08);
    border-bottom: 1.5px dashed var(--accent-emerald);
    color: #3bfec0;
    cursor: help;
}

.vscode-terminal {
    background: rgba(2, 2, 6, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.terminal-header {
    background: rgba(3, 2, 8, 0.95);
    padding: 0.7rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.terminal-body {
    padding: 1.2rem 2rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.terminal-body ul {
    list-style: none;
    margin-top: 0.6rem;
}

.terminal-body li {
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}

.terminal-body li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 700;
    text-shadow: 0 0 5px var(--accent-cyan);
}

/* ==========================================================================
   5. Credentials section
   ========================================================================== */
.credentials-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.cert-card {
    background: rgba(10, 8, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    overflow: hidden;
    transition: var(--transition-apple);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cert-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(212, 255, 0, 0.05);
    transform: translateY(-4px);
}

.cert-header {
    padding: 1.2rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cert-header.ibm-theme { background: rgba(15, 98, 254, 0.08); border-bottom: 1px solid rgba(15, 98, 254, 0.2); color: #78a9ff; }
.cert-header.google-theme { background: rgba(66, 133, 244, 0.08); border-bottom: 1px solid rgba(66, 133, 244, 0.2); color: #8ab4f8; }
.cert-header.stanford-theme { background: rgba(140, 21, 21, 0.08); border-bottom: 1px solid rgba(140, 21, 21, 0.2); color: #ff8a8a; }
.cert-header.lloyds-theme { background: rgba(0, 106, 77, 0.08); border-bottom: 1px solid rgba(0, 106, 77, 0.2); color: #34d399; }
.cert-header.forage-theme { background: rgba(79, 70, 229, 0.08); border-bottom: 1px solid rgba(79, 70, 229, 0.2); color: #a5b4fc; }
.cert-header.aws-theme { background: rgba(255, 153, 0, 0.08); border-bottom: 1px solid rgba(255, 153, 0, 0.2); color: #ffb74d; }
.cert-header.cdmp-theme { background: rgba(13, 148, 136, 0.08); border-bottom: 1px solid rgba(13, 148, 136, 0.2); color: #2dd4bf; }
.cert-header.scrum-theme { background: rgba(2, 132, 199, 0.08); border-bottom: 1px solid rgba(2, 132, 199, 0.2); color: #38bdf8; }
.cert-header.mz-theme { background: rgba(220, 38, 38, 0.08); border-bottom: 1px solid rgba(220, 38, 38, 0.2); color: #fca5a5; }
.cert-header.css-theme { background: rgba(168, 85, 247, 0.08); border-bottom: 1px solid rgba(168, 85, 247, 0.2); color: #d8b4fe; }

.cert-status {
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.65rem;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
}

.cert-body {
    padding: 2.2rem;
    flex-grow: 1;
}

.cert-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    line-height: 1.35;
    font-weight: 600;
}

.cert-recipient {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.cert-recipient strong {
    color: var(--text-primary);
}

.cert-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.4rem;
}

.cert-skills-covered {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.cert-skills-covered span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.18rem 0.6rem;
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cert-footer {
    padding: 1.2rem 2.2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.verification-code {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.custom-badge-css {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.google-badge { color: #8ab4f8; border-color: rgba(66, 133, 244, 0.3); background: rgba(66, 133, 244, 0.05); }
.stanford-badge { color: #ff8a8a; border-color: rgba(140, 21, 21, 0.3); background: rgba(140, 21, 21, 0.05); }
.aws-badge { color: #ffb74d; border-color: rgba(255, 153, 0, 0.3); background: rgba(255, 153, 0, 0.05); }
.cdmp-badge { color: #2dd4bf; border-color: rgba(13, 148, 136, 0.3); background: rgba(13, 148, 136, 0.05); }
.scrum-badge { color: #38bdf8; border-color: rgba(2, 132, 199, 0.3); background: rgba(2, 132, 199, 0.05); }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 600px;
    width: 100%;
    padding: 3.5rem;
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* Shopify Section */
.shopify-showcase {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.shopify-banner {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 3.5rem;
    padding: 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(149, 191, 71, 0.15);
    background: var(--bg-card);
    box-shadow: 0 45px 90px rgba(0, 0, 0, 0.6);
}

.shopify-logo-area {
    display: flex;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    padding-right: 2.5rem;
}

.shopify-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.pub-by {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-block;
    margin-bottom: 1.4rem;
}

.pub-by strong {
    color: var(--text-primary);
}

.shopify-desc p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

.shopify-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shopify-badges span {
    background: rgba(149, 191, 71, 0.05);
    border: 1px solid rgba(149, 191, 71, 0.12);
    color: #C0EC78;
    padding: 0.25rem 0.8rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* Contact Intake */
.contact-section {
    padding: 8rem 0;
}

.contact-container {
    max-width: 750px;
    margin: 0 auto;
}

.contact-form {
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    background: var(--bg-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
    display: block;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(2, 2, 5, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.1rem 1.4rem;
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-apple);
    width: 100%;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(212, 255, 0, 0.08);
    background: rgba(212, 255, 0, 0.01);
    outline: none;
}

.form-group select option {
    background-color: #05040e; /* Dark background matching our Obsidian theme */
    color: #ffffff;            /* High-contrast white text */
}

/* Footer */
.main-footer {
    background: #000000;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.op-partner a {
    color: var(--accent-cyan);
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a, .footer-links a:visited {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-apple);
}

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

/* Apple-style Custom cursor coordinate crosshair indicator */
.logo-crosshair {
    width: 18px;
    height: 18px;
    position: relative;
    display: inline-block;
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 255, 0, 0.3);
}
.logo-crosshair::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    width: 26px;
    height: 1px;
    background: var(--accent-cyan);
}
.logo-crosshair::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    height: 26px;
    width: 1px;
    background: var(--accent-cyan);
}

/* Responsive Overrides */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .services-catalog-grid, .team-grid, .credentials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-catalog-card.span-2 {
        grid-column: span 1;
    }
    
    .vscode-container, .simulator-container {
        grid-template-columns: 1fr;
    }
    
    .vscode-sidebar, .simulator-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .editor-split-panel {
        grid-template-columns: 1fr;
    }
    
    .editor-pane.source-a-pane {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .shopify-banner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .shopify-logo-area {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        padding-bottom: 2rem;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #020205;
        border-bottom: 1px solid var(--border-color);
        padding: 2.5rem;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.8rem;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .viewport-canvas-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }
}
