:root {
  --gold: #caa052;
  --gold-2: #f1cd7a;
  --gold-3: #8e6224;
  --dark: #101418;
  --dark-2: #171d23;
  --dark-3: #0b0f13;
  --surface: #ffffff;
  --surface-2: #f6f2e9;
  --text: #1c1d20;
  --muted: #72757a;
  --border: rgba(202, 160, 82, .24);
  --danger: #b74242;
  --ok: #1f9d6a;
  --shadow: 0 24px 70px rgba(0, 0, 0, .22);
  --shadow-soft: 0 18px 46px rgba(0, 0, 0, .12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(202, 160, 82, .18), transparent 34%),
    linear-gradient(135deg, #07090b, #101418 45%, #171d23);
  color: #f7eedb;
  min-height: 100vh;
}
body.light-page {
  background:
    radial-gradient(circle at top left, rgba(202, 160, 82, .24), transparent 34%),
    var(--surface-2);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 92px 0; position: relative; }
.section.compact { padding: 64px 0; }
.gold { color: var(--gold-2); }
.muted { color: var(--muted); }
.dark-muted { color: #b6aa94; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(202, 160, 82, .1);
  color: var(--gold-2);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 18px rgba(31, 157, 106, .65);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(11, 15, 19, .78);
  border-bottom: 1px solid rgba(202, 160, 82, .18);
}
.light-page .site-header { background: rgba(246, 242, 233, .82); }
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(202, 160, 82, .1);
  border: 1px solid var(--border);
}
.brand strong {
  display: block;
  color: var(--gold-2);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 15px;
}
.light-page .brand strong { color: var(--gold); }
.brand span {
  display: block;
  color: #b6aa94;
  font-size: 12px;
  font-weight: 700;
}
.light-page .brand span { color: var(--muted); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 10px 13px;
  border-radius: 13px;
  font-weight: 800;
  color: #f7eedb;
  transition: .18s ease;
}
.light-page .nav-links a { color: var(--text); }
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-2);
  background: rgba(202, 160, 82, .12);
}
.light-page .nav-links a:hover,
.light-page .nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(202, 160, 82, .08);
  color: var(--gold-2);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: auto;
  position: relative;
  border-radius: 2px;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 12px 18px;
  cursor: pointer;
  background: rgba(202, 160, 82, .09);
  color: #f7eedb;
  font-weight: 900;
  transition: transform .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.light-page .btn { color: var(--text); }
.btn:hover { transform: translateY(-2px); border-color: rgba(241, 205, 122, .65); }
.btn.primary {
  background: linear-gradient(135deg, #a8752c, #f1cd7a);
  color: #101418;
  border: none;
  box-shadow: 0 16px 32px rgba(202, 160, 82, .22);
}
.btn.primary:hover { box-shadow: 0 20px 38px rgba(202, 160, 82, .3); }
.btn.ghost { background: transparent; }
.btn.small { min-height: 40px; padding: 9px 13px; border-radius: 13px; font-size: 14px; }
.btn.full { width: 100%; }

.hero {
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 52px;
  align-items: center;
}
.hero h1,
.page-hero h1 {
  margin: 18px 0 20px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .96;
  letter-spacing: -.055em;
}
.hero p,
.page-hero p {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  color: #d2c4aa;
  margin: 0 0 26px;
  max-width: 670px;
}
.light-page .page-hero p { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.proof-card,
.metric-card,
.feature-card,
.plan-card,
.faq-item,
.contact-card,
.form-card,
.panel-card {
  background: color-mix(in srgb, var(--dark-2) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.proof-card { padding: 16px; }
.proof-card strong { display: block; font-size: 25px; color: var(--gold-2); }
.proof-card span { color: #b6aa94; font-size: 13px; font-weight: 700; }
.hero-visual {
  position: relative;
  min-height: 440px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  background: radial-gradient(circle, rgba(241, 205, 122, .25), transparent 58%);
  filter: blur(10px);
}
.hero-visual img {
  position: relative;
  width: 100%;
  border-radius: 36px;
}
.float-card {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 8%;
  width: min(280px, 74%);
  padding: 18px;
  border: 1px solid rgba(241, 205, 122, .34);
  border-radius: 24px;
  background: rgba(17, 23, 28, .86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.float-card span { color: #b6aa94; font-weight: 800; font-size: 13px; }
.float-card strong { display: block; color: var(--gold-2); font-size: 28px; margin-top: 4px; }
.float-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(241, 205, 122, .18);
  margin-top: 14px;
  overflow: hidden;
}
.float-bar i {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #caa052, #f1cd7a);
}

.logos-strip {
  border-block: 1px solid rgba(202, 160, 82, .18);
  background: rgba(202, 160, 82, .05);
  padding: 16px 0;
}
.strip-grid {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #b6aa94;
  font-weight: 900;
  font-size: 13px;
}
.strip-grid span {
  padding: 8px 12px;
  border: 1px solid rgba(202, 160, 82, .18);
  border-radius: 999px;
  background: rgba(16, 20, 24, .45);
}

.section-title {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}
.section-title h2 {
  margin: 14px 0 0;
  max-width: 760px;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.03;
  letter-spacing: -.04em;
}
.section-title p {
  max-width: 420px;
  color: #b6aa94;
  line-height: 1.65;
  margin: 0;
}
.light-page .section-title p { color: var(--muted); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.feature-card.light {
  background: #fff;
  color: var(--text);
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -42px;
  top: -42px;
  background: rgba(202, 160, 82, .12);
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #101418;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #a8752c, #f1cd7a);
  box-shadow: 0 12px 24px rgba(202, 160, 82, .22);
}
.feature-card h3 { font-size: 22px; margin: 18px 0 10px; }
.feature-card p { color: #b6aa94; line-height: 1.65; margin: 0; }
.feature-card.light p { color: var(--muted); }

.split-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}
.panel-card { padding: 28px; }
.panel-card h2 {
  margin: 14px 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.05;
}
.panel-card p { color: #b6aa94; line-height: 1.7; }
.check-list { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: #e7dac1; font-weight: 750; }
.check-list li::before {
  content: "✓";
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 157, 106, .14);
  color: #78d6a9;
  font-size: 13px;
  font-weight: 900;
}
.dashboard-mock {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #11171c;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(202, 160, 82, .16);
}
.mock-top i { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); opacity: .78; }
.mock-body { display: grid; grid-template-columns: 180px 1fr; min-height: 380px; }
.mock-side { padding: 18px; border-right: 1px solid rgba(202, 160, 82, .16); }
.mock-tab { height: 42px; border-radius: 14px; background: rgba(202, 160, 82, .1); margin-bottom: 10px; }
.mock-tab:nth-child(1) { background: rgba(202, 160, 82, .22); }
.mock-chat { padding: 20px; display: grid; gap: 14px; align-content: start; }
.bubble { border: 1px solid rgba(202, 160, 82, .18); border-radius: 18px; padding: 16px; max-width: 78%; background: #171d23; }
.bubble.out { justify-self: end; background: linear-gradient(135deg, rgba(168, 117, 44, .95), rgba(241, 205, 122, .92)); color: #101418; border: 0; }
.bubble strong { display: block; height: 9px; width: 72%; border-radius: 9px; background: currentColor; opacity: .62; margin-bottom: 10px; }
.bubble span { display: block; height: 7px; width: 95%; border-radius: 9px; background: currentColor; opacity: .34; }

.plans-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.plan-card.featured {
  transform: translateY(-14px);
  border-color: rgba(241, 205, 122, .7);
  background: linear-gradient(180deg, rgba(202, 160, 82, .18), rgba(23, 29, 35, .92));
}
.plan-badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 157, 106, .14);
  color: #78d6a9;
  font-size: 12px;
  font-weight: 900;
}
.plan-card h3 { font-size: 27px; margin: 0 0 8px; }
.plan-card p { color: #b6aa94; line-height: 1.6; margin: 0 0 22px; }
.price { margin: 8px 0 18px; }
.price strong { font-size: 48px; letter-spacing: -.04em; color: var(--gold-2); }
.price span { color: #b6aa94; font-weight: 800; }
.plan-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0 0 26px; }
.plan-list li { display: flex; gap: 10px; color: #e7dac1; line-height: 1.4; }
.plan-list li::before { content: "✓"; color: #78d6a9; font-weight: 900; }
.plan-card .btn { margin-top: auto; }
.setup-note {
  margin-top: 22px;
  padding: 16px;
  border: 1px dashed rgba(241, 205, 122, .42);
  border-radius: 18px;
  color: #d2c4aa;
  line-height: 1.65;
  background: rgba(202, 160, 82, .07);
}

.page-hero {
  padding: 72px 0 34px;
}
.page-hero h1 { max-width: 860px; }
.page-hero.center { text-align: center; }
.page-hero.center p { margin-left: auto; margin-right: auto; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card { padding: 22px; }
.metric-card strong { display: block; font-size: 34px; color: var(--gold-2); }
.metric-card span { color: #b6aa94; font-weight: 800; }

.tabs-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}
.feature-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}
.feature-tabs button {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(202, 160, 82, .06);
  color: #f7eedb;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 900;
}
.feature-tabs button.active { background: rgba(202, 160, 82, .2); color: var(--gold-2); }
.tab-content {
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(23, 29, 35, .82);
  box-shadow: var(--shadow-soft);
}
.tab-content article { display: none; }
.tab-content article.active { display: block; }
.tab-content h2 { margin-top: 0; font-size: clamp(28px, 3vw, 44px); }
.tab-content p { color: #b6aa94; line-height: 1.7; }

.faq-grid { display: grid; gap: 12px; max-width: 920px; margin: 0 auto; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  color: #f7eedb;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 900;
  cursor: pointer;
}
.faq-question::after { content: "+"; color: var(--gold-2); font-size: 22px; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: #b6aa94;
  line-height: 1.65;
}
.faq-item.open .faq-answer { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.contact-card, .form-card { padding: 28px; }
.contact-card h2, .form-card h2 { margin-top: 0; font-size: 32px; }
.contact-card p { color: #b6aa94; line-height: 1.65; }
.contact-list { display: grid; gap: 12px; margin: 24px 0; }
.contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(202, 160, 82, .18);
  border-radius: 16px;
  background: rgba(202, 160, 82, .05);
}
.contact-item b { display: block; }
.contact-item span { color: #b6aa94; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .span-2 { grid-column: span 2; }
label { display: grid; gap: 7px; color: var(--gold-2); font-size: 13px; font-weight: 900; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 13px 14px;
  outline: none;
  background: rgba(255, 255, 255, .06);
  color: #f7eedb;
}
select option { background: #11171c; color: #f7eedb; }
textarea { min-height: 132px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(202, 160, 82, .13); }
.alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 157, 106, .28);
  color: #b9f6d7;
  background: rgba(31, 157, 106, .12);
}
.alert.error { color: #ffb0b0; background: rgba(183, 66, 66, .14); border-color: rgba(183, 66, 66, .35); }

.cta-band {
  padding: 54px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(241, 205, 122, .22), transparent 38%),
    linear-gradient(135deg, #11171c, #0b0f13);
  border-block: 1px solid rgba(202, 160, 82, .18);
}
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(202, 160, 82, .08);
}
.cta-box h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); }
.cta-box p { margin: 0; color: #b6aa94; line-height: 1.55; }

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(202, 160, 82, .18);
  color: #b6aa94;
  background: rgba(7, 9, 11, .55);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { font-weight: 800; }
.footer-links a:hover { color: var(--gold-2); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid, .split-grid, .contact-grid, .tabs-panel { grid-template-columns: 1fr; }
  .hero-visual { min-height: auto; }
  .features-grid, .plans-wrap, .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: none; }
  .section-title { display: block; }
  .section-title p { margin-top: 14px; }
  .cta-box { display: grid; }
}

@media (max-width: 820px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(11, 15, 19, .96);
    box-shadow: var(--shadow);
  }
  .light-page .nav-links { background: rgba(246, 242, 233, .98); }
  body.nav-open .nav-links { display: flex; }
  .nav-actions .btn:not(.mobile-visible) { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 58px; }
  .section { padding: 66px 0; }
  .features-grid, .plans-wrap, .metrics-grid, .hero-proof { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .float-card { position: relative; right: auto; bottom: auto; margin: -34px auto 0; }
  .brand span { display: none; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-dev {
  text-align: right;
  color: var(--muted);
  font-size: 14px;
}

.footer-dev p {
  margin: 0 0 8px;
}

.footer-dev a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
}

.footer-dev a:hover {
  color: var(--gold-2);
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(202, 160, 82, .35);
  border-radius: 999px;
  background: rgba(202, 160, 82, .08);
  color: var(--gold);
  font-weight: 700;
  transition: .25s ease;
}

.footer-instagram:hover {
  transform: translateY(-2px);
  background: rgba(202, 160, 82, .14);
  border-color: rgba(202, 160, 82, .65);
}

.instagram-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.instagram-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-copy {
  margin-top: 8px !important;
  font-size: 13px;
  opacity: .8;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-dev {
    text-align: center;
  }
}
