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

:root {
  --bg: #080808;
  --bg-alt: #101010;
  --surface: rgba(16, 16, 16, 0.92);
  --gold: #d4af37;
  --gold-soft: #f1d9a3;
  --cream: #fdf8f0;
  --muted: #b9b1a5;
  --accent: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px rgba(212, 175, 55, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--cream);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(212, 175, 55, 0.18), transparent),
    radial-gradient(900px 520px at 10% 10%, rgba(34, 30, 20, 0.6), transparent),
    linear-gradient(180deg, #070707 0%, #101010 45%, #080808 100%);
  z-index: -1;
}

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

.saas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8vw;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 8, 8, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), #9b6a22);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #120c04;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
}

.brand-name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-tagline {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.saas-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

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

.saas-nav a:hover {
  color: var(--cream);
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-toggle::after {
  content: "v";
  font-size: 0.65rem;
  color: var(--muted);
}

.lang-toggle:hover,
.lang-toggle:focus {
  color: var(--cream);
  border-color: rgba(201, 164, 107, 0.5);
  outline: none;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: rgba(12, 12, 14, 0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  min-width: 64px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.lang-menu a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lang-menu a:hover {
  color: var(--cream);
  background: rgba(201, 164, 107, 0.12);
}

.lang-menu .is-active {
  color: var(--cream);
  background: rgba(201, 164, 107, 0.2);
  border: 1px solid rgba(201, 164, 107, 0.4);
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-switch.is-open .lang-toggle::after {
  content: "^";
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #b37a2c);
  color: #1a1206;
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(212, 162, 76, 0.4);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.08);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--cream);
  background: rgba(255, 255, 255, 0.02);
}

main {
  padding: 40px 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-lux {
  align-items: stretch;
  padding: 30px 0 20px;
}

.hero-panel h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin: 12px 0 20px;
  text-transform: none;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.eyebrow {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-soft);
}

.hero-actions {
  margin: 26px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stat-chip {
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 14px 18px;
  border-radius: 16px;
  display: grid;
  gap: 6px;
  min-height: 84px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.stat-chip span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.stat-chip small {
  display: block;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  gap: 20px;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 32px;
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 60%);
  pointer-events: none;
}

.lux-card {
  position: relative;
  background: linear-gradient(155deg, rgba(24, 24, 24, 0.96), rgba(12, 12, 12, 0.96));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.lux-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.lux-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.lux-card-alt {
  border-style: solid;
  background: rgba(16, 16, 16, 0.9);
}

.lux-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.lux-metrics strong {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-soft);
}

.lux-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.pill {
  background: rgba(212, 162, 76, 0.2);
  color: var(--gold-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.card-body ul {
  padding-left: 18px;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
  margin: 0 -8vw;
  padding: 80px 8vw;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 720px;
}

.section-title h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 10px;
}

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

.section-title::after {
  content: "";
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 6px;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 32px;
}

.feature-grid article,
.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--glow);
}

.module-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.link-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.link-chip:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.08);
}

.pricing-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 32px;
}

.billing-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.7);
  box-shadow: var(--glow);
  margin-top: 16px;
}

.billing-toggle .billing-option {
  border: none;
  background: transparent;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-toggle .billing-option.is-active {
  background: linear-gradient(135deg, var(--gold), #9b6a22);
  color: #120c04;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

.billing-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  display: grid;
  gap: 14px;
  min-height: 320px;
  box-shadow: var(--glow);
}

.pricing-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 0;
}

.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
}

.pricing-card .price span {
  font-size: 0.95rem;
  color: var(--muted);
}

.pricing-card.featured {
  border-color: rgba(212, 162, 76, 0.45);
  box-shadow: 0 26px 70px rgba(212, 175, 55, 0.25);
  background: linear-gradient(145deg, rgba(26, 24, 18, 0.98), rgba(14, 14, 14, 0.96));
}

.pricing-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.promo-row {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.promo-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.promo-input input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(12, 12, 12, 0.7);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
}

.promo-input input::placeholder {
  color: rgba(226, 217, 204, 0.5);
}

.promo-feedback {
  font-size: 0.8rem;
  color: var(--muted);
}

.promo-feedback.is-error {
  color: #f2a7a7;
}

.promo-feedback.is-success {
  color: var(--gold-soft);
}

.timeline {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--glow);
}

.step span {
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 1.2rem;
}

.signup-wrapper {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 32px;
}

.signup-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: var(--glow);
}

.advanced-details {
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(12, 12, 12, 0.55);
}

.advanced-details summary {
  cursor: pointer;
  list-style: none;
  color: var(--gold-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.advanced-details summary::-webkit-details-marker {
  display: none;
}

.advanced-details summary::after {
  content: "v";
  color: var(--muted);
  font-size: 0.9rem;
}

.advanced-details[open] summary::after {
  content: "^";
}

.advanced-details .details-body {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.8);
  color: var(--cream);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.signup-result {
  margin-top: 8px;
  font-size: 0.95rem;
}

.signup-result-card {
  border: 1px solid var(--border);
  background: rgba(14, 18, 23, 0.9);
  padding: 16px;
  border-radius: 16px;
  display: grid;
  gap: 12px;
}

.signup-result-card input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.7);
  color: var(--cream);
}

.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.signup-result.success {
  color: var(--gold-soft);
}

.signup-result.error {
  color: #ff8a7a;
}

.signup-info ul {
  padding-left: 18px;
  color: var(--muted);
}

.note-card {
  margin-top: 20px;
  background: rgba(212, 162, 76, 0.08);
  border: 1px dashed rgba(212, 162, 76, 0.5);
  padding: 18px;
  border-radius: 18px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.hero-card,
.section {
  animation: fade-up 0.7s ease both;
}

.saas-footer {
  padding: 40px 8vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: rgba(11, 12, 15, 0.6);
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.hp-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

@media (max-width: 900px) {
  .saas-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .saas-nav {
    flex-wrap: wrap;
  }
}
