
:root {
  --color-bg: #050816;
  --color-bg-soft: #070b1d;
  --color-surface: #0f172a;
  --color-surface-soft: #111827;
  --color-border-subtle: rgba(148, 163, 184, 0.35);
  --color-text-main: #e5e7eb;
  --color-text-muted: #9ca3af;
  --color-accent: #4f46e5;
  --color-accent-soft: #6366f1;
  --color-accent-secondary: #06b6d4;
  --color-danger: #f97373;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --transition-fast: 150ms ease-out;
  --max-width: 1100px;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
}

/* Layout */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.92),
    rgba(15, 23, 42, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

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

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 13px;
  background: radial-gradient(circle at 0% 0%, #a855f7, transparent 45%),
    radial-gradient(circle at 100% 100%, #22d3ee, transparent 50%),
    linear-gradient(135deg, #111827, #020617);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f9fafb;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

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

.nav-link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #f9fafb;
}

.nav-cta-group {
  display: flex;
  gap: 0.8rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #f9fafb;
  box-shadow: 0 16px 35px rgba(79, 70, 229, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(79, 70, 229, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border-color: rgba(148, 163, 184, 0.55);
}

.btn-outline:hover {
  border-color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
}

/* Hero */

.hero {
  padding: 3.5rem 0 3rem;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 1.1rem;
}

.hero-eyebrow span.badge {
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.2);
  color: #e0f2fe;
  font-size: 0.7rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 0.9rem;
}

.hero-gradient {
  background: linear-gradient(135deg, #e5e7eb, #a5b4fc, #22d3ee);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  max-width: 32rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.hero-meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Hero image card */

.hero-media {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.06), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.08), transparent 55%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-card-title {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-card-pill {
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(22, 163, 74, 0.16);
  color: #bbf7d0;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: repeating-linear-gradient(
      135deg,
      #0b1220,
      #0b1220 8px,
      #020617 8px,
      #020617 16px
    );
  border: 1px dashed rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.75rem;
}

.hero-float-badge {
  position: absolute;
  right: -0.2rem;
  bottom: -0.2rem;
  transform: translate(-10%, -10%);
  background: radial-gradient(circle at 0 0, #4f46e5, #22d3ee);
  border-radius: 18px;
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.75);
}

/* Sections */

.section {
  padding: 2.8rem 0;
}

.section-header {
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.section-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Cards */

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

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

.card {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.1rem 1.1rem 1.2rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, #22d3ee, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.card-title {
  font-size: 0.95rem;
  margin: 0;
}

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

.card-meta {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #e5e7eb;
}

/* Pricing */

.pricing-hero {
  text-align: center;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  margin: 1rem auto 0.8rem;
}

.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 999px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pricing-toggle button.active {
  background: rgba(79, 70, 229, 0.18);
  color: #e5e7eb;
}

.clients-input-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
}

.clients-input-row label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.clients-input-row input[type="range"] {
  width: 100%;
  max-width: 380px;
}

.clients-count-display {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.pricing-grid {
  margin-top: 2rem;
}

.plan-card {
  position: relative;
}

.plan-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-size: 0.7rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.plan-name {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.plan-price {
  font-size: 1.5rem;
  margin: 0.2rem 0;
}

.plan-price span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.plan-meta {
  margin-bottom: 0.7rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.plan-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.plan-feature-list li {
  margin-bottom: 0.35rem;
}

/* Layout helpers */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding: 1.8rem 0 2.2rem;
  margin-top: auto;
  background: radial-gradient(circle at top, #020617, #000);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  max-width: 15rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-column-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.footer-link {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 0.25rem;
}

.footer-link:hover {
  color: #e5e7eb;
}

.footer-bottom {
  margin-top: 1.6rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Forms */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.8rem;
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.input, .textarea, .select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--color-text-main);
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
}

.textarea {
  border-radius: 16px;
  min-height: 140px;
  resize: vertical;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.contact-card {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(2, 6, 23, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-field {
  margin-bottom: 0;
}

.form-status {
  min-height: 18px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-status[data-state="success"] {
  color: #22c55e;
}

.form-status[data-state="error"] {
  color: #f97316;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .form-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .card-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .card-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
