/* ============================================
   MatikEdge Solutions — Light admin-panel theme
   Mirrors the MatikLite PisoWiFi router admin UI
   ============================================ */

:root {
    /* Page surfaces */
    --bg-primary:   #f0f4ff;
    --bg-secondary: #f7f9ff;
    --bg-tertiary:  #eef3fd;
    --surface:      #ffffff;
    --surface-2:    #f4f7ff;

    /* Dark accent surfaces (sidebar, terminal) */
    --dark:         #0f1a2e;
    --dark-2:       #13233d;
    --dark-3:       #1a2540;

    /* Text */
    --text-primary:   #1a2540;
    --text-secondary: #4c5c7a;
    --text-muted:     #8696b8;
    --text-on-dark:   #e8ecf4;
    --text-on-dark-2: #a6b4cf;

    /* Borders */
    --border:        #e4eaf5;
    --border-2:      #d7e0f1;
    --border-strong: #c5d0e7;
    --divider:       #edf1fa;

    /* Brand */
    --accent:        #2b5ef7;
    --accent-2:      #3b6ef5;
    --accent-deep:   #1a46d4;
    --accent-soft:   #eaf1ff;
    --accent-warm:   #f59e0b;
    --accent-warm-2: #ff9a3c;
    --accent-glow:   rgba(43,94,247,.15);

    /* Premium accents — refined secondary palette */
    --gold:          #c9a35c;
    --gold-deep:     #a8832f;
    --gold-soft:     #f8f1dd;
    --platinum:      #d9e1f0;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b6ef5, #2b5ef7);
    --gradient-brand:   linear-gradient(135deg, #7ab8ff, #2b5ef7);
    --gradient-warm:    linear-gradient(135deg, #ffb366, #f59e0b);
    --gradient-hero:    linear-gradient(160deg, #5fb2ff 0%, #2b5ef7 50%, #1a3371 100%);
    --gradient-orange:  linear-gradient(135deg, #ff9a3c, #f07b2a);
    --gradient-navy:    linear-gradient(135deg, #2c4a8f, #1a3371);

    /* Radius */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --radius-2xl: 24px;

    /* Shadows */
    --shadow-card:        0 6px 28px rgba(30,60,130,.11);
    --shadow-card-hover:  0 12px 40px rgba(30,60,130,.18);
    --shadow-sm:          0 2px 10px rgba(30,60,130,.08);
    --shadow-glow:        0 10px 40px rgba(43,94,247,.25);
    --shadow-glow-strong: 0 14px 50px rgba(43,94,247,.35);

    /* Motion */
    --transition:      .25s cubic-bezier(.4,0,.2,1);
    --transition-slow: .5s cubic-bezier(.4,0,.2,1);
}

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    letter-spacing: -.005em;
}

.btn-sm { padding: 9px 20px; font-size: .85rem; border-radius: var(--radius-sm); }
.btn-md { padding: 12px 26px; font-size: .9rem;  border-radius: var(--radius-md); }
.btn-lg { padding: 15px 34px; font-size: 1rem;   border-radius: var(--radius-md); }

/* All buttons are transparent glass-style — no solid fills */
.btn-primary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(43,94,247,.1);
}
.btn-primary:hover {
    background: rgba(43,94,247,.08);
    color: var(--accent-deep);
    border-color: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(43,94,247,.22);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--text-primary);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(26,37,64,.08);
}
.btn-secondary:hover {
    background: rgba(26,37,64,.06);
    color: #0d1a35;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,37,64,.18);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1.5px dashed rgba(43,94,247,.35);
    border-radius: var(--radius-md);
}
.btn-ghost:hover {
    background: rgba(43,94,247,.06);
    border-color: var(--accent);
    border-style: solid;
}

.btn-block { width: 100%; }

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(240,244,255,.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(30,60,130,.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.01em;
    z-index: 1001;
    color: var(--text-primary);
}

/* MSLOGO.png — transparent brand mark (pure logo, no frame) */
.logo-img {
    width: 46px; height: 46px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(43,94,247,.2));
    transition: transform var(--transition);
}
.nav-logo:hover .logo-img { transform: scale(1.06) rotate(-4deg); }

/* In the dark footer, keep the logo visible as-is on dark bg */
.footer .logo-img {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

.logo-icon {
    width: 38px; height: 38px;
    background: var(--gradient-brand);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(43,94,247,.28);
}

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

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-links a {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav-links a:hover {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-toggle span {
    width: 22px; height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Ambient background orbs — soft brand glow on light bg */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .55;
}

.hero-orb-1 {
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(122,184,255,.45), transparent 70%);
    top: -22%; right: -10%;
    animation: orb-drift 14s ease-in-out infinite;
}

.hero-orb-2 {
    width: 440px; height: 440px;
    background: radial-gradient(circle, rgba(255,180,110,.35), transparent 70%);
    bottom: -15%; left: -8%;
    animation: orb-drift 16s ease-in-out infinite reverse;
}

.hero-orb-3 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(94,178,255,.3), transparent 70%);
    top: 30%; left: 40%;
    animation: orb-drift 18s ease-in-out infinite;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(43,94,247,.12) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .3;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
}

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(30px, -30px); }
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Centered single-column hero (phone visual removed) */
.hero-container.hero-centered {
    display: block;
    text-align: center;
    max-width: 900px;
}
.hero-container.hero-centered .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-container.hero-centered .hero-subtitle {
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}
.hero-container.hero-centered .hero-cta,
.hero-container.hero-centered .hero-stats {
    justify-content: center;
}
.hero-container.hero-centered .hero-title {
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

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

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

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 22px;
    color: var(--text-primary);
}

.hero-highlight {
    position: relative;
    display: inline-block;
}

.hero-highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero-highlight-line {
    position: absolute;
    bottom: 4px; left: 0;
    width: 100%; height: 10px;
    background: var(--accent-soft);
    border-radius: 6px;
    z-index: 0;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 520px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.02em;
}

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

.stat-label {
    font-size: .75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.stat-divider {
    width: 1.5px; height: 32px;
    background: var(--border-strong);
}

/* ============================================
   Hero Phone Mockup — Matik_OS portal showcase
   (premium floating treatment — intentionally
   different from typical PisoWiFi landing pages)
   ============================================ */
.hero-visual {
    position: relative;
    perspective: 1600px;
}

.phone-stage {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1.05;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

/* Ambient colored glow blobs */
.phone-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: phone-glow-pulse 8s ease-in-out infinite;
}
.phone-glow-1 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(43,94,247,.6), transparent 70%);
    top: 5%; left: 8%;
}
.phone-glow-2 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(201,163,92,.35), transparent 70%);
    bottom: 10%; right: 8%;
    animation-delay: -4s;
}
@keyframes phone-glow-pulse {
    0%, 100% { opacity: .85; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.08); }
}

/* Grid ring behind the device — geometric backdrop for originality */
.phone-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}
.phone-backdrop-ring {
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 60%, rgba(43,94,247,.1) 61%, transparent 62%),
        conic-gradient(from 45deg, transparent 0deg, rgba(43,94,247,.12) 30deg, transparent 60deg, transparent 180deg, rgba(201,163,92,.1) 210deg, transparent 240deg);
    animation: ring-spin 40s linear infinite;
}
.phone-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(43,94,247,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,94,247,.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle, black 20%, transparent 55%);
    -webkit-mask-image: radial-gradient(circle, black 20%, transparent 55%);
    opacity: .6;
}
@keyframes ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* The phone image — tilted, floating with drop-shadow */
.phone-mockup {
    position: relative;
    z-index: 2;
    width: 62%;
    max-width: 340px;
    height: auto;
    transform: rotate(-5deg) translateY(-6px);
    filter: drop-shadow(0 30px 60px rgba(15,26,46,.35));
    animation: phone-float 6s ease-in-out infinite;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.hero-visual:hover .phone-mockup {
    transform: rotate(-2deg) translateY(-12px) scale(1.02);
}
@keyframes phone-float {
    0%, 100% { transform: rotate(-5deg) translateY(-6px); }
    50%      { transform: rotate(-5deg) translateY(-16px); }
}

/* Floating info chips around the phone */
.phone-chip {
    position: absolute;
    z-index: 3;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(12px) saturate(1.2);
    border: 1px solid rgba(43,94,247,.15);
    border-radius: 14px;
    padding: 11px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow:
        0 12px 30px rgba(30,60,130,.18),
        inset 0 1px 0 rgba(255,255,255,.9);
    animation: chip-float 7s ease-in-out infinite;
}
.phone-chip-tl {
    top: 12%; left: -4%;
    animation-delay: 0s;
}
.phone-chip-tr {
    top: 6%; right: -6%;
    animation-delay: -2.3s;
}
.phone-chip-br {
    bottom: 15%; right: -8%;
    animation-delay: -4.6s;
}
@keyframes chip-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-10px) rotate(.5deg); }
}

.phone-chip-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent-soft), #d6e5ff);
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(43,94,247,.15);
}

.phone-chip-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    flex-shrink: 0;
    margin-left: 4px;
}
.phone-chip-dot.live {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,.18), 0 0 12px rgba(16,185,129,.5);
    animation: chip-pulse 2s infinite;
}
@keyframes chip-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,.18), 0 0 12px rgba(16,185,129,.5); }
    50%      { box-shadow: 0 0 0 5px rgba(16,185,129,.28), 0 0 18px rgba(16,185,129,.7); }
}

.phone-chip-label {
    font-size: .65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 2px;
    line-height: 1;
}
.phone-chip-value {
    font-size: .92rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.01em;
    line-height: 1.1;
}

/* LEGACY terminal styles below — unused but retained for potential fallback.
   ============================================ */
.hero-visual-legacy {
    position: relative;
    perspective: 1000px;
}

.terminal-window {
    background: #0b1222;
    border: 1px solid #1e2a45;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,26,46,.35);
    transform: rotate(-2deg);
    transition: var(--transition-slow);
}

.terminal-window:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 25px 70px rgba(15,26,46,.45);
}

.terminal-header {
    background: #141f36;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #1e2a45;
}

.terminal-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dot.red    { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green  { background: #28c840; }

.terminal-title {
    margin-left: auto;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .75rem;
    color: #6f7d9a;
}

.terminal-body {
    padding: 20px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .82rem;
    line-height: 1.9;
    color: #c7d2e8;
    min-height: 320px;
}

.terminal-line { display: flex; gap: 8px; align-items: center; }

.t-prompt  { color: var(--accent); font-weight: 700; }
.t-command { color: #e8ecf4; }
.t-flag    { color: #f59e0b; }
.t-comment { color: #6f7d9a; font-style: italic; }
.t-success { color: #10b981; font-weight: 700; }
.t-string  { color: #7ab8ff; }

.terminal-products {
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.terminal-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #141f36;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
    font-size: .78rem;
}

.terminal-product-name { color: #e8ecf4; display: flex; align-items: center; gap: 8px; }
.terminal-product-name .emoji { font-size: 1rem; }

.terminal-product-status {
    padding: 2px 10px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.status-live {
    background: rgba(16,185,129,.2);
    color: #10b981;
    border: 1px solid rgba(16,185,129,.3);
}

.terminal-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--accent);
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* ============================================
   Section Header (reused across sections)
   ============================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    background: var(--accent-soft);
    border: 1px solid rgba(43,94,247,.18);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent-deep);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -.02em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 500;
}

/* ============================================
   Dashboard Showcase — DASH.jpg preview
   ============================================ */
.dashboard-showcase {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Bare variant (no heading) — just the framed dashboard + portal overlay */
.dashboard-showcase-bare {
    padding: 40px 0 120px;
}
.dashboard-showcase-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(122,184,255,.2), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(201,163,92,.12), transparent 55%);
    z-index: 0;
}
.dashboard-showcase > .container { position: relative; z-index: 1; }

.dashboard-frame-wrap {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    perspective: 2000px;
}

.dashboard-frame {
    position: relative;
    background: #0f1a2e;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(15,26,46,.35),
        0 8px 24px rgba(15,26,46,.18),
        inset 0 1px 0 rgba(255,255,255,.06);
    transform: rotateX(3deg) translateZ(0);
    transform-origin: center bottom;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    border: 1px solid rgba(255,255,255,.05);
}
.dashboard-frame:hover {
    transform: rotateX(0) translateY(-4px) translateZ(0);
    box-shadow:
        0 40px 100px rgba(15,26,46,.4),
        0 12px 30px rgba(15,26,46,.22);
}

/* Browser chrome top bar */
.dashboard-chrome {
    background: linear-gradient(180deg, #1a2540, #13233d);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.chrome-dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.chrome-dot.red    { background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.chrome-dot.yellow { background: #febc2e; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.chrome-dot.green  { background: #28c840; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }

.chrome-addressbar {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 100px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    color: #a6b4cf;
    font-weight: 500;
    max-width: 340px;
    transform: translateX(-12px);
}
.chrome-addressbar svg { color: #10b981; flex-shrink: 0; }

.dashboard-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Soft reflective glow below the frame */
.dashboard-reflection {
    position: absolute;
    bottom: -20px; left: 10%; right: 10%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(43,94,247,.25), transparent 65%);
    filter: blur(20px);
    z-index: -1;
    pointer-events: none;
}

/* Floating customer portal phone — overlays bottom-right of the dashboard */
.portal-float {
    position: absolute;
    bottom: -80px; right: -20px;
    width: 220px;
    z-index: 3;
    transform: rotate(4deg) translateZ(0);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
    animation: portal-float-anim 6s ease-in-out infinite;
}
.portal-float:hover {
    transform: rotate(0deg) translateY(-6px) scale(1.04) translateZ(0);
}
.portal-mockup {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(15,26,46,.4));
}
.portal-float-label {
    position: absolute;
    top: -14px; left: -60px;
    padding: 7px 14px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43,94,247,.15);
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(30,60,130,.2);
    transform: rotate(-6deg);
}
.pf-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16,185,129,.18), 0 0 10px rgba(16,185,129,.5);
    animation: chip-pulse 2s infinite;
}
@keyframes portal-float-anim {
    0%, 100% { transform: rotate(4deg) translateY(0) translateZ(0); }
    50%      { transform: rotate(4deg) translateY(-8px) translateZ(0); }
}

@media (max-width: 1024px) {
    .portal-float { bottom: -40px; right: -10px; width: 170px; }
    .portal-float-label { font-size: .65rem; padding: 5px 11px; left: -40px; top: -10px; }
}

@media (max-width: 768px) {
    .dashboard-showcase { padding: 60px 0 80px; }
    .dashboard-frame { transform: none; border-radius: 12px; }
    .chrome-addressbar { max-width: 220px; font-size: .65rem; transform: none; }
    .dashboard-chrome { padding: 9px 12px; gap: 6px; }
    .portal-float { position: relative; bottom: auto; right: auto; width: 180px; margin: 24px auto -20px; display: block; }
    .portal-float-label { display: none; }
}

/* ============================================
   Products (Bento Grid)
   ============================================ */
.products {
    padding: 100px 0;
    position: relative;
}

.products-bento {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.product-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: center;
    padding: 44px;
    background: linear-gradient(135deg, #ffffff, #f5f8ff);
    position: relative;
}

.product-card.featured::before {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43,94,247,.1), transparent 70%);
    pointer-events: none;
}

.product-badge {
    position: absolute;
    top: 24px; right: 24px;
    padding: 5px 12px;
    background: var(--gradient-orange);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .7px;
    box-shadow: 0 4px 14px rgba(240,123,42,.35);
}

.product-number {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-icon-wrap {
    margin-bottom: 18px;
}

.product-icon {
    font-size: 2.2rem;
    width: 60px; height: 60px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(43,94,247,.12);
}

.product-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -.015em;
    color: var(--text-primary);
}

.product-card.featured .product-name {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-desc {
    color: var(--text-secondary);
    font-size: .93rem;
    line-height: 1.65;
    margin-bottom: 18px;
    font-weight: 500;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}

.product-features li {
    font-size: .85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 500;
}

.product-features li svg {
    color: var(--accent);
    flex-shrink: 0;
}

.product-visual {
    position: relative;
    z-index: 1;
}

.product-visual-card {
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    padding: 56px 30px;
    text-align: center;
    color: #fff;
    box-shadow: 0 14px 40px rgba(43,94,247,.35);
    position: relative;
    overflow: hidden;
}

.product-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.15), transparent 60%);
    pointer-events: none;
}

.pv-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,.2));
}

.pv-label {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .5px;
}

/* ============================================
   Features Grid
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--surface-2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    background: var(--surface);
    padding: 28px 26px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
    width: 52px; height: 52px;
    background: var(--accent-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h4 {
    font-size: 1.03rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -.01em;
}

.feature-card p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 100px 0;
}

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

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
}

.about-content .section-title { margin-top: 6px; margin-bottom: 20px; }

.about-text {
    font-size: .98rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 14px;
    font-weight: 500;
}

.about-values {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.value-icon {
    font-size: 1.5rem;
    width: 48px; height: 48px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-primary);
    letter-spacing: -.01em;
}

.value-item p {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    font-weight: 500;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.metric-card {
    background: var(--surface);
    padding: 28px 22px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.metric-card:first-child { background: linear-gradient(135deg, #fff6e3, #fff0d1); }
.metric-card:nth-child(2) { background: linear-gradient(135deg, #e7f3ff, #d1e7ff); }
.metric-card:nth-child(3) { background: var(--gradient-navy); color: #fff; }
.metric-card:nth-child(4) { background: linear-gradient(135deg, #fff3e0, #ffe5c4); }

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.metric-number {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -.02em;
}

.metric-card:nth-child(3) .metric-number { color: #fff; }

.metric-label {
    font-size: .75rem;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.metric-card:nth-child(3) .metric-label { color: rgba(255,255,255,.85); }

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 80px 0 100px;
}

.contact-card {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: -80px; left: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(43,94,247,.08), transparent 70%);
    pointer-events: none;
}

.contact-card::after {
    content: "";
    position: absolute;
    bottom: -80px; right: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.08), transparent 70%);
    pointer-events: none;
}

.contact-card .section-header { margin-bottom: 36px; position: relative; z-index: 1; }

.contact-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--divider);
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-secondary);
    font-size: .9rem;
    font-weight: 600;
}

.contact-item svg { color: var(--accent); }

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--text-on-dark);
    padding: 70px 0 32px;
    border-top: 1px solid var(--dark-2);
}

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

.footer-brand .nav-logo {
    color: #fff;
    margin-bottom: 14px;
}

.footer-desc {
    color: var(--text-on-dark-2);
    font-size: .88rem;
    line-height: 1.65;
    max-width: 300px;
    font-weight: 500;
}

.footer-links-group h5 {
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links-group a {
    color: var(--text-on-dark-2);
    font-size: .88rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links-group a:hover { color: #7ab8ff; }

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--dark-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-bottom p {
    color: var(--text-on-dark-2);
    font-size: .82rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark-2);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================
   Single-product layout (MatikLite only)
   ============================================ */
.product-solo-wrap {
    display: flex;
    justify-content: center;
}
.product-card.product-solo {
    grid-column: initial;
    grid-row: initial;
    max-width: 1040px;
    width: 100%;
    padding: 48px;
}
.product-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.pv-sub {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    opacity: .8;
    margin-top: 6px;
    text-transform: uppercase;
}

/* ============================================
   Matik OS — Supported Hardware section
   ============================================ */
.hardware {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-tertiary));
    position: relative;
    overflow: hidden;
}
.hardware-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(43,94,247,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,94,247,.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    opacity: .55;
    pointer-events: none;
}
.hardware > .container { position: relative; z-index: 1; }

/* Accent color for "Matik OS" section tag */
.section-tag.hw-tag {
    background: linear-gradient(135deg, #1a2540, #2b5ef7);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(43,94,247,.3);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
/* Odd card count: center the lone card left over on the last row */
.hardware-grid > .hardware-card:nth-child(3n+1):last-child {
    grid-column: 2;
}

.hardware-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 28px 26px 26px;
    box-shadow: var(--shadow-card);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1.5px solid transparent;
}
.hardware-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--accent-soft);
}

.hw-status {
    position: absolute;
    top: 14px; right: 14px;
    padding: 4px 11px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(16,185,129,.28);
}
.hw-status.soon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245,158,11,.28);
}

.hw-brand {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    margin-bottom: 6px;
}

/* No visible box — the transparent PNG floats directly on the card */
.hw-image {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 10px 8px 14px;
    margin: 4px 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: visible;
}
/* Subtle floor shadow beneath the product (simulates hover above surface) */
.hw-image::after {
    content: "";
    position: absolute;
    bottom: 4px; left: 50%;
    width: 62%; height: 14px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(15,26,46,.18), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}
.hw-image img {
    width: 90%;
    max-width: 240px;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 8px 18px rgba(30,60,130,.22));
    transition: transform var(--transition-slow);
}
.hardware-card:hover .hw-image img {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 14px 24px rgba(30,60,130,.28));
}
.hardware-card.coming-soon .hw-image img {
    filter: drop-shadow(0 6px 14px rgba(30,60,130,.16)) saturate(.75);
    opacity: .88;
}

/* Hardware brand text (no wrapper) */
.hw-brand {
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 4px;
}

.hw-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -.01em;
    margin-bottom: 8px;
}

.hw-desc {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 500;
    flex: 1;
}

.hw-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--surface-2);
    border-radius: var(--radius-md);
    border: 1px solid var(--divider);
}
.hw-specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    line-height: 1.4;
}
.hw-specs li span {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: .72rem;
}
.hw-specs li b {
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .82rem;
}

.hw-btn {
    width: 100%;
    justify-content: center;
}
.hw-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}
.hw-btn:disabled:hover { transform: none; }

.hardware-note {
    text-align: center;
    margin-top: 40px;
    font-size: .95rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.hardware-note a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}
.hardware-note a:hover { text-decoration: underline; color: var(--accent-deep); }

/* Terminal "Soon" status chip */
.status-soon {
    background: rgba(245,158,11,.2);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,.35);
}

/* ============================================
   Premium Polish
   ============================================ */

/* Elevated section tag — frosted pill with premium shine */
.section-tag {
    background: linear-gradient(135deg, #ffffff, var(--accent-soft));
    border: 1px solid rgba(43,94,247,.2);
    box-shadow:
        0 2px 10px rgba(43,94,247,.08),
        inset 0 1px 0 rgba(255,255,255,.8);
    backdrop-filter: blur(10px);
}

/* Refined hero badge — frosted glass */
.hero-badge {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(43,94,247,.18);
    backdrop-filter: blur(14px);
    box-shadow:
        0 4px 16px rgba(30,60,130,.08),
        inset 0 1px 0 rgba(255,255,255,.9);
}

/* Hero title — tighter display weight for premium feel */
.hero-title {
    font-weight: 900;
    letter-spacing: -.035em;
    text-wrap: balance;
}

/* Subtle grain texture overlay on full page */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: .6;
    mix-blend-mode: overlay;
}
.navbar, .modal-overlay, .toast-container { z-index: 1000; }

/* Premium section divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 44px;
    gap: 14px;
}
.section-divider::before,
.section-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    max-width: 160px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.section-divider span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Flagship badge — premium gold treatment */
.product-badge {
    background: linear-gradient(135deg, #e4b962, var(--gold) 50%, var(--gold-deep));
    color: #fff;
    box-shadow:
        0 6px 16px rgba(168,131,47,.35),
        inset 0 1px 0 rgba(255,255,255,.3);
    letter-spacing: 1.1px;
    font-size: .7rem;
}

/* Elevated product card */
.product-card {
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    border: 1px solid rgba(43,94,247,.08);
    box-shadow:
        0 10px 40px rgba(30,60,130,.1),
        inset 0 1px 0 rgba(255,255,255,1);
}
.product-card.featured {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(122,184,255,.15), transparent 60%),
        radial-gradient(ellipse at 100% 100%, rgba(201,163,92,.1), transparent 60%),
        linear-gradient(180deg, #ffffff, #f9fbff);
    border: 1px solid rgba(43,94,247,.1);
}
.product-card.featured::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(43,94,247,.3), transparent 40%, rgba(201,163,92,.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Product visual card — navy gradient with shine */
.product-visual-card {
    background:
        radial-gradient(ellipse at top left, rgba(122,184,255,.3), transparent 60%),
        linear-gradient(155deg, #2b5ef7 0%, #1a3371 60%, #0f1a2e 100%);
    box-shadow:
        0 20px 60px rgba(43,94,247,.35),
        inset 0 1px 0 rgba(255,255,255,.15);
    position: relative;
    overflow: hidden;
}
.product-visual-card::before {
    content: "";
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,.03) 24px 25px),
        radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.18), transparent 55%);
    pointer-events: none;
}

/* Elevated feature card with gradient border on hover */
.feature-card {
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    border: 1px solid transparent;
    position: relative;
}
.feature-card::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(43,94,247,.2), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .feature-icon {
    background: linear-gradient(135deg, #ffffff, var(--accent-soft));
    box-shadow:
        0 4px 14px rgba(43,94,247,.12),
        inset 0 0 0 1px rgba(43,94,247,.1);
}

/* Hardware card — premium refinement */
.hardware-card {
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    box-shadow:
        0 10px 36px rgba(30,60,130,.1),
        inset 0 1px 0 rgba(255,255,255,1);
    border: 1px solid rgba(43,94,247,.06);
}
.hardware-card.available {
    box-shadow:
        0 14px 44px rgba(16,185,129,.1),
        inset 0 1px 0 rgba(255,255,255,1);
}

/* Refined hw status pill */
.hw-status {
    backdrop-filter: blur(8px);
    font-size: .66rem;
    padding: 5px 13px;
    letter-spacing: 1px;
}

/* Contact card — premium glass */
.contact-card {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(122,184,255,.1), transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(201,163,92,.1), transparent 50%),
        linear-gradient(180deg, #ffffff, #fbfcff);
    border: 1px solid rgba(43,94,247,.08);
    box-shadow:
        0 20px 60px rgba(30,60,130,.12),
        inset 0 1px 0 rgba(255,255,255,1);
}

/* Metric cards — refined premium gradients */
.metric-card {
    border: 1px solid rgba(43,94,247,.06);
    box-shadow:
        0 8px 24px rgba(30,60,130,.09),
        inset 0 1px 0 rgba(255,255,255,.8);
}
.metric-card:first-child {
    background: linear-gradient(135deg, #fff9eb, #fdefc9);
    border-color: rgba(201,163,92,.15);
}
.metric-card:nth-child(3) {
    background: linear-gradient(135deg, #2c4a8f, #1a3371 60%, #0f1a2e);
    box-shadow:
        0 12px 32px rgba(26,51,113,.3),
        inset 0 1px 0 rgba(255,255,255,.12);
}

/* Footer — premium navy */
.footer {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(43,94,247,.12), transparent 50%),
        linear-gradient(180deg, #0f1a2e, #060b18);
    border-top: 1px solid rgba(122,184,255,.08);
}

/* Navbar — premium frosted on scroll */
.navbar.scrolled {
    background: rgba(247,249,255,.78);
    backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(43,94,247,.08);
    box-shadow: 0 4px 24px rgba(30,60,130,.08);
}

/* Logo text — tighter tracking */
.nav-logo .logo-text {
    letter-spacing: -.02em;
}

/* Terminal — subtle glow ring for premium feel */
.terminal-window {
    box-shadow:
        0 24px 70px rgba(15,26,46,.4),
        0 0 0 1px rgba(122,184,255,.08),
        inset 0 1px 0 rgba(255,255,255,.04);
}

/* Section tags differentiated subtly */
.section-tag.hw-tag {
    background: linear-gradient(135deg, #1a2540, #2b5ef7 70%);
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow:
        0 6px 18px rgba(43,94,247,.35),
        inset 0 1px 0 rgba(255,255,255,.15);
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .hero-visual { max-width: 520px; margin: 0 auto; order: 2; }
    .hero-content { order: 1; }
    .phone-stage { max-width: 460px; }
    .phone-chip-tl { left: 0; }
    .phone-chip-tr { right: 0; }
    .phone-chip-br { right: 0; }
    .product-card.product-solo { padding: 36px; }
    .hardware-grid { grid-template-columns: repeat(2, 1fr); }
    .hardware-grid > .hardware-card:nth-child(3n+1):last-child { grid-column: auto; }
    .products-bento {
        grid-template-columns: 1fr 1fr;
    }
    .product-card.featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--surface);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        z-index: 999;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.2rem; padding: 10px 20px; color: var(--text-primary); }
    /* Hide only the Follow Us button on mobile — Login stays visible so the
       user can sign in without opening the hamburger menu first. */
    .nav-actions .nav-social { display: none; }
    .nav-actions { gap: 8px; }
    .nav-actions .btn-sm { padding: 7px 12px; font-size: 12px; }
    .nav-toggle { display: flex; }

    .hero { padding: 100px 0 60px; }
    .phone-stage { max-width: 400px; }
    .phone-chip { padding: 9px 12px; border-radius: 12px; }
    .phone-chip-icon { width: 30px; height: 30px; font-size: .95rem; }
    .phone-chip-value { font-size: .82rem; }
    .phone-chip-tl, .phone-chip-tr, .phone-chip-br { display: flex; }

    .products { padding: 70px 0; }
    .products-bento {
        grid-template-columns: 1fr;
    }
    .product-card.featured { grid-column: span 1; padding: 32px; }
    .product-card.product-solo { padding: 28px 24px; grid-template-columns: 1fr; }
    .product-visual { margin-top: 20px; }
    .product-ctas { flex-direction: column; }
    .product-ctas .btn { width: 100%; }

    .hardware { padding: 70px 0; }
    .hardware-grid { grid-template-columns: 1fr; }

    .features { padding: 70px 0; }
    .features-grid { grid-template-columns: 1fr; }

    .about { padding: 70px 0; }
    .about-metrics { grid-template-columns: 1fr 1fr; }

    .contact-card { padding: 40px 24px; }
    .contact-buttons { flex-direction: column; }
    .contact-buttons .btn { width: 100%; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 14px;
    }
    .stat-divider { display: none; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }

    /* Tight nav — collapse logo text so Login + Get Started + hamburger fit */
    .logo-text { display: none; }
    .nav-actions { gap: 6px; }
    .nav-actions .btn-sm { padding: 6px 10px; font-size: 11.5px; }
    .nav-toggle { margin-left: 4px; }
}
