﻿:root {
  --bg: #060b18;
  --surface: #0d1526;
  --card: #111827;
  --card2: #16202f;
  --primary: #00c8e8;
  --pd: #009db5;
  --pdim: rgba(0, 200, 232, 0.12);
  --pglow: rgba(0, 200, 232, 0.35);
  --sec: #22d3ee;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --dim: #475569;
  --border: rgba(255, 255, 255, 0.07);
  --bt: rgba(0, 200, 232, 0.28);
  --ok: #34d399;
  --font: "Inter", -apple-system, sans-serif;
  --r: 16px;
  --rs: 8px;
  --rl: 24px;
  --nav-scrolled-bg: rgba(6, 11, 24, 0.88);
  --mmenu-bg: rgba(6, 11, 24, 0.97);
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.15);
  --input-text: #eaeef4;
  --input-placeholder: rgba(255, 255, 255, 0.5);
  --input-focus-border: var(--primary);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --table-shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  --bg: #f0f4ff;
  --surface: #e2e8f8;
  --card: #ffffff;
  --card2: #f8faff;
  --primary: #0097b2;
  --pd: #007a91;
  --pdim: rgba(0, 151, 178, 0.1);
  --pglow: rgba(0, 151, 178, 0.3);
  --sec: #00b8d9;
  --text: #0f172a;
  --muted: #475569;
  --dim: #64748b;
  --border: rgba(0, 0, 0, 0.08);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.9);
  --bt: rgba(0, 151, 178, 0.3);
  --ok: #059669;
  --mmenu-bg: rgba(240, 244, 255, 0.98);
  --input-bg: #ffffff;
  --input-border: rgba(0, 0, 0, 0.12);
  --input-text: #0f172a;
  --input-placeholder: #64748b;
  --input-focus-border: var(--primary);
  --shadow-color: rgba(0, 50, 100, 0.08);
  --table-shadow: rgba(0, 50, 100, 0.1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

button,
a,
input[type="button"],
input[type="submit"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--pdim);
  border-radius: 99px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
  transition:
    background 0.4s,
    box-shadow 0.4s;
}

nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--input-border);
  border-radius: 99px;
  padding: 5px 12px;
  transition: all 0.2s;
}

.nav-back:hover {
  color: var(--primary);
  border-color: var(--bt);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-icon-wrapper {
  width: 36px;
  height: 36px;
  background: var(--card2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid var(--input-border);
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-icon-wrapper.small {
  width: 32px;
  height: 32px;
}

.nav-logo:hover .nav-icon-wrapper {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--pglow);
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-brand {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.nav-brand span {
  color: var(--primary);
}

.nav-sub {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 20px;
  border-radius: var(--rs);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 0 16px rgba(0, 200, 232, 0.2);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--sec);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 200, 232, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mmenu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--mmenu-bg);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
}

.mmenu.open {
  display: flex;
}

.mmenu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.2s;
}

.mmenu a:hover {
  color: var(--primary);
}

.mmenu .mcta {
  padding: 12px 44px;
  border-radius: var(--rs);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 60% 20%,
      rgba(0, 200, 232, 0.14) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 20% 80%,
      rgba(0, 200, 232, 0.06) 0%,
      transparent 60%
    ),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 200, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 232, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 40% 30%,
    black 20%,
    transparent 70%
  );
}

[data-theme="light"] .hero::after {
  background-image:
    linear-gradient(rgba(0, 151, 178, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 151, 178, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .hero::before {
  background:
    radial-gradient(
      ellipse 70% 60% at 60% 20%,
      rgba(0, 151, 178, 0.12) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 20% 80%,
      rgba(0, 151, 178, 0.06) 0%,
      transparent 60%
    ),
    var(--bg);
}

.hcontent {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid var(--bt);
  background: var(--pdim);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.6rem;
  letter-spacing: 0.3px;
}

.hbadge::before {
  content: "•";
  font-size: 0.44rem;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.grad {
  background: linear-gradient(135deg, var(--primary), var(--sec));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tag {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hbtns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.bp {
  padding: 13px 30px;
  border-radius: var(--rs);
  background: linear-gradient(135deg, var(--primary), var(--pd));
  color: #fff;
  font-weight: 700;
  font-size: 0.93rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  box-shadow: 0 0 26px rgba(0, 200, 232, 0.22);
}

.bp:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 200, 232, 0.45);
}

.bo {
  padding: 13px 30px;
  border-radius: var(--rs);
  background: transparent;
  border: 1px solid var(--bt);
  color: var(--text);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.bo:hover {
  background: var(--pdim);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.himg {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.himg img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 200, 232, 0.12);
  animation: float 6s ease-in-out infinite;
}

.himg::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(0, 200, 232, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: -1;
  animation: pglow 4s ease-in-out infinite;
}

.sband {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 5%;
}

.sgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.snum {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--primary), var(--sec));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slbl {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

.sec {
  padding: 80px 5%;
}

.sec-inner {
  max-width: 1250px;
  margin: 0 auto;
}

.slabel {
  display: inline-block;
  color: var(--primary);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.stitle {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.ssub {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 540px;
  line-height: 1.7;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.fc {
  background: var(--card);
  border: 1px solid var(--input-border);
  border-radius: var(--r);
  padding: 1.8rem 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.fc:hover {
  border-color: var(--bt);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 200, 232, 0.1);
}

.fc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.fc:hover::before {
  opacity: 1;
}

.fi {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--pdim);
  border: 1px solid rgba(0, 200, 232, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.fi i {
  font-size: 1.35rem;
  color: var(--primary);
  line-height: 1;
}

.fc h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.fc p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.psec {
  background: var(--surface);
}

.pgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pc {
  background: var(--card);
  border: 1px solid var(--input-border);
  border-radius: var(--rl);
  padding: 2.4rem 2rem;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.pc.rec {
  border-color: var(--bt);
  box-shadow: 0 0 40px rgba(0, 200, 232, 0.12);
}

.pc:hover {
  transform: translateY(-4px);
}

.pbadge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--pd));
  color: #fff;
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.pc h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.4rem 0;
}

.pamt {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
}

.pper {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 1.2rem;
}

.pfl {
  list-style: none;
  flex: 1;
  margin: 1.2rem 0 1.8rem;
}

.pfl li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pfl li:last-child {
  border-bottom: none;
}

.pfl li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(52, 211, 153, 0.5);
}

.pbtn {
  width: 100%;
  padding: 12px;
  border-radius: var(--rs);
  background: linear-gradient(135deg, var(--primary), var(--pd));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.pbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 232, 0.35);
}

.pbtn.out {
  background: transparent;
  border: 1px solid var(--bt);
  color: var(--text);
}

.pbtn.out:hover {
  background: var(--pdim);
}

.csec {
  background: var(--bg);
}

.ctbl {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 8px 30px var(--table-shadow);
}

thead {
  background: linear-gradient(135deg, var(--primary), var(--pd));
}

th {
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

td:first-child {
  color: var(--text);
  font-weight: 600;
}

tbody tr:hover {
  background: var(--card2);
}

tbody tr:last-child td {
  border-bottom: none;
}

.ck {
  color: #34d399;
  font-weight: 700;
}

.cx {
  color: #f87171;
  font-weight: 700;
}

.wsec {
  background: linear-gradient(135deg, var(--surface), var(--card));
  border-top: 1px solid var(--border);
}

.win {
  padding: 80px 5%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.win h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.win p {
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.wcard {
  background: var(--card);
  border: 1px solid var(--bt);
  border-radius: var(--rl);
  padding: 2rem;
  box-shadow: 0 0 36px rgba(0, 200, 232, 0.08);
}

.wcard h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.simple-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.simple-waitlist-form input[type="email"],
.simple-waitlist-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--rs);
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.simple-waitlist-form input[type="email"]:focus,
.simple-waitlist-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--pdim);
}

.simple-waitlist-form input::placeholder,
.simple-waitlist-form textarea::placeholder {
  color: var(--dim);
}

.simple-waitlist-form textarea {
  min-height: 90px;
}

.simple-waitlist-form button[type="submit"] {
  padding: 12px 24px;
  border-radius: var(--rs);
  background: linear-gradient(135deg, var(--primary), var(--pd));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(0, 200, 232, 0.2);
}

.simple-waitlist-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 200, 232, 0.4);
}

.wf-success-msg {
  display: none;
  text-align: center;
  padding: 1.2rem;
  border-radius: var(--rs);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--ok);
  font-weight: 600;
  font-size: 0.95rem;
}

.wf-success-msg.visible {
  display: block;
}

/* ── Theme Toggle Button ─────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--input-border);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--primary);
  flex-shrink: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  background: var(--card);
  border-color: var(--primary);
  transform: rotate(12deg) scale(1.08);
  box-shadow: 0 0 20px var(--pglow);
}

.theme-toggle i {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sun icon visible in dark mode, Moon in light mode */
.theme-toggle .icon-sun {
  transform: translateY(0);
  opacity: 1;
}

.theme-toggle .icon-moon {
  transform: translateY(-40px);
  opacity: 0;
}

[data-theme="light"] .theme-toggle .icon-sun {
  transform: translateY(40px);
  opacity: 0;
}

[data-theme="light"] .theme-toggle .icon-moon {
  transform: translateY(0);
  opacity: 1;
}

.i-ok {
  color: var(--ok);
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

.i-no {
  color: #f87171;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 5% 24px;
}

.ftop {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.fbt p {
  color: var(--dim);
  font-size: 0.83rem;
  max-width: 280px;
  line-height: 1.7;
  margin-top: 0.6rem;
}

.flr {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.fcol h5 {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.fcol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fcol a {
  color: var(--dim);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}

.fcol a:hover {
  color: var(--primary);
}

.fbar {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fbar p,
.fbar a {
  color: var(--dim);
  font-size: 0.79rem;
}

.fbar a {
  text-decoration: none;
  margin-left: 1.1rem;
  transition: color 0.2s;
}

.fbar a:hover {
  color: var(--primary);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes pglow {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

@media (max-width: 1024px) {
  .hcontent {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hcontent .htext {
    text-align: center;
  }

  .hbtns {
    justify-content: center;
  }

  .fgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pgrid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 5%;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .fgrid {
    grid-template-columns: 1fr;
  }

  .hcontent h1 {
    font-size: 2.3rem;
  }

  .hcontent {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 18px;
  }

  body {
    font-size: 0.95rem;
  }

  nav {
    padding: 0.8rem 4%;
  }

  section {
    padding: 40px 4%;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hcontent {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hcontent h1 {
    font-size: 1.7rem;
  }

  .hbtns {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hbtns a {
    width: 100%;
    padding: 11px 20px;
    font-size: 0.9rem;
  }

  .fgrid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .sgrid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .pgrid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .himg img {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 17px;
  }

  body {
    font-size: 0.9rem;
  }

  nav {
    padding: 0.7rem 3%;
  }

  section {
    padding: 30px 3%;
  }

  h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hcontent {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hcontent h1 {
    font-size: 1.4rem;
    letter-spacing: -0.5px;
  }

  .hbtns {
    flex-direction: column;
    gap: 0.6rem;
  }

  .hbtns a {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
    text-align: center;
  }

  .sgrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .snum {
    font-size: 1.5rem;
  }

  .fgrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pgrid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .himg::before {
    display: none;
  }

  .himg img {
    width: 100%;
    max-width: 200px;
  }

  .ftop,
  .fbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .fbar a {
    margin-left: 0;
    font-size: 0.85rem;
  }

  .mmenu a {
    font-size: 1.2rem;
  }

  .mmenu .mcta {
    font-size: 0.95rem;
  }

  /* Keep essential content visible on mobile */
  .sband,
  #pricing .sec-inner > .reveal {
    display: block !important;
  }
}
