@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════
   AMBIENT SOFT-TONE DESIGN SYSTEM (Gen-Z)
   ═══════════════════════════════════════════ */

/* Default Theme Tokens — Warm Dark */
:root {
    --bg-main: #111118;
    --bg-darker: #0c0c12;
    --bg-card: rgba(22, 22, 32, 0.6);
    --bg-elevated: rgba(30, 30, 42, 0.5);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --text-primary: #eeeef0;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Soft Pastel Accent Palette */
    --accent-primary: #a78bfa;      /* Soft Violet */
    --accent-secondary: #67e8f9;    /* Baby Cyan */
    --accent-warm: #fbbf24;         /* Warm Amber */
    --accent-peach: #fca5a5;        /* Soft Peach */
    --accent-mint: #86efac;         /* Mint Green */
    --accent-blush: #f9a8d4;        /* Blush Pink */

    --gradient-primary: linear-gradient(135deg, #a78bfa 0%, #67e8f9 100%);
    --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f9a8d4 100%);
    --gradient-soft: linear-gradient(135deg, #a78bfa 0%, #f9a8d4 50%, #67e8f9 100%);

    --card-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 12px 40px -8px rgba(0, 0, 0, 0.4);
    --glow-primary: 0 0 60px -15px rgba(167, 139, 250, 0.15);

    --font-heading: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --nav-height: 72px;
    --max-width: 1200px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.5s var(--ease-smooth);
    --transition-fast: all 0.2s ease;

    --ambient-glow-1: radial-gradient(ellipse at 15% 20%, rgba(167, 139, 250, 0.06) 0%, transparent 50%);
    --ambient-glow-2: radial-gradient(ellipse at 85% 80%, rgba(103, 232, 249, 0.04) 0%, transparent 50%);
    --ambient-glow-3: radial-gradient(ellipse at 50% 50%, rgba(249, 168, 212, 0.03) 0%, transparent 60%);

    /* Legacy aliases for inline HTML styles */
    --accent-indigo: var(--accent-primary);
    --accent-teal: var(--accent-secondary);
    --accent-lavender: var(--accent-blush);
    --accent-rose: var(--accent-peach);
}

/* Light Theme — Warm Cream Sand */
:root[data-theme="light"] {
    --bg-main: #faf9f7;
    --bg-darker: #f3f1ee;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-elevated: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.1);

    --text-primary: #1a1a2e;
    --text-secondary: #52525b;
    --text-muted: #a1a1aa;

    --accent-primary: #7c3aed;
    --accent-secondary: #0891b2;
    --accent-warm: #d97706;
    --accent-peach: #e11d48;
    --accent-mint: #059669;
    --accent-blush: #db2777;

    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #0891b2 100%);
    --gradient-warm: linear-gradient(135deg, #d97706 0%, #db2777 100%);
    --gradient-soft: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #0891b2 100%);

    --card-shadow: 0 2px 16px -2px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 8px 30px -6px rgba(0, 0, 0, 0.1);
    --glow-primary: 0 0 40px -10px rgba(124, 58, 237, 0.08);

    --ambient-glow-1: radial-gradient(ellipse at 15% 20%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    --ambient-glow-2: radial-gradient(ellipse at 85% 80%, rgba(8, 145, 178, 0.02) 0%, transparent 50%);
    --ambient-glow-3: radial-gradient(ellipse at 50% 50%, rgba(219, 39, 119, 0.015) 0%, transparent 60%);

    /* Legacy aliases for inline HTML styles */
    --accent-indigo: var(--accent-primary);
    --accent-teal: var(--accent-secondary);
    --accent-lavender: var(--accent-blush);
    --accent-rose: var(--accent-peach);
}


/* ═══════════════════════════
   BASE & RESET
   ═══════════════════════════ */

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(167, 139, 250, 0.3) transparent;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: var(--ambient-glow-1), var(--ambient-glow-2), var(--ambient-glow-3);
    background-attachment: fixed;
    transition: background-color 0.6s var(--ease-smooth), color 0.6s var(--ease-smooth);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle dot pattern instead of harsh grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--border-color) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(167, 139, 250, 0.25);
    border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(167, 139, 250, 0.4); }

/* Selection */
::selection {
    background: rgba(167, 139, 250, 0.2);
    color: var(--text-primary);
}


/* ═══════════════════════════
   READING PROGRESS
   ═══════════════════════════ */

.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 2000;
    background: transparent;
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-soft);
    border-radius: 0 2px 2px 0;
    transition: width 0.08s linear;
}


/* ═══════════════════════════
   TYPOGRAPHY — Clean & Calm
   ═══════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    line-height: 1.2;
    transition: color 0.5s ease;
}

h1 {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    font-weight: 400;
    line-height: 1.75;
    transition: color 0.5s ease;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}


/* ═══════════════════════════
   NAVIGATION — Floating Pill
   ═══════════════════════════ */

header.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: color-mix(in srgb, var(--bg-main) 80%, transparent);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease, border-color 0.5s ease;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.85;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-fallback span {
    font-weight: 500;
    font-size: 0.7rem;
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.logo span {
    font-weight: 500;
    font-size: 0.7rem;
    border: 1px solid var(--border-color);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after { display: none; }

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(167, 139, 250, 0.06);
}

.nav-links a.active {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(167, 139, 250, 0.1);
}


/* ═══════════════════════════
   THEME SWITCH — Minimal Pill
   ═══════════════════════════ */

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: transparent;
}

.theme-switch {
    display: inline-block;
    height: 22px;
    position: relative;
    width: 40px;
}

.theme-switch input { display: none; }

.slider {
    background: rgba(167, 139, 250, 0.12);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s var(--ease-smooth);
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

.slider:before {
    background: var(--gradient-primary);
    bottom: 2px;
    content: "";
    height: 16px;
    left: 2px;
    position: absolute;
    transition: .4s var(--ease-bounce);
    width: 16px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
}

input:checked + .slider { background: rgba(103, 232, 249, 0.12); }
input:checked + .slider:before {
    transform: translateX(18px);
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-mint));
}


/* ═══════════════════════════
   BLOG EDITORIAL ELEMENTS
   ═══════════════════════════ */

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    font-weight: 500;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: fit-content;
    transition: var(--transition-fast);
}

.author-card:hover {
    border-color: var(--border-hover);
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 0.8rem;
    flex-shrink: 0;
}


/* ═══════════════════════════
   GLASS CARDS — Soft Frosted
   ═══════════════════════════ */

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover), var(--glow-primary);
}


/* ═══════════════════════════
   LAYOUT — Generous Breathing
   ═══════════════════════════ */

main.content-wrapper {
    margin-top: var(--nav-height);
    min-height: calc(100vh - var(--nav-height));
    width: 100%;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}


/* ═══════════════════════════
   3D CANVAS
   ═══════════════════════════ */

.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: all;
    overflow: hidden;
}

.interactive-3d-model {
    width: 100%;
    height: 480px;
    background: radial-gradient(circle at center, rgba(167, 139, 250, 0.05) 0%, transparent 70%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.interactive-3d-model canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/* ═══════════════════════════
   BADGES — Soft Pastel Pills
   ═══════════════════════════ */

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-fast);
}

.badge-indigo {
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(167, 139, 250, 0.15);
}

.badge-teal {
    background: rgba(103, 232, 249, 0.08);
    color: var(--accent-secondary);
    border: 1px solid rgba(103, 232, 249, 0.15);
}

.badge-lavender {
    background: rgba(249, 168, 212, 0.08);
    color: var(--accent-blush);
    border: 1px solid rgba(249, 168, 212, 0.15);
}

.badge-rose {
    background: rgba(252, 165, 165, 0.08);
    color: var(--accent-peach);
    border: 1px solid rgba(252, 165, 165, 0.15);
}


/* ═══════════════════════════
   BUTTONS — Rounded Soft
   ═══════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 16px -4px rgba(167, 139, 250, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(167, 139, 250, 0.4);
    filter: brightness(1.05);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    background: var(--bg-card);
}


/* ═══════════════════════════
   SPEC LISTS — Clean Tables
   ═══════════════════════════ */

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

.spec-list li {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    gap: 1rem;
}

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

.spec-label {
    font-weight: 600;
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-size: 0.88rem;
}

.spec-val {
    color: var(--text-secondary);
    font-weight: 400;
}


/* ═══════════════════════════
   TECH TABLE
   ═══════════════════════════ */

.tech-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 2.5rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

table.tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    background: var(--bg-card);
}

table.tech-table th {
    background: var(--bg-darker);
    padding: 1.1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-primary);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

table.tech-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

table.tech-table tr:last-child td { border-bottom: none; }
table.tech-table tr:hover td {
    color: var(--text-primary);
    background: rgba(167, 139, 250, 0.02);
}


/* ═══════════════════════════
   FEATURE SECTIONS — Calm Flow
   ═══════════════════════════ */

.feature-section {
    padding: 6rem 2rem;
    transition: background-color 0.6s var(--ease-smooth), border-color 0.5s ease;
}

.section-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.section-intro h2 { margin-bottom: 1rem; }

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


/* ═══════════════════════════
   TERMINAL WIDGET — Soft Dark
   ═══════════════════════════ */

.terminal-block {
    background: #0e0e16;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin: 2.5rem 0;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.terminal-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    opacity: 0.85;
}

.terminal-dot.red { background: #f87171; }
.terminal-dot.yellow { background: #fbbf24; }
.terminal-dot.green { background: #86efac; }

.terminal-title {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

pre.code-block {
    padding: 1.5rem;
    font-family: 'DM Mono', 'Courier New', Courier, monospace;
    font-size: 0.88rem;
    color: #d4d4d8;
    overflow-x: auto;
    margin: 0;
    background: transparent;
}

pre.code-block code {
    display: block;
    line-height: 1.65;
}

.highlight {
    color: var(--accent-secondary);
    font-weight: 600;
}

.highlight-pink {
    color: var(--accent-blush);
    font-weight: 500;
}


/* ═══════════════════════════
   FEATURE BLOCKS — Side by Side
   ═══════════════════════════ */

.feature-block-container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 2rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.feature-block.reversed {
    direction: rtl;
}

.feature-block.reversed .feature-info {
    direction: ltr;
}

.feature-info {
    display: flex;
    flex-direction: column;
}

.feature-info h3 {
    margin-top: 0.5rem;
}

.feature-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.feature-visual:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}


/* ═══════════════════════════
   INTERACTIVE WIDGETS — Soft Glow
   ═══════════════════════════ */

.interactive-widget-box {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
}

.interactive-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.interactive-tab-btn {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.interactive-tab-btn:hover {
    color: var(--text-secondary);
    border-color: var(--border-hover);
}

.interactive-tab-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px -2px rgba(167, 139, 250, 0.25);
}


/* ═══════════════════════════
   RANGE SLIDER — Soft Track
   ═══════════════════════════ */

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.interactive-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: var(--bg-darker);
    outline: none;
    border: 1px solid var(--border-color);
}

.interactive-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
    transition: transform 0.15s var(--ease-bounce);
}

.interactive-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}


/* ═══════════════════════════
   TELEMETRY BARS
   ═══════════════════════════ */

.telemetry-graph {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.graph-row {
    display: grid;
    grid-template-columns: 160px 1fr 70px;
    align-items: center;
    gap: 1rem;
}

.graph-label {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.graph-bar-wrapper {
    height: 10px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    overflow: hidden;
}

.graph-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    border-radius: 100px;
    transition: width 0.5s var(--ease-smooth);
}

.graph-val {
    font-weight: 600;
    text-align: right;
    font-size: 0.88rem;
    color: var(--text-muted);
}


/* ═══════════════════════════
   VIEWFINDER HUD SIMULATOR
   ═══════════════════════════ */

.viewfinder-simulator {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background: #161622;
    background-image: radial-gradient(circle at center, rgba(167, 139, 250, 0.03) 0%, #0e0e16 100%);
    box-shadow: var(--card-shadow);
}

.viewfinder-sign {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    padding: 1.25rem;
    background: #faf9f7;
    border: 3px solid #1a1a2e;
    border-radius: var(--radius-sm);
    color: #1a1a2e;
    text-align: center;
    font-family: var(--font-heading);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: opacity 0.4s ease;
}

.viewfinder-sign h4 {
    font-weight: 700;
    color: #e11d48;
    border-bottom: 2px solid #e11d48;
    padding-bottom: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.viewfinder-hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-secondary);
    pointer-events: none;
    display: none;
    background: rgba(103, 232, 249, 0.03);
}

.viewfinder-hud.active {
    display: block;
    animation: ambient-pulse 3s ease-in-out infinite;
}

.viewfinder-hud-corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid var(--accent-secondary);
}

.viewfinder-hud-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.viewfinder-hud-corner.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.viewfinder-hud-corner.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.viewfinder-hud-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.viewfinder-hud-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 1.1rem;
    background: rgba(14, 14, 22, 0.92);
    border: 1px solid var(--accent-secondary);
    box-shadow: 0 0 30px rgba(103, 232, 249, 0.15);
    border-radius: var(--radius-sm);
    color: var(--accent-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    pointer-events: none;
}


/* ═══════════════════════════
   WATERMARK SCAN LENS
   ═══════════════════════════ */

.watermark-simulator {
    width: 100%;
    height: 360px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background: #161622;
    box-shadow: var(--card-shadow);
}

.watermark-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1533 0%, #201230 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.watermark-art {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-lg);
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.watermark-lens {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 2px dashed var(--accent-peach);
    background: rgba(252, 165, 165, 0.04);
    backdrop-filter: contrast(110%) saturate(130%) brightness(1.05);
    -webkit-backdrop-filter: contrast(110%) saturate(130%) brightness(1.05);
    display: none;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(252, 165, 165, 0.12);
}

.watermark-lens.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: ambient-pulse 3s ease-in-out infinite;
}

.watermark-hud-data {
    font-family: 'DM Mono', 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    color: var(--accent-peach);
    font-weight: 600;
    text-align: center;
    background: rgba(14, 14, 22, 0.9);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(252, 165, 165, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}


/* ═══════════════════════════
   ANIMATIONS — Gentle Ambient
   ═══════════════════════════ */

@keyframes ambient-pulse {
    0%, 100% { opacity: 0.92; }
    50% { opacity: 1; }
}

@keyframes scanner-flicker {
    0%, 100% { opacity: 0.92; }
    50% { opacity: 1; }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ═══════════════════════════
   VERDICT BOX — Editorial Close
   ═══════════════════════════ */

.verdict-box {
    margin-top: 0;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    padding: 3.5rem 3rem;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.verdict-box::before {
    content: 'EDITORIAL';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.15em;
    border: 1px solid rgba(167, 139, 250, 0.2);
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    opacity: 0.75;
    text-transform: uppercase;
}

.verdict-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 2.5rem;
}

.verdict-column {
    display: flex;
    flex-direction: column;
}

.verdict-title-sub {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.verdict-column.positive .verdict-title-sub { color: var(--accent-mint); }
.verdict-column.negative .verdict-title-sub { color: var(--accent-peach); }

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

.verdict-list li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.verdict-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-weight: 700;
}

.verdict-conclusion {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}


/* ═══════════════════════════
   RESPONSIVE — Mobile Grace
   ═══════════════════════════ */

@media (max-width: 1024px) {
    .grid-2, .feature-block, .verdict-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .feature-block.reversed {
        direction: ltr;
    }
    .hero-section {
        min-height: auto;
        padding: 4rem 1.5rem;
    }
    .interactive-3d-model {
        height: 380px;
    }
    .verdict-box {
        padding: 2rem 1.5rem;
    }
    .feature-section {
        padding: 4rem 1.5rem;
    }
    .section-intro {
        margin-bottom: 3rem;
    }
}

/* ═══════════════════════════
   HAMBURGER — Mobile Nav
   ═══════════════════════════ */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hamburger:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


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

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: color-mix(in srgb, var(--bg-main) 96%, transparent);
        backdrop-filter: blur(24px) saturate(150%);
        -webkit-backdrop-filter: blur(24px) saturate(150%);
        border-bottom: 1px solid var(--border-color);
        padding: 1.25rem 1.5rem 1.75rem;
        flex-direction: column;
        gap: 0.25rem;
        z-index: 999;
        box-shadow: 0 16px 40px -8px rgba(0,0,0,0.35);
        animation: slide-down 0.25s var(--ease-smooth);
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius-sm);
    }

    .theme-switch-wrapper {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    @keyframes slide-down {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .nav-container {
        justify-content: space-between;
    }
    .feature-section {
        padding: 3.5rem 1.25rem;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .graph-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .spec-list li {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}
