@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color-scheme: dark;
  color: #f1f5f9;
  background-color: #040508;
  --bg: #040508;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #40ff9b;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% -10%, rgba(70, 255, 180, 0.15), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(58, 89, 255, 0.1), transparent 45%),
    #040508;
  color: var(--text);
  font-family: var(--font-sans);
}

#root {
  width: 100%;
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

::selection {
  background: rgba(63, 255, 149, 0.35);
  color: #00130a;
}

.page {
  position: relative;
  min-height: 100vh;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(840px, 88vw);
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(4, 6, 12, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(60, 255, 163, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.65rem 0;
  transition: padding 0.3s ease;
}

.site-header.condensed {
  background: rgba(4, 6, 12, 0.94);
  border-bottom-color: rgba(63, 255, 149, 0.2);
  box-shadow: 0 20px 30px -24px rgba(0, 0, 0, 0.65);
}

.site-header.condensed .header-container {
  padding: 0.45rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

img.logo-image {
  display: block;
  height: 1.4rem;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.88rem;
  font-family: var(--font-sans);
}

.main-nav a {
  color: var(--muted);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
  text-shadow: 0 0 12px rgba(63, 255, 149, 0.35);
}

.header-cta {
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(63, 255, 149, 0.45);
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(63, 255, 149, 0.8);
  box-shadow: 0 0 18px rgba(63, 255, 149, 0.35);
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero {
  padding-top: clamp(5rem, 12vw, 10rem);
}

.hero-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.how-we-work {
  display: flex;
  justify-content: center;
  text-align: center;
}

.how-we-work .section-description {
  margin-inline: auto;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4.8vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.tag,
.section-kicker {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, rgba(63, 255, 149, 0.92), rgba(18, 203, 124, 0.92));
  color: #00130a;
  box-shadow: 0 15px 35px rgba(20, 250, 150, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(20, 250, 150, 0.32);
}

.btn.secondary {
  border-color: rgba(63, 255, 149, 0.5);
  color: var(--text);
}

.btn.secondary:hover {
  border-color: rgba(63, 255, 149, 0.85);
  box-shadow: 0 0 18px rgba(63, 255, 149, 0.35);
}

.btn.ghost {
  border-color: rgba(63, 255, 149, 0.3);
  color: var(--text);
  background: transparent;
}

.btn.ghost:hover {
  border-color: rgba(63, 255, 149, 0.7);
  box-shadow: 0 0 18px rgba(63, 255, 149, 0.25);
}

.hero-highlight {
  display: flex;
  justify-content: center;
}

.highlight-card {
  position: relative;
  padding: 2.5rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top, rgba(63, 255, 149, 0.12), transparent 70%),
    rgba(12, 17, 24, 0.72);
  border: 1px solid rgba(63, 255, 149, 0.22);
  box-shadow: 0 25px 55px -28px rgba(63, 255, 149, 0.4);
  max-width: 320px;
  text-align: left;
}

.highlight-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.highlight-card p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.metric-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  font-family: var(--font-display);
  white-space: nowrap;
}

.metric-caption {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
  text-wrap: balance;
  line-height: 1.35;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-description {
  color: var(--muted);
  max-width: 38rem;
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.keyword-list span {
  padding: 0.4rem 1rem;
  border: 1px solid rgba(63, 255, 149, 0.3);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.three.responsive-gap {
  gap: 1.8rem;
}

.card {
  padding: 2rem;
  border-radius: 1.2rem;
  background: rgba(15, 20, 28, 0.68);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(63, 255, 149, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 255, 149, 0.45);
  box-shadow: 0 25px 45px -30px rgba(63, 255, 149, 0.45);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(63, 255, 149, 0.14);
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.badge.subtle {
  background: rgba(63, 255, 149, 0.08);
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 260px;
}

.steps {
  position: relative;
}

.stepper {
  list-style: none;
  display: grid;
  gap: 1.8rem;
  margin-top: 3rem;
}

.stepper li {
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
}

.step-index {
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(63, 255, 149, 0.35);
  min-width: 3.5rem;
}

.plans {
  position: relative;
}

.tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 255, 149, 0.25);
  background: rgba(15, 20, 28, 0.72);
}

.tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  background: rgba(63, 255, 149, 0.2);
  color: var(--text);
}

.plan-price {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.plan-card ul {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.plan-card ul li::before {
  content: '•';
  margin-right: 0.6rem;
  color: rgba(63, 255, 149, 0.8);
}

.plan-card.highlight {
  background: rgba(17, 24, 32, 0.92);
  border-color: rgba(63, 255, 149, 0.35);
  box-shadow: 0 30px 60px -32px rgba(63, 255, 149, 0.55);
}

.plans-grid {
  align-items: stretch;
}

.contact {
  position: relative;
  background: rgba(12, 17, 24, 0.78);
}

.contact-container {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-copy p {
  margin-bottom: 1.5rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact-cta {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 1.2rem;
  background: rgba(4, 6, 12, 0.85);
  border: 1px solid rgba(63, 255, 149, 0.15);
  box-shadow: 0 30px 50px -28px rgba(0, 0, 0, 0.55);
}

.cta-intro {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent);
}

.cta-description {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-cta .btn {
  justify-self: start;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 6vw, 3rem);
  background: rgba(4, 7, 12, 0.75);
  backdrop-filter: blur(16px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 1.4rem;
  background: rgba(9, 13, 20, 0.94);
  border: 1px solid rgba(63, 255, 149, 0.2);
  box-shadow: 0 40px 65px -30px rgba(0, 0, 0, 0.65);
  transform: translateY(18px);
  transition: transform 0.28s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 255, 149, 0.3);
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
  border-color: rgba(63, 255, 149, 0.6);
  transform: translateY(-1px);
}

.modal-kicker {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.modal-dialog h3 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 1.2rem;
}

.modal-highlight {
  margin-top: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.modal-email {
  color: var(--accent);
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.modal-actions .btn {
  flex: 1;
  min-width: 180px;
}

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: rgba(4, 6, 12, 0.9);
  border-top: 1px solid rgba(63, 255, 149, 0.12);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.footer-note {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-nav-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-footer ul li + li {
  margin-top: 0.7rem;
}

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

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-highlight {
    order: -1;
  }

  .section-header {
    flex-direction: column;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-container {
    gap: 1rem;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .plan-card ul {
    font-size: 0.85rem;
  }

  .contact-cta {
    padding: 1.5rem;
  }
}

/* Additional detailed styling preserved from original App.css */

.tab {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tab.active {
  color: #00130a;
  background: rgba(63, 255, 149, 0.92);
  box-shadow: 0 0 18px rgba(63, 255, 149, 0.35);
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-bottom: 2.4rem;
}

.plan-card ul {
  display: grid;
  gap: 0.75rem;
  padding: 0;
}

.plan-card li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.plan-card li::before {
  content: '';
  position: absolute;
  top: 0.55rem;
  left: 0.35rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(63, 255, 149, 0.8);
  box-shadow: 0 0 12px rgba(63, 255, 149, 0.6);
}

.plan-card.highlight {
  border-color: rgba(63, 255, 149, 0.55);
  box-shadow: 0 30px 50px -28px rgba(63, 255, 149, 0.6);
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

.contact {
  background: radial-gradient(circle at top, rgba(63, 255, 149, 0.1), transparent 70%),
    rgba(8, 12, 18, 0.75);
  border-top: 1px solid rgba(63, 255, 149, 0.15);
  border-bottom: 1px solid rgba(63, 255, 149, 0.15);
}

.contact-container {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.contact-cta {
  display: grid;
  gap: 1.5rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--accent);
  font-size: 1.05rem;
  margin-top: 2rem;
}

.site-footer {
  padding: 3.5rem 0;
  background: rgba(4, 6, 10, 0.85);
  border-top: 1px solid rgba(63, 255, 149, 0.15);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 5rem);
  flex-wrap: wrap;
}

.footer-container p {
  color: var(--muted);
  margin-top: 0.6rem;
}

.footer-note {
  margin-top: 1.1rem;
  max-width: 22rem;
}

.footer-nav-title {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

@media (max-width: 1024px) {
  .main-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-highlight {
    justify-content: flex-start;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.35rem 0;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .brand {
    justify-content: center;
    gap: 0.55rem;
  }

  .site-header.condensed .header-container {
    padding: 0.25rem 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .stepper li {
    grid-template-columns: 1fr;
  }

  .keyword-list {
    justify-content: flex-start;
  }

  .plan-card {
    padding: 1.8rem;
  }

  .tabs {
    width: 100%;
    justify-content: space-between;
  }

  .hero-actions {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .highlight-card {
    width: 100%;
  }

  .step-index {
    font-size: 2rem;
  }
}
