:root {
  --clr-bg-main: #020617;
  --clr-primary: #7F1D1D;
  --clr-primary-soft: #B91C1C;
  --clr-accent: #F59E0B;
  --clr-text-main: #E5E7EB;
  --clr-text-muted: #9CA3AF;
  --shadow-soft: 0 22px 45px rgba(0,0,0,0.45);
  --radius-lg: 1rem;
  --radius-xl: 1.75rem;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(245,158,11,0.15), transparent 50%),
    radial-gradient(circle at bottom right, rgba(185,28,28,0.18), transparent 50%),
    radial-gradient(circle at top right, rgba(127,29,29,0.30), transparent 45%),
    #020617;
  color: var(--clr-text-main);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(15,23,42,0.82);
  border-bottom: 1px solid rgba(148,163,184,0.16);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-main {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 0.98rem;
}

.brand-text-sub {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.85rem;
  color: #E5E7EB;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--clr-accent);
  transition: width 0.18s ease-out;
}

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

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(245,158,11,0.6);
  background: rgba(245,158,11,0.08);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.18s ease-out, color 0.18s ease-out, transform 0.1s ease-out;
}

.nav-cta:hover {
  background: var(--clr-accent);
  color: #020617;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.75);
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background: #E5E7EB;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out, top 0.18s ease-out;
}

.nav-toggle span:nth-child(1) { top: 11px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 21px; }

.nav-toggle.open span:nth-child(1) {
  top: 16px;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  top: 16px;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(148,163,184,0.18);
  background: rgba(15,23,42,0.97);
}

.nav-mobile-inner {
  padding: 0.75rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 0.2rem 0.8rem;
  background: rgba(15,23,42,0.85);
  font-size: 0.7rem;
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.8);
}

.hero-title {
  margin: 0.75rem 0 0.6rem;
  font-size: clamp(2.05rem, 3.1vw + 1.5rem, 3.15rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-title span {
  color: var(--clr-accent);
}

.hero-sub {
  font-size: 0.92rem;
  max-width: 32rem;
  color: rgba(226,232,240,0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.btn-primary {
  padding: 0.6rem 1.2rem;
  border-radius: 0.9rem;
  background: var(--clr-accent);
  color: #020617;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(245,158,11,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(245,158,11,0.65);
  background: #fbbf24;
}

.btn-secondary {
  padding: 0.6rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.8);
  color: #E5E7EB;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s ease-out, border-color 0.12s ease-out, transform 0.12s ease-out;
}

.btn-secondary:hover {
  background: rgba(30,64,175,0.35);
  border-color: rgba(148,163,184,0.95);
  transform: translateY(-1px);
}

.hero-meta {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

.hero-bullets {
  margin-top: 1rem;
  font-size: 0.78rem;
}

.hero-bullet-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
}

.hero-bullet-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #020617;
}

/* Hero card */
.hero-card-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-card-shadow {
  position: relative;
  width: 260px;
  max-width: 100%;
}

.hero-card-shadow::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(245,158,11,0.65), transparent 55%),
              radial-gradient(circle at bottom right, rgba(185,28,28,0.7), transparent 55%);
  filter: blur(14px);
  opacity: 0.7;
  z-index: -1;
}

.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, #111827, #020617);
  border: 1px solid rgba(148,163,184,0.4);
  padding: 1.2rem 1.25rem 1.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: stretch;
}

.hero-card-logo {
  width: 60px;
  height: 60px;
  border-radius: 1.25rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}

.hero-card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-title {
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-card-sub {
  text-align: center;
  font-size: 0.76rem;
  color: var(--clr-text-muted);
}

.hero-card-list {
  margin-top: 0.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.78rem;
}

.hero-card-row {
  border-radius: 0.9rem;
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(148,163,184,0.5);
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-row-label { color: #E5E7EB; }
.hero-card-row-value { font-weight: 600; font-size: 0.76rem; color: #6ee7b7; }

.hero-card-footer {
  text-align: center;
  font-size: 0.7rem;
  color: var(--clr-text-muted);
}

/* Sections */
.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-sub {
  font-size: 0.9rem;
  color: #CBD5F5;
  max-width: 34rem;
}

/* Why */
.why {
  padding: 0 0 2.75rem;
}

.why-grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.why-list {
  margin-top: 1rem;
  font-size: 0.88rem;
}

.why-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.why-dot {
  margin-top: 0.3rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--clr-accent);
}

.why-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.9);
  padding: 1rem 1.15rem;
  font-size: 0.86rem;
  box-shadow: var(--shadow-soft);
}

.why-card-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.why-card ul {
  padding-left: 1rem;
  margin: 0.3rem 0 0;
  list-style: disc;
  color: var(--clr-text-muted);
}

.why-card-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

/* Features */
.features {
  padding: 3rem 0 3.25rem;
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), #020617);
}

.features-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.96);
  padding: 1rem 1.05rem;
  font-size: 0.86rem;
  box-shadow: 0 16px 35px rgba(0,0,0,0.35);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.6);
  border-color: rgba(245,158,11,0.7);
}

.feature-number {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-accent);
  margin-bottom: 0.15rem;
}

.feature-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-body {
  color: #CBD5F5;
}

/* Live */
.live {
  padding: 3rem 0 3.1rem;
}

.live-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.live-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.95);
  padding: 1rem 1.1rem;
  font-size: 0.86rem;
  box-shadow: 0 18px 42px rgba(0,0,0,0.5);
}

.live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgba(16,185,129,0.16);
  padding: 0.1rem 0.55rem;
  font-size: 0.7rem;
  color: #6ee7b7;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 7px rgba(34,197,94,0.9);
}

.live-body {
  color: #CBD5F5;
}

/* Tradition */
.tradition {
  padding: 3rem 0 3.1rem;
  background: radial-gradient(circle at left, rgba(127,29,29,0.4), transparent 50%), #020617;
}

.tradition-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.tradition-highlight {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.96);
  padding: 1rem 1.1rem;
  font-size: 0.8rem;
}

.tradition-highlight-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.tradition-highlight ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
  color: var(--clr-text-muted);
}

.tradition-quote {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  font-style: italic;
}

/* Early access */
.early {
  padding: 3rem 0 3.5rem;
}

.early-card {
  border-radius: 1.9rem;
  border: 1px solid rgba(245,158,11,0.5);
  background: radial-gradient(circle at top left, rgba(245,158,11,0.22), transparent 55%),
              radial-gradient(circle at bottom right, rgba(127,29,29,0.55), transparent 60%),
              #020617;
  padding: 1.6rem 1.5rem 1.8rem;
  box-shadow: 0 20px 45px rgba(0,0,0,0.65);
}

.early-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.early-sub {
  font-size: 0.9rem;
  color: #E5E7EB;
  max-width: 32rem;
}

.early-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.input {
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.9);
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  color: #F9FAFB;
  outline: none;
  transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.input::placeholder {
  color: rgba(148,163,184,0.9);
}

.input:focus {
  border-color: rgba(245,158,11,0.9);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.7);
  background: rgba(15,23,42,1);
}

.early-note {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

/* Footer */
footer {
  border-top: 1px solid rgba(148,163,184,0.26);
  background: #020617;
}

.footer-inner {
  padding: 0.9rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

.footer-brand {
  font-weight: 600;
  color: #E5E7EB;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

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

/* Responsive */
@media (min-width: 720px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .why-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tradition-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .early-form { grid-template-columns: 1.1fr 1.3fr auto; align-items: center; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}

@media (max-width: 719px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 2.6rem; }
  .early-card { border-radius: 1.4rem; }
}
/* Center App Preview Card on Mobile */
.hero-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Fix for spacing on mobile */
@media (max-width: 768px) {
  .hero-card-wrap {
    margin-top: 2rem;
  }
}