/* ==========================================================================
   LIQDITY — Design System (dark navy/cyan fintech theme, matching the
   hero's cinematic particle-terrain palette)
   ========================================================================== */

:root {
  --bg: #020816;
  --bg-alt: #04101f;
  --surface: #0b1730;
  --surface-2: #112040;
  --surface-border: rgba(56, 189, 248, 0.28);
  --line: rgba(255, 255, 255, 0.08);

  --cyan: #38bdf8;
  --cyan-light: #7dd3fc;
  --cyan-dim: rgba(56, 189, 248, 0.32);
  --cyan-solid: #0ea5e9;
  --blue-deep: #0c2f5c;
  --emerald: #34d399;

  --text: #f3f7ff;
  --text-dim: #b7c5dc;
  --text-mute: #7686a3;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;

  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-cyan: 0 8px 30px rgba(56, 189, 248, 0.20);
  --shadow-lift: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

::selection { background: var(--cyan); color: #ffffff; }

.kw { color: var(--cyan); }

/* ---------- Background texture ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 520px at 50% -8%, rgba(56,189,248, 0.09), transparent 60%),
    radial-gradient(ellipse 700px 480px at 90% 30%, rgba(5, 150, 105, 0.05), transparent 60%),
    linear-gradient(var(--bg), var(--bg));
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

main { position: relative; z-index: 1; }

/* ---------- Pill badge (eyebrow) ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-light);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(56,189,248, 0.14);
  border: 1px solid rgba(56,189,248, 0.4);
  margin-bottom: 22px;
}
/* legacy alias */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-light); font-weight: 600; margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: #ffffff;
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--cyan-light); box-shadow: 0 14px 34px rgba(125,211,252,0.28); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(56,189,248,0.45);
}
.btn-outline:hover { border-color: var(--cyan); background: rgba(56,189,248,0.08); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: rgba(56,189,248,0.32);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan-dim); background: rgba(56,189,248,0.06); }
.btn-sm { padding: 11px 22px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 17, 32, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.brand-mark {
  width: 32px; height: 34px;
  flex-shrink: 0;
  display: flex;
  overflow: visible;
}
.brand-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.brand-name b { color: var(--text); font-weight: 800; }

/* ---------- Wordmark: "LIQDITY" ---------- */
.brand-name {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Montserrat', 'Poppins', 'Avenir Next', 'Gotham', sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 100px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.045); }
.nav-links a.active { color: var(--cyan); background: rgba(56,189,248,0.10); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--text); display: block; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 74px 16px auto 16px; flex-direction: column; align-items: stretch;
    background: rgba(10, 22, 40, 0.97); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 10px; gap: 2px; transform-origin: top; transform: scaleY(0.9) translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; box-shadow: var(--shadow-lift); }
  .nav-links.is-open { opacity: 1; transform: scaleY(1) translateY(0); visibility: visible; }
  .nav-links a { padding: 14px 18px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }
}

/* ---------- Hero (centered, shaded panel — matches lpprime.com hero block) ---------- */
.hero {
  padding: 76px 0 60px;
  position: relative;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-radius: 0 0 44px 44px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.hero p.lead { margin: 22px auto 0; font-size: 17.5px; color: var(--text-dim); max-width: 560px; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.hero-mesh svg, .hero-mesh canvas { width: 100%; height: 100%; display: block; }

/* ---------- Dark hero variant: cinematic fintech banner ---------- */
.hero.dark-hero {
  background: radial-gradient(ellipse 1400px 900px at 50% 8%, #143e78 0%, #0f2d5c 32%, #061229 62%, var(--bg) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.hero.dark-hero .pill-badge {
  background: rgba(56, 189, 248, 0.10);
  border-color: rgba(56, 189, 248, 0.32);
  color: #7dd3fc;
}
.hero.dark-hero h1 { color: #f3f7ff; }
.hero.dark-hero h1 .kw { color: #38bdf8; text-shadow: 0 0 30px rgba(56, 189, 248, 0.45); }
.hero.dark-hero p.lead { color: rgba(226, 235, 250, 0.72); }
.hero.dark-hero .btn-ghost { background: rgba(255, 255, 255, 0.06); color: #f3f7ff; border-color: rgba(255, 255, 255, 0.22); }
.hero.dark-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.34); }
.hero.dark-hero .stat b { color: #ffffff; }
.hero.dark-hero .stat > span { color: rgba(226, 235, 250, 0.5); }
.hero.dark-hero .stat + .stat::before { background: rgba(255, 255, 255, 0.14); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 780px; margin: 60px auto 0; }
.stat-row.stat-4 { grid-template-columns: repeat(4, 1fr); max-width: 960px; }
.stat { text-align: center; padding: 0 26px; position: relative; min-width: 0; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.stat b { display: block; font-family: 'Sora', sans-serif; font-size: clamp(2.2rem, 4.6vw, 3.75rem); color: var(--text); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.stat b span { font-size: inherit; color: inherit; font-weight: inherit; }
.stat > span { display: block; color: var(--text-mute); font-size: 13.5px; letter-spacing: 0.02em; }

@media (max-width: 760px) {
  .stat-row, .stat-row.stat-4 { grid-template-columns: 1fr; row-gap: 36px; }
  .stat + .stat::before { display: none; }
}

/* ---------- Section basics ---------- */
section { padding: 92px 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p { margin-top: 16px; color: var(--text-dim); font-size: 16.5px; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--cyan-dim); box-shadow: var(--shadow-lift); }

.icon-tile {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  margin-bottom: 16px;
}
.icon-tile svg { width: 27px; height: 27px; }

/* Plain icon+heading+paragraph cards (e.g. home "Why" grid): when grid
   stretches cards in a row to equal height, shorter copy leaves dead space
   at the bottom. Centering the content block distributes any leftover
   space evenly instead. */
.feature-card { display: flex; flex-direction: column; justify-content: center; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature-mini { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-mini:last-child { border-bottom: none; }
.feature-mini .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); margin-top: 7px; flex-shrink: 0; box-shadow: 0 0 12px var(--cyan-dim); }
.feature-mini h4 { font-family: 'Inter'; font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.feature-mini p { color: var(--text-mute); font-size: 14.5px; }

.panel-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Feature pill chips (horizontal) ---------- */
.pill-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pill-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.pill-chip:hover { border-color: var(--cyan-dim); color: var(--text); }
.pill-chip .pc-icon { width: 30px; height: 30px; border-radius: 50%; background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.24); display: flex; align-items: center; justify-content: center; color: var(--cyan); flex-shrink: 0; }
.pill-chip .pc-icon svg { width: 15px; height: 15px; }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-visual {
  aspect-ratio: 4/3.1;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--surface-border);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

/* Chart graphics */
.chart-line-svg, .chart-candle-svg, .chart-bars { width: 100%; height: 100%; }
.eq-bars { display: flex; align-items: flex-end; gap: 6px; width: 100%; height: 100%; padding: 10px; }
.eq-bars span { flex: 1; background: linear-gradient(180deg, var(--cyan-light), var(--cyan) 60%, rgba(56,189,248,0.2)); border-radius: 3px; opacity: .9; }

.world-dots { position: relative; width: 100%; height: 100%; }
.world-dots svg { width: 100%; height: 100%; }
.world-dots circle.node { fill: var(--cyan); filter: drop-shadow(0 0 5px rgba(56,189,248,0.5)); }

/* ---------- Marquee (tech/integration strip) ---------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: 'Sora', sans-serif; font-size: 19px; font-weight: 600; color: var(--text-mute); white-space: nowrap; letter-spacing: 0.01em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 22px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel-arrows { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.carousel-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text-dim); display: flex; align-items: center; justify-content: center; transition: border-color .3s, color .3s; }
.carousel-arrow:hover { border-color: var(--cyan-dim); color: var(--cyan); }
.carousel-arrow svg { width: 16px; height: 16px; }

.asset-card { width: 220px; }
.team-card-w { width: 210px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; }
.faq-q h4 { font-family: 'Inter'; font-size: 16px; font-weight: 600; color: var(--cyan); }
.faq-q .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); flex-shrink: 0; position: relative; transition: transform .3s var(--ease), border-color .3s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--cyan); }
.faq-q .plus::before { width: 10px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .plus::after { width: 1.5px; height: 10px; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: opacity .3s; }
.faq-item.is-open .plus { transform: rotate(45deg); border-color: var(--cyan-dim); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--text-dim); font-size: 15px; max-width: 640px; }
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }

/* ---------- CTA (plain, centered — matches reference) ---------- */
.cta-plain { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-plain h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta-plain p { margin-top: 14px; color: var(--text-dim); font-size: 16.5px; }
.cta-plain .btn { margin-top: 30px; }

/* ---------- Footer (simplified, matches reference) ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 0; background: var(--bg-alt); position: relative; z-index: 1; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-dim); font-size: 14.5px; transition: color .25s; }
.footer-nav a:hover { color: var(--cyan); }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color .3s, color .3s; color: var(--text-mute); }
.social-row a:hover { border-color: var(--cyan-dim); color: var(--cyan); }
.social-row svg { width: 16px; height: 16px; }

.footer-legal { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-legal p { color: var(--text-mute); font-size: 12.8px; line-height: 1.7; margin-bottom: 12px; }
.footer-contact-line { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13.5px; color: var(--cyan); margin-bottom: 4px; }
.footer-contact-line span { color: var(--text-mute); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 0 30px; font-size: 13px; color: var(--text-mute); border-top: 1px solid var(--line); }
.footer-bottom a { color: var(--text-mute); }
.footer-bottom a:hover { color: var(--cyan); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- Page hero (interior pages, centered) ---------- */
.page-hero { padding: 76px 0 52px; text-align: center; }
.page-hero .pill-badge, .page-hero .eyebrow { margin-left: auto; margin-right: auto; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 780px; margin: 0 auto; }
.page-hero p.lead { margin: 18px auto 0; color: var(--text-dim); font-size: 17px; max-width: 600px; }

/* ---------- Tags / pills ---------- */
.pill { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; background: rgba(56,189,248,0.1); color: var(--cyan); border: 1px solid rgba(56,189,248,0.22); }
.pill-outline { background: transparent; color: var(--text-dim); border-color: var(--line); }

/* ---------- Team ---------- */
.team-card { text-align: left; }
.avatar { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius); background: linear-gradient(155deg, var(--surface-2), var(--surface)); border: 1px solid var(--surface-border); margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 700; color: var(--cyan); position: relative; overflow: hidden; }
.avatar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(56,189,248,0.10), transparent 60%); }
.team-card h4 { font-size: 16px; margin-bottom: 4px; }
.team-card span { color: var(--cyan); font-size: 13px; font-weight: 500; }

/* ---------- Client segment card ---------- */
.segment-card { position: relative; padding-top: 32px; }
.segment-card h4 { color: var(--cyan); }
.segment-num { position: absolute; top: 26px; right: 30px; font-family: 'Sora', sans-serif; font-size: 40px; color: rgba(255,255,255,0.06); font-weight: 700; }

/* ---------- Blog ---------- */
.blog-filters { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; justify-content: center; }
.filter-btn { padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: var(--text-dim); font-size: 13.5px; font-weight: 600; transition: all .3s var(--ease); }
.filter-btn:hover { color: var(--text); }
.filter-btn.is-active { background: var(--cyan-solid); color: #ffffff; border-color: var(--cyan-solid); }

.post-card { display: flex; flex-direction: column; height: 100%; }
.post-thumb { aspect-ratio: 16/10; border-radius: var(--radius-sm); background: linear-gradient(155deg, var(--surface-2), var(--surface)); margin-bottom: 20px; position: relative; overflow: hidden; border: 1px solid var(--surface-border); }
.post-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(56,189,248,0.14), transparent 55%); }
.post-thumb .pill { position: absolute; top: 14px; left: 14px; margin: 0; background: rgba(7,17,32,0.78); backdrop-filter: blur(4px); }
.post-thumb .glyph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 44px; font-weight: 700; color: rgba(56,189,248,0.14); }
.post-card h3 { font-size: 18.5px; margin-bottom: 12px; }
.post-card p { color: var(--text-mute); font-size: 14.5px; flex-grow: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--text-mute); }
.read-more { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 14px; font-weight: 600; }
.read-more svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.post-card:hover .read-more svg { transform: translateX(4px); }

/* ---------- Article page ---------- */
.article-hero { padding: 76px 0 36px; }
.article-meta { display: flex; gap: 16px; align-items: center; color: var(--text-mute); font-size: 13.5px; margin: 22px 0 8px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p { color: var(--text-dim); font-size: 17px; margin-bottom: 24px; }
.article-body h2 { font-size: 25px; margin: 46px 0 20px; color: var(--text); }
.article-body h3 { font-size: 19px; margin: 32px 0 16px; color: var(--text); font-family: 'Inter'; font-weight: 600; }
.article-body ul { margin-bottom: 24px; }
.article-body li { color: var(--text-dim); font-size: 17px; padding-left: 26px; position: relative; margin-bottom: 12px; }
.article-body li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.article-body blockquote { border-left: 2px solid var(--cyan); padding: 4px 0 4px 26px; margin: 34px 0; font-family: 'Sora', sans-serif; font-size: 21px; font-weight: 600; font-style: normal; color: var(--cyan); }
.article-cover { max-width: 720px; margin: 0 auto 52px; aspect-ratio: 16/8; border-radius: var(--radius-lg); background: linear-gradient(155deg, var(--surface-2), var(--surface)); border: 1px solid var(--surface-border); position: relative; overflow: hidden; }
.article-cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 25%, rgba(56,189,248,0.14), transparent 55%); }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--text); font-size: 15px; transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-dim); background: var(--surface); }
.field textarea { resize: vertical; min-height: 120px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; justify-content: center; }
.check-row input { margin-top: 4px; accent-color: var(--cyan); }
.check-row label { font-size: 13.5px; color: var(--text-mute); }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--emerald); display: none; text-align: center; }
.form-note.is-visible { display: block; }

.contact-info-card { text-align: center; }
.contact-info-card .icon-tile { margin: 0 auto 18px; }
.contact-info-card h4 { font-size: 15px; margin-bottom: 8px; color: var(--cyan); }
.contact-info-card p, .contact-info-card a { color: var(--text-dim); font-size: 14.5px; }

/* ---------- Legal / policy page ---------- */
.policy-body { max-width: 780px; margin: 0 auto; }
.policy-body h2 { font-size: 22px; margin: 44px 0 16px; }
.policy-body p, .policy-body li { color: var(--text-dim); font-size: 15.5px; margin-bottom: 16px; }
.policy-body li { padding-left: 22px; position: relative; }
.policy-body li::before { content: "–"; position: absolute; left: 0; color: var(--cyan); }

/* ---------- About: abstract gallery grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-tile { aspect-ratio: 1/0.8; border-radius: var(--radius-sm); border: 1px solid var(--surface-border); position: relative; overflow: hidden; }
.gallery-tile::before { content: ""; position: absolute; inset: 0; }
.gt-1::before { background: linear-gradient(140deg, #16294a, #0a1830 70%); }
.gt-2::before { background: linear-gradient(140deg, #1a3055, #0d1c38 70%); }
.gt-3::before { background: linear-gradient(140deg, #122540, #081526 70%); }
.gt-4::before { background: linear-gradient(140deg, #1c3560, #0e1f3c 70%); }
.gallery-tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, rgba(56,189,248,0.14), transparent 60%); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  z-index: 200;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 27px; height: 27px; }
@media (max-width: 640px) {
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
