/* ═══ RESET & BASE ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0b;
    --bg-card: #111113;
    --border: #1e1e22;
    --border-hover: #3a3a42;
    --text: #e4e4e7;
    --text-muted: #8b8b94;
    --text-dim: #5a5a63;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --accent-glow-strong: rgba(59, 130, 246, 0.25);
    --green: #22c55e;
    --purple: #a78bfa;
    --amber: #f59e0b;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Film grain noise overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

::selection {
    background: rgba(59, 130, 246, 0.3);
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══ SCROLL REVEAL ═══ */
.reveal {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.reveal-child > * {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-child.visible > * {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-child.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-child.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-child.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-child.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-child.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-child.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-child.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-child.visible > *:nth-child(8) { transition-delay: 0.56s; }

/* ═══ SECTION DIVIDER ═══ */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-hover) 20%, var(--border-hover) 80%, transparent 100%);
    margin: 0;
}

/* ═══ ANIMATED BORDER ═══ */
@property --border-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.glow-border {
    border: 1px solid transparent;
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        conic-gradient(from var(--border-angle), rgba(59,130,246,0.4), transparent 40%, transparent 60%, rgba(59,130,246,0.4)) border-box;
    animation: rotateBorder 8s linear infinite;
}

@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}

/* ═══ NAV ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    background-image: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.08) 50%, transparent 100%);
    background-size: 100% 1px;
    background-position: bottom;
    background-repeat: no-repeat;
}

.nav.scrolled {
    background-color: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(20px);
    background-image: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.15) 50%, transparent 100%);
    padding: 12px 0;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}

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

.nav-cta {
    background: transparent;
    color: var(--accent) !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 11, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.mobile-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
}

/* ═══ HERO ═══ */
.hero {
    padding: 200px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Blue radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

/* Dot grid pattern + scan lines */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        repeating-linear-gradient(0deg, transparent, transparent 120px, rgba(59,130,246,0.03) 120px, rgba(59,130,246,0.03) 121px);
    background-size: 40px 40px, 100% 100%;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(160deg, #ffffff 0%, #e4e4e7 40%, #71717a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

/* Primary CTA with animated border */
@property --cta-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

.btn-primary {
    color: #fff;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--accent), var(--accent)) padding-box,
        conic-gradient(from var(--cta-angle), rgba(59,130,246,1), rgba(147,197,253,0.8), rgba(59,130,246,1)) border-box;
    animation: rotateCTA 4s linear infinite;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

@keyframes rotateCTA {
    to { --cta-angle: 360deg; }
}

.btn-primary:hover {
    background:
        linear-gradient(var(--accent-hover), var(--accent-hover)) padding-box,
        conic-gradient(from var(--cta-angle), rgba(59,130,246,1), rgba(147,197,253,0.9), rgba(59,130,246,1)) border-box;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

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

/* Inline stats bar in hero */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--text-dim);
}

.hero-stat {
    padding: 0 24px;
    white-space: nowrap;
}

.hero-stat-value {
    color: var(--accent);
    font-weight: 600;
}

.hero-stat-divider {
    width: 1px;
    height: 16px;
    background: var(--border-hover);
}

/* ═══ TERMINAL FLIP CARD ═══ */
.terminal-section {
    padding: 60px 0 80px;
}

.terminal-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.terminal-tab {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal-tab:hover {
    color: var(--text-muted);
    border-color: var(--border-hover);
}

.terminal-tab.active {
    color: var(--accent);
    border-color: rgba(59, 130, 246, 0.4);
    background: var(--accent-glow);
}

.terminal-flipper {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.terminal-face {
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.terminal-front {
    transform: translateY(0) scale(1);
    opacity: 1;
    position: relative;
    z-index: 2;
}

.terminal-back {
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.terminal-flipper.flipped .terminal-front {
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.terminal-flipper.flipped .terminal-back {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

/* ═══ LIVE FEED ═══ */

.feed-window {
    border-radius: 12px;
    overflow: hidden;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Reflected glow beneath terminal */
.feed-window::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

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

.feed-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.feed-dots span:nth-child(1) { background: #ff5f57; }
.feed-dots span:nth-child(2) { background: #ffbd2e; }
.feed-dots span:nth-child(3) { background: #28c840; }

.feed-title {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.feed-status {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.feed-pulse {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Feed stats bar */
.feed-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

.feed-stats:empty {
    display: none;
}

.feed-stats strong {
    color: var(--accent);
    font-weight: 600;
}

.feed-body {
    padding: 16px 20px;
    min-height: 200px;
    background: var(--bg);
}

/* Static recent entries */
.feed-recent {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-item-recent {
    background: rgba(255, 255, 255, 0.02);
}

/* Divider between recent and animated */
.feed-divider {
    display: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-hover) 30%, var(--border-hover) 70%, transparent 100%);
    margin: 12px 0;
    position: relative;
}

.feed-divider::after {
    content: 'older work';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg);
    padding: 0 12px;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 13px;
    transition: background 0.2s;
}

.feed-timestamp {
    color: var(--text-dim);
    font-size: 11px;
    white-space: nowrap;
    min-width: 55px;
}

.feed-category {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.feed-text {
    color: var(--text);
    flex: 1;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: line-through transparent;
    text-decoration-thickness: 1.5px;
}

.feed-check {
    color: var(--green);
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Feed animations */
@keyframes feedIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes feedOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.feed-item.phase-enter {
    animation: feedIn 0.5s ease forwards;
}

.feed-item.phase-strike .feed-text {
    text-decoration-color: var(--green);
    transition: text-decoration-color 0.6s ease, color 0.3s ease;
}

.feed-item.phase-done .feed-text {
    color: var(--green);
    text-decoration-color: var(--green);
}

.feed-item.phase-done .feed-check {
    opacity: 1;
    transform: scale(1);
}

.feed-item.phase-exit {
    animation: feedOut 0.4s ease forwards;
    overflow: hidden;
}

/* ═══ OPERATIONS STATUS ═══ */
.status-window {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.status-header-title {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.status-header-updated {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.3px;
}

.status-body {
    padding: 16px 20px;
    background: var(--bg);
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 13px;
    transition: background 0.2s;
}

.status-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.dot-up {
    background: var(--green);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.status-dot.dot-down {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.dot-unknown {
    background: var(--text-dim);
}

.status-name {
    color: var(--text);
    flex: 1;
}

.status-detail {
    color: var(--text-dim);
    font-size: 11px;
}

.status-uptime {
    color: var(--green);
    font-size: 11px;
    min-width: 42px;
    text-align: right;
}

.status-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 75px;
    text-align: right;
}

.status-label.status-up { color: var(--green); }
.status-label.status-down { color: #ef4444; }
.status-label.status-unknown { color: var(--text-dim); }

.status-backup {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 13px;
}

.status-backup:empty {
    display: none;
}

/* ═══ SECTIONS ═══ */
.section-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    text-shadow: 0 0 80px rgba(59, 130, 246, 0.15);
}

.section-sub {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 620px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ═══ PROOF OF WORK ═══ */
.proof {
    padding: 120px 0;
}

.proof-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Primary cards — 3 across */
.proof-primary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.proof-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.proof-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.proof-tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.proof-tag.tag-ai {
    color: var(--purple);
    background: rgba(167, 139, 250, 0.12);
    border-color: rgba(167, 139, 250, 0.2);
}

.proof-tag.tag-ops {
    color: var(--green);
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.2);
}

.proof-tag.tag-security {
    color: var(--amber);
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.2);
}

.proof-status {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.proof-status.live {
    color: var(--green);
}

.proof-status.live::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s ease-in-out infinite;
}

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

.proof-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.proof-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.proof-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.proof-tech span {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 4px;
}

/* ═══ EXPANDABLE PROJECT LIST ═══ */
.proof-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
}

.proof-list-item {
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    background: transparent;
    transition: border-color 0.3s, background 0.3s;
}

.proof-list-item:hover {
    border-left-color: var(--accent);
    background: rgba(255, 255, 255, 0.02);
}

.proof-list-item.cat-ai { border-left-color: rgba(167, 139, 250, 0.3); }
.proof-list-item.cat-ai:hover { border-left-color: var(--purple); }
.proof-list-item.cat-ops { border-left-color: rgba(34, 197, 94, 0.3); }
.proof-list-item.cat-ops:hover { border-left-color: var(--green); }
.proof-list-item.cat-security { border-left-color: rgba(245, 158, 11, 0.3); }
.proof-list-item.cat-security:hover { border-left-color: var(--amber); }
.proof-list-item.cat-infra { border-left-color: rgba(59, 130, 246, 0.3); }
.proof-list-item.cat-infra:hover { border-left-color: var(--accent); }
.proof-list-item.cat-cloud { border-left-color: rgba(59, 130, 246, 0.3); }
.proof-list-item.cat-cloud:hover { border-left-color: var(--accent); }

.proof-list-item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    transition: background 0.2s;
}

.proof-list-item summary::-webkit-details-marker { display: none; }
.proof-list-item summary::marker { display: none; content: ''; }

.proof-list-item summary .proof-tag {
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.proof-list-item summary .proof-list-name {
    font-weight: 500;
    color: var(--text);
    flex: 1;
}

.proof-list-item summary .proof-list-brief {
    color: var(--text-dim);
    font-size: 13px;
    display: none;
}

.proof-list-item summary .proof-list-arrow {
    color: var(--text-dim);
    font-size: 12px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.proof-list-item[open] summary .proof-list-arrow {
    transform: rotate(90deg);
}

.proof-list-detail {
    padding: 0 20px 20px 116px;
}

.proof-list-detail p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.proof-list-detail .proof-tech {
    margin-top: 0;
}

/* ═══ SERVICES ═══ */
.services {
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(59,130,246,0.15));
    transition: opacity 0.3s;
}

.service-card:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.06);
}

.service-card:hover::before {
    background: linear-gradient(90deg, var(--accent), var(--accent-hover), rgba(59,130,246,0.3));
}

.service-card:hover .service-icon {
    color: var(--accent-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    color: var(--accent);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ═══ CONTACT + ABOUT (merged) ═══ */
.contact {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-quote {
    position: relative;
    max-width: 640px;
    margin: 0 auto 16px;
    padding: 0 20px;
}

.contact-quote::before {
    content: "\201C";
    position: absolute;
    top: -30px;
    left: -10px;
    font-size: 100px;
    font-family: Georgia, serif;
    color: rgba(59, 130, 246, 0.12);
    line-height: 1;
    pointer-events: none;
}

.contact-quote::after {
    content: "\201D";
    position: absolute;
    bottom: -50px;
    right: -10px;
    font-size: 100px;
    font-family: Georgia, serif;
    color: rgba(59, 130, 246, 0.12);
    line-height: 1;
    pointer-events: none;
}

.contact-quote p {
    font-size: 19px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
}

.contact-attribution {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-bottom: 48px;
}

.contact .section-sub {
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 24px;
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

.contact-card svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-card span {
    font-size: 14px;
}

.contact-reassurance {
    font-size: 13px;
    color: var(--text-dim);
    font-style: italic;
}

/* ═══ FOOTER ═══ */
.footer {
    padding: 32px 0;
    border-top: 1px solid transparent;
    background-image: linear-gradient(90deg, transparent 0%, var(--border-hover) 20%, var(--border-hover) 80%, transparent 100%);
    background-size: 100% 1px;
    background-position: top;
    background-repeat: no-repeat;
    background-color: var(--bg);
}

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

.footer-logo {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-dim);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-primary-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-list-detail { padding-left: 40px; }
}

@media (max-width: 700px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu.open { display: flex; }

    .hero { padding: 140px 0 60px; }
    .hero h1 { font-size: 32px; letter-spacing: -1px; }
    .hero-sub { font-size: 15px; }
    .hero-stats { flex-wrap: wrap; gap: 8px; justify-content: center; }
    .hero-stat { padding: 4px 12px; }
    .hero-stat-divider { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .proof-primary-grid { grid-template-columns: 1fr; }

    .section-title { font-size: 26px; }

    .proof-featured { padding: 28px; }
    .proof-featured h3 { font-size: 19px; }

    .proof-list-item summary { padding: 12px 16px; gap: 12px; }
    .proof-list-detail { padding-left: 20px; }

    .contact-methods { flex-direction: column; align-items: center; }
    .contact-quote::before { font-size: 60px; top: -20px; left: 0; }

    .footer .container { flex-direction: column; gap: 8px; text-align: center; }

    .feed-item {
        flex-wrap: wrap;
        gap: 6px;
    }
    .feed-timestamp { min-width: auto; }
    .feed-text {
        width: 100%;
        order: 3;
        white-space: normal;
    }
    .feed-check { order: 4; }
    .feed-window { border-radius: 8px; }
    .feed-body { padding: 12px 14px; }
    .status-window { border-radius: 8px; }
    .status-item { flex-wrap: wrap; gap: 6px; }
    .status-uptime { min-width: auto; }
    .status-label { min-width: auto; }
    .terminal-tab { padding: 6px 14px; font-size: 11px; }
}

@media (max-width: 480px) {
    .feed-title { display: none; }
    .feed-item { font-size: 12px; }
    .proof-list-item summary .proof-list-brief { display: none; }
}
