/* ===================================================
   FrontSafe Tariffs Page — Light Theme
   Matches main landing page design system.
   Unbounded (display) + Onest (body), teal accent on white.
   =================================================== */

/* ————— TOKENS ————— */
:root {
  --accent: #00d4aa;
  --accent-dark: #00b894;
  --accent-light: #e6faf5;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --navy: #0c1222;
  --navy-mid: #141d33;
  --navy-soft: #1a2540;
  --white: #ffffff;
  --bg: #fafbfc;
  --bg-alt: #f3f5f7;
  --ink: #1a1f36;
  --ink-secondary: #5a6178;
  --ink-muted: #9ca3b8;
  --border: #e5e8ee;
  --border-light: #eef0f4;
  --on-dark: #e8ecf2;
  --on-dark-soft: #8e96a8;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;
  --sh-sm: 0 1px 3px rgba(0,0,0,0.04);
  --sh-md: 0 4px 24px rgba(0,0,0,0.06);
  --sh-lg: 0 12px 48px rgba(0,0,0,0.08);
  --sh-card: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
}


/* ————— RESET ————— */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }
ul { list-style: none; }


/* ————— LAYOUT ————— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}


/* ————— SECTION HEADERS ————— */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-header--light h2 { color: var(--white); }
.section-header--light .section-tag { color: var(--accent); }
.section-header--light .section-desc { color: var(--on-dark-soft); }

.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  margin-top: 12px;
  max-width: 520px;
  line-height: 1.6;
}

.section-header--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}


/* ————— ANIMATIONS ————— */
.anim-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-up.vis { opacity: 1; transform: none; }


/* ===================================================
   NAV (matches main landing page exactly)
   =================================================== */
#main-nav {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border: 1px solid transparent;
  border-top: none;
  border-radius: 0 0 16px 16px;
}

#main-nav.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
  border-top: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo-img {
  height: 180px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: -10px;
}

.nav-links {
  display: flex;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-secondary);
  padding: 8px 16px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
}

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

.nav-link--active {
  color: var(--accent-dark) !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger--open span:nth-child(2) { opacity: 0; }
.nav-burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ===================================================
   HERO
   =================================================== */
.tariffs-hero {
  padding: 160px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.tariffs-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, rgba(0, 212, 170, 0.02) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.tariffs-hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.06) 0%, rgba(100, 150, 255, 0.03) 50%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.tariffs-hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.tariffs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 16px;
}

.tariffs-hero-sub {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  max-width: 540px;
  margin: 16px auto 0;
  line-height: 1.6;
}


/* ===================================================
   SAVINGS BLOCK
   =================================================== */
.savings-block {
  max-width: 700px;
  margin: 48px auto 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.savings-vs {
  display: flex;
  align-items: stretch;
}

.savings-card {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.savings-card--old .savings-amount {
  text-decoration: line-through;
  color: var(--ink-muted);
}

.savings-card--new {
  border-left: 1px solid var(--border);
}

.savings-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
}

.savings-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 8px;
}

.savings-card--new .savings-amount {
  color: var(--accent-dark);
}

.savings-unit {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.savings-note {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.savings-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 0;
}

.savings-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--accent-dark);
  position: absolute;
  z-index: 1;
  box-shadow: var(--sh-sm);
}

.savings-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--accent);
}

.savings-result-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.savings-result-amount {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}


/* ===================================================
   METRICS STRIP
   =================================================== */
.metrics-strip {
  padding: 64px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--sh-card);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 8px;
}

.metric-text {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}


/* ===================================================
   PRICING CARDS
   =================================================== */
.pricing-cards-section {
  padding: 48px 0 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.p-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--sh-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.p-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.p-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 4px 24px rgba(0, 212, 170, 0.12);
  background: var(--white);
  padding-top: 48px;
}

.p-card--featured:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(0, 212, 170, 0.18);
}

.p-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.p-card-head {
  margin-bottom: 24px;
}

.p-card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.p-card-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 4px;
  display: block;
}

.p-card-price {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.p-card-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.p-card-period {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.p-card-highlights {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-card-highlights li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
  line-height: 1.4;
}

.p-card-highlights li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-light);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300b894' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.p-card-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--ink);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.p-card-btn:hover {
  background: var(--bg-alt);
  border-color: var(--ink-muted);
  transform: translateY(-1px);
}

.p-card-btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.p-card-btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.25);
}

.p-card-trial {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.pricing-trial-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-secondary);
  margin-top: 32px;
}

.pricing-trial-note svg {
  flex-shrink: 0;
  color: var(--accent-dark);
}


/* ===================================================
   FEATURE TABLE
   =================================================== */
.features-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
}

.ftable-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ftable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
}

.ftable thead th {
  position: sticky;
  top: 60px;
  z-index: 10;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 24px;
  border-bottom: 2px solid var(--border);
}

.ftable-feature-col {
  width: 42%;
  text-align: left;
}

.ftable-plan-col {
  text-align: center;
  width: 19.33%;
}

.ftable-plan-col--pop {
  color: var(--accent-dark) !important;
}

/* Group header */
.ftable-group-header td {
  padding: 28px 24px 14px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent-light);
}

.ftable-icon {
  vertical-align: middle;
  margin-right: 8px;
  color: var(--accent-dark);
}

/* Feature rows */
.ftable-group tr:not(.ftable-group-header) td {
  border-bottom: 1px solid var(--border-light);
}

.ftable-feature {
  padding: 20px 24px;
  text-align: left;
}

.ftable-feature strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.ftable-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-top: 2px;
}

.ftable-val {
  padding: 20px 16px;
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.ftable-val--pop {
  background: rgba(0, 212, 170, 0.04);
}

.ftable-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Yes / No icons */
.ftable-yes,
.ftable-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
}

.ftable-yes {
  background: var(--accent-light);
}

.ftable-yes::before {
  content: '';
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300b894' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.ftable-no {
  background: var(--bg-alt);
}

.ftable-no::before {
  content: '';
  width: 12px; height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}


/* ===================================================
   FAQ
   =================================================== */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--accent-dark);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform 0.3s var(--ease), color 0.2s;
}

.faq-item--open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-dark);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item--open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 0 24px;
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.7;
}


/* ===================================================
   FINAL CTA (card-style)
   =================================================== */
.cta-section {
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(0, 212, 170, 0.06) 0%, rgba(108, 99, 255, 0.06) 50%, rgba(0, 180, 216, 0.06) 100%),
    url('/images/background/plufow-le-studio-X9X0MBr0tsQ-unsplash.jpg') center/cover no-repeat;
  background-blend-mode: overlay, soft-light;
}

.cta-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

.section-header--center { text-align: center; }
.section-desc { font-size: 1rem; color: var(--ink-secondary); margin-top: 8px; }

.cta-step--hidden { display: none; }

.cta-messengers {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.cta-messenger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.cta-messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.cta-messenger-btn--tg { background: #229ED9; color: var(--white); }
.cta-messenger-btn--max { background: var(--ink); color: var(--white); }
.cta-messenger-btn--max img { border-radius: 6px; }

.cta-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.cta-qr-toggle {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  background: var(--bg-alt);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cta-qr-toggle:hover { background: var(--white); color: var(--ink); }
.cta-qr-codes { display: flex; justify-content: center; gap: 32px; }
.cta-qr-codes--hidden { display: none; }
.cta-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.cta-qr-img { width: 140px; height: 140px; border-radius: var(--r-sm); object-fit: contain; }

.cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cta-divider span {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.cta-alt-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-align: center;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cta-alt-btn:hover {
  background: var(--bg-alt);
  border-color: var(--ink-muted);
  color: var(--ink);
}

.cta-form { margin-top: 32px; }
.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cta-field { margin-bottom: 0; }
.cta-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}
.cta-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.cta-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.cta-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 28px;
  margin-top: 20px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--r-sm);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cta-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.3);
}

.cta-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: color 0.2s;
}
.cta-back-btn:hover { color: var(--accent-dark); }

.form-success { text-align: center; padding: 24px; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-top: 12px;
  margin-bottom: 4px;
}
.form-success p { font-size: 0.88rem; color: var(--ink-secondary); }

/* Consent gate */
.cta-consent--gate {
  margin: 24px auto 8px;
  text-align: center;
  display: flex;
  justify-content: center;
}
.cta-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  cursor: pointer;
  line-height: 1.4;
}
.cta-consent-label input {
  margin-top: 2px;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.cta-consent-label a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-consent-label a:hover { color: var(--accent-dark); }

.cta-consent-text {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-align: center;
  display: block;
}
.cta-consent-text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-consent-text a:hover { color: var(--accent-dark); }

/* Gated state */
.tariff-cta-gated { transition: opacity 0.3s ease; }
.tariff-cta-gated.is-locked { opacity: 0.45; pointer-events: none; user-select: none; }
.tariff-cta-gated-el[disabled],
a.tariff-cta-gated-el[tabindex="-1"] { cursor: not-allowed; }


/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  padding: 40px 0 32px;
  margin: 0 auto;
  max-width: 1200px;
  border: none;
  border-top: 1px solid var(--border-light);
  background: var(--white);
  color: var(--ink);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent); }

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-legal-links a {
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
}

.footer-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
  color: var(--ink-muted);
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--ink-muted);
  opacity: 0.7;
}

/* Legacy */
.footer-inner { display: flex; align-items: center; gap: 16px; }
.footer-logo-big { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--ink-muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; margin-left: auto; }
.footer-links a { font-size: 0.82rem; color: var(--ink-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }


/* ===================================================
   CONTACT MODAL
   =================================================== */
.contact-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-overlay.active {
  display: flex;
}

.contact-modal {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px;
  max-width: 520px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  animation: modalIn 0.35s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.contact-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 1.4rem;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.contact-close:hover {
  background: var(--border);
  color: var(--ink);
}

.contact-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin-bottom: 28px;
}

.contact-step--hidden {
  display: none;
}

/* Messenger buttons */
.contact-messengers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: var(--white);
}

.contact-messenger-btn--tg {
  background: #229ED9;
}

.contact-messenger-btn--max {
  background: #1a1a2e;
}

.contact-messenger-btn--max img {
  border-radius: 6px;
}

.contact-messenger-max {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.contact-qr-toggle {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-dark);
  padding: 8px 0;
  text-align: center;
  transition: color 0.2s;
  cursor: pointer;
}

.contact-qr-toggle:hover {
  color: var(--accent);
}

.contact-max-qr {
  max-width: 180px;
  margin: 0 auto 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  transition: max-height 0.3s var(--ease), opacity 0.3s;
}

.contact-max-qr--hidden {
  display: none;
}

/* Divider */
.contact-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}

.contact-divider::before,
.contact-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.contact-divider span {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.contact-alt-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  transition: background 0.2s, border-color 0.2s;
}

.contact-alt-btn:hover {
  background: var(--bg-alt);
  border-color: var(--ink-muted);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-field input::placeholder {
  color: var(--ink-muted);
}

/* Consent checkbox */
.contact-consent {
  margin-top: 4px;
}

.contact-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--ink-secondary);
  cursor: pointer;
  line-height: 1.4;
}

.contact-consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-consent-label a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.contact-consent-label a:hover {
  color: var(--accent);
}

.contact-submit-btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.contact-submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.25);
}

.contact-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.contact-back-btn:hover {
  color: var(--ink);
}

/* Success */
.contact-success {
  text-align: center;
  padding: 24px 0;
}

.contact-success svg {
  margin: 0 auto 16px;
}

.contact-success h3 {
  text-align: center;
}

.contact-success p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  margin-top: 8px;
}


/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .savings-vs {
    flex-direction: column;
  }

  .savings-card--new {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .savings-divider {
    width: auto;
    height: 0;
    padding: 24px 0;
  }

  .savings-arrow {
    position: relative;
  }

  .savings-arrow svg {
    transform: rotate(90deg);
  }

  .ftable-desc {
    display: none;
  }

  .ftable-feature { padding: 12px 12px; }
  .ftable-val { padding: 12px 8px; font-size: 0.82rem; }
  .ftable thead th { padding: 12px 8px; font-size: 0.78rem; }
  .ftable-feature-col { width: 36%; }

  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; gap: 12px; }
  .footer-links { margin-left: 0; justify-content: center; gap: 12px 20px; }
  .footer-links a { font-size: 0.8rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }

  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { padding: 8px 16px; font-size: 0.82rem; }

  .nav-links.nav-links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

  .nav-links.nav-links--open a {
    padding: 12px 16px;
    border-radius: var(--r-sm);
  }

  .tariffs-hero {
    padding: 120px 0 56px;
  }

  .tariffs-hero h1 {
    font-size: 1.6rem;
    letter-spacing: -0.02em;
  }

  .tariffs-hero-sub {
    font-size: 0.95rem;
  }

  .savings-block {
    margin-top: 32px;
  }

  .savings-amount {
    font-size: 1.6rem;
  }

  .metric-number {
    font-size: 1.5rem;
  }

  .p-card-amount {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .ftable {
    min-width: 580px;
  }

  .cta-section { padding: 56px 0; }
  .cta-card { padding: 32px 24px; }
  .cta-messengers { flex-direction: column; align-items: center; gap: 12px; }
  .cta-messenger-btn { width: 100%; justify-content: center; }
  .cta-form-row { grid-template-columns: 1fr; }

  .contact-modal {
    padding: 32px 24px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}
