/* ===================================================
   Brzewintera CRM — Mobile CSS
   Manrope · Steel Blue + White
   =================================================== */

:root {
  --blue:       #0369A1;
  --blue-dk:    #075985;
  --blue-lt:    #BAE6FD;
  --blue-bg:    #F0F9FF;
  --green:      #16A34A;
  --green-dk:   #15803D;
  --red:        #DC2626;

  --text:       #0F172A;
  --text-md:    #334155;
  --text-muted: #64748B;
  --border:     #E2E8F0;
  --bg:         #FFFFFF;
  --bg-alt:     #F8FAFC;
  --bg-blue:    #EFF6FF;

  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(3,105,161,.12);
  --shadow-lg: 0 8px 32px rgba(3,105,161,.18);

  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --hh:   56px;
  --maxw: 430px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  max-width: var(--maxw);
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ─── Skip Link ─── */
.skip-link {
  position: absolute; top: -999px; left: 0; z-index: 999;
  background: var(--blue); color: #fff; padding: 8px 16px; font-size: 14px;
}
.skip-link:focus { top: 0; }

/* ─── Header ─── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--hh);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.hd-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -.4px;
}
.hd-logo-icon {
  width: 30px; height: 30px; flex-shrink: 0;
}
.hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Nav Overlay ─── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(255,255,255,.99);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }
.nav-overlay a {
  display: block; padding: 14px 32px;
  font-size: 20px; font-weight: 700; color: var(--text);
  border-radius: var(--r-md); width: 240px; text-align: center;
}
.nav-overlay a:active { background: var(--bg-alt); }
.nav-overlay a.active { color: var(--blue); }
.nav-divider { width: 240px; height: 1px; background: var(--border); margin: 8px 0; }
.nav-cta-wrap { display: flex; flex-direction: column; gap: 10px; width: 240px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 24px; height: 48px; min-width: 48px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  border-radius: var(--r-sm); border: 2px solid transparent;
  transition: background .15s, border-color .15s, transform .1s;
  cursor: pointer; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-blue {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.btn-blue:active { background: var(--blue-dk); }
.btn-green {
  background: var(--green); color: #fff; border-color: var(--green);
}
.btn-green:active { background: var(--green-dk); }
.btn-outline {
  background: transparent; color: var(--blue); border-color: var(--blue);
}
.btn-outline:active { background: var(--blue-bg); }
.btn-full { width: 100%; }

/* ─── Badge / Tag ─── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--blue-bg); color: var(--blue);
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  border-radius: var(--r-xl);
  border: 1px solid var(--blue-lt);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(160deg, var(--blue-bg) 0%, #fff 70%);
  padding: 40px 20px 32px;
  text-align: center;
}
.hero-badge { margin-bottom: 20px; }
.hero h1 {
  font-size: 28px; font-weight: 800; line-height: 1.25;
  letter-spacing: -.5px; color: var(--text);
  margin-bottom: 14px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: 16px; color: var(--text-md); line-height: 1.6;
  margin-bottom: 28px;
}
.hero-btns {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}
.hero-img {
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-img img { width: 100%; object-fit: cover; }
.hero-kpi {
  display: flex; justify-content: space-around;
  padding: 20px 0 0;
}
.kpi-item { text-align: center; }
.kpi-n {
  display: block; font-size: 22px; font-weight: 800; color: var(--blue);
  line-height: 1.1;
}
.kpi-l {
  font-size: 11px; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ─── Section wrapper ─── */
.sec { padding: 40px 20px; }
.sec-alt { background: var(--bg-alt); }
.sec-blue { background: var(--blue-bg); }
.sec-tag {
  display: inline-block; margin-bottom: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue);
}
.sec-h {
  font-size: 22px; font-weight: 800; line-height: 1.3;
  letter-spacing: -.3px; color: var(--text);
  margin-bottom: 8px;
}
.sec-sub {
  font-size: 15px; color: var(--text-md); line-height: 1.6;
  margin-bottom: 28px;
}

/* ─── Pain Points ─── */
.pain-list { display: flex; flex-direction: column; gap: 12px; }
.pain-card {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px;
  box-shadow: var(--shadow-sm);
}
.pain-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: #FEE2E2; display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.pain-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pain-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ─── Features Grid ─── */
.feat-grid { display: flex; flex-direction: column; gap: 16px; }
.feat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.feat-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px;
}
.feat-card-icon.blue  { background: var(--blue-bg); }
.feat-card-icon.green { background: #DCFCE7; }
.feat-card-icon.amber { background: #FEF3C7; }
.feat-card-icon.rose  { background: #FFE4E6; }
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feat-card p  { font-size: 14px; color: var(--text-md); line-height: 1.55; }
.feat-checks { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.feat-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-md);
}
.feat-check::before {
  content: '✓'; color: var(--green); font-weight: 800;
  font-size: 13px; flex-shrink: 0;
}

/* ─── Steps ─── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  padding-bottom: 28px; position: relative;
}
.step:not(:last-child)::before {
  content: ''; position: absolute;
  left: 19px; top: 40px; bottom: 0;
  width: 2px; background: var(--border);
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
}
.step-body { padding-top: 8px; }
.step-h { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-p { font-size: 14px; color: var(--text-md); line-height: 1.55; }

/* ─── Dashboard section ─── */
.dashboard-img {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.dashboard-img img { width: 100%; object-fit: cover; }
.dash-bullets { display: flex; flex-direction: column; gap: 12px; }
.dash-bullet {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-md); line-height: 1.5;
}
.dash-bullet-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 800; margin-top: 1px;
}

/* ─── Testimonials ─── */
.testi-list { display: flex; flex-direction: column; gap: 14px; }
.testi-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.testi-stars { color: #FBBF24; font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.testi-quote {
  font-size: 14px; line-height: 1.6; color: var(--text-md);
  margin-bottom: 14px; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--blue-lt);
}
.testi-name { font-size: 14px; font-weight: 700; }
.testi-role { font-size: 12px; color: var(--text-muted); }

/* ─── Pricing ─── */
.plans { display: flex; flex-direction: column; gap: 14px; }
.plan-card {
  background: #fff; border: 2px solid var(--border);
  border-radius: var(--r-md); padding: 24px;
}
.plan-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.plan-tag {
  display: inline-block; margin-bottom: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 3px 10px;
  background: var(--blue); color: #fff; border-radius: var(--r-xl);
}
.plan-name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.plan-price {
  font-size: 30px; font-weight: 800; color: var(--blue); margin-bottom: 4px;
}
.plan-price span { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.plan-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
.plan-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.plan-feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-md);
}
.plan-feat::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 18px 0;
  font-size: 15px; font-weight: 700; color: var(--text);
  text-align: left; gap: 12px;
  -webkit-tap-highlight-color: transparent;
}
.faq-btn:active { color: var(--blue); }
.faq-arrow {
  flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
  transition: transform .2s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  font-size: 14px; color: var(--text-md); line-height: 1.65;
  padding-bottom: 16px; display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ─── CTA Section ─── */
.cta-sec {
  background: var(--blue);
  padding: 44px 20px;
  text-align: center;
}
.cta-sec h2 {
  font-size: 24px; font-weight: 800; color: #fff;
  letter-spacing: -.4px; margin-bottom: 12px;
}
.cta-sec p {
  font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.6;
  margin-bottom: 28px;
}
.cta-btns { display: flex; flex-direction: column; gap: 10px; }
.btn-white {
  background: #fff; color: var(--blue);
  font-size: 15px; font-weight: 800;
}
.btn-white:active { background: var(--blue-bg); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  font-size: 15px; font-weight: 700;
}
.btn-outline-white:active { background: rgba(255,255,255,.1); }

/* ─── Contact Form ─── */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--text-md); }
.form-input, .form-textarea {
  width: 100%; padding: 12px 14px;
  font-family: var(--font); font-size: 15px; color: var(--text);
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color .15s;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ─── Footer ─── */
.site-footer {
  background: #0F172A; color: rgba(255,255,255,.7);
  padding: 36px 20px calc(36px + env(safe-area-inset-bottom));
}
.footer-logo {
  font-size: 18px; font-weight: 800; color: #fff;
  margin-bottom: 8px; display: block;
}
.footer-tagline {
  font-size: 13px; line-height: 1.55;
  margin-bottom: 24px;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,.5);
  transition: color .15s;
}
.footer-links a:active { color: #fff; }
.footer-sep { width: 100%; height: 1px; background: rgba(255,255,255,.08); margin-bottom: 20px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }

/* ─── Cookie Banner ─── */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  max-width: var(--maxw); margin: 0 auto;
  background: #fff; border-top: 2px solid var(--blue);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar p {
  font-size: 13px; color: var(--text-md); line-height: 1.55;
  margin-bottom: 12px;
}
.cookie-bar p a { color: var(--blue); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; }
.cookie-accept {
  flex: 1; height: 44px;
  background: var(--blue); color: #fff;
  font-family: var(--font); font-weight: 700; font-size: 14px;
  border-radius: var(--r-sm); border: none; cursor: pointer;
}
.cookie-accept:active { background: var(--blue-dk); }
.cookie-decline {
  height: 44px; padding: 0 16px;
  background: var(--bg-alt); color: var(--text-muted);
  font-family: var(--font); font-size: 13px;
  border-radius: var(--r-sm); border: 1px solid var(--border); cursor: pointer;
}

/* ─── Scroll Reveal ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.reveal.visible { opacity: 1; transform: none; }
