/* ============================================
   CRM SUNA FILMS MEDIA — Landing page
   ============================================ */

:root {
  --bg:          #080808;
  --surface:     #111111;
  --brand:       #FF5F00;
  --brand-lt:    #FFB380;
  --text:        #FFFFFF;
  --text-muted:  #888888;
  --text-dim:    #555555;
  --border:      #1E1E1E;
  --border-soft: rgba(255,255,255,0.08);

  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --radius-pill: 999px;
  --radius-card: 16px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-lt);
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(8,8,8,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  min-width: 0;
  flex-shrink: 1;
}

.nav__logo-img { height: 30px; width: auto; flex-shrink: 0; }

.nav__cta { flex-shrink: 0; }

.nav__logo-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 2px;
}

.nav__logo-product {
  color: var(--brand);
  font-weight: 700;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  padding: 13px 26px;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn--primary { background: var(--brand); color: #fff; }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.7); opacity: 1; }

.btn--lg { padding: 17px 32px; font-size: 15px; }
.btn--block { width: 100%; }

/* ============================================
   HERO
   ============================================ */

.hero {
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,95,0,0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__tag { margin-bottom: 22px; }

.hero__title {
  font-size: clamp(36px, 6.2vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 24px;
}

.hero__title em {
  font-style: normal;
  color: var(--brand);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero__flow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__flow-pill {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  color: var(--text-muted);
}

.hero__flow-pill--last { color: var(--brand-lt); border-color: rgba(255,95,0,0.3); }

.hero__flow-arrow { color: var(--text-dim); font-size: 13px; }

/* ============================================
   SECTIONS — shared
   ============================================ */

section { padding: 88px 0; }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 14px;
}

.section__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
}

/* ============================================
   PROBLEM
   ============================================ */

.problem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem__title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.problem__title span { color: var(--brand); }

.problem__list { display: flex; flex-direction: column; gap: 22px; }

.problem__item {
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.problem__item:last-child { border-bottom: none; padding-bottom: 0; }

.problem__item-mark {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 13px;
  padding-top: 2px;
}

.problem__item p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.problem__item strong { color: var(--text); font-weight: 600; }

/* ============================================
   FEATURES
   ============================================ */

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature {
  background: var(--bg);
  padding: 32px 28px;
  transition: background 0.2s ease;
}

.feature:hover { background: var(--surface); }

.feature__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-lt);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}

.feature__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature__desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* ============================================
   COMPARE
   ============================================ */

.compare__table {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.compare__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.compare__row:last-child { border-bottom: none; }

.compare__row--head { background: rgba(255,255,255,0.02); }

.compare__cell {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.compare__cell--label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.compare__cell--head {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.compare__cell--head.is-brand { color: var(--brand-lt); }

.compare__cell--before {
  color: var(--text-muted);
  border-left: 1px solid var(--border);
}

.compare__cell--after {
  color: var(--text);
  font-weight: 500;
  border-left: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,95,0,0.08), rgba(255,95,0,0.02));
}

/* ============================================
   STEPS
   ============================================ */

.steps { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-lt);
  margin-bottom: 16px;
  display: block;
}

.step__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step__desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* ============================================
   DEMO / FINAL CTA
   ============================================ */

.demo {
  position: relative;
}

.demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.demo__title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.demo__title span { color: var(--brand); }

.demo__desc { font-size: 15.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }

.demo__points { display: flex; flex-direction: column; gap: 12px; }
.demo__point { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-muted); }
.demo__point-mark { color: var(--brand); font-weight: 700; }

.demo__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 32px;
}

.demo__card-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.demo__card-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }

.field input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  transition: border-color 0.2s ease;
}

.field input:focus { outline: none; border-color: var(--brand); }
.field input::placeholder { color: var(--text-dim); }

.demo__note {
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

.demo__note a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.demo__note a:hover { color: var(--text); }

.demo__success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 0;
}

.demo__success.is-visible { display: flex; }
.demo__success-icon { font-size: 32px; color: var(--brand); }
.demo__success-title { font-size: 18px; font-weight: 700; }
.demo__success-desc { font-size: 14px; color: var(--text-muted); max-width: 320px; }

/* ============================================
   FOOTER
   ============================================ */

.footer { border-top: 1px solid var(--border); padding: 32px 0; }

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__logo { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.footer__logo-img { height: 22px; width: auto; }
.footer__copy { font-size: 13px; color: var(--text-dim); }

.footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__legal a:hover { color: var(--text); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 860px) {
  .problem__grid,
  .demo__inner { grid-template-columns: 1fr; gap: 40px; }

  .features__grid { grid-template-columns: 1fr 1fr; }
  .steps__grid { grid-template-columns: 1fr; gap: 40px; }

  .compare__row { grid-template-columns: 1fr; }
  .compare__cell--before,
  .compare__cell--after { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .features__grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .demo__card { padding: 24px; }
  section { padding: 64px 0; }

  .nav__logo-text { display: none; }
  .nav__cta { padding: 12px 18px; font-size: 13px; }
}
