/* ===== Maxways Infotech — shared site styles ===== */
:root {
  --navy-950: #050b1f;
  --navy-900: #0a1430;
  --navy-800: #111d42;
  --navy-700: #1b2a5a;
  --sky: #3bb7ff;
  --blue: #1f8fe0;
  --blue-deep: #0070b4;
  --lime: #b8f56a;
  --text: #0f172a;
  --muted: #5b6478;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 20, 48, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(44px, 6vw, 76px) 0; }

.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.kicker-lime { color: var(--lime); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.section-head p { font-size: 1.05rem; }

.grad-text {
  background: linear-gradient(90deg, var(--sky), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 11px 22px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--blue-deep));
  box-shadow: 0 10px 24px -8px rgba(31, 143, 224, .7);
}
.btn-primary:hover { box-shadow: 0 14px 30px -8px rgba(31, 143, 224, .85); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-ghost .fa-whatsapp { color: #25d366; font-size: 1.2em; }
.btn-lime { color: var(--navy-950); background: var(--lime); box-shadow: 0 10px 24px -8px rgba(184,245,106,.6); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ----- Header ----- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.topbar { font-size: .82rem; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.08); transition: margin .3s, opacity .3s; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar i { color: var(--sky); margin-right: 6px; }
.topbar-links { display: flex; gap: 24px; }
.topbar a:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav-logo img { height: 46px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-menu > li > a, .dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: rgba(255,255,255,.85); font-weight: 600; font-size: .92rem;
  background: none; border: 0; transition: color .2s, background .2s;
}
.nav-menu > li > a:hover, .dropdown-trigger:hover, .nav-menu > li > a.active, .dropdown-trigger.active { color: #fff; background: rgba(255,255,255,.08); }
.dropdown-trigger i { font-size: .65rem; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  list-style: none; margin: 0; padding: 8px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--text); }
.dropdown a:hover { background: var(--bg-soft); color: var(--blue); }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .dropdown-trigger i, .has-dropdown.open .dropdown-trigger i { transform: rotate(180deg); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

.site-header.scrolled { background: rgba(5, 11, 31, .88); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.site-header.scrolled .topbar { margin-top: -38px; opacity: 0; }

/* ----- Hero ----- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1px 1px at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 70%, var(--navy-800) 100%);
  padding: 136px 0 40px;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-1 { width: 520px; height: 520px; background: rgba(59,183,255,.28); top: -120px; right: -80px; }
.hero-glow-2 { width: 420px; height: 420px; background: rgba(184,245,106,.12); bottom: -160px; left: -120px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(184,245,106,.2); }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin: 16px 0 14px; letter-spacing: -.03em; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.75); max-width: 540px; }
.typed { color: var(--lime); font-weight: 700; border-right: 2px solid var(--lime); padding-right: 3px; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 26px; }
.hero-trust { display: flex; align-items: center; gap: 14px; }
.hero-trust p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.4; }
.hero-trust strong { color: #fff; }
.avatars { display: flex; }
.avatars img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-900); margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }

.hero-grid { align-items: center; }
.hero-form {
  position: relative; padding: 26px; border-radius: 22px;
  background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.2);
}
.hero-form::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: 23px;
  background: linear-gradient(135deg, var(--sky), var(--lime)); filter: blur(18px); opacity: .45;
}
.hero-form-head h2 { font-size: 1.35rem; margin-bottom: 2px; }
.hero-form-head p { font-size: .88rem; margin-bottom: 14px; }
.hero-form .field { margin-bottom: 8px; }
.hero-form .field label { font-size: .8rem; margin-bottom: 4px; }
.hero-form .field input, .hero-form .field select { padding: 10px 12px; font-size: .92rem; }
.hero-form .error { min-height: 0; }
.hero-form .error:empty { display: none; }
.hero-form .btn { margin-top: 6px; }
.hero-form-note { margin: 10px 0 0; font-size: .78rem; text-align: center; }
.hero-form-note i { color: var(--blue); margin-right: 4px; }

.stats {
  position: relative; margin-top: 40px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  backdrop-filter: blur(8px);
}
.stat { padding: 20px 14px; text-align: center; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat i { color: var(--sky); font-size: 1.2rem; margin-bottom: 8px; display: block; }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
.stat strong::after { content: '+'; color: var(--lime); }
.stat span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ----- Badges marquee ----- */
.badges { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 18px 0; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track img { height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee-track img:hover { filter: none; opacity: 1; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }

/* ----- About ----- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value {
  padding: 22px 18px; border-radius: var(--radius); text-align: center;
  background: var(--bg-soft); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.value:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.value img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 14px; }
.value h3 { margin: 0; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; }

/* ----- Products ----- */
.products { background: var(--bg-soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pc-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .pc-img img { transform: scale(1.06); }
.pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body p { font-size: .94rem; flex: 1; }

/* ----- Game ----- */
.game { background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); color: #fff; position: relative; overflow: hidden; }
.game p { color: rgba(255,255,255,.72); }
.game-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.game-visual { position: relative; }
.game-visual::before { content: ''; position: absolute; inset: 10%; background: rgba(59,183,255,.3); filter: blur(80px); border-radius: 50%; }
.game-visual img {
  position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); transition: background .2s, border-color .2s;
}
.chip i { color: var(--lime); }
.chip:hover { background: rgba(255,255,255,.14); border-color: var(--lime); }

/* ----- Why ----- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.why-card i {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 18px;
  font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue-deep));
}
.why-card p { font-size: .93rem; margin: 0; }
.edge { margin-top: 32px; padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--line); }
.edge-title { font-size: 1.4rem; margin-bottom: 28px; }
.edge-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; }
.edge-list li { display: flex; gap: 14px; }
.edge-list i { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: .75rem; background: var(--lime); color: var(--navy-950); margin-top: 2px; }
.edge-list strong { display: block; margin-bottom: 2px; }
.edge-list span { font-size: .9rem; color: var(--muted); }

/* ----- Process ----- */
.process { background: var(--bg-soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed #c8d2e4; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin-bottom: 20px;
  font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue-deep));
  box-shadow: 0 0 0 8px var(--bg-soft), 0 12px 24px -8px rgba(31,143,224,.6);
}
.step p { font-size: .94rem; max-width: 320px; margin-inline: auto; }

/* ----- Tech ----- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.tab {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: .92rem; color: var(--muted); transition: all .2s;
}
.tab:hover { color: var(--text); border-color: #c8d2e4; }
.tab.active { color: #fff; border-color: transparent; background: var(--navy-900); }
.tab-panel { display: none; flex-wrap: wrap; justify-content: center; gap: 20px; }
.tab-panel.active { display: flex; animation: fadeUp .4s ease; }
.tech-card {
  width: 160px; padding: 26px 16px; border-radius: var(--radius); text-align: center;
  background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-card img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 14px; border-radius: 12px; }
.tech-card span { font-weight: 700; font-size: .9rem; }

/* ----- Testimonials ----- */
.testimonials { background: var(--bg-soft); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { margin: 0; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 14px; }
.quote blockquote { margin: 0 0 24px; flex: 1; font-size: 1rem; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.quote figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ----- FAQ ----- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative;
  font-weight: 700; font-size: 1.02rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-soft); color: var(--blue); font-size: 1.2rem; transition: transform .25s, background .25s;
}
.faq-list details[open] summary::after { content: '−'; background: var(--blue); color: #fff; }
.faq-list details p { padding: 0 40px 16px 0; margin: 0; animation: fadeUp .3s ease; }

/* ----- Contact ----- */
.contact { background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); color: #fff; }
.contact p { color: rgba(255,255,255,.72); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.contact-info { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.85); }
.contact-info i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--sky); }
.contact-info a:hover { color: var(--lime); }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg);
}
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: .95rem; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59,183,255,.18); }
.field.has-error input { border-color: #e5484d; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 160px; flex: none; }
.phone-row input { flex: 1; min-width: 0; }
.error { display: block; min-height: 1em; margin-top: 4px; font-size: .8rem; color: #e5484d; }

/* ----- Footer ----- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.footer-logo { height: 52px; width: auto; margin-bottom: 18px; }
.footer p { color: rgba(255,255,255,.6); font-size: .92rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer a:hover { color: var(--lime); }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: var(--sky); margin-top: 5px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); transition: background .2s, color .2s; }
.socials a:hover { background: var(--sky); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; }

/* ----- Floating buttons ----- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 12px; }
.fab-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 0; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; box-shadow: 0 10px 25px -6px rgba(0,0,0,.4); transition: transform .2s;
}
.fab-btn:hover { transform: scale(1.08); }
.fab-wa { background: #25d366; animation: pulse 2.4s infinite; }
.fab-call { background: var(--blue); font-size: 1.2rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ----- Modal ----- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,11,31,.65); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.modal-card {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  padding: 32px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); animation: pop .3s ease;
}
.modal-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.modal-sub { font-size: .92rem; margin-bottom: 20px; }
.modal-card .field { margin-bottom: 12px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--bg-soft); font-size: 1.4rem; line-height: 1; color: var(--muted);
}
.modal-close:hover { background: var(--line); color: var(--text); }

/* ----- Animations ----- */
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav-cta { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .edge-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .topbar { display: none; }
  .nav { height: 68px; }
  .nav-logo img { height: 40px; }
  .nav-toggle {
    display: grid; gap: 5px; margin-left: auto; padding: 10px; border: 0; border-radius: 10px;
    background: rgba(255,255,255,.1);
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu {
    /* header's backdrop-filter makes it the containing block, so size from it */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 68px);
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0;
    padding: 16px; overflow-y: auto; background: var(--navy-950);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-menu.open { transform: none; }
  .nav-menu > li > a, .dropdown-trigger { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1rem; border-radius: 12px; }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; background: rgba(255,255,255,.04);
    opacity: 1; visibility: visible; transform: none; display: none; margin: 4px 0;
  }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,.8); }
  .dropdown a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav-cta-mobile { display: block; margin-top: 16px; }
  .nav-cta-mobile .btn { width: 100%; }
  .site-header { background: rgba(5, 11, 31, .92); backdrop-filter: blur(14px); }

  .hero { padding: 100px 0 32px; }
  .hero-grid, .about-grid, .game-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-form { max-width: 520px; width: 100%; margin: 0 auto; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); }
  .card-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .game-visual { order: 2; }
}

@media (max-width: 640px) {
  .hero h1 { margin-top: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-form { padding: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.08); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .stat:last-child { grid-column: 1 / -1; border-right: 0; }
  .card-grid, .quote-grid, .why-grid, .edge-list, .values { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .phone-row select { width: 118px; }
  .tech-card { width: calc(50% - 10px); }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee-track img { height: 48px; }
  .fab { right: 14px; bottom: 14px; }
  .fab-btn { width: 50px; height: 50px; }
}

/* ===== Inner pages ===== */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(1px 1px at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0) 0 0 / 28px 28px,
    linear-gradient(180deg, var(--navy-950), var(--navy-800));
  padding: 150px 0 64px;
}
.page-hero .container { position: relative; max-width: 820px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 12px; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.08rem; margin: 0 auto; max-width: 640px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: .6rem; }
.breadcrumb span { color: var(--lime); font-weight: 600; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.split-reverse .split-media { order: 2; }
.media-badge {
  position: absolute; right: -14px; bottom: -14px; display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--blue-deep)); box-shadow: var(--shadow-lg);
}
.media-badge strong { font-size: 2rem; line-height: 1; }
.media-badge span { font-size: .8rem; line-height: 1.3; opacity: .9; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .94rem; }
.ticks i { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: .65rem; background: var(--lime); color: var(--navy-950); }

.stats-band { padding: 0 0 8px; }
.stats-light { margin-top: 0; grid-template-columns: repeat(4, 1fr); background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.mission { background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); color: #fff; }
.mission p { color: rgba(255,255,255,.72); }
.values-row { grid-template-columns: repeat(4, 1fr); }
.quote-grid-4 { grid-template-columns: repeat(4, 1fr); }
.quote-grid-4 .quote { padding: 22px; }
.quote-grid-4 blockquote { font-size: .93rem; }

.cta-band { padding: 0 0 clamp(44px, 6vw, 76px); }
.contact + .cta-band { padding-top: clamp(36px, 5vw, 60px); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px); border-radius: 24px; color: #fff;
  background: radial-gradient(600px 200px at 85% 0%, rgba(59,183,255,.35), transparent), linear-gradient(135deg, var(--navy-950), var(--navy-700));
}
.cta-inner h2 { margin-bottom: 6px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-inner p { color: rgba(255,255,255,.72); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-cards-wrap { position: relative; margin-top: -36px; z-index: 2; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  display: block; padding: 24px 20px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card i {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 14px;
  font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue-deep));
}
.contact-card .fa-whatsapp { background: #25d366; font-size: 1.4rem; }
.contact-card h3 { margin-bottom: 4px; font-size: 1.02rem; }
.contact-card p { margin: 0; font-size: .9rem; word-break: break-word; }
.contact-cards-wrap + .section { margin-top: 44px; }
.map-frame { margin-top: 20px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); aspect-ratio: 16 / 10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.hours { margin: 14px 0 0; font-size: .88rem; }
.hours i { color: var(--lime); margin-right: 6px; }
.contact-grid { align-items: start; }

@media (max-width: 1100px) {
  .quote-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .page-hero { padding: 110px 0 56px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse .split-media { order: 0; }
  .stats-light { grid-template-columns: repeat(2, 1fr); }
  .stats-light .stat:nth-child(3) { border-left: 0; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .media-badge { right: 10px; bottom: 10px; padding: 12px 14px; }
  .ticks { grid-template-columns: 1fr; }
  .quote-grid-4, .contact-cards { grid-template-columns: 1fr; }
  .stats-light .stat:last-child { grid-column: auto; }
  .stats-light .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .cta-actions, .cta-actions .btn { width: 100%; }
}

/* ===== Game pages ===== */
.game-hero { padding-bottom: 56px; }
.game-hero .breadcrumb { margin-bottom: 6px; }
.game-hero .breadcrumb a { color: rgba(255,255,255,.6); }
.game-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.hero-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.9);
}
.hero-chips i { color: var(--lime); }

/* designs (tabs) */
.tab-panel.design-panel.active, .tab-panel.feature-panel.active { display: block; }
.design-text { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.design-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.design-shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.design-shot img { width: 100%; aspect-ratio: 11 / 5; object-fit: cover; object-position: top; transition: transform .4s; }
.design-shot:hover img { transform: scale(1.04); }

/* feature columns */
.feature-cols { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 20px; }
.feature-box { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.feature-box h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.feature-box h3 i {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; font-size: 1rem;
  color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue-deep));
}
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .94rem; }
.check-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .65rem;
  width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--navy-950);
}
.feature-box-dark { background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); border-color: transparent; color: #fff; }
.feature-box-dark h3 i { background: var(--lime); color: var(--navy-950); }
.platform { display: flex; gap: 14px; margin-top: 14px; }
.platform > i { font-size: 1.6rem; color: var(--sky); width: 28px; flex: none; margin-top: 2px; }
.platform p { margin: 0; color: rgba(255,255,255,.75); font-size: .92rem; }
.platform strong { color: #fff; }

/* dark cards grid (timeline / admin) */
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline-grid-4 { grid-template-columns: repeat(4, 1fr); }
.dark-card {
  padding: 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .25s, transform .25s;
}
.dark-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.dark-card h3 { color: #fff; font-size: 1.05rem; margin: 12px 0 6px; }
.dark-card p { margin: 0; font-size: .92rem; }
.dark-card > i { font-size: 1.3rem; color: var(--lime); }
.step-num-sm { font-weight: 800; font-size: 1.4rem; color: var(--sky); }

/* package / feature list with icons */
.package-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.package-list-1 { grid-template-columns: 1fr; margin-top: 18px; }
.package-list li { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.package-list li > i {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
  color: #fff; background: linear-gradient(135deg, var(--sky), var(--blue-deep));
}
.package-list strong { display: block; font-size: .95rem; }
.package-list span { font-size: .86rem; color: var(--muted); }

/* mini feature cards (fantasy admin/app) */
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mini-card { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.mini-card > i {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
  color: var(--blue); background: rgba(59,183,255,.12);
}
.mini-card h3 { font-size: 1rem; margin-bottom: 2px; }
.mini-card p { margin: 0; font-size: .9rem; }

/* game catalogue */
.game-filters .filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .2s;
}
.game-filters .filter:hover { color: var(--text); border-color: #c8d2e4; }
.game-filters .filter.active { color: #fff; background: var(--navy-900); border-color: transparent; }
.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.game-card[hidden] { display: none; }
.game-open {
  width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; text-align: left; color: inherit; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.game-open:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.game-open:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.game-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.game-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game-open:hover .game-img img { transform: scale(1.06); }
.game-body { padding: 14px 16px 16px; }
.game-cat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.game-body h3 { font-size: 1rem; margin: 4px 0 8px; }
.game-more { font-size: .85rem; font-weight: 700; color: var(--muted); }
.game-open:hover .game-more { color: var(--blue); }
.game-modal-card { width: min(560px, 100%); }
.game-modal-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.game-modal-card h3 { margin: 4px 0 10px; }
.game-modal-desc p { font-size: .94rem; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-4 .pc-body { padding: 18px; }
.card-grid-4 .pc-body h3 { margin-bottom: 6px; }

@media (max-width: 1100px) {
  .feature-cols { grid-template-columns: 1fr 1fr; }
  .feature-box-dark { grid-column: 1 / -1; }
  .timeline-grid-4, .game-grid, .card-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .timeline-grid, .timeline-grid-4, .game-grid, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .design-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .feature-cols, .timeline-grid, .timeline-grid-4, .package-list, .mini-grid, .design-grid, .card-grid-4 { grid-template-columns: 1fr; }
  .game-grid { gap: 12px; }
  .game-body { padding: 10px 12px 12px; }
  .game-body h3 { font-size: .92rem; }
  .hero-chips li { font-size: .8rem; }
}

/* ===== Service pages ===== */
.breadcrumb .crumb-plain { color: rgba(255,255,255,.6); font-weight: 400; }

.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.offer {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .93rem; transition: transform .2s, box-shadow .2s;
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.offer i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: rgba(59,183,255,.12); }

.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-grid li {
  position: relative; padding: 18px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line);
  font-weight: 700; font-size: .95rem;
}
.process-grid li span { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue); margin-bottom: 6px; }

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

.tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

.split-contain img { object-fit: scale-down; background: #fff; padding: 20px; }
.solution { align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.solution h3 { font-size: 1.35rem; }
.solution .split-media img { box-shadow: none; border: 1px solid var(--line); }

.feature-cols-dark { grid-template-columns: repeat(3, 1fr); }
.feature-cols-dark .feature-box { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; }
.feature-cols-dark .check-list li, .check-list-dark li { color: rgba(255,255,255,.88); font-weight: 500; }
.check-list-dark { margin-top: 18px; }
.check-list li { align-items: flex-start; }
.check-list li::before { margin-top: 1px; }

.feature-tiles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-tiles li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.feature-tiles i { color: var(--blue); width: 20px; text-align: center; }

@media (max-width: 1100px) {
  .offer-grid, .feature-tiles { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-cols-dark { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .offer-grid, .feature-tiles, .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .feature-cols-dark { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .offer-grid, .feature-tiles, .service-grid { grid-template-columns: 1fr; }
  .tech-row .tech-card { width: calc(50% - 10px); }
}

/* ===== Fintech ===== */
.product-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.product-nav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; transition: all .2s;
}
.product-nav a i { color: var(--blue); }
.product-nav a:hover { background: var(--navy-900); color: #fff; border-color: transparent; }
.product-nav a:hover i { color: var(--lime); }
[id] { scroll-margin-top: 90px; }
.list-title { text-align: center; margin: 40px 0 0; font-size: 1.3rem; }
.split .feature-box { margin-top: 8px; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.blog-body h2 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 8px; }
.blog-body h2 a:hover { color: var(--blue); }
.blog-body p {
  flex: 1; font-size: .92rem; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font-weight: 700; transition: all .2s;
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--navy-900); border-color: transparent; color: #fff; }
.empty-state { text-align: center; max-width: 480px; margin: 0 auto; padding: 40px 0; }
.empty-state > i { font-size: 2.6rem; color: var(--sky); margin-bottom: 14px; }

/* blog post */
.post-hero { padding-bottom: 48px; }
.post-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-top: 16px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.post-cover { width: 100%; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 24px; }
.post-lead { font-size: 1.15rem; color: var(--text); font-weight: 600; line-height: 1.6; }
.prose { font-size: 1.02rem; line-height: 1.8; color: #2b3445; overflow-wrap: break-word; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 1.6em 0 .6em; color: var(--text); }
.prose h1 { font-size: 1.7rem; } .prose h2 { font-size: 1.45rem; } .prose h3 { font-size: 1.2rem; }
.prose p { color: #2b3445; margin: 0 0 1.1em; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { height: auto; border-radius: 12px; margin: 1em 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--sky); background: var(--bg-soft); border-radius: 0 10px 10px 0; }
.post-share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.post-share a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); color: var(--text); transition: all .2s; }
.post-share a:hover { background: var(--blue); color: #fff; }
.post-aside { align-self: stretch; }
.aside-sticky { position: sticky; top: 100px; }
.post-aside .hero-form::before { opacity: .25; }

@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .product-nav a { font-size: .85rem; padding: 8px 14px; }
}

/* ===== 404 ===== */
.not-found { padding: 180px 0 120px; }
.nf-code { display: block; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.nf-actions { justify-content: center; }

/* blog: dates */
.blog-date { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.blog-date i { color: var(--blue); }
.post-meta { margin-top: 12px !important; font-size: .92rem; color: rgba(255,255,255,.7); }
.post-meta i { color: var(--lime); margin: 0 4px 0 6px; }
