/* ===== Base reset & typography ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0f172a;
  background: #0b1220;
}

/* Simple container */

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== Header / nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.8)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #0b1120;
  background: radial-gradient(circle at 30% 20%, #a5b4fc, #22c55e);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  font-size: 15px;
  color: #e5e7eb;
}

.brand-tagline {
  font-size: 12px;
  color: #9ca3af;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 14px;
  text-decoration: none;
  color: #cbd5f5;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.15s ease-out;
}

.nav a:hover {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
}

/* ===== Hero ===== */

.hero {
  padding: 48px 0 32px;
}

.hero.gradient {
  background: radial-gradient(circle at top left, #1d283a, #020617 52%, #020617);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.hero-inner {
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: #f9fafb;
}

.hero-content p {
  margin: 0 0 16px;
  color: #e5e7eb;
  max-width: 640px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.7);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  border-color: rgba(15, 23, 42, 0.9);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.45);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: #e5e7eb;
  color: #f9fafb;
}

/* Generic button used in forms (button element) */
button.btn-primary {
  border: none;
}

/* ===== Sections ===== */

.section {
  padding: 40px 0;
  background: radial-gradient(circle at 10% 0, #020617, #020617 40%, #020617 60%);
}

.section.alt {
  background: radial-gradient(circle at 80% 0, #020617, #020617 40%, #020617 60%);
}

.section-title {
  font-size: 22px;
  margin: 0 0 8px;
  color: #f9fafb;
  text-align: center;
}

.section-title-left {
  font-size: 20px;
  margin: 0 0 8px;
  color: #f9fafb;
}

.section-intro {
  margin: 0 0 24px;
  color: #cbd5f5;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Grid / cards ===== */

.grid {
  display: grid;
  gap: 20px;
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, #020617, #020617 60%);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.card-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #f9fafb;
}

.card-subtitle {
  margin: 0 0 10px;
  font-size: 13px;
  color: #a5b4fc;
}

.card p {
  margin: 0 0 10px;
  font-size: 14px;
}

/* Accent backgrounds for specific cards */

.card.rainbow {
  border-color: rgba(129, 140, 248, 0.7);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(15, 23, 42, 0.98));
}

.card.sunset {
  border-color: rgba(248, 113, 113, 0.7);
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.16), rgba(15, 23, 42, 0.98));
}

.card.aurora {
  border-color: rgba(45, 212, 191, 0.7);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(15, 23, 42, 0.98));
}

.card.galaxy {
  border-color: rgba(56, 189, 248, 0.7);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(15, 23, 42, 0.98));
}

/* Lists */

.bullets {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
}

.bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
}

/* Meta row */

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-top: 4px;
  margin-bottom: 10px;
}

.price-tag {
  font-weight: 600;
  color: #bbf7d0;
  font-size: 15px;
}

.price-note {
  font-size: 12px;
  color: #cbd5f5;
}

/* Card actions */

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.muted {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 6px;
}

/* ===== Panels / two-column layout ===== */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.panel {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top left, #020617, #020617 60%);
  padding: 16px 18px 18px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.meta-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 10px;
}

.meta-list li {
  font-size: 13px;
  margin-bottom: 6px;
}

.meta-list a {
  color: #a5b4fc;
  text-decoration: none;
}

.meta-list a:hover {
  text-decoration: underline;
}

/* ===== Contact form ===== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.field {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

label {
  font-size: 13px;
  color: #cbd5f5;
}

input,
textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

input:focus,
textarea:focus {
  outline: 1px solid #22c55e;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

textarea {
  resize: vertical;
}

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #020617;
  padding: 16px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #a5b4fc;
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===== Responsive tweaks ===== */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    row-gap: 6px;
  }

  .hero {
    padding-top: 32px;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 16px 14px 18px;
  }

  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
