:root {
  --bg: #0f1115;
  --bg-alt: #12141a;
  --card: #151821;
  --card-outline: #1d2230;
  --mint: #14b8a6;
  --mint-soft: rgba(20, 184, 166, 0.08);
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2933;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.45);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

/* Utilities */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #1a1e2b 0, #050608 55%);
}

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

.section-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* Buttons */

.btn {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--mint);
  color: #02201d;
  box-shadow: 0 12px 30px rgba(20, 184, 166, 0.38);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 38px rgba(20, 184, 166, 0.52);
}

.btn-secondary {
  background: rgba(15, 17, 21, 0.6);
  color: var(--text);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #171a22;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-subtle);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
      to bottom,
      rgba(5, 7, 10, 0.94),
      rgba(5, 7, 10, 0.85),
      transparent
    );
  border-bottom: 1px solid rgba(31, 41, 51, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  text-transform: lowercase;
}

/* Nav */

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

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav-list a:hover {
  color: var(--text);
}

/* Styling for Active Navigation Link */
.nav-list a.active {
  color: var(--mint); 
  background-color: var(--mint-soft);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  margin-left: -1rem; /* Compensate for padding to maintain alignment */
}

/* Ensure active link hover maintains color */
.nav-list a.active:hover {
  color: var(--mint);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(5, 7, 10, 0.8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-line {
  width: 16px;
  height: 2px;
  background-color: var(--text);
  border-radius: 999px;
}

/* Hero */

.hero {
  padding: 3.5rem 0 4.5rem;
  background: radial-gradient(circle at top, #1b2335 0, #050608 55%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.1rem);
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--mint-soft);
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-highlights li::before {
  content: "• ";
  color: var(--mint);
}

/* Hero visual */

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.phone-mock {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(180deg, #111727, #05070b);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.phone-status-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--mint);
}

.phone-logo {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0.3rem;
}

.phone-logo img {
  max-width: 120px;
  height: auto;
}

.phone-card {
  background-color: var(--card);
  border-radius: 18px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.phone-card-muted {
  background: transparent;
  border-style: dashed;
}

.phone-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.phone-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Cards / sections */

.card {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.card-outline {
  background: linear-gradient(135deg, #07080c, #101321);
  border-color: var(--card-outline);
}

/* Features grid */

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

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: var(--text-muted);
}

/* Use cases */

.use-cases-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-cases-grid ul {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.use-cases-grid li::before {
  content: "• ";
  color: var(--mint);
}

/* FAQ */

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

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

/* CTA */

.section-cta {
  background: linear-gradient(90deg, #14b8a6, #0f766e);
  color: #02201d;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-text h2 {
  margin: 0 0 0.3rem;
}

.cta-text p {
  margin: 0;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-form input {
  border-radius: var(--radius-pill);
  border: 0;
  padding: 0.6rem 1rem;
  min-width: 230px;
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #050608;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-muted {
  color: var(--text-muted);
}

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

.footer-right a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Responsive */

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
  }

  .features-grid,
  .steps,
  .use-cases-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column>
    align-items: flex-start;
  }

  .nav-list,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.nav-open .nav-list,
  .nav.nav-open .nav-cta {
    display: flex;
  }

  .nav.nav-open {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    background: #050608;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0.75rem;
  }

  .nav.nav-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.nav-open .nav-cta {
    align-self: stretch;
  }
}