/* ============================
   HAMZ LABS — MOBILE-FIRST CSS
   Futuristic Dark Theme
   Fonts: Outfit (display) + DM Sans (body)
   ============================ */

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

:root {
    --bg: #050508;
    --bg-2: #0a0a12;
    --surface: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(99,102,241,0.5);
    --accent: #6366f1;
    --accent-2: #a855f7;
    --accent-3: #ec4899;
    --cyan: #00DFD8;
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.5);
    --text-dim: rgba(255,255,255,0.25);
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(168,85,247,0.1) 50%, rgba(236,72,153,0.15) 100%);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --nav-h: 64px;
    --radius: 16px;
    --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* ===================== CANVAS & EFFECTS ===================== */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.scanlines {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg, transparent, transparent 2px,
        rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px
    );
}

/* ===================== LAYOUT ===================== */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(5,5,8,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.navbar.scrolled { background: rgba(5,5,8,0.97); }

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.brand-bracket { color: var(--text-dim); }
.brand-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand-cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

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

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.btn-cta {
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 20px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.btn-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 10000;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

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

/* ===================== HERO ===================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(99,102,241,0.2), transparent 70%);
    top: -100px; left: -150px;
}

.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,0.15), transparent 70%);
    bottom: -100px; right: -100px;
}

.hero-content {
    text-align: center;
    padding: 48px 20px;
    z-index: 2;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 28px;
    font-family: var(--font-display);
}

.tag-dot {
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%,100%{ box-shadow: 0 0 0 0 rgba(0,223,216,0.4); }
    50%{ box-shadow: 0 0 0 6px rgba(0,223,216,0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.typed-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.typed-cursor {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: blink 0.9s step-end infinite;
    font-weight: 300;
}

.hero-sub {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 13px 26px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s, transform 0.2s;
    font-family: var(--font-body);
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 13px 26px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s;
    background: var(--surface);
    font-family: var(--font-body);
}

.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn-arrow { transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 18px 36px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    font-family: var(--font-display);
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%{ transform: scaleY(0); transform-origin: top; opacity: 1; }
    50%{ transform: scaleY(1); transform-origin: top; opacity: 1; }
    100%{ transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ===================== SECTION LABELS ===================== */
.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-weight: 600;
}

.section-label.left-align { justify-content: flex-start; }

.label-line {
    display: block;
    height: 1px;
    width: 50px;
    background: var(--border);
}

.label-line.short { width: 28px; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.025em;
}

.section-title.left-align { text-align: left; }

.section-sub {
    color: var(--text-muted);
    text-align: center;
    max-width: 480px;
    margin: 0 auto 52px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================== PRODUCTS ===================== */
#products {
    padding: 80px 0;
    position: relative;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 52px;
}

.product-card-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.product-card-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
}

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

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.badge-dot {
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
}

.product-name .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-tagline {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 5px;
    font-family: var(--font-display);
    font-weight: 500;
}

.product-icon-wrap {
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 12px;
    padding: 10px;
    flex-shrink: 0;
}

.product-icon-wrap svg { width: 36px; height: 36px; }

.product-desc {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 28px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.feat-check {
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.product-footer {
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: var(--font-display);
}

.status-dot {
    width: 7px; height: 7px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* Product Visual Cards */
.product-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.visual-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.3s, transform 0.3s;
}

.visual-card:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.vc-icon { font-size: 1.4rem; min-width: 32px; }
.vc-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 3px; font-family: var(--font-display); }
.vc-sub { color: var(--text-muted); font-size: 0.76rem; line-height: 1.45; }

.visual-orb {
    position: absolute;
    bottom: -60px; right: -60px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ===================== ABOUT ===================== */
.about-section {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.about-bg-line {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.75;
}

.about-lead strong { color: var(--text); }
.about-body strong { color: var(--text); }

.about-body {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.about-metrics {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-val {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.metric-label { font-size: 0.68rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-display); }

/* Terminal */
.terminal-window {
    background: #0d0d14;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot.red { background: #ff5f57; }
.term-dot.yellow { background: #ffbd2e; }
.term-dot.green { background: #28c840; }

.term-title {
    margin-left: 8px;
    font-size: 0.72rem;
    color: var(--text-dim);
    font-family: var(--font-body);
}

.terminal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.term-line {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-muted);
    animation: fade-in 0.5s ease forwards;
    opacity: 0;
}

.term-line:nth-child(1){ animation-delay: 0.2s; }
.term-line:nth-child(2){ animation-delay: 0.6s; }
.term-line:nth-child(3){ animation-delay: 1.0s; }
.term-line:nth-child(4){ animation-delay: 1.4s; }
.term-line:nth-child(5){ animation-delay: 1.8s; }
.term-line:nth-child(6){ animation-delay: 2.2s; }
.term-line:nth-child(7){ animation-delay: 2.6s; }
.term-line:nth-child(8){ animation-delay: 3.0s; }

@keyframes fade-in { to{ opacity:1 } }

.term-prompt { color: var(--accent); margin-right: 8px; }
.term-cmd { color: #e2e8f0; }
.term-output { color: var(--text-dim); padding-left: 14px; }
.term-success { color: var(--cyan); padding-left: 14px; }
.term-blink { animation: blink 1s step-end infinite; color: var(--accent); }

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

/* ===================== TEAM ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 14px;
}

.founder-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.founder-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.founder-card:hover .founder-glow { opacity: 1; }

.founder-glow {
    position: absolute;
    bottom: -40px; left: 50%;
    transform: translateX(-50%);
    width: 120px; height: 80px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.founder-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
}

.avatar-placeholder {
    width: 82px; height: 82px;
    background: rgba(99,102,241,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99,102,241,0.2);
}

.avatar-placeholder svg { width: 44px; height: 44px; }

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.founder-card:hover .avatar-ring { opacity: 0.7; }

.founder-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.founder-role {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 9px;
    font-family: var(--font-display);
}

.founder-bio {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================== MODAL ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: rgba(10,10,18,0.98);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    width: 100%;
    max-width: 460px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }

.modal-header { margin-bottom: 24px; }
.modal-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

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

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.72rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-display);
    font-weight: 600;
}

.form-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.875rem;
    width: 100%;
    transition: border-color 0.2s, background 0.2s;
    resize: vertical;
}

.form-input::placeholder { color: var(--text-dim); }
.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(99,102,241,0.05);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-result {
    font-size: 0.82rem;
    font-weight: 600;
    min-height: 18px;
    margin-bottom: 8px;
}

.btn-submit {
    width: 100%;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.btn-submit:hover { opacity: 0.85; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===================== FOOTER ===================== */
.footer {
    position: relative;
    padding: 52px 0 36px;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 200px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.08), transparent 70%);
    pointer-events: none;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.footer-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--text-dim);
    font-family: var(--font-display);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 6px;
}

/* ===================== SKILLCHAIN ===================== */
.skillchain-showcase {
    margin-top: 28px;
    grid-template-columns: 1fr 1fr;
}

a.product-card-main.skillchain-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.skillchain-card::before {
    background: linear-gradient(135deg, #E85C00, #F59E0B, #E85C00) !important;
}

.skillchain-card:hover {
    border-color: rgba(232, 92, 0, 0.5) !important;
    transform: translateY(-3px);
    transition: transform 0.3s, border-color 0.3s;
}

.skillchain-badge {
    background: rgba(232, 92, 0, 0.1) !important;
    border-color: rgba(232, 92, 0, 0.3) !important;
    color: #E85C00 !important;
}

.sc-dot {
    background: #E85C00 !important;
    animation: pulse-sc 2s infinite;
}

@keyframes pulse-sc {
    0%,100% { box-shadow: 0 0 0 0 rgba(232, 92, 0, 0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(232, 92, 0, 0); }
}

.sc-accent {
    background: linear-gradient(135deg, #E85C00, #F59E0B) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.sc-icon-wrap {
    background: rgba(232, 92, 0, 0.1) !important;
    border-color: rgba(232, 92, 0, 0.2) !important;
}

.sc-check { color: #F59E0B !important; }

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

.sc-status { color: #9A8A76; }

.sc-live-dot {
    background: #22C55E !important;
    animation: pulse-sc-green 2s infinite;
}

@keyframes pulse-sc-green {
    0%,100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50%      { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.sc-visit-hint {
    font-size: 0.8rem;
    font-weight: 600;
    color: #E85C00;
    letter-spacing: 0.03em;
    transition: letter-spacing 0.2s;
}

.skillchain-card:hover .sc-visit-hint { letter-spacing: 0.08em; }

.skillchain-orb {
    background: radial-gradient(circle, rgba(232, 92, 0, 0.15), transparent 70%) !important;
}

.skillchain-visual .visual-card:hover { border-color: rgba(232, 92, 0, 0.4); }

/* ========================================================
   RESPONSIVE — TABLET (≤1024px)
   ======================================================== */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .product-showcase,
    .skillchain-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }

    .skillchain-card { order: -1; }
}

/* ========================================================
   RESPONSIVE — MOBILE (≤768px)
   ======================================================== */
@media (max-width: 768px) {
    :root { --nav-h: 60px; }

    .section { padding: 56px 0; }
    .container { padding: 0 16px; }

    /* ── Nav ── */
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; right: 0; bottom: 0; left: auto;
        width: min(260px, 80vw);
        height: 100dvh;
        background: #08080f;
        flex-direction: column;
        align-items: flex-start;
        padding: 76px 24px 32px;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-left: 1px solid var(--border);
        z-index: 9999;
        overflow-y: auto;
    }

    .nav-links.open { transform: translateX(0); }
    .nav-link { font-size: 1rem; color: var(--text-muted); }
    .btn-cta { width: 100%; text-align: center; justify-content: center; }

    /* ── Hero ── */
    .hero-content { padding: 36px 16px 44px; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); letter-spacing: -0.025em; }
    .hero-sub { font-size: 0.92rem; margin-bottom: 28px; }
    .hero-actions { gap: 10px; margin-bottom: 32px; }
    .btn-primary, .btn-ghost { width: 100%; justify-content: center; padding: 12px 20px; }

    .hero-stats {
        width: 100%;
        padding: 14px 16px;
        gap: 0;
        justify-content: space-around;
        border-radius: 14px;
    }
    .stat-num { font-size: 1.35rem; }
    .stat-label { font-size: 0.6rem; }
    .stat-divider { display: none; }

    /* ── Section labels / titles ── */
    .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .section-sub { font-size: 0.875rem; margin-bottom: 36px; }

    /* ── Products ── */
    #products { padding: 56px 0; }

    .product-showcase,
    .skillchain-showcase {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .product-card-main {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .product-badge { font-size: 0.68rem; padding: 3px 10px; margin-bottom: 16px; }

    .product-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        flex-wrap: nowrap;
    }

    .product-name { font-size: 1.6rem; }
    .product-tagline { font-size: 0.68rem; }

    .product-icon-wrap {
        padding: 8px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    .product-icon-wrap svg { width: 28px; height: 28px; }

    .product-desc { font-size: 0.85rem; margin-bottom: 16px; }

    .feature-list { gap: 8px; margin-bottom: 20px; }
    .feature-list li { font-size: 0.82rem; }

    .product-footer { padding-top: 14px; }
    .sc-footer { flex-direction: row; align-items: center; gap: 8px; }

    /* ── Visual cards ── */
    .product-visual { gap: 10px; }

    .visual-card {
        padding: 13px 16px;
        gap: 12px;
        border-radius: 12px;
    }

    .vc-icon { font-size: 1.2rem; min-width: 28px; }
    .vc-title { font-size: 0.85rem; }
    .vc-sub { font-size: 0.73rem; line-height: 1.4; }
    .visual-orb { display: none; }

    /* ── About ── */
    .about-grid { gap: 32px; }
    .about-lead { font-size: 0.95rem; }
    .about-metrics { gap: 20px; }
    .metric-val { font-size: 1.5rem; }

    .terminal-body { padding: 16px; gap: 7px; }
    .term-line { font-size: 0.75rem; }

    /* ── Team ── */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 10px;
    }

    .founder-card {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .avatar-placeholder { width: 64px; height: 64px; }
    .avatar-placeholder svg { width: 36px; height: 36px; }
    .founder-avatar { margin-bottom: 14px; }
    .founder-name { font-size: 0.88rem; }
    .founder-role { font-size: 0.62rem; letter-spacing: 0.05em; }
    .founder-bio { font-size: 0.73rem; line-height: 1.55; }

    /* ── Modal ── */
    .modal-overlay { padding: 16px; align-items: flex-end; }
    .modal-box {
        padding: 28px 20px;
        border-radius: 20px 20px 16px 16px;
        max-width: 100%;
    }
    .modal-title { font-size: 1.15rem; }

    /* ── Footer ── */
    .footer { padding: 40px 0 28px; }
    .footer-brand { font-size: 1.2rem; }
    .footer-tagline { font-size: 0.6rem; letter-spacing: 0.16em; }
    .footer-links { gap: 16px; }
    .footer-links a { font-size: 0.8rem; }
    .footer-copy { font-size: 0.7rem; }
}

/* ========================================================
   RESPONSIVE — SMALL MOBILE (≤400px)
   ======================================================== */
@media (max-width: 400px) {
    .hero-title { font-size: 2rem; }
    .hero-tag { font-size: 0.6rem; padding: 4px 12px; }

    .product-name { font-size: 1.4rem; }

    .team-grid { gap: 10px; }
    .founder-card { padding: 16px 10px; }
    .founder-name { font-size: 0.82rem; }
    .founder-bio { font-size: 0.7rem; }
    .avatar-placeholder { width: 56px; height: 56px; }
    .avatar-placeholder svg { width: 30px; height: 30px; }

    .hero-stats { padding: 12px 12px; }
    .stat-num { font-size: 1.2rem; }
}