:root {
  --bg: #07060c;
  --bg-elevated: #12101a;
  --bg-card: #16141f;
  --cyan: #22d3ee;
  --cyan-dim: #0891b2;
  --magenta: #e879f9;
  --gold: #fbbf24;
  --text: #f1f5f9;
  --text-soft: #94a3b8;
  --border: rgba(34, 211, 238, 0.15);
  --glow: 0 0 40px rgba(34, 211, 238, 0.15);
  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: var(--cyan); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }

.wrap { width: min(1200px, 92%); margin: 0 auto; }

/* Header - different style */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 6, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.brand img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--cyan); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: #020617;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
  color: #020617;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cyan);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 12, 0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 500;
}

.mobile-nav .close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: var(--cyan);
  font-size: 2rem;
  cursor: pointer;
}

/* Hero - full immersive */
.hero {
  padding: 5rem 0 3rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  width: 60%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.08), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.3rem;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
  max-width: 32rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn-ghost {
  display: inline-flex;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  transition: all var(--t);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Bento overview */
.bento {
  padding: 2rem 0 4rem;
}

.bento-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  transition: border-color var(--t), transform var(--t);
}

.bento-item:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-3px);
}

.bento-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

.bento-item span {
  font-size: 0.95rem;
  color: var(--text);
}

/* Sections */
.block {
  padding: 3.5rem 0;
}

.block-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.block-lead {
  color: var(--text-soft);
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
}

.split.flip { direction: rtl; }
.split.flip > * { direction: ltr; }

.visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow);
}

.visual img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Lists */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.steps li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.steps .n {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #020617;
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check li::before {
  content: '▸';
  color: var(--cyan);
  margin-right: 0.5rem;
}

/* Cards row */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--t);
}

.card:hover {
  border-color: var(--magenta);
  box-shadow: 0 0 30px rgba(232, 121, 249, 0.1);
}

.card h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

/* Table */
.table-box {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

th, td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

th {
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  font-weight: 600;
}

tr:last-child td { border-bottom: none; }

/* Two columns pros */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.duo-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.duo-box h3 { margin-bottom: 0.9rem; font-size: 1.1rem; }
.duo-box.plus h3 { color: var(--cyan); }
.duo-box.minus h3 { color: #f87171; }

.duo-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--text-soft);
}

.duo-box.plus li::before { content: '+ '; color: var(--cyan); font-weight: 700; }
.duo-box.minus li::before { content: '– '; color: #f87171; font-weight: 700; }

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.tag.warn {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.25);
}

/* FAQ */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-btn::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--cyan);
}

.faq.active .faq-btn::after { content: '−'; }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq.active .faq-body { max-height: 320px; }

.faq-body-inner {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-soft);
}

/* Footer */
.foot {
  background: #04030a;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.8rem;
  margin-top: 2rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.foot-brand img { height: 36px; margin-bottom: 0.7rem; }
.foot-brand p { color: var(--text-soft); font-size: 0.9rem; max-width: 22rem; }

.foot h4 {
  color: var(--cyan);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.foot ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.foot a { color: var(--text-soft); font-size: 0.9rem; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* Float */
.float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t);
}

.float.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Reveal */
.fade {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade.in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-layout,
  .split,
  .duo,
  .foot-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .split.flip { direction: ltr; }

  .nav-links,
  .topbar-inner .cta-btn { display: none; }

  .menu-toggle { display: block; }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 2rem; }
  .block { padding: 2.5rem 0; }
}
