/* ===================================================================
   Helix IT - Modern IT design system
   =================================================================== */
:root {
  --bg:        #0b1020;
  --bg-soft:   #11182e;
  --surface:   #ffffff;
  --surface-2: #f5f7fb;
  --ink:       #0f172a;
  --ink-soft:  #475569;
  --muted:     #94a3b8;
  --line:      #e2e8f0;
  --line-dark: #1e293b;

  --primary:   #6d5efc;   /* indigo/violet */
  --primary-d: #5546e0;
  --accent:    #22d3ee;   /* cyan */
  --accent-d:  #06b6d4;
  --success:   #16a34a;
  --danger:    #dc2626;
  --warning:   #d97706;
  --info:      #2563eb;

  --radius:    18px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.04);
  --shadow:    0 6px 24px rgba(15, 23, 42, .07), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, .18);
  --ring:      0 0 0 1px rgba(109,94,252,.18);
  --container: 1200px;
  --grad:      linear-gradient(120deg, var(--primary), var(--accent));
  --grad-soft: linear-gradient(135deg, rgba(109,94,252,.12), rgba(34,211,238,.10));
  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:      "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;
}

::selection { background: rgba(109,94,252,.22); }
html { -webkit-text-size-adjust: 100%; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Sticky footer: push footer to the bottom on short pages. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }
a { color: var(--primary-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
p { margin: 0 0 1rem; }
code, kbd { font-family: var(--mono); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
@media (max-width: 880px) { .section { padding: 52px 0; } }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.text-center { text-align: center; }
.mono { font-family: var(--mono); }
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.grid { display: grid; gap: 24px; }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-sm { gap: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.45em; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  background: var(--surface-2); color: var(--ink); text-decoration: none; line-height: 1.1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(109,94,252,.38); }
.btn-primary:hover { box-shadow: 0 14px 32px rgba(109,94,252,.50); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; color: #fff; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { color: var(--primary-d); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-d); }
.btn-outline-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { color: #fff; }
.btn-sm { padding: .5em .9em; font-size: .82rem; }
.btn-lg { padding: .95em 1.8em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,16,32,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 32px; height: 32px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-weight: 900; box-shadow: 0 4px 14px rgba(34,211,238,.4);
}
.brand small { color: var(--accent); font-weight: 600; font-size: .7rem; display: block; letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { color: #cbd5e1; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .92rem; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.07); text-decoration: none; }
.nav .cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -2px; right: -2px; background: var(--accent); color: #062c33;
  border-radius: 999px; font-size: .68rem; font-weight: 800; min-width: 18px; height: 18px;
  display: grid; place-items: center; padding: 0 4px;
}
.lang-switch a { padding: 4px 7px; font-size: .8rem; color: var(--muted); }
.lang-switch a.active { color: var(--accent); font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 520px at 75% -10%, rgba(109,94,252,.50), transparent 60%),
    radial-gradient(800px 480px at 5% 10%, rgba(34,211,238,.28), transparent 55%),
    linear-gradient(180deg, rgba(8,12,26,.78) 0%, rgba(8,12,26,.92) 100%),
    url('../img/hero.jpg') center/cover no-repeat,
    var(--bg);
  color: #e7ecf6; padding: 104px 0 112px; position: relative; overflow: hidden;
}
.hero h1 { color: #fff; max-width: 18ch; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.hero .lead { font-size: 1.22rem; color: #c2cbe0; max-width: 54ch; }
.hero .badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pill { border: 1px solid rgba(255,255,255,.16); color: #cbd5e1; padding: 6px 12px; border-radius: 999px; font-size: .82rem; }
.grid-glow { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(600px 400px at 80% 0%, #000, transparent 70%); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card-pad { padding: 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }

.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(109,94,252,.35); }
.product-card .thumb {
  aspect-ratio: 16/10; background: var(--grad); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.4rem; position: relative;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.product-card .desc { color: var(--ink-soft); font-size: .9rem; flex: 1; }
.product-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.price { font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.price .old { text-decoration: line-through; color: var(--muted); font-size: .9rem; font-weight: 500; margin-right: 6px; }
.price .from { font-size: .7rem; color: var(--muted); font-weight: 600; }

.chip { display: inline-flex; align-items:center; gap:5px; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }
.chip.accent { background: rgba(34,211,238,.12); color: var(--accent-d); border-color: rgba(34,211,238,.3); }
.chip.green { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.tag-badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--primary-d); font-size:.7rem; font-weight:800; padding: 4px 9px; border-radius: 999px; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 7px; color: var(--ink); letter-spacing: .01em; }
.input, input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=search], input[type=url], input[type=tel], select, textarea {
  width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none; appearance: none;
}
.input:hover, input:hover:not([type=checkbox]):not([type=radio]), select:hover, textarea:hover { border-color: #c7d2e0; }
.input:focus, input:focus:not([type=checkbox]):not([type=radio]), select:focus, textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(109,94,252,.14);
}
input::placeholder, textarea::placeholder { color: #aab2c0; }
textarea { min-height: 120px; resize: vertical; }
/* Custom select chevron */
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
/* Kill the yellow autofill background */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-in-out 0s;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: 4px; }
.field-error { color: var(--danger); font-size: .82rem; margin-top: 4px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.help { font-size: .8rem; color: var(--muted); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--surface); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9rem; }
.table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
.table tbody tr:hover { background: var(--surface-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Status badges ---------- */
.status { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.status.pending, .status.awaiting_payment { background: #fef3c7; color: #92400e; }
.status.paid { background: #dbeafe; color: #1e40af; }
.status.completed, .status.assigned, .status.available, .status.issued { background: #dcfce7; color: #166534; }
.status.cancelled, .status.refunded, .status.revoked { background: #fee2e2; color: #991b1b; }

/* ---------- Alerts / flash ---------- */
.flash-stack { position: fixed; top: 80px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: .92rem; display: flex; gap: 10px; background: #fff; border-left: 4px solid var(--info); animation: slideIn .3s ease; }
.alert.success { border-color: var(--success); }
.alert.error { border-color: var(--danger); }
.alert.warning { border-color: var(--warning); }
.alert.info { border-color: var(--info); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } }

.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.notice.info { background: #eff6ff; border-color: #bfdbfe; }
.notice.warn { background: #fffbeb; border-color: #fde68a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); color: #94a3b8; padding: 56px 0 28px; margin-top: 64px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a { color: #94a3b8; display: block; padding: 4px 0; font-size: .9rem; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 20px; z-index: 300; display: flex; gap: 16px; align-items: center;
}
.cookie p { margin: 0; font-size: .86rem; }

/* ---------- Layout helpers ---------- */
.page-head { background: var(--bg); color: #fff; padding: 48px 0; }
.page-head h1 { color: #fff; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: #cbd5e1; }
.split { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .95rem; }
.summary-row.total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.2rem; font-weight: 800; }
.prose h2 { margin-top: 1.6em; } .prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.3em; } .prose blockquote { border-left: 3px solid var(--line); margin: 1em 0; padding: .4em 1em; color: var(--ink-soft); background: var(--surface-2); border-radius: 0 8px 8px 0; }

.empty-state { text-align: center; padding: 64px 20px; color: var(--ink-soft); }
.empty-state .icon { font-size: 3rem; opacity: .3; }

.feature { text-align: center; padding: 8px; }
.feature .ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(109,94,252,.1); color: var(--primary-d); display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.5rem; }

.code-key { font-family: var(--mono); background: var(--bg); color: var(--accent); padding: 10px 14px; border-radius: 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; letter-spacing: .05em; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .88rem; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Section headings ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow { color: var(--accent-d); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin: 8px 0 10px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-dark { background: var(--bg); color: #c2cbe0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: #94a3b8; }

/* ---------- Trust strip / stats ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-strip .stat { text-align: center; }
.trust-strip .num { font-size: 2.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-strip .lbl { color: var(--muted); font-size: .9rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; padding: 8px; position: relative; }
.step .circle { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; margin: 0 auto 16px; box-shadow: 0 8px 22px rgba(109,94,252,.4); }
.step h3 { font-size: 1.1rem; }

/* ---------- Category tiles (image) ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 180px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,32,.1), rgba(11,16,32,.85)); }
.cat-tile span { position: relative; z-index: 1; padding: 18px 20px; font-weight: 700; font-size: 1.15rem; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile:hover { text-decoration: none; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.testimonial .stars { color: #f5b50a; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial p { font-style: italic; color: var(--ink); }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; }
.testimonial .who .name { font-weight: 700; font-size: .92rem; }
.testimonial .who .role { color: var(--muted); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 48ch; margin: 0 auto 22px; }
.cta-band .btn { background: #fff; color: var(--primary-d); }

/* ---------- Product gallery ---------- */
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery-main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs img { width: 78px; height: 60px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: .15s; }
.gallery-thumbs img:hover, .gallery-thumbs img.active { border-color: var(--primary); }

/* admin gallery thumbs */
.gallery-thumb { display: inline-flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 6px; font-size: .75rem; }
.gallery-thumb img { width: 90px; height: 64px; object-fit: cover; border-radius: 5px; }
.gallery-thumb .rm { display: flex; gap: 4px; align-items: center; color: var(--ink-soft); }

/* ---------- Professional footer ---------- */
.site-footer { position: relative; }
.site-footer::before { content: ''; display: block; height: 3px; background: var(--grad); }
.footer-cta { background: linear-gradient(120deg, rgba(109,94,252,.16), rgba(34,211,238,.10)); border-bottom: 1px solid var(--line-dark); }
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 20px; flex-wrap: wrap; }
.footer-cta .fc-inner { display: flex; align-items: center; gap: 18px; }
.footer-cta .fc-ic { width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: var(--grad-soft); border: 1px solid rgba(109,94,252,.35); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; }
.footer-cta h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.footer-cta p { color: #94a3b8; margin: 4px 0 0; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pay-badge { border: 1px solid var(--line-dark); background: rgba(255,255,255,.05); color: #cbd5e1; border-radius: 9px; padding: 7px 12px; font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 620px){ .footer-cta .container { flex-direction: column; align-items: flex-start; } }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 32px 22px; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 12px; display: none; border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .menu-toggle { display: block; margin-left: auto; }
}

/* ===================================================================
   Modern UI layer (2024 refresh)
   =================================================================== */
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-soft { display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px;
  background: var(--grad-soft); border:1px solid rgba(109,94,252,.22); color:var(--primary-d); font-weight:600; font-size:.85rem; }
.section-alt { background: linear-gradient(180deg, #fff, var(--surface-2)); }
.divider-fade { height:1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border:0; margin:0; }

/* Hero refresh: animated aurora + floating mock card */
.hero { position: relative; }
.hero::before { content:''; position:absolute; inset:-20% -10% auto -10%; height:70%;
  background: radial-gradient(600px 300px at 30% 20%, rgba(34,211,238,.25), transparent 60%),
              radial-gradient(700px 320px at 80% 10%, rgba(109,94,252,.30), transparent 60%);
  filter: blur(20px); opacity:.9; animation: float 14s ease-in-out infinite alternate; pointer-events:none; }
@keyframes float { from { transform: translateY(-10px); } to { transform: translateY(14px); } }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:center; position:relative; z-index:1; }
.hero-card { background: rgba(255,255,255,.06); backdrop-filter: blur(10px); border:1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding:10px; box-shadow: var(--shadow-lg); transform: perspective(1200px) rotateY(-9deg) rotateX(3deg); transition:.4s; }
.hero-card:hover { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.hero-card img { border-radius:13px; display:block; width:100%; }
@media (max-width: 980px){ .hero-grid { grid-template-columns:1fr; } .hero-card { display:none; } }

/* Bento feature grid */
.bento { display:grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap:20px; }
.bento .b { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow); position:relative; overflow:hidden; transition:.22s; }
.bento .b:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(109,94,252,.3); }
.bento .b.span2 { grid-column: span 2; }
.bento .b .ico { width:48px; height:48px; border-radius:13px; background:var(--grad-soft); color:var(--primary-d);
  display:grid; place-items:center; font-size:1.3rem; margin-bottom:14px; }
.bento .b h3 { font-size:1.15rem; margin-bottom:6px; }
.bento .b p { color:var(--ink-soft); margin:0; font-size:.94rem; }
.bento .b .bg-img { position:absolute; right:-30px; bottom:-30px; width:200px; opacity:.10; border-radius:16px; }
@media (max-width: 880px){ .bento { grid-template-columns:1fr; } .bento .b.span2 { grid-column:auto; } }

/* Feature split (image + text) */
.feature-split { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.feature-split.rev .fs-media { order:2; }
.feature-split .fs-media img { width:100%; border-radius:var(--radius); box-shadow:var(--shadow-lg); }
.feature-split ul { list-style:none; padding:0; margin:16px 0 0; }
.feature-split li { padding:8px 0 8px 30px; position:relative; color:var(--ink-soft); }
.feature-split li::before { content:'✓'; position:absolute; left:0; top:8px; width:20px; height:20px; border-radius:50%;
  background:var(--grad); color:#fff; font-size:.7rem; display:grid; place-items:center; }
@media (max-width: 880px){ .feature-split { grid-template-columns:1fr; gap:28px; } .feature-split.rev .fs-media { order:0; } }

/* Logos / trust row */
.logos { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; align-items:center; opacity:.85; }
.logos .lg { font-weight:800; letter-spacing:-.02em; color:var(--ink-soft); font-size:1.1rem; padding:8px 16px;
  border:1px solid var(--line); border-radius:12px; background:#fff; }

/* Account dashboard tiles */
.account-hero { background:
    radial-gradient(700px 300px at 90% -40%, rgba(109,94,252,.5), transparent 60%),
    radial-gradient(500px 260px at 0% 0%, rgba(34,211,238,.3), transparent 55%), var(--bg);
  color:#fff; border-radius:22px; padding:34px 32px; box-shadow:var(--shadow-lg); position:relative; overflow:hidden; }
.account-hero h1 { color:#fff; margin:0 0 4px; }
.account-hero p { color:#aab4cf; margin:0; }
.qa-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap:18px; }
.qa { display:flex; gap:14px; align-items:center; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); transition:.2s; text-decoration:none; color:inherit; }
.qa:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:rgba(109,94,252,.3); text-decoration:none; }
.qa .qa-ic { width:50px; height:50px; border-radius:14px; background:var(--grad); color:#fff; display:grid; place-items:center; font-size:1.4rem; flex-shrink:0; box-shadow:0 8px 20px rgba(109,94,252,.35); }
.qa .qa-v { font-size:1.7rem; font-weight:800; line-height:1; }
.qa .qa-l { color:var(--muted); font-size:.85rem; }

/* Reveal on load */
@media (prefers-reduced-motion: no-preference){
  .reveal { opacity:0; transform: translateY(14px); animation: reveal .6s ease forwards; }
  @keyframes reveal { to { opacity:1; transform:none; } }
}
