/* ============================================================
   APPLANTICS POS — Demo Portal  |  Premium Dark Gold Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg:           #080810;
    --bg-nav:       rgba(8, 8, 16, 0.92);
    --bg-card:      rgba(18, 18, 30, 0.85);
    --bg-ele:       rgba(30, 30, 50, 0.7);
    --bg-glass:     rgba(255, 255, 255, 0.03);
    --gold:         #e8b84b;
    --gold-2:       #f5d06e;
    --gold-3:       #c9952a;
    --gold-dim:     rgba(232, 184, 75, 0.12);
    --gold-glow:    rgba(232, 184, 75, 0.25);
    --accent:       #7c6fff;
    --accent-2:     #a78bfa;
    --text:         #f0ede8;
    --text-muted:   #8888aa;
    --text-dim:     #44445a;
    --border:       rgba(255, 255, 255, 0.06);
    --border-gold:  rgba(232, 184, 75, 0.2);
    --border-card:  rgba(255, 255, 255, 0.07);
    --max-w:        1200px;
    --radius-card:  20px;
    --shadow-card:  0 24px 60px rgba(0, 0, 0, 0.6);
    --shadow-gold:  0 0 40px rgba(232, 184, 75, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", "Outfit", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font: inherit; }
ul { list-style: none; }

/* ============================================================
   ANIMATED BACKGROUND CANVAS
   ============================================================ */

#bgCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.page-wrap {
    position: relative;
    z-index: 1;
}

/* Background gradient orbs */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
body::before {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232,184,75,0.07) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: orbFloat1 18s ease-in-out infinite alternate;
}
body::after {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124,111,255,0.06) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation: orbFloat2 22s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-80px, 60px) scale(1.1); }
}
@keyframes orbFloat2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(60px, -80px) scale(1.15); }
}

/* ============================================================
   PRIMARY NAV
   ============================================================ */

.primary-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 56px;
    height: 72px;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Subtle top gold line */
.primary-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2), var(--gold), transparent);
    opacity: 0.7;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-brand img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(232,184,75,0.3));
    transition: filter 300ms, transform 300ms;
}

.nav-brand img:hover {
    filter: drop-shadow(0 0 20px rgba(232,184,75,0.5));
    transform: scale(1.02);
}

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

.nav-link {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color 200ms, border-color 200ms;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    transform: scaleX(0);
    transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px;
}

.nav-link--active {
    color: var(--text);
}
.nav-link--active::after {
    transform: scaleX(1);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-action-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-glass);
    color: var(--text-muted);
    transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
}
.nav-action-btn:hover {
    background: rgba(232,184,75,0.08);
    border-color: var(--border-gold);
    color: var(--gold);
    transform: translateY(-1px);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-3), var(--gold), var(--gold-2));
    color: #0a0a14;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 200ms, box-shadow 200ms, filter 200ms;
    box-shadow: 0 4px 16px rgba(232,184,75,0.3);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,184,75,0.4);
    filter: brightness(1.05);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding: 100px 56px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero__bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232,184,75,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,184,75,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 80%);
}

.hero__glow {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(232,184,75,0.12) 0%, rgba(124,111,255,0.05) 50%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-gold);
    background: rgba(232,184,75,0.07);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    animation: fadeUp 600ms ease both;
}
.hero__eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 24px;
    animation: fadeUp 600ms 100ms ease both;
}

.hero__title .highlight {
    background: linear-gradient(135deg, var(--gold-3), var(--gold), var(--gold-2), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 58ch;
    margin: 0 auto 48px;
    animation: fadeUp 600ms 200ms ease both;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    animation: fadeUp 600ms 300ms ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 32px;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-3) 0%, var(--gold) 50%, var(--gold-2) 100%);
    color: #070710;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 220ms, box-shadow 220ms, filter 200ms;
    box-shadow: 0 8px 32px rgba(232,184,75,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    cursor: pointer;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(232,184,75,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
    filter: brightness(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    height: 52px;
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    background: var(--bg-glass);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: transform 220ms, border-color 220ms, background 220ms, color 220ms;
    backdrop-filter: blur(8px);
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(232,184,75,0.07);
    color: var(--gold);
}

/* Stats row */
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    animation: fadeUp 600ms 400ms ease both;
}

.hero__stat {
    padding: 20px 40px;
    text-align: center;
    position: relative;
}
.hero__stat + .hero__stat::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: var(--border);
}
.hero__stat-value {
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}
.hero__stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Search */
.search-wrap {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeUp 600ms 350ms ease both;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 6px 22px;
    background: rgba(18, 18, 35, 0.9);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: border-color 250ms, box-shadow 250ms;
    cursor: text;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.search-bar:focus-within {
    border-color: rgba(232, 184, 75, 0.5);
    box-shadow: 0 0 0 4px rgba(232, 184, 75, 0.08), 0 8px 32px rgba(0,0,0,0.4);
}

.search-bar__icon {
    color: var(--text-dim);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    transition: color 250ms;
}
.search-bar:focus-within .search-bar__icon { color: var(--gold); }

.search-bar input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.95rem;
    min-width: 0;
}
.search-bar input::placeholder { color: var(--text-dim); }

.search-bar__btn {
    height: 46px;
    padding: 0 28px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--gold-3), var(--gold), var(--gold-2));
    color: #070710;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 180ms, box-shadow 180ms;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(232,184,75,0.25);
}
.search-bar__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232,184,75,0.35);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-title {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
}
.section-title span {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-count {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 6px 14px;
    background: var(--bg-ele);
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-tab {
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 200ms;
}
.filter-tab:hover {
    border-color: var(--border-gold);
    color: var(--gold);
    background: var(--gold-dim);
}
.filter-tab.active {
    border-color: var(--gold);
    color: #0a0a14;
    background: linear-gradient(135deg, var(--gold-3), var(--gold));
    box-shadow: 0 4px 16px rgba(232,184,75,0.2);
}

/* ============================================================
   SYSTEMS SECTION
   ============================================================ */

.systems-section {
    padding: 0 56px 80px;
    position: relative;
    z-index: 1;
}

.systems-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* ============================================================
   SYSTEM CARD — PREMIUM VERTICAL
   ============================================================ */

.system-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    transition: border-color 300ms, transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms;
    animation: fadeUp 500ms ease both;
    animation-delay: calc(var(--card-index, 0) * 60ms);
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Shimmer border on hover */
.system-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(232,184,75,0.3) 50%, transparent 60%);
    -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 300ms;
    pointer-events: none;
}
.system-card:hover::before { opacity: 1; }

.system-card:hover {
    border-color: rgba(232, 184, 75, 0.3);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(232,184,75,0.1), var(--shadow-gold);
}

/* Category ribbon */
.system-card__ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    border: 1px solid;
}

.ribbon--retail     { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.3); color: #93c5fd; }
.ribbon--pharmacy   { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: #86efac; }
.ribbon--restaurant { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.ribbon--entertainment { background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.3); color: #d8b4fe; }
.ribbon--hospitality { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: #fcd34d; }
.ribbon--health     { background: rgba(20,184,166,0.12); border-color: rgba(20,184,166,0.3); color: #5eead4; }
.ribbon--food       { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.3); color: #fdba74; }
.ribbon--beauty     { background: rgba(236,72,153,0.12); border-color: rgba(236,72,153,0.3); color: #f9a8d4; }
.ribbon--electronics { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.3); color: #a5b4fc; }

.system-card__image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.system-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85) saturate(0.9);
    transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 400ms;
}
.system-card:hover .system-card__image {
    transform: scale(1.06);
    filter: brightness(0.95) saturate(1.1);
}

/* Gradient overlay on image */
.system-card__image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg-card));
    pointer-events: none;
}

.system-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 22px;
    gap: 12px;
    min-width: 0;
}

.system-card__title {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.25;
}

.system-card__description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

/* Credentials */
.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.credentials__item {
    padding: 10px 14px;
    background: rgba(15, 15, 28, 0.8);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 200ms;
    position: relative;
    overflow: hidden;
}
.credentials__item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,184,75,0.2), transparent);
}

.credentials__item dt {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 4px;
}
.credentials__item dd {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
    overflow-wrap: anywhere;
    font-family: 'Outfit', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Demo CTA Button */
.demo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-gold);
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}
.demo-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-3), var(--gold), var(--gold-2));
    opacity: 0;
    transition: opacity 250ms;
}
.demo-link span, .demo-link svg {
    position: relative;
    z-index: 1;
    transition: color 250ms;
}
.demo-link:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,184,75,0.3);
    color: #070710;
}
.demo-link:hover::before { opacity: 1; }
.demo-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
    padding: 80px 32px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed rgba(232,184,75,0.15);
    border-radius: var(--radius-card);
    color: var(--text-muted);
}
.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text);
    font-family: "Outfit", sans-serif;
}

/* ============================================================
   WHY CHOOSE US SECTION
   ============================================================ */

.why-section {
    padding: 0 56px 80px;
    position: relative;
    z-index: 1;
}

.why-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
}

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

.why-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    backdrop-filter: blur(12px);
    transition: transform 300ms, border-color 300ms, box-shadow 300ms;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.why-card:nth-child(1)::before { background: linear-gradient(90deg, #e8b84b, #f5d06e); }
.why-card:nth-child(2)::before { background: linear-gradient(90deg, #7c6fff, #a78bfa); }
.why-card:nth-child(3)::before { background: linear-gradient(90deg, #34d399, #6ee7b7); }
.why-card:nth-child(4)::before { background: linear-gradient(90deg, #f87171, #fca5a5); }
.why-card:nth-child(5)::before { background: linear-gradient(90deg, #60a5fa, #93c5fd); }
.why-card:nth-child(6)::before { background: linear-gradient(90deg, #fb923c, #fdba74); }

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232,184,75,0.2);
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.why-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.why-card:nth-child(1) .why-card__icon { background: rgba(232,184,75,0.12); }
.why-card:nth-child(2) .why-card__icon { background: rgba(124,111,255,0.12); }
.why-card:nth-child(3) .why-card__icon { background: rgba(52,211,153,0.12); }
.why-card:nth-child(4) .why-card__icon { background: rgba(248,113,113,0.12); }
.why-card:nth-child(5) .why-card__icon { background: rgba(96,165,250,0.12); }
.why-card:nth-child(6) .why-card__icon { background: rgba(251,146,60,0.12); }

.why-card__title {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.why-card__desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============================================================
   INFRASTRUCTURE / TRUST SECTION
   ============================================================ */

.infra-section {
    padding: 0 56px 80px;
    position: relative;
    z-index: 1;
}

.infra-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 56px 64px;
    background: linear-gradient(135deg, rgba(18,18,35,0.9) 0%, rgba(12,12,24,0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    backdrop-filter: blur(20px);
}

.infra-wrap::before {
    content: '';
    position: absolute;
    top: -1px; left: 10%; right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.infra-wrap::after {
    content: '';
    position: absolute;
    bottom: -200px; right: -200px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,184,75,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.infra__layout {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.infra__copy { flex: 1; }
.infra__copy .eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.infra__copy .eyebrow::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.infra__copy h2 {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.infra__copy p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 40ch;
}

.infra__stats {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.infra__stat {
    text-align: center;
    padding: 24px 28px;
    background: rgba(8,8,20,0.7);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    min-width: 110px;
    position: relative;
    overflow: hidden;
}
.infra__stat::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,184,75,0.5), transparent);
}

.infra__stat strong {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
    line-height: 1;
}
.infra__stat span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-section {
    padding: 0 56px 80px;
    position: relative;
    z-index: 1;
}

.cta-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    padding: 72px 48px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(232,184,75,0.08) 0%, rgba(124,111,255,0.06) 100%);
    border: 1px solid var(--border-gold);
}

.cta-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 30% 50%, rgba(232,184,75,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 70% 50%, rgba(124,111,255,0.06) 0%, transparent 60%);
}

.cta-wrap > * { position: relative; z-index: 1; }

.cta-wrap h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.cta-wrap p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: rgba(6,6,12,0.98);
    border-top: 1px solid var(--border);
    padding: 48px 56px 32px;
    position: relative;
    z-index: 1;
}

.footer-top {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(232,184,75,0.2));
}
.footer-brand p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 28ch;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 180ms, padding-left 180ms;
}
.footer-col a:hover { color: var(--text); padding-left: 4px; }

.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__copy {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}
.footer__copy span { color: var(--gold); }

.footer__badges {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer__badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--border-gold);
    color: var(--gold);
    opacity: 0.7;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
    .system-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid    { grid-template-columns: repeat(2, 1fr); }
    .footer-top  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .primary-nav { padding: 0 32px; gap: 24px; }
    .hero         { padding: 72px 32px 60px; }
    .systems-section,
    .why-section,
    .infra-section,
    .cta-section  { padding-left: 32px; padding-right: 32px; }
    .site-footer  { padding: 40px 32px 28px; }
    .infra__layout { flex-direction: column; gap: 36px; text-align: center; }
    .infra__copy .eyebrow { justify-content: center; }
    .infra__copy p { max-width: none; }
    .infra__stats { justify-content: center; }
    .hero__stats  { gap: 0; }
}

@media (max-width: 700px) {
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .primary-nav { padding: 0 20px; gap: 12px; }
    .hero        { padding: 56px 20px 48px; }
    .hero__title { font-size: 2.4rem; }
    .systems-section,
    .why-section,
    .infra-section,
    .cta-section { padding-left: 20px; padding-right: 20px; }
    .site-footer { padding: 32px 20px 24px; }
    .footer-top  { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .system-grid { grid-template-columns: 1fr; }
    .why-grid    { grid-template-columns: 1fr; }
    .credentials { grid-template-columns: 1fr; }
    .infra-wrap  { padding: 36px 24px; }
    .infra__stats { gap: 8px; }
    .cta-wrap    { padding: 48px 24px; }
    .hero__stat  { padding: 14px 20px; }
    .hero__stat-value { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
