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

:root {
  --bg-primary: #060911;
  --bg-secondary: #0c1220;
  --bg-card: rgba(13, 20, 36, 0.7);
  --bg-card-hover: rgba(22, 33, 58, 0.85);
  --border-color: rgba(0, 242, 254, 0.12);
  --border-glow: rgba(0, 242, 254, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-amber: #f59e0b;
  --accent-crimson: #ef4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-width: 1140px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background Atmosphere */
.nebula-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle at 50% 15%, rgba(0, 242, 254, 0.12) 0%, rgba(79, 172, 254, 0.08) 35%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background-color: rgba(6, 9, 17, 0.85);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.35);
}

.parent-llc-badge {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.parent-llc-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-forge {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #060911;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-forge:hover {
  background: linear-gradient(135deg, #38f9d7, #4facfe);
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-outline:hover {
  background-color: rgba(0, 242, 254, 0.08);
  border-color: var(--accent-cyan);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background-color: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, #00f2fe, #4facfe, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-meta-strip {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.meta-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.meta-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 320px;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  box-shadow: 0 25px 60px -12px rgba(0, 242, 254, 0.25), 0 0 30px rgba(0, 0, 0, 0.9);
  border: 2px solid rgba(0, 242, 254, 0.3);
}

.phone-mockup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
}

/* Sections */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header .sub-title {
  color: var(--accent-cyan);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.935rem;
  line-height: 1.6;
}

/* Screenshots Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
  background-color: #0b0f19;
}

.gallery-card-body {
  padding: 1rem 1.25rem;
}

.gallery-card-body h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.gallery-card-body p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Technical Engine Specs */
.specs-card {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.95), rgba(6, 9, 17, 0.9));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.spec-cell {
  border-left: 2px solid var(--accent-cyan);
  padding-left: 1rem;
}

.spec-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.spec-val {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.spec-detail {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Footer */
footer.site-footer {
  margin-top: auto;
  background-color: #04060b;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 0;
  }
  .hero-pill, .hero-actions {
    justify-content: center;
  }
  .hero-meta-strip {
    justify-content: center;
  }
  .phone-mockup {
    margin: 1.5rem auto 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Support and public policy pages */
.support-panel, .policy-container { max-width: 850px; }
.support-panel p, .policy-container p, .policy-container li { color: var(--text-muted); margin: 1rem 0; }
.support-panel a, .policy-container a, .footer-bottom a { color: var(--accent-cyan); overflow-wrap: anywhere; }
.policy-container { padding-top: 3rem; padding-bottom: 4rem; }
.policy-container h1 { font-size: clamp(2rem, 5vw, 3rem); }
.policy-container h2 { margin-top: 2rem; font-size: 1.4rem; }
.policy-container ul, .policy-container ol { padding-left: 1.5rem; }
a:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 4px; }
@media (max-width: 960px) {
  .nav-wrapper { height: auto; min-height: 4.75rem; flex-wrap: wrap; gap: 1rem; padding-top: 1rem; padding-bottom: 1rem; }
  .nav-links { display: flex; flex-wrap: wrap; gap: 1rem; }
}
