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

:root {
  --bg: #050914;
  --bg-elevated: rgba(10, 16, 30, 0.9);
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.18);
  --accent-strong: #00e0ff;
  --text: #f8fafc;
  --muted: #a0aec0;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --danger: #fb7185;
  --success: #4ade80;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.72);
  --blur-strong: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #0b1220 0, #020617 40%, #000 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* Custom cursor */

.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-strong);
}

.cursor-ring {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  mix-blend-mode: screen;
}

/* Noise overlay */

.page-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.85), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, #a5b4fc 0, #60a5fa 32%, #22c55e 75%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.3rem 0.1rem;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transition: width 0.22s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(.19,1,.22,1);
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--accent-strong), var(--accent));
  color: #020617;
  box-shadow: 0 12px 26px rgba(45, 212, 191, 0.38);
}

.btn-primary:hover {
  box-shadow: 0 18px 40px rgba(45, 212, 191, 0.55);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.75);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(30, 64, 175, 0.7);
}

.btn-login {
  padding-inline: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* Magnetic buttons */

.btn-mag {
  position: relative;
}

/* MOBILE NAV TOGGLE */

.nav-toggle {
  display: none;
  width: 34px;
  height: 28px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:first-child {
  top: 8px;
}

.nav-toggle span:last-child {
  top: 18px;
}

.nav-toggle.active span:first-child {
  top: 13px;
  transform: rotate(45deg);
}

.nav-toggle.active span:last-child {
  top: 13px;
  transform: rotate(-45deg);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.hero-parallax-layer {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
}

.hero-gradient {
  background: radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.6), transparent 60%),
              radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.5), transparent 60%),
              radial-gradient(circle at 50% 90%, rgba(129, 140, 248, 0.55), transparent 55%);
  opacity: 0.65;
}

.hero-texture {
  backdrop-filter: blur(24px);
  background: radial-gradient(circle at 35% 30%, rgba(15, 23, 42, 0.45), transparent 52%);
  mix-blend-mode: soft-light;
}

.hero-bubbles {
  overflow: visible;
}

.hero-bubbles .bubble {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.8), rgba(148, 163, 184, 0.25));
  backdrop-filter: blur(6px);
  filter: blur(0.3px);
  animation: floatUp 18s linear infinite;
}

.hero-bubbles .b1 {
  width: 90px;
  height: 90px;
  left: 12%;
  bottom: -120px;
  animation-delay: 0s;
}

.hero-bubbles .b2 {
  width: 60px;
  height: 60px;
  left: 40%;
  bottom: -80px;
  animation-delay: 5s;
}

.hero-bubbles .b3 {
  width: 110px;
  height: 110px;
  right: 20%;
  bottom: -140px;
  animation-delay: 9s;
}

.hero-bubbles .b4 {
  width: 45px;
  height: 45px;
  right: 8%;
  bottom: -60px;
  animation-delay: 2s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  60% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-240px) translateX(40px);
    opacity: 0;
  }
}

/* hero orbits */

.hero-orbit {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  top: 10%;
  right: 8%;
  opacity: 0.4;
  animation: orbit 16s linear infinite;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent-strong);
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-small {
  width: 180px;
  height: 180px;
  top: 58%;
  right: 10%;
  animation-duration: 12s;
}

@keyframes orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 3.2rem;
  align-items: center;
  margin-top: 1.1rem;
}

.hero-content {
  position: relative;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.3rem);
  line-height: 1.05;
  margin: 0 0 1.1rem;
}

.hero h1 .accent {
  background: linear-gradient(120deg, #f97316, #a855f7, #22c55e, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.hero-strip .pill {
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.85);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
}

.hero-metrics strong {
  font-size: 1.25rem;
  display: block;
  padding-left: 44px;
}

.hero-metrics .tilt-card {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  padding-bottom: 0.6rem;
  transition: transform .4s ease;
}

.glass-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur-strong));
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}

.main-card {
  padding: 1.1rem 1.1rem 0.9rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.status-pill {
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  background: rgba(15, 118, 110, 0.25);
  border: 1px solid rgba(45, 212, 191, 0.7);
}

.card-body {
  font-size: 0.78rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.tiny-pill {
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

.tiny-pill.success {
  border-color: rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
}

.lr-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(51, 65, 85, 0.7);
}

.lr-row:last-child {
  border-bottom: none;
}

.lr-id {
  font-weight: 600;
  font-size: 0.82rem;
}

.lr-meta {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.lr-amount {
  font-weight: 600;
  font-size: 0.82rem;
}

.lr-amount.pending {
  color: #f97316;
}

.lr-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.chip {
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  background: rgba(30, 64, 175, 0.4);
  color: #e0f2fe;
}

.stat-card {
  position: absolute;
  right: -0.6rem;
  bottom: 0.3rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-lg);
  font-size: 0.78rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
}

.stat-card .label {
  color: var(--muted);
  font-size: 0.7rem;
}

.stat-row {
  display: flex;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.stat-row strong {
  display: block;
  font-size: 0.9rem;
}

.sparkline {
  display: flex;
  gap: 0.15rem;
  margin-top: 0.4rem;
}

.sparkline span {
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(to top, #22c55e, #bef264);
  height: 8px;
}

.sparkline span:nth-child(2) { height: 13px; }
sparkline span:nth-child(3) { height: 18px; }
.sparkline span:nth-child(4) { height: 11px; }
.sparkline span:nth-child(5) { height: 16px; }

.hero-badge {
  position: absolute;
  left: -0.4rem;
  bottom: -0.5rem;
  font-size: 0.72rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.65);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.9);
  max-width: 260px;
}

/* WAVES & ANGULAR SECTIONS */

.wave-divider {
  position: relative;
  height: 80px;
  margin-top: 2rem;
  pointer-events: none;
}

.wave-bottom::before,
.wave-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23050919' fill-opacity='1' d='M0,224L40,240C80,256,160,288,240,282.7C320,277,400,235,480,197.3C560,160,640,128,720,144C800,160,880,224,960,250.7C1040,277,1120,267,1200,245.3C1280,224,1360,192,1400,176L1440,160L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat center/cover;
}

.wave-top::before {
  transform: rotate(180deg);
}

.section {
  position: relative;
  padding: 4rem 0;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.sectionFirst {
  position: relative;
  padding: 4rem 0;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.section.section--instant-visible {
  opacity: 1;
  transform: none;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.angular-top {
  margin-top: -3rem;
  padding-top: 5.5rem;
}

.angular-top::before {
  content: "";
  position: absolute;
  inset: -70px 0 auto;
  background: linear-gradient(135deg, #020617 40%, #020617 50%, #020617 50%) border-box;
  clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
  z-index: -1;
}

/* GENERIC */

.section-header h2 {
  margin: 0 0 0.7rem;
  font-size: 1.8rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 580px;
}

.section-header.center {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

.section-header.light h2,
.section-header.light p {
  color: #e2e8f0;
}

/* GRIDS & CARDS */

.card-grid.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.2rem;
}

.card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(30, 64, 175, 0.4);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card ul {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.textured-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(15, 23, 42, 0.4), transparent 60%),
    radial-gradient(circle at 90% 100%, rgba(30, 64, 175, 0.4), transparent 60%);
}

/* FEATURES */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
  margin-top: 2.4rem;
}

.feature-card {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), rgba(15, 23, 42, 0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(129, 140, 248, 0.4);
  padding: 1.2rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
                    linear-gradient(210deg, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.23;
  mix-blend-mode: soft-light;
}

.feature-card .feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  background: radial-gradient(circle at 20% 0, #22c55e, #0ea5e9);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.feature-card p,
.feature-card ul {
  position: relative;
  z-index: 1;
}

.feature-card ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* TIMELINE */

.timeline {
  position: relative;
  margin-top: 2.6rem;
  padding-left: 0.6rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0.4rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(148, 163, 184, 0.4), transparent);
}

.timeline-item {
  display: flex;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 0.6rem;
  background: radial-gradient(circle at 30% 30%, var(--accent-strong), var(--accent));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.timeline-card {
  flex: 1;
  padding: 0.95rem 1.05rem 0.9rem;
}

.timeline-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.timeline-card p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.pill.small {
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* METRICS */

.dark-section {
  position: relative;
  color: #e2e8f0;
}

.parallax-bg {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.dark-section .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
  backdrop-filter: blur(6px);
  z-index: 1;
}

.metrics-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: center;
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.metric-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a5b4fc;
}

.metric-card h3 {
  margin: 0.4rem 0 0.4rem;
  font-size: 1.35rem;
}

/* WHY */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.why-card {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow: var(--shadow-soft);
}

.why-card h3 {
  margin: 0 0 0.5rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ */

.faq-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.4rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.5rem;
  color: var(--muted);
}

/* CTA / LOGIN */

.cta-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.45), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.45), transparent 60%);
}

.frosted {
  position: relative;
}

.frosted::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 36px;
  filter: blur(16px);
  opacity: 0.85;
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.cta-text h2 {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.cta-text p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.cta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  color: #e5e7eb;
}

.cta-list li + li {
  margin-top: 0.25rem;
}

.cta-form {
  padding: 1rem 1.1rem;
}

.form-row {
  margin-bottom: 0.7rem;
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.24rem;
}

input,
select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  padding: 0.5rem 0.85rem;
  font-size: 0.86rem;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.5);
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-note a {
  color: var(--accent);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 2rem 0 2.4rem;
  background: rgba(2, 6, 23, 0.96);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: start;
}

.footer-logo {
  margin-bottom: 0.4rem;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  justify-content: flex-end;
}

.footer-links h4 {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
}

.footer-links a {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 0.16rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ANIMATIONS: REVEAL ON SCROLL */

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  will-change: opacity, transform;
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-right {
  transform: translateX(24px);
}

.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Stagger */

.stagger > * {
  opacity: 0.9;
  transform: translateY(14px);
}

.stagger.show > * {
  animation: staggerFade 0.55s ease-out forwards;
}

@keyframes staggerFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stagger.show > *:nth-child(1){ animation-delay: .05s; }
.stagger.show > *:nth-child(2){ animation-delay: .16s; }
.stagger.show > *:nth-child(3){ animation-delay: .27s; }
.stagger.show > *:nth-child(4){ animation-delay: .39s; }
.stagger.show > *:nth-child(5){ animation-delay: .5s; }

/* Hover effects */

.hover-glow:hover {
  box-shadow: 0 0 24px rgba(79,209,197,0.45),
              0 0 40px rgba(15,23,42,0.9) inset;
}

.neon:hover {
  color: var(--accent-strong);
  text-shadow: 0 0 12px var(--accent);
}

/* tilt card */

.tilt-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* float */

.float {
  animation: floatAnim 6s ease-in-out infinite;
}

@keyframes floatAnim {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* pulse on hover */

.pulse:hover {
  animation: pulse 0.7s ease-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50%{ transform: scale(1.06); }
  100%{ transform: scale(1); }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  body { cursor: auto; }
  .cursor-dot,
  .cursor-ring { display: none; }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-visual {
    order: -1;
  }

  .stat-card {
    right: 0;
  }

  .metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .frosted::before {
    inset: 1rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }

  .parallax-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .nav-right {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    left: 1.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
    flex-direction: column;
    transform-origin: top;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .card-grid.grid-3,
  .metric-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-badge {
    position: static;
    margin-top: 0.9rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .form-row-inline {
    grid-template-columns: minmax(0, 1fr);
  }
}
