/* ═══════════════════════════════════════════════════════
   SIGNETIK — THE OBSIDIAN RING
   Premium Scroll-Reactive Landing Page
   ═══════════════════════════════════════════════════════ */

:root {
    --bg-color: #030303;
    --bg-elevated: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #7a7a7a;
    --text-muted: #4a4a4a;
    --accent: #d4cfc5;
    --accent-warm: #c4a882;
    --accent-cool: #8a9bae;
    --green: #4ade80;
    --red: #f87171;
    --purple: #a78bfa;
    --border: rgba(255,255,255,0.06);
    --glass: rgba(255,255,255,0.03);
    --glow: rgba(255,255,255,0.08);
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

::selection {
    background: rgba(212, 207, 197, 0.3);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════ */

.loader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-ring-icon {
    animation: loaderSpin 2.5s linear infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-circle-anim {
    animation: loaderDash 2s ease-in-out infinite;
}

@keyframes loaderDash {
    0% { stroke-dashoffset: 240; }
    50% { stroke-dashoffset: 60; }
    100% { stroke-dashoffset: 240; }
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.8rem;
    letter-spacing: 0.5em;
    font-weight: 400;
    color: #fff;
}

.loader-bar-track {
    width: 200px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    border-radius: 1px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, transparent, #fff);
    border-radius: 1px;
    transition: width 0.1s linear;
}

.loader-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   HUD OVERLAY
   ═══════════════════════════════════════════════════════ */

.hud-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-corner {
    position: absolute;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.5);
    pointer-events: auto;
}

.hud-brand {
    font-family: var(--font-display);
    letter-spacing: 0.4em;
    font-size: 0.65rem;
}

.hud-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.hud-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.hud-link:hover {
    color: var(--accent);
}

.hud-link:hover::after {
    width: 100%;
}

.hud-top-left { top: 36px; left: 40px; }
.hud-top-right { top: 36px; right: 40px; }
.hud-bottom-left { bottom: 36px; left: 40px; }
.hud-bottom-right { bottom: 36px; right: 40px; }

.hud-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-scroll-line {
    display: inline-block;
    width: 24px; height: 1px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.hud-scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: #fff;
    animation: scrollSlide 2s infinite;
}

@keyframes scrollSlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hud-dot {
    display: inline-block;
    width: 4px; height: 4px;
    background: var(--green);
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; box-shadow: none; }
    50% { opacity: 1; box-shadow: 0 0 6px var(--green); }
}

/* ═══════════════════════════════════════════════════════
   SCROLL CANVAS VIEWPORT
   ═══════════════════════════════════════════════════════ */

#scroll-container { width: 100%; }

#sticky-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, #111 0%, #050505 50%, #000 100%);
}

canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.ambient-glow {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */

h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: 0.08em;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.05;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.04em;
    font-weight: 400;
    margin-bottom: 18px;
    line-height: 1.15;
}

.subtitle {
    font-family: var(--font-accent);
    font-weight: 200;
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    margin-bottom: 10px;
    color: var(--accent);
}

.brand-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.6em;
    text-shadow: 0 0 30px rgba(255,255,255,0.15);
    margin-bottom: 16px;
}

.brand-title {
    text-shadow: 0 0 60px rgba(255,255,255,0.1);
}

.intro-tagline {
    font-family: var(--font-accent);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-top: 20px;
}

.section-tag {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.feature-desc {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 10px;
    max-width: 380px;
}

/* ═══════════════════════════════════════════════════════
   OVERLAY PANELS
   ═══════════════════════════════════════════════════════ */

.overlay {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.center-panel {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.text-panel {
    top: 50%;
    width: clamp(300px, 35vw, 440px);
    transform: translateY(-50%);
}

.right-align { right: 8%; text-align: left; }
.left-align  { left: 8%;  text-align: left; }

/* ═══════════════════════════════════════════════════════
   FEATURE LIST
   ═══════════════════════════════════════════════════════ */

.feature-list {
    list-style: none;
    margin-top: 22px;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 20px;
}

.feature-list li {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: -24px; top: 8px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════
   SPEC GRID (Materials section)
   ═══════════════════════════════════════════════════════ */

.spec-grid {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    backdrop-filter: blur(12px);
    min-width: 100px;
}

.spec-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #fff 20%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spec-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   SENSOR LED VISUAL
   ═══════════════════════════════════════════════════════ */

.sensor-visual {
    margin: 20px 0;
}

.sensor-ring-graphic {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sensor-led {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.4);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.sensor-led::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: ledGlow 2s infinite;
}

.led-green::before { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.led-red::before   { background: #f87171; box-shadow: 0 0 10px #f87171; }
.led-ir::before    { background: #a78bfa; box-shadow: 0 0 10px #a78bfa; }

.sensor-led::after {
    content: attr(data-label);
}

.led-pulse {
    display: none;
}

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

/* ═══════════════════════════════════════════════════════
   THERMAL BAR
   ═══════════════════════════════════════════════════════ */

.thermal-bar {
    margin: 24px 0;
    max-width: 300px;
}

.thermal-gradient {
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #f59e0b, #ef4444);
    position: relative;
    overflow: hidden;
}

.thermal-gradient::after {
    content: '';
    position: absolute;
    top: 0; left: -30%;
    width: 30%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: thermalSweep 3s infinite;
}

@keyframes thermalSweep {
    0% { left: -30%; }
    100% { left: 130%; }
}

.thermal-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════
   AI SCORE CARDS
   ═══════════════════════════════════════════════════════ */

.ai-scores {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.ai-score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    min-width: 100px;
}

.score-ring-wrapper {
    position: relative;
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-ring-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}

.score-number {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.score-label {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    text-align: center;
}

/* Premium AI Hero Badge */
.ai-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(74, 222, 128, 0.25);
    background: rgba(74, 222, 128, 0.06);
    color: var(--green);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.08);
}

.ai-hero-badge svg {
    color: var(--green);
}

/* AI Insight Rows */
.ai-insights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.ai-insight-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s ease;
}

.insight-icon {
    font-size: 0.85rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.insight-text {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════
   SENSOR MODERN LIST
   ═══════════════════════════════════════════════════════ */

.sensor-modern-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.s-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
}

.s-line {
    width: 1px;
    min-height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
    position: relative;
    flex-shrink: 0;
}

.s-line::after {
    content: '';
    position: absolute;
    top: 0; left: -2.5px;
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.s-details h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 4px;
}

.s-details p {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   GESTURE VISUALIZATION
   ═══════════════════════════════════════════════════════ */

.gesture-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gesture-hand-container {
    position: relative;
    width: 200px; height: 200px;
}

.gesture-hand-svg {
    width: 100%; height: 100%;
}

.gesture-thumb, .gesture-index {
    transition: transform 0.3s ease;
}

.gesture-ring {
    animation: ringShimmer 3s infinite;
}

@keyframes ringShimmer {
    0%, 100% { stroke: rgba(255,255,255,0.4); }
    50% { stroke: rgba(255,255,255,0.9); filter: drop-shadow(0 0 6px rgba(255,255,255,0.4)); }
}

.pinch-indicator {
    animation: pinchPulse 1.5s ease-in-out infinite;
    transform-origin: center;
}

.pinch-dot {
    animation: pinchDotPulse 1.5s ease-in-out infinite;
}

@keyframes pinchPulse {
    0%, 100% { r: 8; opacity: 0.6; }
    50% { r: 14; opacity: 0; }
}

@keyframes pinchDotPulse {
    0%, 100% { r: 3; opacity: 0.5; }
    50% { r: 5; opacity: 1; }
}

.gesture-ripple {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 0; height: 0;
    border: 1px solid rgba(74,222,128,0.3);
    border-radius: 50%;
    pointer-events: none;
}

.gesture-desc {
    max-width: 400px;
    text-align: center;
    margin: 5px auto 0;
}

/* ═══════════════════════════════════════════════════════
   NFC PULSE
   ═══════════════════════════════════════════════════════ */

.nfc-desc {
    max-width: 340px;
}

.nfc-pulse-container {
    position: relative;
    margin-top: 24px;
    width: 60px; height: 60px;
}

.nfc-wave {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    animation: nfcPulse 2.5s infinite;
}

.nfc-wave-1 { width: 20px; height: 20px; animation-delay: 0s; }
.nfc-wave-2 { width: 36px; height: 36px; animation-delay: 0.5s; }
.nfc-wave-3 { width: 52px; height: 52px; animation-delay: 1s; }

@keyframes nfcPulse {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    30% { opacity: 0.7; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); }
}

/* ═══════════════════════════════════════════════════════
   ECOSYSTEM ICONS
   ═══════════════════════════════════════════════════════ */

.ecosystem-icons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.eco-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.eco-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.eco-icon svg {
    width: 20px; height: 20px;
}

.eco-item span {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   FEATURES SHOWCASE SECTION
   ═══════════════════════════════════════════════════════ */

.features-section {
    background: linear-gradient(180deg, #000 0%, var(--bg-color) 10%, var(--bg-color) 90%, #000 100%);
    padding: 100px 40px 80px;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 80px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin-bottom: 16px;
    margin-top: 16px;
}

.features-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.feat-card {
    padding: 32px 28px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feat-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

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

.feat-card-highlight {
    border-color: rgba(212, 207, 197, 0.15);
    background: linear-gradient(160deg, rgba(212, 207, 197, 0.04), rgba(255,255,255,0.01));
}

.feat-card-highlight:hover {
    border-color: rgba(212, 207, 197, 0.3);
    box-shadow: 0 8px 40px rgba(212, 207, 197, 0.06);
}

.feat-icon {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
    color: var(--accent);
}

.feat-icon svg {
    width: 22px; height: 22px;
}

.feat-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    color: #fff;
}

.feat-card p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-secondary);
}

.feat-badge {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 207, 197, 0.25);
    background: rgba(212, 207, 197, 0.06);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
}

/* Specs Bar */
.specs-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 28px 40px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

.specs-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 100px;
}

.specs-bar-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #fff 30%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.specs-bar-label {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.specs-bar-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* ═══════════════════════════════════════════════════════
   RINGS SHOWCASE (Canvas #2)
   ═══════════════════════════════════════════════════════ */

#rings-showcase {
    background: #000;
}

#rings-scroll-track {
    width: 100%;
}

#rings-sticky-viewport {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, #0d0d0d 0%, #050505 50%, #000 100%);
}

#rings-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.rings-overlay {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.rings-center {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.rings-text {
    top: auto;
    bottom: 8%;
    width: clamp(280px, 30vw, 400px);
    padding: 24px 28px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
}

.rings-right { right: 8%; text-align: left; }
.rings-left  { left: 8%;  text-align: left; }

.rings-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.12;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .rings-text {
        width: 85%;
        left: 7.5% !important;
        right: auto !important;
        text-align: left;
    }
}

/* ═══════════════════════════════════════════════════════
   VIDEO SHOWCASE SECTION
   ═══════════════════════════════════════════════════════ */

.video-showcase-section {
    background: linear-gradient(180deg, #000 0%, var(--bg-color) 8%, var(--bg-color) 92%, #000 100%);
    padding: 100px 40px 100px;
    position: relative;
}

.video-showcase-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 80px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
}

.video-showcase-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.video-showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.video-showcase-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin-bottom: 16px;
    margin-top: 16px;
}

.video-showcase-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    max-width: 460px;
    margin: 0 auto;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255,255,255,0.08);
    aspect-ratio: 16 / 9;
    cursor: pointer;
    transition: border-color 0.5s ease;
}

.video-container:hover {
    border-color: rgba(255,255,255,0.15);
}

.video-glow-border {
    position: absolute;
    top: -1px; left: -1px;
    right: -1px; bottom: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(212,207,197,0.08), transparent 40%, transparent 60%, rgba(212,207,197,0.06));
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.video-container:hover .video-glow-border {
    opacity: 1;
}

.ringfeatures-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 5;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px; height: 80px;
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    position: relative;
}

.video-play-btn svg {
    width: 100%; height: 100%;
}

.video-play-btn:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

.video-play-btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    animation: playBtnPulse 2.5s ease-in-out infinite;
}

@keyframes playBtnPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

.video-play-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

/* Custom Controls */
.video-controls {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
    z-index: 6;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.video-container:hover .video-controls,
.video-container.is-playing .video-controls {
    opacity: 1;
    transform: translateY(0);
}

.video-ctrl-btn {
    width: 32px; height: 32px;
    border: none;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.video-ctrl-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.video-progress-track {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.12);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-progress-track:hover {
    height: 5px;
}

.video-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #fff);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.video-time {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    min-width: 36px;
    text-align: center;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   TERMINAL SECTION
   ═══════════════════════════════════════════════════════ */

.terminal-section {
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 0;
    position: relative;
}

.terminal-container {
    max-width: 700px;
    width: 100%;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.terminal-dots span:first-child { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:last-child { background: #28c840; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.terminal-body {
    padding: 30px 24px;
    background: rgba(255,255,255,0.015);
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
}

.terminal-line {
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(8px);
}

.term-prompt {
    color: var(--green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-right: 10px;
}

.term-text {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.term-response {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    padding-left: 22px;
}

/* Terminal Form */
.terminal-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateY(10px);
}

.terminal-input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0 14px;
    transition: border-color 0.3s ease;
}

.terminal-input-group:focus-within {
    border-color: rgba(255,255,255,0.2);
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.terminal-input::placeholder {
    color: var(--text-muted);
}

.terminal-select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.terminal-select option {
    background: #111;
    color: #fff;
}

.terminal-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.terminal-submit::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.6s ease;
}

.terminal-submit:hover {
    border-color: rgba(255,255,255,0.35);
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
}

.terminal-submit:hover::before {
    left: 100%;
}

.terminal-success .terminal-line {
    opacity: 1;
    transform: none;
}

.success-text {
    color: var(--green) !important;
}

.typing-dots {
    animation: typingDots 1s infinite;
}

@keyframes typingDots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* ═══════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════ */

.terminal-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
}

.pricing-card {
    padding: 32px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.pricing-card-featured {
    border-color: rgba(212, 207, 197, 0.2);
    background: linear-gradient(160deg, rgba(212, 207, 197, 0.06), rgba(255,255,255,0.02));
}

.pricing-card-featured:hover {
    border-color: rgba(212, 207, 197, 0.4);
    box-shadow: 0 0 40px rgba(212, 207, 197, 0.05);
}

.pricing-card-touch {
    border-color: rgba(34, 211, 238, 0.2);
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.05), rgba(255,255,255,0.01));
}

.pricing-card-touch:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.06);
}

.pricing-card-touch .pricing-badge {
    border-color: rgba(34, 211, 238, 0.4);
    color: #22d3ee;
}

.pricing-card-ultimate {
    border-color: rgba(167, 139, 250, 0.25);
    background: linear-gradient(160deg, rgba(167, 139, 250, 0.06), rgba(251, 146, 60, 0.03));
}

.pricing-card-ultimate:hover {
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 40px rgba(167, 139, 250, 0.08);
}

.pricing-card-ultimate .pricing-badge {
    border-color: rgba(167, 139, 250, 0.4);
    color: #a78bfa;
}

.pricing-card-ultimate .pricing-amount {
    background: linear-gradient(135deg, #a78bfa 20%, #fb923c 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-badge {
    position: absolute;
    top: 16px; right: 16px;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    color: var(--accent);
    padding: 4px 10px;
    border: 1px solid rgba(212, 207, 197, 0.3);
    border-radius: 20px;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 40%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-note {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.site-footer {
    width: 100%;
    max-width: 900px;
    margin: 80px auto 0;
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border);
}

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

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.footer-col p {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
    letter-spacing: 0.03em;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom span {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }

    .text-panel {
        width: 85%;
        left: 7.5% !important;
        right: auto !important;
        text-align: left;
    }

    .spec-grid { flex-direction: column; gap: 12px; }
    .ai-scores { flex-direction: column; }
    .sensor-ring-graphic { flex-direction: column; }
    .ecosystem-icons { justify-content: flex-start; }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .features-section { padding: 60px 20px 60px; }
    .specs-bar { padding: 20px; gap: 10px; }
    .specs-bar-value { font-size: 1.1rem; }

    .video-showcase-section { padding: 60px 20px; }
    .video-play-btn { width: 64px; height: 64px; }
    .video-play-btn::after { width: 80px; height: 80px; }

    .terminal-pricing {
        grid-template-columns: 1fr;
    }

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

    .hud-corner { font-size: 0.5rem; }
    .hud-top-left { top: 20px; left: 20px; }
    .hud-top-right { top: 20px; right: 20px; }
    .hud-bottom-left { bottom: 20px; left: 20px; }
    .hud-bottom-right { bottom: 20px; right: 20px; }

    .feature-list { border-left: none; padding-left: 16px; }
    .feature-list li::before { left: -16px; }

    .gesture-hand-container { width: 150px; height: 150px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .terminal-body { padding: 20px 16px; }
    .features-grid { grid-template-columns: 1fr; }
    .specs-bar-divider { display: none; }
}
