/* ==========================================================================
   TRINAUTOM — Premium Engineering Documentation Design System
   Architecture: High-Tech / Linear / Vercel Aesthetic
   ========================================================================== */

:root {
    /* Color Palette - Deep Zinc / Tech Aesthetic */
    --bg-base: #09090b;
    --bg-surface: #121214;
    --bg-card: #18181b;
    --bg-card-hover: #212126;
    --bg-card-inner: #0f0f11;
    
    /* Vibrant Professional Accents */
    --accent: #10b981; /* Emerald */
    --accent-glow: rgba(16, 185, 129, 0.15);
    --accent-subtle: rgba(16, 185, 129, 0.1);
    
    --steel: #06b6d4; /* Cyan */
    --steel-glow: rgba(6, 182, 212, 0.15);

    /* Text Hierarchy */
    --text-primary: #ffffff;
    --text-heading: #f8fafc;
    --text-secondary: #d4d4d8;
    --text-muted: #a1a1aa;
    --text-faint: #71717a;

    /* Borders & Shadows */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(255, 255, 255, 0.15);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px 0 var(--accent-glow);

    /* Typography */
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Geometry */
    --radius-card: 16px;
    --radius-box: 12px;
    --radius-sm: 8px;
    --radius-pill: 9999px;
    
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Defaults */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body.trinautom-body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Elegant Tech Grid Background */
.subtle-grid-bg {
    position: fixed;
    inset: 0;
    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-size: 64px 64px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(80px);
}
.ambient-glow.right {
    top: 40%;
    left: auto;
    right: -300px;
    background: radial-gradient(circle, var(--steel-glow) 0%, transparent 70%);
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ==========================================================================
   2D ANIMATED MOWER ON GRASS AMBIENT BACKGROUND
   ========================================================================== */
/* ==========================================================================
   2D ANIMATED MOWER ON LAWN — Ultra-Sleek, Minimalist, Motion-Sickness Free
   - Ground is an ultra-slim 3px baseline (nearly nonexistent)
   - Zero strobe / zero striped patterns
   - Soft organic micro-grass (max 10px high)
   - Steady, calm, relaxed rotation & drift
   ========================================================================== */
.mower-lawn-backdrop {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 72px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lawn-fade-overlay {
    display: none;
}

.lawn-parallax-scroller {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Foreground Ultra-Slim Turf Baseline (Only 3px high!) */
.foreground-turf-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #022c22;
    border-top: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
    overflow: visible;
    z-index: 2;
}

/* Mowed trail behind cutter deck (left: 0 to 75px) */
.mowed-lawn-trail {
    position: absolute;
    top: -1px;
    left: 0;
    width: 65px;
    height: 3px;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    z-index: 3;
}

/* Smooth, calming micro-grass track (Zero vertical stripes, zero strobing!) */
.scrolling-grass-blades-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2880px;
    height: 12px;
    will-change: transform;
    animation: gentleLawnDrift 14s linear infinite;
    z-index: 2;
}

.grass-blades-loop-svg {
    width: 2880px;
    height: 12px;
    display: block;
}

@keyframes gentleLawnDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-1440px, 0, 0);
    }
}

/* Soft Drifting Spores (Calm, slow, very low opacity) */
.lawn-particles-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.lawn-pollen {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #10b981;
    opacity: 0.2;
    animation: gentlePollenDrift 14s linear infinite;
}

.pollen-1 { top: 30%; left: 85%; animation-duration: 16s; animation-delay: 0s; }
.pollen-2 { top: 55%; left: 55%; animation-duration: 14s; animation-delay: 3s; }
.pollen-3 { top: 40%; left: 25%; animation-duration: 18s; animation-delay: 6s; }

@keyframes gentlePollenDrift {
    0% {
        transform: translate3d(40px, 0, 0);
        opacity: 0;
    }
    20% { opacity: 0.3; }
    80% { opacity: 0.15; }
    100% {
        transform: translate3d(-100px, -10px, 0);
        opacity: 0;
    }
}

/* STATIONARY ROBOT MOWER AT BOTTOM-LEFT */
.mower-stationary-station {
    position: absolute;
    bottom: 0;
    left: 14px;
    width: 140px;
    height: 66px;
    z-index: 4;
}

/* Micro-hum suspension (Zero rocking, zero tilting, prevents nausea!) */
.mower-suspension-assembly {
    width: 100%;
    height: 100%;
    position: relative;
    animation: mowerSteadyHum 2s ease-in-out infinite alternate;
}

@keyframes mowerSteadyHum {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.75px); }
}

.mower-robot-svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

/* Calm, Relaxed Wheel Rotations */
.wheel-spin-group {
    transform-box: fill-box;
    transform-origin: center;
    animation: spinWheelCalm 3.5s linear infinite;
    will-change: transform;
}

.wheel-spin-group.front-caster-spin {
    animation-duration: 2.6s;
}

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

/* Subtle Blade Glow */
.cutting-blade-whir {
    opacity: 0.75;
    filter: drop-shadow(0 0 4px #10b981);
}

/* Soft LiDAR Vision Cone (Very low opacity, no harsh glare) */
.mower-sensor-beam {
    position: absolute;
    top: 6px;
    left: 110px;
    width: 100px;
    height: 48px;
    pointer-events: none;
    transform-origin: left center;
    animation: sensorBeamSlow 6s ease-in-out infinite alternate;
    z-index: 2;
    opacity: 0.65;
}

.lidar-cone-svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes sensorBeamSlow {
    0% { transform: rotate(-6deg) scaleY(0.9); opacity: 0.45; }
    100% { transform: rotate(6deg) scaleY(1.05); opacity: 0.75; }
}

.scan-target-dot {
    position: absolute;
    right: 0;
    top: 22px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    opacity: 0.7;
}

.headlight-glow {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(1px 0 6px rgba(16, 185, 129, 0.5));
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar-header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.navbar-header.scrolled {
    background: rgba(9, 9, 11, 0.85);
    border-bottom: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand-logo {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}
.brand-logo:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.logo-icon-wrapper,
.logo-img-wrapper {
    height: 40px;
    width: 40px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(24, 24, 27, 0.95));
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-radius: 10px;
    padding: 3px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.brand-logo:hover .logo-icon-wrapper {
    transform: scale(1.05);
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
}

.brand-img-logo,
.brand-logo-img {
    height: auto;
    width: 100%;
    max-height: 26px;
    max-width: 34px;
    object-fit: contain;
    display: block;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--text-heading);
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 75%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.28));
    transition: var(--transition-fast);
}

.brand-logo:hover .brand-name {
    filter: drop-shadow(0 2px 14px rgba(16, 185, 129, 0.5));
}

.nav-menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    background: rgba(24, 24, 27, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    padding: 4px 6px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-fast);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(16, 185, 129, 0.28);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-status-pill,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.28);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.12);
    user-select: none;
}

.status-pulse-dot,
.status-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: statusGlowPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusGlowPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 8px var(--accent);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
        box-shadow: 0 0 2px var(--accent);
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle .bar {
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   BENTO CONTAINER & GRID SYSTEM
   ========================================================================== */

.trinautom-main {
    position: relative;
    z-index: 1;
    padding: 120px 32px 80px;
}

.bento-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.col-span-12 { grid-column: span 12; }
.col-span-8  { grid-column: span 8; }
.col-span-7  { grid-column: span 7; }
.col-span-6  { grid-column: span 6; }
.col-span-5  { grid-column: span 5; }
.col-span-4  { grid-column: span 4; }

/* Premium Bento Card */
.bento-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-card);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

/* Interactive Glow effect pseudo-element */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
    pointer-events: none;
}

.bento-card:hover {
    border-color: var(--border-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

.card-header-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.card-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Premium Badges */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-heading);
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: #e4e4e7;
    border-color: #e4e4e7;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-heading);
    border-color: var(--border-card);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-secondary);
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--border-card);
    color: var(--text-heading);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-outline-sm:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-ghost:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   BENTO 1: HERO SHOWCASE CARD
   ========================================================================== */

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.badge-domain {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--steel);
    background: var(--steel-glow);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-main {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #71717a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle-block {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f4f4f5;
    line-height: 1.45;
}

.hero-desc {
    font-size: 1.05rem;
    color: #e4e4e7;
    line-height: 1.75;
    max-width: 95%;
}

.hero-desc strong {
    color: #ffffff;
    font-weight: 600;
}

/* Metric Strip */
.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-fast);
}

.metric-pill:hover {
    border-color: var(--text-secondary);
    background: var(--bg-card-hover);
}

.metric-icon {
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Hero Image Preview */
.hero-image-frame {
    position: relative;
    width: 100%;
    border-radius: var(--radius-box);
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: #000000;
}

.hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover .hero-img {
    transform: scale(1.03);
}

.hero-img-meta-strip {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 70%, transparent);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.meta-item {
    font-size: 0.8rem;
    color: #e4e4e7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.meta-tag {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: #a1a1aa;
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ==========================================================================
   BENTO 2: ARSITEKTUR TERDISTRIBUSI
   ========================================================================== */

.tech-spec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.spec-stat-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.stat-value small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.stat-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.arch-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arch-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-fast);
}

.arch-item:hover {
    border-color: var(--text-secondary);
}

.arch-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arch-icon-box {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.arch-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.arch-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   BENTO 3: WIRING SCHEMATIC TB-2512 (12 COLS)
   ========================================================================== */

.schematic-flow-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr 1.2fr;
    gap: 20px;
}

.flow-stage-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stage-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
}

.stage-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    background: var(--accent-subtle);
}

.battery-pair {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.batt-cell {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.batt-icon-box {
    color: var(--text-primary);
}

.batt-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.batt-spec {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-left: auto;
}

.batt-jumper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4px 0;
}

.jumper-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #f59e0b; /* Amber */
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    z-index: 1;
}

.power-switches {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.switch-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 10px 14px;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
}
.sw-label {
    color: var(--text-secondary);
}
.sw-val {
    color: var(--text-primary);
    font-weight: 600;
}

/* Terminal Block Grid */
.terminal-table-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tb-terminal-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.tb-terminal-item:hover {
    border-color: var(--text-secondary);
}

.tb-pin {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--steel);
}

.tb-func {
    font-weight: 600;
    color: var(--text-primary);
}

.tb-src {
    color: var(--text-muted);
    text-align: right;
}

.loads-subgrid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.load-card {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
}
.load-icon-box {
    color: var(--text-primary);
    padding-top: 2px;
}
.load-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.load-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.load-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   BENTO 4: CAD GALLERY
   ========================================================================== */

.gallery-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--bg-surface);
    padding: 6px;
    border-radius: var(--radius-box);
    border: 1px solid var(--border-card);
}

.gallery-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-tab:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.gallery-tab.active {
    background: var(--bg-card-inner);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-card);
}

.gallery-preview-box {
    position: relative;
    width: 100%;
    height: 340px;
    border-radius: var(--radius-box);
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: #000;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-caption-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7) 60%, transparent);
    color: #fff;
}

.gallery-caption-overlay h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.gallery-caption-overlay p {
    font-size: 0.85rem;
    color: #a1a1aa;
    line-height: 1.5;
}

.gallery-zoom-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}
.gallery-zoom-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* ==========================================================================
   BENTO 5: SPESIFIKASI
   ========================================================================== */

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

.spec-cell {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 20px;
    transition: var(--transition-fast);
}
.spec-cell:hover {
    border-color: var(--text-secondary);
}

.spec-cell-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.spec-icon-box {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}
.spec-cell-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.spec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.spec-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}
.spec-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}
.spec-list li strong {
    color: var(--text-primary);
}

/* ==========================================================================
   BENTO 6: VISI KOMPUTER & DUAL MODE
   ========================================================================== */

.algorithm-comparison {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.algo-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 20px;
}

.algo-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.algo-icon-box {
    color: var(--text-primary);
}
.algo-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.algo-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}
.algo-meta-pill {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.sensor-flow-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.flow-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-card);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--text-primary);
}

/* ==========================================================================
   BENTO 7: KINEMATIKA & SAFETY
   ========================================================================== */

.safety-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.safety-feature-item {
    display: flex;
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 20px;
    transition: var(--transition-fast);
}
.safety-feature-item:hover {
    border-color: var(--text-secondary);
}
.safety-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}
.safety-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.safety-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.safety-item-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   BENTO 8: TIM CAPSTONE
   ========================================================================== */

.team-layout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.members-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.member-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.member-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    border: 1px solid var(--border-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.member-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.member-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}
.member-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.member-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin: 8px 0;
}
.member-focus {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.advisor-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.advisor-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.advisor-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
}
.advisor-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}
.advisor-title {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}
.advisor-dept {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.advisor-quote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    padding-left: 16px;
    border-left: 2px solid var(--border-card);
    margin-top: 8px;
}

/* ==========================================================================
   BENTO 9: TIMELINE & MILESTONES
   ========================================================================== */

.milestone-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 24px;
}
.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 16px;
}

.marker-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-card);
    z-index: 2;
}
.timeline-item.completed .marker-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
.timeline-item.active .marker-dot {
    background: var(--steel);
    border-color: var(--steel);
    box-shadow: 0 0 10px var(--steel-glow);
}

.marker-line {
    position: absolute;
    top: 12px;
    bottom: -24px; /* Extends to next item */
    width: 2px;
    background: var(--border-card);
    z-index: 1;
}
.timeline-item:last-child .marker-line {
    display: none;
}
.timeline-item.completed .marker-line {
    background: var(--accent-subtle);
}

.timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: -4px;
}

.timeline-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.timeline-stage {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}
.timeline-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}
.status-done {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
}
.status-active {
    background: rgba(6, 182, 212, 0.1);
    color: var(--steel);
}
.status-pending {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
}
.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   BENTO 10: DOWNLOADS
   ========================================================================== */

.downloads-list,
.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 14px 18px;
    transition: var(--transition-fast);
}

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

.download-icon-box,
.dl-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.download-info,
.dl-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.download-title,
.dl-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-sub,
.dl-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.btn-download {
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-card);
    background: var(--bg-card-inner);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.btn-download:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
    color: var(--accent);
}

/* ==========================================================================
   MODAL DIALOG & LIGHTBOX
   ========================================================================== */
.modal-backdrop,
.trinautom-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    padding: 20px;
}

.modal-backdrop.active,
.trinautom-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-dialog,
.trinautom-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-card-hover);
    border-radius: var(--radius-card);
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-backdrop.active .modal-dialog,
.trinautom-modal-backdrop.active .trinautom-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-card);
    background: var(--bg-surface);
}

.modal-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ef4444;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-specs-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-spec-category {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 16px 20px;
}

.modal-cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-card);
}

.cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.modal-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.modal-spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.modal-spec-table tr:last-child {
    border-bottom: none;
}

.modal-spec-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
}

.param-col {
    color: var(--text-secondary);
    font-weight: 500;
    width: 38%;
}

.val-col {
    color: var(--text-heading);
    font-weight: 600;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border-card);
    background: var(--bg-surface);
}

.btn-primary-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #000;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary-sm:hover {
    filter: brightness(1.1);
}

.btn-outline-sm {
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-outline-sm:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

/* Modal Lightbox */
.modal-lightbox-dialog {
    max-width: 960px;
    background: rgba(18, 18, 20, 0.95);
}

.lightbox-body {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-fullscreen-img {
    max-width: 100%;
    max-height: 72vh;
    border-radius: var(--radius-box);
    object-fit: contain;
}

/* Toast */
.trinautom-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: var(--radius-pill);
    padding: 12px 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-glow);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.trinautom-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ==========================================================================
   TRINAUTOM FOOTER
   ========================================================================== */
.trinautom-footer,
.site-footer {
    border-top: 1px solid var(--border-card);
    background: #09090b;
    padding: 64px 0 32px;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

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

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-heading);
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.badge-tech {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-muted);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-heading {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-heading);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--accent);
    transform: translateX(3px);
    display: inline-block;
}

.footer-host-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-box);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.host-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
}

.host-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.host-domain {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.host-subtext {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.footer-academic-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-card);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   DOKUMEN C3: 4 PILAR REKAYASA SISTEM
   ========================================================================== */
.pillars-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.pillar-detailed-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition-normal);
}

.pillar-detailed-box:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(255, 255, 255, 0.035);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pillar-box-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pillar-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-family: var(--font-mono);
}

.pillar-box-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.pillar-lead {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pillar-lead strong {
    color: var(--text-secondary);
}

.pillar-box-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.pillar-formula-box {
    background: #090d16;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.formula-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pillar-formula-box code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #38bdf8;
    word-break: break-all;
    line-height: 1.4;
}

.pillar-specs-compact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}

.spec-row-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 0.82rem;
}

.spec-row-item .k {
    color: var(--text-muted);
    flex-shrink: 0;
}

.spec-row-item .v {
    color: var(--text-primary);
    text-align: right;
    font-weight: 500;
}

/* ==========================================================================
   DOKUMEN C3: LIVE TELEMETRI DASHBOARD
   ========================================================================== */
.telemetry-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-indicator .pulsing {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 14px #10b981; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.telemetry-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.telem-box {
    background: #090d16;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.telem-box.fsm-box {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.06), rgba(16, 185, 129, 0.03));
    border-color: rgba(56, 189, 248, 0.25);
}

.telem-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.telem-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    font-family: var(--font-mono);
}

.telem-badge {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.telem-pill-zone {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.telem-badge-pid {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.telem-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.telem-metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 14px;
}

.telem-val-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tv-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.tv-data {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

/* ==========================================================================
   DOKUMEN C3: RIWAYAT BIMBINGAN TABLE
   ========================================================================== */
.consultation-table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.015);
}

.consultation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    text-align: left;
}

.consultation-table th,
.consultation-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.consultation-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.consultation-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.consultation-table .col-no {
    width: 50px;
    text-align: center;
}

.table-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--text-primary);
}

.consultation-table .col-date {
    width: 140px;
    color: #38bdf8;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    white-space: nowrap;
}

.consultation-table .col-topic {
    font-weight: 600;
    color: var(--text-primary);
}

.topic-title {
    line-height: 1.4;
}

.consultation-table .col-action {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}

.consultation-table .col-status {
    width: 150px;
    white-space: nowrap;
}

.status-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================================================
   DOKUMEN C3: TIM & ADVISOR STYLING
   ========================================================================== */
.member-pillar-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    font-size: 0.72rem;
    font-weight: 600;
    margin: 4px 0 2px;
}

.advisor-signature-block {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
}

.sign-loc {
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.sign-status {
    color: #10b981;
    font-weight: 600;
}

/* ==========================================================================
   DOKUMEN C3: KESIMPULAN RISET LIST
   ========================================================================== */
.conclusions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.concl-item {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px;
    align-items: flex-start;
}

.concl-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.concl-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.concl-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.concl-text {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN OVERRIDES FOR C3 COMPONENTS
   ========================================================================== */
@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: 1fr;
    }
    .col-span-12, .col-span-8, .col-span-7, .col-span-6, .col-span-5, .col-span-4 {
        grid-column: span 1;
    }
    .hero-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pillars-grid-container {
        grid-template-columns: 1fr;
    }
    .telemetry-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }
    .telem-box.fsm-box {
        grid-column: span 2;
    }
    .schematic-flow-container {
        grid-template-columns: 1fr;
    }
    .team-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .d-none-mobile {
        display: none !important;
    }
    .brand-name {
        font-size: 1.2rem;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        padding: 12px 18px;
    }
    .mower-lawn-backdrop {
        height: 90px;
    }
    .mower-stationary-station {
        width: 140px;
        height: 66px;
        bottom: 8px;
        left: 6px;
    }
    .mowed-lawn-trail {
        width: 74px;
    }
    .hero-title-main {
        font-size: 2rem;
    }
    .hero-metrics-grid, .tech-spec-grid, .specs-subgrid, .members-subgrid {
        grid-template-columns: 1fr;
    }
    .telemetry-dashboard-grid {
        grid-template-columns: 1fr;
    }
    .telem-box.fsm-box {
        grid-column: span 1;
    }
    .telem-metrics-row {
        grid-template-columns: 1fr;
    }
    .card-content {
        padding: 20px;
    }
    .trinautom-main {
        padding: 90px 14px 40px;
    }
}

