/* ─── KONTAVO – Design System ────────────────────────────────────────────── */

:root {
  --bg:            #fafafa;
  --bg-alt:        #f2f1ee;
  --bg-dark:       #1b3a2d;
  --bg-dark-mid:   #14301f;
  --text:          #141414;
  --text-muted:    #707070;
  --text-light:    #9e9e9e;
  --border:        #e3e3e3;
  --border-mid:    #ccc;

  --accent:        #1b3a2d;
  --accent-hover:  #245040;
  --accent-light:  #d0e8dc;

  --moss:          #b3af9a;
  --moss-dark:     #94907f;

  --radius-btn:    2rem;
  --radius-card:   1.25rem;
  --radius-sm:     0.5rem;

  --shadow:        0 4px 24px rgba(27,58,45,0.08);
  --shadow-lg:     0 12px 48px rgba(27,58,45,0.14);
  --shadow-xl:     0 24px 80px rgba(27,58,45,0.18);

  --font:          'Inter', Arial, sans-serif;
  --nav-h:         68px;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ─── CONTAINER ──────────────────────────────────────────────────────────── */
.container {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-dark  { background: var(--accent); color: #fff; }
.btn-dark:hover { background: var(--accent-hover); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: #f0f0f0; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-mid); }
.btn-ghost:hover { border-color: var(--text); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); }
.btn-full { width: 100%; justify-content: center; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); }
h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
p  { font-size: 1rem; font-weight: 300; line-height: 1.75; color: var(--text-muted); }

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss-dark);
  margin-bottom: 0.875rem;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.0625rem; }

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: border-color 0.25s;
}
.nav-wrap.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 100%; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 0.625rem; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.01em; flex-shrink: 0; }
.logo-mark { width: 28px; height: 28px; background: var(--accent); border-radius: 7px; position: relative; flex-shrink: 0; }
.logo-mark::after { content: ''; position: absolute; inset: 5px; border-radius: 3px; border: 2px solid rgba(255,255,255,0.65); }
.logo-text { color: var(--text); }
.nav-links { display: flex; gap: 2rem; margin-left: auto; }
.nav-links a { font-size: 0.9375rem; font-weight: 400; color: var(--text-muted); transition: color 0.2s; position: relative; padding-bottom: 2px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 1.5rem; padding: 0.625rem 1.375rem; font-size: 0.875rem; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg); gap: 0.25rem; }
.mobile-nav a { padding: 0.625rem 0; font-size: 1rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 4rem 0 0;
  overflow: hidden;
}
.hero-content {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
}
.hero-text { display: flex; flex-direction: column; gap: 1.75rem; }
.hero-badge { display: inline-block; padding: 0.375rem 1rem; background: var(--accent-light); color: var(--accent); border-radius: var(--radius-btn); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.03em; width: fit-content; }
.hero-sub { font-size: 1.0625rem; line-height: 1.75; max-width: 440px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-metrics { display: flex; align-items: center; gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.metric { display: flex; flex-direction: column; gap: 0.2rem; }
.metric strong { font-size: 1.25rem; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.metric span { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.metric-divider { width: 1px; height: 38px; background: var(--border); flex-shrink: 0; }

/* ─── HERO SCREENSHOT ────────────────────────────────────────────────────── */
.hero-screenshot {
  position: relative;
  display: flex;
  align-items: flex-end;
}
.hero-screenshot .browser-frame {
  width: 100%;
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  border-bottom: none;
}

/* ─── BROWSER FRAME ──────────────────────────────────────────────────────── */
.browser-frame {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.3s, transform 0.3s;
}
.browser-frame:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.browser-chrome {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bc-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-mid); flex-shrink: 0; }
.bc-dot:nth-child(1) { background: #f87171; }
.bc-dot:nth-child(2) { background: #fbbf24; }
.bc-dot:nth-child(3) { background: #4ade80; }
.bc-url { font-size: 0.75rem; color: var(--text-light); margin-left: 0.5rem; font-weight: 400; }
.browser-frame img { display: block; width: 100%; height: auto; }
.browser-frame-sm { max-width: 100%; }

/* ─── TRUST BAR ─────────────────────────────────────────────────────────── */
.trust-bar { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.trust-inner { display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.trust-label { font-size: 0.75rem; font-weight: 500; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.07em; flex-shrink: 0; }
.trust-list { display: flex; flex-wrap: wrap; gap: 0.875rem 2rem; }
.trust-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); }
.trust-list li svg { color: var(--accent); flex-shrink: 0; }

/* ─── FEATURE SECTIONS ───────────────────────────────────────────────────── */
.feat-section { padding: 6rem 0; }
.feat-section-alt { background: var(--bg-alt); }

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feat-text-right .feat-visual { order: -1; }

.feat-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feat-text h2 { margin: 0; }
.feat-text > p { font-size: 1.0625rem; }

.feat-list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: 0.5rem;
}
.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.fl-icon {
  width: 22px;
  height: 22px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.fl-icon svg { width: 12px; height: 12px; color: var(--accent); }
.feat-list li div { display: flex; flex-direction: column; gap: 0.2rem; }
.feat-list li strong { font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.feat-list li span { font-size: 0.875rem; color: var(--text-muted); font-weight: 300; line-height: 1.55; }

/* ─── HOW IT WORKS ──────────────────────────────────────────────────────── */
.how-section { padding: 6rem 0; }
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
}
.step { display: flex; flex-direction: column; gap: 0.875rem; }
.step-number { font-size: 3rem; font-weight: 300; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.step h3 { color: var(--text); }
.step p { font-size: 0.9375rem; }
.step-connector { width: 50px; height: 1.5px; background: linear-gradient(to right, var(--accent-light), var(--moss)); margin-top: 1.6rem; flex-shrink: 0; }

/* ─── PRICING ────────────────────────────────────────────────────────────── */
.pricing-section { padding: 6rem 0; background: var(--bg-alt); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: box-shadow 0.25s;
}
.pricing-card:hover { box-shadow: var(--shadow); }

.pricing-featured { background: var(--accent); border-color: var(--accent); transform: scale(1.03); }
.pricing-featured .plan-name,
.pricing-featured .price-amount { color: rgba(255,255,255,0.95); }
.pricing-featured .plan-desc,
.pricing-featured .plan-features li,
.pricing-featured p { color: rgba(255,255,255,0.75); }
.pricing-featured .feat-yes::before { color: #6ee7b7; }
.pricing-featured .feat-no { opacity: 0.35; }
.pricing-featured .price-period { color: rgba(255,255,255,0.6); }

.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--moss); color: #fff; font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.875rem; border-radius: 20px; white-space: nowrap; }
.pricing-header { display: flex; flex-direction: column; gap: 0.5rem; }
.plan-name { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.plan-price { display: flex; align-items: baseline; gap: 0.375rem; }
.price-amount { font-size: 2.5rem; font-weight: 500; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.price-period { font-size: 0.875rem; color: var(--text-muted); font-weight: 300; }
.plan-desc { font-size: 0.875rem; line-height: 1.6; }

.plan-features { display: flex; flex-direction: column; gap: 0.625rem; flex: 1; }
.plan-features li { font-size: 0.875rem; display: flex; align-items: flex-start; gap: 0.5rem; color: var(--text); line-height: 1.4; }
.feat-yes::before { content: '✓'; color: var(--accent); font-weight: 600; flex-shrink: 0; }
.feat-no::before  { content: '–'; color: var(--text-light); flex-shrink: 0; }
.feat-no { color: var(--text-muted); }

.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-note { text-align: center; font-size: 0.875rem; margin-top: 2.5rem; color: var(--text-muted); }

/* ─── CTA BAND ───────────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-mid) 100%); padding: 5rem 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,0.65); max-width: 520px; font-size: 1.0625rem; }

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact-section { padding: 6rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-left { display: flex; flex-direction: column; gap: 1rem; }
.contact-left > p { font-size: 1.0625rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.contact-info li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9375rem; color: var(--text-muted); }
.contact-info li svg { color: var(--accent); flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; }
.form-row { margin-bottom: 1.5rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-field label { font-size: 0.8125rem; font-weight: 500; color: var(--text-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font); font-size: 0.9375rem; font-weight: 300;
  color: var(--text); background: transparent; border: none;
  border-bottom: 1.5px solid var(--border-mid); padding: 0.625rem 0;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field select { appearance: none; cursor: pointer; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-light); }
.form-checkbox { display: flex; align-items: flex-start; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 16px; height: 16px; border: 1.5px solid var(--border-mid); border-radius: 3px; accent-color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.checkbox-label span { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }
.form-link { color: var(--accent); text-decoration: underline; }
.contact-form .btn-dark { margin-top: 1.75rem; }
.form-success { display: none; background: var(--accent-light); color: var(--accent); padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.9375rem; font-weight: 500; margin-top: 1rem; text-align: center; }
.form-success.visible { display: block; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 4rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; max-width: 360px; }
.footer-brand p { font-size: 0.9rem; }
.footer-nav { display: flex; gap: 3rem; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 1rem; }
.footer-col strong { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul li a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { padding: 1.125rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom span { font-size: 0.8125rem; color: var(--text-light); }
.powered-by { font-size: 0.8125rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; transition: color 0.2s; }
.powered-by:hover { color: var(--text); }
.powered-by strong { color: var(--accent); }

/* ─── SCROLL-REVEAL ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; padding-bottom: 0; }
  .hero-screenshot .browser-frame { border-radius: 12px; border-bottom: 1px solid var(--border); }
  .feat-grid { grid-template-columns: 1fr; gap: 3rem; }
  .feat-text-right .feat-visual { order: 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .step-connector { width: 2px; height: 36px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pricing-featured { transform: none; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
  .nav-wrap { height: auto; flex-direction: column; align-items: stretch; }
  .nav-inner { height: var(--nav-h); }
  .hero { padding-top: 3rem; }
  .hero-metrics { flex-wrap: wrap; gap: 1rem; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .form-row-2 { grid-template-columns: 1fr; }
  .feat-section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-list { gap: 0.75rem 1.5rem; }
}
