:root {
  --color-bg: #0f172a;
  --color-bg-light: #0b1220;
  --color-card: #ffffff;
  --color-primary: #2563eb;
  --color-primary-soft: rgba(37, 99, 235, 0.1);
  --color-secondary: #f97316;
  --color-secondary-soft: rgba(249, 115, 22, 0.1);
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.25);
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.75rem;
  --transition-fast: 0.18s ease-out;
  --max-width: 1120px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%, #000 100%);
  min-height: 100vh;
}

/* LAYOUT */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #e5e7eb;
}

.section-header p {
  max-width: 40rem;
  margin: 0 auto;
  color: #9ca3af;
}

.section-note {
  text-align: center;
  color: #9ca3af;
  margin-top: 2rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: #e5e7eb;
  text-decoration: none;
}

.logo span {
  color: var(--color-secondary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-size: 0.95rem;
  color: #cbd5f5;
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-primary));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: #ffffff;
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15,23,42,0.8);
}

/* HERO */

.hero {
  padding: 4rem 0 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.hero-copy p {
  color: #cbd5f5;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-badges li {
  font-size: 0.8rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(59,130,246,0.35), rgba(15,23,42,0.98));
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
  width: 100%;
  max-width: 340px;
}

.hero-card h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0.2rem 0 0.8rem;
}

.hero-price span {
  font-size: 1rem;
  opacity: 0.8;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.hero-list li + li {
  margin-top: 0.2rem;
}

.hero-note {
  font-size: 0.8rem;
  color: #cbd5f5;
  opacity: 0.9;
}

/* PAGE HERO */

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  color: #f9fafb;
}

.page-hero p {
  color: #cbd5f5;
  max-width: 34rem;
}

/* PRICING */

.pricing-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(0);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(37, 99, 235, 0.4);
}

.pricing-card h3,
.pricing-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.pricing-tagline {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.price {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0.2rem 0 0.8rem;
  color: var(--color-primary);
}

.price span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-features li + li {
  margin-top: 0.25rem;
}

.featured {
  border-width: 2px;
  border-color: transparent;
  background: linear-gradient(#ffffff, #ffffff) padding-box,
              linear-gradient(to right, var(--color-secondary), var(--color-primary)) border-box;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #ea580c;
}

.btn-ghost {
  background: transparent;
  color: #e5e7eb;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-outline {
  background: #ffffff;
  color: var(--color-primary);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn-outline:hover {
  border-color: var(--color-primary);
}

/* FEATURES / GRID */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
}

.feature-item h2,
.feature-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #f9fafb;
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* TWO COLUMN BLOCKS */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.two-column h2,
.two-column h3 {
  color: #e5e7eb;
}

.two-column p {
  color: #cbd5f5;
}

/* CONTACT FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(15, 23, 42, 0.85);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.contact-form label {
  font-size: 0.9rem;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.75rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  background: rgba(15, 23, 42, 0.95);
  color: #e5e7eb;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.5);
}

.contact-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* FOOTER */

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.95);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.9rem;
  color: #9ca3af;
  max-width: 24rem;
}

.site-footer h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5e7eb;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li + li {
  margin-top: 0.25rem;
}

.site-footer a {
  color: #9ca3af;
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* LINKS */

a {
  color: var(--color-secondary);
}

a:hover {
  color: #fb923c;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding-top: 0.5rem;
    padding-bottom: 0.6rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 3rem 0;
  }
}