/* =========================================================================
   TURING INSPECT : STYLES
   Minimal, High-Tech, Industrial Dark Mode
========================================================================= */

:root {
    /* Colors */
    --bg-base: #09090b;
    --bg-surface: #18181b;
    --bg-surface-light: #27272a;
    
    --text-primary: #fafafa;
    --text-muted: #a1a1aa;
    
    /* Brand Accents */
    --accent-orange: #f97316;
    --accent-orange-glow: rgba(249, 115, 22, 0.4);
    --accent-blue: #06b6d4;
    
    /* Functional */
    --success: #10b981;
    --danger: #ef4444;
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-orange), #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: #fff;
}

.btn-primary:hover {
    background-color: #ea580c;
    box-shadow: 0 0 20px var(--accent-orange-glow);
}

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

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.15);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.glow-effect {
    position: relative;
    z-index: 1;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: var(--accent-orange);
    filter: blur(15px);
    opacity: 0.5;
    border-radius: inherit;
    transition: opacity 0.3s;
}

.glow-effect:hover::before {
    opacity: 0.8;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-blue);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 100;
    transition: all 0.3s;
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

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

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

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


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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero-bg-blur {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, rgba(6,182,212,0.1) 40%, rgba(9,9,11,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.hero-graphic {
    position: relative;
    width: 100%;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 0 40px rgba(249, 115, 22, 0.15));
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

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

/* Global Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Demo Section */
.demo-ui {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.demo-ui-header {
    background: rgba(39, 39, 42, 0.8);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}



.window-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    width: 100%;
    text-align: center;
}

.demo-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 450px;
}

@media (max-width: 800px) {
    .demo-body { grid-template-columns: 1fr; height: auto; }
}

.camera-feed-container {
    background: #000;
    position: relative;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-feed {
    width: 100%;
    height: 100%;
    position: relative;
    background: #111;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #222;
}

.scanline {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 10px rgba(6, 182, 212, 1);
    animation: scan 3s linear infinite;
    z-index: 10;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Abstract Machined Part Mock */
.mock-part {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: #2a2a2a;
    border-radius: 8px;
    border: 2px solid #444;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.component {
    position: absolute;
    background: #555;
    border-radius: 50%;
}

.c1 { width: 30px; height: 30px; top: 20px; left: 20px; }
.c2 { width: 40px; height: 40px; bottom: 30px; right: 40px; }
.c3 { 
    width: 20px; height: 20px; 
    top: 60px; right: 50px; 
    border: 2px dashed #666; 
    background: transparent; 
} /* The missing screw location */

.bounding-box {
    position: absolute;
    top: calc(50% - 40px - 10px);
    left: calc(50% + 50px - 10px);
    width: 40px;
    height: 40px;
    border: 2px solid var(--danger);
    background: rgba(239, 68, 68, 0.1);
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s;
}

.bounding-box.active {
    opacity: 1;
}

.bounding-box span {
    position: absolute;
    top: -25px;
    left: -2px;
    background: var(--danger);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    padding: 2px 6px;
    white-space: nowrap;
}

.cli-container {
    padding: 32px;
    background: #0f0f11;
    font-family: var(--font-mono);
    display: flex;
    flex-direction: column;
}

.cli-output {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.8;
}

.system-msg { color: #52525b; }

.cli-input-line {
    font-size: 1rem;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 12px;
}

.prompt-char { color: #52525b; }

.typing-text { color: #fff; }

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.status-panel {
    margin-top: auto;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    padding: 16px;
}

.status-panel.hidden { opacity: 0; }
.status-panel.visible { 
    opacity: 1; 
    transition: opacity 0.5s ease-in; 
}

.status-indicator {
    font-weight: 700;
    color: var(--danger);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--danger);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--danger);
}

.status-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 768px) {
    .comparison-grid { grid-template-columns: 1fr; }
}

.compare-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.compare-card h3 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.vendor-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.turing-sub {
    color: var(--accent-orange);
}

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

.compare-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.compare-list li:last-child { border-bottom: none; }

.icon {
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.icon.cross { color: #52525b; }
.icon.check { color: var(--accent-orange); }

.turing-glow {
    position: absolute;
    top: -50px; left: -50px;
    width: 200px; height: 200px;
    background: var(--accent-orange);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

.compare-card.turing {
    border-color: rgba(249, 115, 22, 0.3);
    background: linear-gradient(180deg, rgba(24,24,27,1) 0%, rgba(249,115,22,0.05) 100%);
}

.compare-card.turing li {
    border-color: rgba(249, 115, 22, 0.1);
}

/* Specs Section */
.specs-section {
    background: #000;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.specs-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 900px) {
    .specs-layout { grid-template-columns: 1fr; }
}

.specs-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.spec-item {
    background: #0a0a0c;
    border: 1px solid #222;
    padding: 24px;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.spec-item:hover {
    border-color: #444;
}

.spec-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-family: var(--font-mono);
}

.spec-detail {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 600px) {
    .specs-grid { grid-template-columns: 1fr; }
}

/* Trust Section */
.trust-section {
    text-align: center;
    background: var(--bg-surface);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-section h2 {
    margin-bottom: 40px;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.trust-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: #52525b;
}

.trust-text {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer CTA */
.footer {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-blur {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(249,115,22,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.footer p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.lead-form {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto 80px;
}

@media (max-width: 600px) {
    .lead-form { flex-direction: column; }
}

.input-field {
    flex: 1;
    padding: 14px 20px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(0,0,0,0.5);
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    color: #52525b;
    font-size: 0.85rem;
}

/* Reveal Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Apple-style premium reveal animation */
.apple-reveal {
    opacity: 0;
    animation: apple-reveal-anim 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s; /* Wait for title to mostly finish */
}

@keyframes apple-reveal-anim {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
        filter: blur(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.demo-video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
}
