/* ==========================================================================
   RMZH SMART — Design tokens
   ========================================================================== */
:root {
  --navy-950: #05080f;
  --navy-900: #090f1e;
  --navy-850: #0c1426;
  --navy-800: #0f1b33;
  --navy-700: #16233f;
  --navy-600: #1e2e52;
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.05);

  --green: #4dd08a;
  --green-light: #86ecb4;
  --blue: #1aa6e0;
  --blue-light: #4fc3f7;
  --blue-deep: #16336b;
  --cyan: #2fd9d9;
  --violet: #7c5cf0;

  --grad-brand: linear-gradient(135deg, var(--green) 0%, var(--blue) 55%, var(--blue-deep) 100%);
  --grad-text: linear-gradient(90deg, var(--green-light) 0%, var(--blue-light) 55%, var(--cyan) 100%);
  --grad-glow: radial-gradient(circle, rgba(26, 166, 224, 0.35) 0%, rgba(26, 166, 224, 0) 70%);

  --text: #f3f6fb;
  --text-dim: #aab4c8;
  --text-mute: #737f96;

  --shadow-lg: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(77, 208, 138, 0.15);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;

  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--text);
  cursor: auto;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p {
  margin: 0;
}

input, textarea {
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  padding: 96px 0;
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

/* ==========================================================================
   Background texture (lightweight, no canvas/JS)
   ========================================================================== */
.stars-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--navy-950);
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 32% 8%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 70% 15%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 55%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 10% 85%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 55% 40%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 92% 80%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 62% 92%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 46% 22%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 78% 38%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 15% 55%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 95% 12%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-repeat: repeat;
  background-size: 600px 600px, 600px 600px, 600px 600px, 600px 600px, 600px 600px,
    600px 600px, 600px 600px, 600px 600px, 600px 600px, 600px 600px, 600px 600px,
    600px 600px, 600px 600px, 600px 600px, 40px 40px;
}

.glow-a {
  position: absolute;
  top: -120px;
  inset-inline-end: -160px;
  width: 520px;
  height: 520px;
  background: var(--grad-glow);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.glow-b {
  position: absolute;
  bottom: -160px;
  inset-inline-start: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(77, 208, 138, 0.22) 0%, rgba(77, 208, 138, 0) 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.glow-c {
  position: absolute;
  top: 30%;
  inset-inline-start: -10%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(129, 92, 246, 0.18) 0%, rgba(129, 92, 246, 0) 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(77, 208, 138, 0.35);
  background: rgba(77, 208, 138, 0.08);
  color: var(--green-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 8px var(--green-light);
}

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

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-top: 14px;
  letter-spacing: -0.3px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16px;
  margin-top: 14px;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-brand);
  color: #06120c;
  box-shadow: 0 12px 30px -10px rgba(26, 166, 224, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(26, 166, 224, 0.65);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
  padding: 10px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s;
}

.lang-toggle:hover {
  border-color: var(--green);
  background: rgba(77, 208, 138, 0.08);
}

.nav-cta-mobile {
  display: none;
  margin-top: 6px;
  text-align: center;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 68px;
    inset-inline: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(9, 14, 27, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }
}


/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero .container > * {
  min-width: 0;
}

.hero-content h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin-top: 20px;
}

.hero-content h1 .text-gradient {
  text-shadow: 0 0 30px rgba(77, 208, 138, 0.35), 0 0 60px rgba(26, 166, 224, 0.25);
}

.hero-content .eyebrow {
  margin-bottom: 4px;
}

.hero-content p.lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  color: var(--text-dim);
}

.hero-highlight strong {
  color: var(--green-light);
  font-weight: 800;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  min-width: 150px;
}

.stat-chip .icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 208, 138, 0.12);
  color: var(--green-light);
  flex-shrink: 0;
}

.stat-chip strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.stat-chip span {
  font-size: 12px;
  color: var(--text-mute);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  transition: transform 0.25s var(--ease);
}

.platform-pill:hover {
  transform: translateY(-2px);
}

.pill-whatsapp {
  color: #6bf0a3;
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.18);
}

.pill-instagram {
  color: #ff9ecb;
  border-color: rgba(221, 42, 123, 0.4);
  background: rgba(221, 42, 123, 0.1);
  box-shadow: 0 0 18px rgba(221, 42, 123, 0.18);
}

.pill-telegram {
  color: #7cd2f7;
  border-color: rgba(41, 169, 235, 0.4);
  background: rgba(41, 169, 235, 0.1);
  box-shadow: 0 0 18px rgba(41, 169, 235, 0.18);
}

.pill-website {
  color: var(--green-light);
  border-color: rgba(77, 208, 138, 0.4);
  background: rgba(77, 208, 138, 0.1);
  box-shadow: 0 0 18px rgba(77, 208, 138, 0.18);
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-mute);
}

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-content p.lead {
    max-width: none;
  }
  .hero {
    padding-top: 130px;
  }
}

/* ==========================================================================
   WhatsApp chat mockup
   ========================================================================== */
.chat-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  margin-inline: auto;
}

.chat-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
}

.chat-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-850) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #06120c;
  font-size: 14px;
  flex-shrink: 0;
}

.chat-header-info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
}

.chat-header-info .status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--green-light);
}

.chat-header-info .status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 6px var(--green-light);
}

.chat-body {
  height: 360px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
}

.chat-day {
  align-self: center;
  font-size: 11px;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 4px;
}

.msg {
  max-width: 80%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.msg.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.msg-in {
  align-self: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-start-start-radius: 4px;
}

.msg-out {
  align-self: end;
  background: linear-gradient(135deg, rgba(77, 208, 138, 0.9), rgba(26, 166, 224, 0.9));
  color: #06120c;
  font-weight: 600;
  border-end-end-radius: 4px;
}

.msg-time {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.65;
  font-weight: 400;
}

.typing-indicator {
  align-self: start;
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  border-start-start-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.typing-indicator.show {
  opacity: 1;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: typing-bounce 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.chat-input-bar .fake-input {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-mute);
  font-size: 13px;
}

.chat-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06120c;
  flex-shrink: 0;
}

.chat-float-badge {
  padding: 9px 14px;
  border-radius: var(--radius-md);
  background: var(--navy-800);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* ==========================================================================
   Platform marquee strip
   ========================================================================== */
.marquee-strip {
  padding: 28px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 26s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

[dir="rtl"] .marquee-track {
  animation-name: marquee-rtl;
}

@keyframes marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.marquee-track span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mute);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.marquee-track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
}

.compare-card.bad {
  border-color: rgba(239, 90, 90, 0.25);
}

.compare-card.good {
  border-color: rgba(77, 208, 138, 0.3);
  background: linear-gradient(180deg, rgba(77, 208, 138, 0.06), rgba(26, 166, 224, 0.03));
}

.compare-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compare-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 14.5px;
  color: var(--text-dim);
}

.compare-card ul li:first-child {
  border-top: none;
}

.compare-card .mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}

.compare-card.bad .mark {
  background: rgba(239, 90, 90, 0.15);
  color: #ef5a5a;
}

.compare-card.good .mark {
  background: rgba(77, 208, 138, 0.18);
  color: var(--green-light);
}

@media (max-width: 780px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Brand divider
   ========================================================================== */
.brand-divider {
  display: flex;
  justify-content: center;
  padding: 20px 24px 60px;
}

.brand-divider img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(77, 208, 138, 0.12));
}

/* ==========================================================================
   Features grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 208, 138, 0.35);
  background: rgba(255, 255, 255, 0.035);
}

.feature-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-mute);
  margin-bottom: 14px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06120c;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
}

@media (max-width: 980px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(77, 208, 138, 0.1);
  border: 1px solid rgba(77, 208, 138, 0.3);
  color: var(--green-light);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-dim);
}

.steps-note {
  text-align: center;
  margin-top: 36px;
  color: var(--text-dim);
  font-size: 14px;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Loss calculator
   ========================================================================== */
.calc-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.calc-fact strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.calc-fact span {
  font-size: 12.5px;
  color: var(--text-mute);
}

.calc-interactive {
  text-align: center;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.calc-result {
  font-size: 40px;
  font-weight: 800;
  margin: 6px 0 2px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.calc-result-label {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 20px;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.calc-slider-label strong {
  color: var(--green-light);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
  cursor: pointer;
}

@media (max-width: 860px) {
  .calc-card { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: rgba(26, 166, 224, 0.12);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--text-dim);
}

@media (max-width: 980px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Industries
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.industry-chip {
  padding: 22px 12px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dim);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.industry-chip:hover {
  border-color: rgba(77, 208, 138, 0.35);
  color: var(--text);
  transform: translateY(-3px);
}

.industry-chip .emoji {
  display: block;
  font-size: 22px;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Platforms
   ========================================================================== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.platform-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
}

.icon-whatsapp {
  background: #25d366;
}

.icon-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 75%, #515bd4 100%);
}

.icon-telegram {
  background: #29a9eb;
}

.icon-website {
  background: var(--grad-brand);
}

.platform-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.platform-card p {
  font-size: 13px;
  color: var(--text-mute);
}

.platform-card .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-light);
}

.platform-card .status .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-light);
}

@media (max-width: 900px) {
  .platforms-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .platforms-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-align: start;
}

.faq-question .plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  font-size: 16px;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
  background: var(--green);
  border-color: var(--green);
  color: #06120c;
}

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

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--green-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-more {
  margin-top: 12px;
}

.faq-more[hidden] {
  display: none;
}

.faq-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.faq-toggle-icon {
  transition: transform 0.3s var(--ease);
}

#faqToggleBtn.open .faq-toggle-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(77, 208, 138, 0.08), rgba(26, 166, 224, 0.03));
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
}

.contact-info ul li .icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(77, 208, 138, 0.12);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-mute);
  text-align: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(77, 208, 138, 0.1);
  border: 1px solid rgba(77, 208, 138, 0.3);
  color: var(--green-light);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.form-success.show {
  display: flex;
}

.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(239, 90, 90, 0.1);
  border: 1px solid rgba(239, 90, 90, 0.3);
  color: #ef5a5a;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.form-error.show {
  display: flex;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(77, 208, 138, 0.1), rgba(26, 166, 224, 0.05));
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  max-width: 620px;
  margin: 14px auto 16px;
}

.final-cta p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 30px;
}

.final-cta .hero-cta {
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}


.footer-brand-text {
  color: var(--text-mute);
  font-size: 13.5px;
  line-height: 1.85;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--text-mute);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--green-light);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--green);
  color: var(--green-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-mute);
}

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

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #06120c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 90;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), var(--shadow-lg);
  z-index: 95;
  animation: whatsapp-pulse 2.6s ease-in-out infinite;
}

.whatsapp-fab svg {
  width: 34px;
  height: 34px;
}

.whatsapp-fab:hover {
  animation-play-state: paused;
  transform: scale(1.06);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (max-width: 640px) {
  .whatsapp-fab {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-fab svg {
    width: 29px;
    height: 29px;
  }
}
