:root {
  --ink: #0a0d14;
  --text: #1f2937;
  --muted: #647084;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --soft-2: #eef3f8;
  --line: #e2e8f0;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --coral: #ff5a66;
  --green: #10b981;
  --violet: #7c3aed;
  --shadow: 0 24px 80px rgba(15, 23, 42, .12);
  --radius: 10px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #ffffff 100%);
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  line-height: .98;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
  backdrop-filter: blur(18px);
}
.site-header.is-elevated { box-shadow: 0 14px 40px rgba(15, 23, 42, .06); }
.brand-mark { display: flex; align-items: center; gap: 12px; min-width: 218px; }
.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  border-radius: var(--radius);
  font-weight: 900;
}
.brand-mark strong { display: block; font-size: 18px; }
.brand-mark small { display: block; color: var(--muted); font-size: 12px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); background: var(--soft); }
.main-nav .nav-cta {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
}
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius); color: #fff; background: var(--ink); }

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
  padding: clamp(42px, 6vw, 92px) clamp(18px, 5vw, 76px) 48px;
  overflow: hidden;
}
.hero-copy { max-width: 820px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero h1 { margin: 20px 0 22px; max-width: 900px; font-size: clamp(48px, 6.8vw, 102px); }
.hero p { max-width: 680px; color: var(--muted); font-size: 19px; }
.hero p strong { color: var(--ink); }
.hero-actions, .demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(15, 23, 42, .12); }
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #1d4ed8);
  border-color: #111827;
}
.button.ghost { color: var(--ink); background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.trust-row span {
  padding: 9px 11px;
  color: var(--text);
  background: rgba(255, 255, 255, .84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 750;
}

.hero-device { display: grid; place-items: center; perspective: 1200px; }
.product-stage {
  position: relative;
  width: min(560px, 100%);
  min-height: 620px;
  display: grid;
  place-items: center;
}
.product-stage::before {
  content: "";
  position: absolute;
  inset: 46px 28px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(6, 182, 212, .12), rgba(255, 90, 102, .10));
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 32px;
  transform: rotate(-3deg);
}
.phone-shell {
  position: relative;
  z-index: 2;
  width: min(374px, 78vw);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border-radius: 36px;
  background: #07111f;
  box-shadow: var(--shadow);
  transform: rotateX(5deg) rotateY(-8deg);
  animation: floatPhone 5s ease-in-out infinite;
}
.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background:
    linear-gradient(160deg, #111827 0%, #1d4ed8 46%, #06b6d4 100%);
  padding: 24px 20px;
}
.live-invite { display: flex; flex-direction: column; justify-content: center; gap: 14px; color: #fff; text-align: center; }
.status-pill {
  align-self: center;
  padding: 6px 10px;
  color: #dbeafe;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}
.live-invite h2 { margin: 10px 0 0; font-size: 46px; line-height: 1; }
.live-invite p { margin: 0; color: rgba(255,255,255,.78); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.countdown span {
  display: grid;
  gap: 2px;
  padding: 10px 6px;
  color: rgba(255,255,255,.72);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  font-size: 12px;
}
.countdown strong { color: #fff; font-size: 22px; }
.invite-card {
  display: grid;
  gap: 6px;
  padding: 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  text-align: left;
}
.invite-card span, .invite-card small { color: var(--muted); }
.qr-sim {
  width: 76px;
  height: 76px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  align-self: center;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.8);
}
.qr-sim i { background: var(--ink); border-radius: 2px; }
.qr-sim.large { width: 130px; height: 130px; margin-bottom: 18px; }
.analytics-panel, .floating-card {
  position: absolute;
  z-index: 3;
  width: 178px;
  padding: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, .14);
  backdrop-filter: blur(18px);
}
.analytics-panel { top: 72px; left: 0; }
.floating-card { right: 0; bottom: 92px; }
.analytics-panel span, .floating-card span, .floating-card small { color: var(--muted); font-size: 12px; font-weight: 750; }
.analytics-panel strong, .floating-card strong { display: block; margin: 4px 0; font-size: 30px; }
.bars { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 6px; height: 58px; margin-top: 12px; }
.bars i { border-radius: 999px 999px 4px 4px; background: linear-gradient(var(--blue), var(--cyan)); }
.bars i:nth-child(1) { height: 42%; }
.bars i:nth-child(2) { height: 68%; }
.bars i:nth-child(3) { height: 52%; }
.bars i:nth-child(4) { height: 88%; }
.bars i:nth-child(5) { height: 76%; }

.section { padding: clamp(50px, 7vw, 96px) clamp(18px, 5vw, 76px); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .page-hero h1 { margin: 16px 0; font-size: clamp(38px, 5vw, 72px); }
.section-heading p, .page-hero p { max-width: 660px; color: var(--muted); font-size: 18px; }
.compact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 0; }
.metric {
  padding: 24px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .04);
}
.metric strong { display: block; font-size: 28px; }
.metric span { color: var(--muted); }

.feature-grid, .pricing-grid, .theme-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-card, .price-card, .theme-card, .blog-card, .auth-card, .order-form, .order-summary, .demo-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(15,23,42,.05);
}
.feature-card { min-height: 190px; padding: 26px; }
.feature-card span {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}
.feature-card:nth-child(2n) span { background: linear-gradient(135deg, var(--coral), var(--violet)); }
.feature-card:nth-child(3n) span { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.feature-card p, .price-card p, .blog-card p { color: var(--muted); }

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .7fr);
  gap: 28px;
  align-items: center;
  background: #0f172a;
  color: #fff;
}
.split-showcase p { color: rgba(255,255,255,.72); }
.split-showcase .eyebrow { color: #bae6fd; background: rgba(14, 165, 233, .14); border-color: rgba(186, 230, 253, .24); }
.split-showcase h2 { font-size: clamp(38px, 5vw, 68px); }
.whatsapp-card {
  padding: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
}
.chat-bubble {
  max-width: 86%;
  padding: 14px 16px;
  margin-bottom: 12px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.chat-bubble.alt { margin-left: auto; background: #dcfce7; }
.message-input { padding: 14px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); border-radius: var(--radius); }

.theme-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.theme-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(15,23,42,.10); }
.theme-preview {
  min-height: 260px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--c1), white 12%), var(--c2)),
    #fff;
}
.mini-phone {
  width: 128px;
  height: 214px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 12px;
  border: 8px solid #07111f;
  border-radius: 28px;
  background: var(--c3);
  box-shadow: 0 22px 46px rgba(15,23,42,.22);
  transition: transform .25s ease;
}
.theme-card:hover .mini-phone { transform: translateY(-8px) scale(1.03); }
.mini-hero { height: 58px; border-radius: var(--radius); background: var(--c1); }
.mini-line { height: 8px; width: 66%; border-radius: 99px; background: var(--c2); }
.mini-line.wide { width: 100%; background: var(--ink); opacity: .72; }
.mini-dots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-dots i { height: 24px; border-radius: var(--radius); background: rgba(255,255,255,.72); }
.theme-body { padding: 20px; }
.theme-body span { color: var(--muted); font-size: 13px; font-weight: 750; }
.theme-body h3 { margin: 8px 0 12px; font-size: 24px; }
.swatches { display: flex; gap: 8px; margin-bottom: 18px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-actions a { min-height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 850; }
.card-actions a:last-child { color: #fff; background: var(--ink); }
.center { text-align: center; margin-top: 28px; }

.price-card { position: relative; padding: 28px; }
.price-card.featured { border-color: rgba(37, 99, 235, .42); box-shadow: 0 26px 70px rgba(37, 99, 235, .13); }
.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: var(--blue);
  background: #eff6ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}
.price-card h2, .price-card h3 { margin: 18px 0 8px; font-size: 30px; }
.price-card strong { display: block; margin-bottom: 12px; font-size: 42px; }
.price-card ul { min-height: 170px; padding-left: 18px; color: var(--muted); }
.pricing-grid.full .price-card { min-height: 100%; }

.page-hero { padding: clamp(52px, 8vw, 112px) clamp(18px, 5vw, 76px) 28px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-bar button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}
.filter-bar button.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }

.demo-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) 330px;
  gap: 22px;
  padding: clamp(28px, 5vw, 70px);
  background: linear-gradient(135deg, var(--c2), #fff 44%, color-mix(in srgb, var(--c1), white 84%));
}
.demo-invite {
  max-width: 760px;
  width: 100%;
  justify-self: center;
  padding: clamp(30px, 6vw, 74px);
  text-align: center;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.demo-invite h1 { margin: 18px 0 6px; color: var(--c1); font-size: clamp(46px, 7vw, 92px); }
.demo-invite h2 { font-family: Inter, sans-serif; font-size: 22px; font-weight: 850; }
.demo-countdown { grid-template-columns: repeat(4, 1fr); max-width: 520px; margin: 26px auto; }
.demo-countdown span { color: var(--muted); background: #fff; border-color: var(--line); }
.demo-countdown strong { color: var(--ink); }
.event-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; text-align: left; }
.event-panel div, .rsvp-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.event-panel small { display: block; color: var(--muted); }
.rsvp-card { display: grid; gap: 12px; margin-top: 24px; text-align: left; }
.rsvp-card h3 { margin-bottom: 0; }
.rsvp-card input, .rsvp-card select, .rsvp-card button, .order-form input, .order-form select, .order-form textarea, .auth-card input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.rsvp-card button { color: #fff; background: var(--ink); font-weight: 850; cursor: pointer; }
.demo-side { align-self: center; padding: 28px; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.order-form, .order-summary { padding: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
label.wide { grid-column: 1 / -1; }
textarea { min-height: 120px; resize: vertical; }
.notice { padding: 14px 16px; margin-bottom: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.notice.error { background: #fff1f2; border-color: #fecdd3; }
.notice.success { background: #ecfdf5; border-color: #bbf7d0; }
.notice p { margin: 0; }
.order-summary ul { padding-left: 20px; color: var(--muted); }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card { padding: 26px; }
.blog-card span { color: var(--blue); font-weight: 850; font-size: 12px; text-transform: uppercase; }
.blog-card h2 { margin: 12px 0; font-family: Inter, sans-serif; font-size: 24px; line-height: 1.15; font-weight: 850; }
.blog-card a { color: var(--blue); font-weight: 850; }
.article-page { max-width: 820px; margin: 0 auto; padding: clamp(44px, 7vw, 90px) 18px; }
.article-page h1 { margin: 20px 0; font-size: clamp(42px, 6vw, 76px); }
.article-page .lead { color: var(--muted); font-size: 20px; }

.auth-page { min-height: 70vh; display: grid; place-items: center; padding: 40px 18px; }
.auth-card { width: min(420px, 100%); display: grid; gap: 16px; padding: 30px; }
.auth-card h1 { margin-bottom: 0; font-size: 50px; }
.admin-page { padding: clamp(36px, 5vw, 70px) clamp(18px, 5vw, 76px); }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.admin-head h1 { margin: 12px 0 0; font-size: 56px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.table-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; min-width: 900px; border-collapse: collapse; }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.status-form select { min-height: 38px; border: 1px solid var(--line); border-radius: var(--radius); }
.content-form { display: grid; gap: 24px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.content-form h2 { margin: 0; font-family: Inter, sans-serif; font-size: 26px; font-weight: 850; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
fieldset { display: grid; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
legend { padding: 0 8px; font-weight: 850; }
fieldset input, fieldset textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
fieldset textarea { min-height: 90px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 76px) 96px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}
.site-footer strong { color: var(--ink); }
.site-footer p { margin: 6px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; font-weight: 850; }
.mobile-actionbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(15,23,42,.14);
  backdrop-filter: blur(14px);
}
.mobile-actionbar a { min-height: 42px; display: grid; place-items: center; border-radius: 7px; font-size: 13px; font-weight: 850; }
.mobile-actionbar a:last-child { color: #fff; background: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes floatPhone {
  0%, 100% { transform: rotateX(5deg) rotateY(-8deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateY(-5deg) translateY(-14px); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero, .split-showcase, .demo-wrap, .order-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .compact-strip, .feature-grid, .pricing-grid, .theme-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-side { justify-self: center; max-width: 520px; }
  .product-stage { min-height: 590px; }
}

@media (max-width: 760px) {
  .site-header { padding: 12px 16px; }
  .brand-mark { min-width: 0; }
  .brand-mark small { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { justify-content: center; }
  .hero { padding-top: 30px; }
  .hero h1 { font-size: 45px; }
  .hero p { font-size: 17px; }
  .product-stage { min-height: 540px; }
  .phone-shell { width: min(330px, 86vw); transform: none; animation: none; }
  .analytics-panel { left: 0; top: 32px; }
  .floating-card { right: 0; bottom: 54px; }
  .analytics-panel, .floating-card { width: 154px; padding: 13px; }
  .compact-strip, .feature-grid, .pricing-grid, .theme-grid, .blog-grid, .form-grid, .event-panel { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .section { padding-left: 16px; padding-right: 16px; }
  .page-hero { padding-left: 16px; padding-right: 16px; }
  .demo-countdown { grid-template-columns: repeat(2, 1fr); }
  .site-footer { display: grid; padding-bottom: 104px; }
  .mobile-actionbar { display: grid; }
}

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