@import url("https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap");

:root {
  --background: #1a1a1a;
  --foreground: #f7f7f7;
  --surface: #2b2b2b;
  --card: #292929;
  --primary: #e5533d;
  --primary-foreground: #fffdfc;
  --accent-glow: #f07a3c;
  --secondary: #353535;
  --muted-foreground: #a3a3a3;
  --border: rgba(255, 255, 255, 0.12);
  --input: rgba(255, 255, 255, 0.16);
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent-glow));
  --shadow-glow: 0 18px 60px -20px rgba(229, 83, 61, 0.55);
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Hind", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.muted { color: var(--muted-foreground); }
.text-gradient {
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glow { box-shadow: var(--shadow-glow); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { border-color: var(--border); }
.btn-outline:hover { background: var(--secondary); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}
.logo { height: 2.25rem; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
.nav-desktop a {
  border-radius: 999px;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--foreground); }
.nav-desktop .btn { margin-left: 0.5rem; color: var(--primary-foreground); }
.nav-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.25rem 1rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.nav-mobile a:hover, .nav-mobile a.active { background: var(--secondary); color: var(--foreground); }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,26,0.7), rgba(26,26,26,0.6), var(--background));
}
.hero-content { position: relative; padding: 7rem 1.25rem; max-width: 72rem; margin: 0 auto; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(43, 43, 43, 0.7);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  backdrop-filter: blur(8px);
}
.hero h1 { margin-top: 1.5rem; max-width: 48rem; font-size: 2.25rem; }
.hero p { margin-top: 1.25rem; max-width: 36rem; color: var(--muted-foreground); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (min-width: 768px) {
  .hero-content { padding: 10rem 1.25rem; }
  .hero h1 { font-size: 3.75rem; }
  .hero p { font-size: 1.125rem; }
}

/* Sections */
section.pad { padding: 5rem 0; }
section.pad-sm { padding: 4rem 0; }
.section-head h2 { font-size: 1.5rem; }
.section-head p { margin-top: 0.5rem; max-width: 36rem; color: var(--muted-foreground); }
@media (min-width: 768px) { .section-head h2 { font-size: 1.875rem; } }

.page-head {
  border-bottom: 1px solid var(--border);
  background: rgba(43, 43, 43, 0.3);
}
.page-head .container { padding-top: 5rem; padding-bottom: 5rem; }
.page-head h1 { font-size: 2.25rem; }
.page-head p { margin-top: 1rem; max-width: 36rem; color: var(--muted-foreground); }
.page-head.center { text-align: center; }
.page-head.center p { margin-left: auto; margin-right: auto; max-width: 42rem; }
@media (min-width: 768px) { .page-head h1 { font-size: 3rem; } }

/* Grids & cards */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(229, 83, 61, 0.5); }
.card h3, .card h2 { margin-top: 1rem; font-size: 1.125rem; font-weight: 600; }
.card p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.icon { width: 1.5rem; height: 1.5rem; color: var(--primary); }
.icon-sm { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; }
.step-num { font-size: 0.875rem; font-weight: 600; color: var(--primary); }

/* Split section */
.split {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(43, 43, 43, 0.3);
}
.split .inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 5rem 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .split .inner { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: 1rem; border: 1px solid var(--border); object-fit: cover; }
.check-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; font-size: 0.875rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; }

/* CTA */
.cta {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2.5rem;
  text-align: center;
}
.cta h2 { margin-top: 1rem; font-size: 1.5rem; }
.cta p { margin: 0.75rem auto 0; max-width: 32rem; color: var(--muted-foreground); }
.cta .btn { margin-top: 1.75rem; }
@media (min-width: 768px) { .cta h2 { font-size: 1.875rem; } }

/* Pricing */
.tier { position: relative; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.75rem; }
.tier.featured { border-color: rgba(229, 83, 61, 0.6); box-shadow: var(--shadow-glow); }
.tier .tier-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.tier h2 { font-size: 1.125rem; font-weight: 600; }
.tier .price { margin-top: 1rem; font-size: 2.25rem; font-weight: 700; }
.tier .note { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.tier ul { margin-top: 1.5rem; display: grid; gap: 0.75rem; font-size: 0.875rem; }
.tier li { display: flex; align-items: flex-start; gap: 0.625rem; color: var(--muted-foreground); }
.tier .btn { margin-top: 1.75rem; width: 100%; }
.footnotes { margin-top: 2.5rem; display: grid; gap: 0.5rem; font-size: 0.75rem; color: var(--muted-foreground); }
.pricing-grid { align-items: start; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1.2fr 1fr; } }
form.card, aside.card { padding: 1.75rem; }
form.card:hover, aside.card:hover { border-color: var(--border); }
.field-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, 1fr); } }
label { font-size: 0.875rem; display: block; }
input, textarea {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background: var(--background);
  color: inherit;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--primary); }
.form-note { margin-top: 1rem; font-size: 0.875rem; color: var(--primary); }
aside h2 { font-size: 1.125rem; font-weight: 600; }
aside ul { margin-top: 1.25rem; display: grid; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
aside li { display: flex; align-items: flex-start; gap: 0.75rem; }
aside a:hover { color: var(--foreground); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: rgba(43, 43, 43, 0.4); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-grid p { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-grid h3 { font-size: 0.875rem; font-weight: 600; }
.footer-grid ul { margin-top: 1rem; display: grid; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-grid li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-grid a:hover { color: var(--foreground); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Persistent shell while page content loads in place. */
main[aria-busy="true"] { opacity: 0.65; }
.navigation-status:empty { display: none; }
.navigation-status {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--foreground);
}
.navigation-status a { text-decoration: underline; }
h1[tabindex="-1"]:focus { outline: none; }

/* Make the selected page distinct from hover on both navigation layouts. */
.nav-desktop a[aria-current="page"],
.nav-mobile a[aria-current="page"] {
  background: rgba(229, 83, 61, 0.16);
  color: var(--primary-foreground);
  box-shadow: inset 0 -2px 0 var(--primary);
  font-weight: 600;
}
