:root {
  color-scheme: light;
  --bg: #f6f5f2;
  --bg-soft: #eef2f9;
  --panel: #ffffff;
  --panel-muted: #f4f6fb;
  --ink: #101418;
  --muted: #5a6472;
  --accent: #0ea5e9;
  --accent-2: #f97316;
  --accent-3: #10b981;
  --line: rgba(15, 23, 42, 0.12);
  --shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body.marketing {
  margin: 0;
  font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #e3f2ff 0%, transparent 45%),
    radial-gradient(circle at 90% 0%, #ffe6d5 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, #eef1f7 100%);
  min-height: 100vh;
}

body.marketing::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
  mix-blend-mode: multiply;
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 22px 96px;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(246, 245, 242, 0.85);
  border-bottom: 1px solid var(--line);
}

.navbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, #0ea5e9, #10b981 55%, #f97316);
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.35);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  padding: 72px 0 48px;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(36px, 4.4vw, 64px);
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0b3a5a;
  font-weight: 600;
}

.hero-panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.bubble-stack {
  display: grid;
  gap: 10px;
}

.bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  background: var(--panel);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 360px;
}

.bubble.user {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(16, 185, 129, 0.1));
}

.bubble.bot {
  margin-right: auto;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #7a3b00;
  font-size: 12px;
  font-weight: 600;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b1117;
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.25);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--ink);
}

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

.section {
  margin: 40px 0;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 18px;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.card h4 {
  margin: 8px 0 8px;
}

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  font-weight: 600;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.feature-list li strong {
  color: var(--ink);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.pricing-table th {
  background: var(--panel-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.estimator {
  display: grid;
  gap: 14px;
}

.estimator label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.estimator input,
.estimator textarea,
.estimator select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}

.estimator button {
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0b1117;
  font-weight: 600;
  cursor: pointer;
}

.estimator-result {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.estimator-result.error {
  color: #c2410c;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 22px 36px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  background: rgba(246, 245, 242, 0.85);
}

.footer a {
  text-decoration: none;
  margin-right: 14px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 48px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
