/* ─── Variables ─────────────────────────────────────── */
:root {
  --dark:    #0d0d0d;
  --black:   #1a1a1a;
  --red:     #e8345a;
  --muted:   #a1a1a1;
  --white:   #ffffff;
  --nav-h:   70px;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a, button, [type="button"], [type="submit"], [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  background: radial-gradient(ellipse at top, #4a0a1a 0%, #1a0008 50%, #000 100%);
  background-attachment: fixed;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100%;
}
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: transparent;
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  overflow-y: visible;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}
main { flex: 1 0 auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ─── Font utilities ─────────────────────────────────── */
.font-display, h1, h2, h3, .btn-primary, .btn-outline, .btn-lg, .step-num,
.service-title, .step-title, .voice-title, .cta-title, .nav-actions .btn-primary,
.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* ─── Animations ─────────────────────────────────────── */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.05); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes word-reveal {
  from { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* ── Scroll animations ────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero word animation ──────────────────────────────────── */
.hero-word {
  display: inline-block;
  opacity: 0;
  animation: word-reveal 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ── Cursor glow ──────────────────────────────────────────── */
#cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,52,90,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* ── Card hover glow ──────────────────────────────────────── */
.service-card {
  transition: border-color 0.25s, box-shadow 0.35s, transform 0.25s;
}
.service-card:hover {
  border-color: rgba(232,52,90,0.35) !important;
  box-shadow: 0 0 28px rgba(232,52,90,0.12), 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}
.problem-card {
  transition: border-color 0.25s, box-shadow 0.35s;
}
.problem-card:hover {
  border-color: rgba(232,52,90,0.3) !important;
  box-shadow: 0 0 24px rgba(232,52,90,0.10), 0 4px 20px rgba(0,0,0,0.25);
}
.testimonial-card {
  transition: border-color 0.25s, box-shadow 0.35s;
}
.testimonial-card:hover {
  border-color: rgba(232,52,90,0.2) !important;
  box-shadow: 0 0 32px rgba(232,52,90,0.08);
}

/* ─── Single page-wide atmosphere ────────────────────── */
.page-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* ─── Light reflection overlay ───────────────────────── */
.light-reflection {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  background:
    radial-gradient(ellipse 90% 42% at 50% -6%,   rgba(232,52,90,.28) 0, transparent 62%),
    radial-gradient(ellipse 70% 36% at 12% 22%,   rgba(255,100,130,.16) 0, transparent 54%),
    radial-gradient(ellipse 60% 30% at 88% 16%,   rgba(232,52,90,.15) 0, transparent 55%),
    radial-gradient(ellipse 50% 24% at 72% 52%,   rgba(255,100,130,.11) 0, transparent 55%),
    radial-gradient(ellipse 58% 30% at 18% 58%,   rgba(232,52,90,.10) 0, transparent 55%),
    radial-gradient(ellipse 70% 34% at 50% 84%,   rgba(255,100,130,.13) 0, transparent 55%),
    radial-gradient(ellipse 48% 24% at 82% 88%,   rgba(232,52,90,.11) 0, transparent 55%);
}

/* ─── Glow orbs ─────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.glow-orb-red  { background: rgba(232,52,90,.48); }
.glow-orb-pink { background: rgba(255,100,130,.34); }

/* ─── Dot grid ──────────────────────────────────────── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232,52,90,.24) 1px, transparent 0);
  background-size: 24px 24px;
}

/* ─── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: 'JetBrains Mono', monospace;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.btn-primary:hover { background: rgba(232,52,90,.9); transform: scale(1.05); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--red);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 6px;
  border: 1px solid var(--red);
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'JetBrains Mono', monospace;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.btn-outline:hover { background: rgba(232,52,90,.1); }

.btn-lg { padding: 14px 32px; font-size: 1.125rem; }
.btn-call { border-radius: 12px; }

/* ─── NAVIGATION ─────────────────────────────────────── */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background 0.3s, border-color 0.3s;
  overflow: visible;
  pointer-events: none;
}
.nav-logo, .nav-links, .nav-actions, .hamburger { pointer-events: auto; }
.nav-wrapper.scrolled {
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.05);
}

/* Red radial glow behind nav */
.nav-glow {
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(232,52,90,.28) 0, transparent 72%);
  pointer-events: none;
}
/* Red gradient line at very bottom of nav */
.nav-line {
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,52,90,.75), transparent);
  pointer-events: none;
}

.nav-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo-img { height: 145px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex: 1;
}
.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--red); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background:
    radial-gradient(circle at 20% 0%, rgba(232,52,90,.18), transparent 48%),
    rgba(12,11,13,.68);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background .2s;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 10px 26px rgba(0,0,0,.16);
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  color: var(--white);
  border-color: rgba(232,52,90,.36);
  background:
    radial-gradient(circle at 20% 0%, rgba(232,52,90,.26), transparent 48%),
    rgba(18,15,19,.86);
}
.lang-btn:focus-visible,
.lang-option:focus-visible {
  outline: 2px solid rgba(232,52,90,.78);
  outline-offset: 2px;
}
.lang-caret {
  color: var(--red);
  font-size: .7rem;
  line-height: 1;
}

/* ── Language dropdown ─────────────────────────────────────── */
.lang-wrap { position: relative; }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: rgba(0,0,0,.97);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
  cursor: pointer;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  text-align: left;
  transition: background .15s, color .15s;
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: rgba(255,255,255,.06); color: var(--white); }
.lang-option.active { color: var(--red); }
.lang-abbr { font-family: 'JetBrains Mono', monospace; font-size: .7rem; font-weight: 700; min-width: 22px; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-option { text-align: right; flex-direction: row-reverse; }

.lang-segmented-wrap {
  position: relative;
}
.lang-segmented {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(52px, 1fr);
  align-items: center;
  min-height: 42px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 36px rgba(0,0,0,.18);
}
.lang-segmented .lang-option {
  width: auto;
  min-width: 52px;
  min-height: 32px;
  justify-content: center;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,.42);
  font-family: 'JetBrains Mono', monospace;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 0;
}
.lang-segmented .lang-option:hover {
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.72);
}
.lang-segmented .lang-option.active {
  background: rgba(90,62,137,.74);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 18px rgba(0,0,0,.22);
}
.lang-segmented .lang-abbr {
  min-width: 0;
  font-size: inherit;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
}
.hidden { display: none !important; }

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 72vh;
  min-height: 72svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 110px;
  background: transparent !important;
}
.hero::before,
.section::before,
.svc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(232,52,90,.22) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: .34;
}
.section::before { opacity: .16; }
.svc-hero {
  background: transparent !important;
}
.svc-hero.dot-grid {
  position: relative;
  inset: auto;
  background-size: auto;
}
.svc-tag {
  display: none !important;
}
.svc-hero::before { opacity: .34; }
.svc-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  pointer-events: none;
  background: transparent;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  pointer-events: none;
  background: transparent;
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 72px;
  text-align: center;
}
.hero-h1 {
  font-size: clamp(2rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── SECTION HEAD ───────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.section-intro {
  font-size: 0.95rem;
  color: rgba(161,161,161,0.8);
  max-width: 680px;
  margin: 16px auto 0;
  line-height: 1.65;
  text-align: center;
}

/* ─── PROBLEMS ───────────────────────────────────────── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.problem-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s;
}
.problem-card:hover { border-color: rgba(232,52,90,.2); }
.problem-side, .solution-side { flex: 1; }

.label-problem {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(161,161,161,.6);
  margin-bottom: 4px;
}
.label-solution {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232,52,90,.6);
  margin-bottom: 4px;
}
.problem-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.solution-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--red);
}
.arrow-icon {
  flex-shrink: 0;
  color: var(--red);
}
@media (max-width: 600px) {
  .arrow-icon svg { transform: rotate(90deg); }
}

/* ─── SERVICES ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 24px 32px;
  transition: border-color 0.2s;
  cursor: pointer;
}
.service-card:hover { border-color: rgba(232,52,90,.2); }

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(232,52,90,.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}
.service-sub {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 8px;
  line-height: 1.6;
}
.service-desc {
  font-size: 0.8rem;
  color: rgba(161,161,161,0.72);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}
.service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--red);
  font-family: 'JetBrains Mono', monospace;
  margin-top: auto;
}

/* ─── STEPS ──────────────────────────────────────────── */
.steps-row {
  display: flex;
  gap: 48px;
}
.step {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.step-desc {
  color: var(--muted);
  line-height: 1.6;
}

#about .section-head { margin-bottom: 0; }

/* ─── TRUSTED BY ─────────────────────────────────────── */
.trust-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 40px;
}
.client-logo {
  width: 384px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  opacity: 1;
  filter: none;
}
.client-logo:hover { opacity: 1; filter: none; }

.see-in-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.see-in-action:hover { color: var(--white); border-color: rgba(255,255,255,.2); }

.testimonial-card {
  max-width: 672px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s;
  position: relative;
}
.testimonial-card:hover { border-color: rgba(232,52,90,.1); }

.quote-mark {
  font-family: 'JetBrains Mono', monospace;
  font-size: 5rem;
  line-height: 1;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
  user-select: none;
}
.testimonial-card blockquote {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,.9);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-author {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ─── VOICE CARD ─────────────────────────────────────── */
.voice-card {
  max-width: 896px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.voice-card-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(232,52,90,.18) 0, transparent 72%);
  pointer-events: none;
}
.voice-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232,52,90,.1);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.voice-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.voice-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 12px;
  line-height: 1.7;
}
.voice-sub2 {
  font-size: 0.875rem;
  color: rgba(161,161,161,.6);
  margin-bottom: 32px;
}

/* ─── CTA ────────────────────────────────────────────── */
.cta-card {
  max-width: 896px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(232,52,90,.11) 0%, transparent 48%, rgba(255,100,130,.08) 100%);
  border-radius: 16px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(232,52,90,.2) 0, transparent 72%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
}
.cta-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 64px 24px 0;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
}
.footer-logo { height: 64px; width: auto; object-fit: contain; margin-bottom: 12px; }
.footer-tagline { font-size: 0.875rem; color: var(--muted); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.2s;
  padding: 8px 4px;
  font-family: 'DM Sans', sans-serif;
}
.footer-legal a:hover { color: var(--red); }

/* ─── Floating button ────────────────────────────────── */
.float-btn {
  position: fixed;
  bottom: max(24px, calc(16px + env(safe-area-inset-bottom)));
  right: max(24px, calc(16px + env(safe-area-inset-right)));
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(232,52,90,.3);
  transition: box-shadow 0.2s;
}
.float-btn:hover { box-shadow: 0 4px 36px rgba(232,52,90,.5); }

/* ─── Site chat widget ───────────────────────────────────── */
.chatbot-shell {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 260;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.chatbot-toggle {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(232,52,90,.35), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .2s, box-shadow .2s;
}
.chatbot-toggle:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 22px 56px rgba(232,52,90,.45), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(16,16,18,.94);
  box-shadow: 0 28px 90px rgba(0,0,0,.55), 0 0 60px rgba(232,52,90,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.98);
  transform-origin: bottom right;
  transition: opacity .2s, transform .2s;
}
.chatbot-open .chatbot-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.chatbot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232,52,90,.28), transparent 62%),
    rgba(255,255,255,.02);
}
.chatbot-kicker {
  margin: 0 0 2px;
  color: var(--red);
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chatbot-head h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}
.chatbot-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}
.chatbot-list {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chatbot-msg {
  display: flex;
}
.chatbot-msg-user {
  justify-content: flex-end;
}
.chatbot-bubble {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 14px;
  color: rgba(255,255,255,.90);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .92rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.chatbot-msg-user .chatbot-bubble {
  background: rgba(232,52,90,.92);
  border-color: rgba(255,255,255,.10);
  color: var(--white);
}
.chatbot-form {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(10,10,10,.86);
}
.chatbot-input {
  width: 100%;
  min-height: 42px;
  max-height: 120px;
  resize: none;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: var(--white);
  padding: 10px 12px;
  font: inherit;
  line-height: 1.35;
  outline: none;
}
.chatbot-input:focus {
  border-color: rgba(232,52,90,.6);
  box-shadow: 0 0 0 3px rgba(232,52,90,.12);
}
.chatbot-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.chatbot-loading .chatbot-send {
  opacity: .55;
  pointer-events: none;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { flex-direction: column; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .svc-hero {
    min-height: 62vh !important;
    min-height: 62svh !important;
    padding-top: 92px !important;
  }
  .svc-hero-inner,
  .svc-desc,
  .feature-card,
  .demo-card,
  .demo-card-big,
  .pricing-mini-card,
  .case-study-card,
  .cta-svc {
    text-align: center !important;
  }
  .svc-hero-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .svc-title {
    max-width: 100% !important;
    font-size: clamp(2.35rem, 10vw, 3rem) !important;
    line-height: 1.12 !important;
    overflow-wrap: break-word !important;
  }
  .svc-hero-sub,
  .svc-desc,
  .cta-svc-sub,
  .feature-desc,
  .demo-copy,
  .cs-desc {
    width: 100% !important;
    max-width: calc(100vw - 40px) !important;
    overflow-wrap: break-word !important;
  }
  .svc-hero-actions {
    align-items: center !important;
    justify-content: center !important;
  }
  .svc-hero-actions .btn-primary,
  .svc-hero-actions .btn-secondary {
    width: min(100%, 250px) !important;
    justify-content: center !important;
  }
  .features-grid,
  .demo-grid,
  .pricing-mini,
  .offerings-grid {
    gap: 12px !important;
    margin-top: 1.35rem !important;
  }
  .feature-card,
  .demo-card,
  .demo-card-big,
  .pricing-mini-card,
  .case-study-card,
  .offering-card,
  .cta-svc {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 1.25rem !important;
  }
  .feature-icon,
  .cs-logo,
  .cs-logo-img {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .pricing-mini-list,
  .feature-list,
  .who-grid {
    align-items: center !important;
    justify-content: center !important;
  }
  .pricing-mini-list li {
    padding-left: 0 !important;
    text-align: center !important;
  }
  .pricing-mini-list li::before {
    position: static !important;
    margin-right: .35rem !important;
    content: "\2192" !important;
  }
  .section:has(.features-grid),
  .section:has(.demo-grid),
  .section:has(.pricing-mini),
  .section:has(.case-study-card),
  .section:has(.offerings-grid),
  .section:has(.cta-svc) {
    padding-top: 2.4rem !important;
    padding-bottom: 2.4rem !important;
  }
  .cta-svc .btn-primary,
  .cta-svc .btn-secondary {
    width: 100% !important;
    max-width: 280px !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    line-height: 1.35 !important;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 12px;
    right: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 0 0 14px 14px;
    background:
      radial-gradient(ellipse at 18% 0%, rgba(232,52,90,.24), transparent 60%),
      linear-gradient(145deg, rgba(22,20,22,.98), rgba(8,8,9,.98));
    box-shadow: 0 24px 70px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 49;
  }
  .nav-links.open { display: grid; }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 40px;
    width: 100%;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(255,255,255,.045);
    color: rgba(255,255,255,.82);
    font-size: .95rem;
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--white);
    border-color: rgba(232,52,90,.36);
    background: rgba(232,52,90,.12);
  }
  .nav-inner {
    justify-content: flex-start;
    gap: 8px;
    padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  }
  .nav-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    margin-left: 0;
    gap: 0;
  }
  .nav-actions .btn-primary {
    display: none;
  }
  .nav-actions .lang-wrap {
    width: auto;
  }
  .nav-actions .lang-btn {
    min-height: 32px;
    padding: 0 8px;
    gap: 4px;
    font-size: .68rem;
  }
  .nav-actions .lang-btn svg {
    width: 13px;
    height: 13px;
  }
  .nav-actions .lang-dropdown {
    min-width: 138px;
    border-color: rgba(232,52,90,.20);
  }
  .nav-actions .lang-option {
    min-height: 38px;
    padding: 9px 12px;
    font-size: .82rem;
  }
  .hamburger {
    display: flex;
    flex: 0 0 auto;
    margin-left: auto;
  }
  #problems,
  #services,
  #demo,
  #process,
  #contact {
    padding: 34px 0;
  }
  #about .trust-logos {
    gap: 10px;
    margin-bottom: 32px;
  }
  #about .testimonial-card {
    padding: 24px 22px;
  }
  #about .quote-mark {
    font-size: 3.8rem;
    margin-bottom: 8px;
  }
  #about .testimonial-card blockquote {
    margin-bottom: 16px;
    line-height: 1.6;
  }
  #problems .section-head,
  #services .section-head,
  #process .section-head {
    margin-bottom: 24px;
  }
  #about .section-head {
    margin-bottom: 20px;
  }
  #problems .section-title,
  #services .section-title,
  #process .section-title {
    margin-bottom: 10px;
  }
  #problems .section-sub,
  #services .section-sub,
  #process .section-sub {
    font-size: 1rem;
    line-height: 1.45;
  }
  #problems .problems-grid,
  #services .services-grid {
    gap: 10px;
  }
  #problems .problem-card,
  #services .service-card {
    padding: 16px;
  }
  #problems .problem-card {
    gap: 6px;
    align-items: center;
    text-align: center;
  }
  #problems .problem-side,
  #problems .solution-side {
    width: 100%;
  }
  #problems .problem-text,
  #problems .solution-text {
    font-size: 1rem;
  }
  #problems .arrow-icon {
    align-self: center;
  }
  #services .service-card {
    align-items: center;
    text-align: center;
  }
  #services .service-icon-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }
  #services .service-title {
    margin-bottom: 8px;
  }
  #services .service-sub {
    margin-bottom: 14px;
    line-height: 1.42;
  }
  #services .service-link {
    justify-content: center;
  }
  #demo .voice-card,
  #contact .cta-card {
    padding: 28px 20px;
  }
  #demo .voice-icon-wrap {
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
  }
  #demo .voice-title,
  #contact .cta-title {
    margin-bottom: 14px;
  }
  #demo .voice-sub {
    margin-bottom: 8px;
    line-height: 1.5;
  }
  #demo .voice-sub2 {
    margin-bottom: 22px;
  }
  #process .steps-row {
    gap: 18px;
  }
  #process .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  #process .step-num {
    width: 42px;
    height: 42px;
  }
  #process .step-title {
    margin-bottom: 4px;
  }
  .problems-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .problem-card { flex-direction: column; align-items: flex-start; }
  .arrow-icon svg { transform: rotate(90deg); }
  .voice-card, .cta-card { padding: 40px 24px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer {
    padding: 28px 18px 0;
    background: transparent;
  }
  .footer-inner {
    gap: 16px;
    padding-bottom: 18px;
  }
  .footer-brand {
    padding: 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
  }
  .footer-logo {
    height: 38px;
    margin-bottom: 8px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .footer-col {
    min-height: 128px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
  }
  .footer-col-title {
    margin-bottom: 9px;
    font-size: .68rem;
  }
  .footer-col ul {
    gap: 7px;
  }
  .footer-col a {
    display: inline-flex;
    padding: 2px 0;
    font-size: .82rem;
    line-height: 1.25;
  }
  .footer-bottom {
    padding: 16px 0 max(16px, env(safe-area-inset-bottom));
  }
  .footer-legal {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .footer-legal a {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
  }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline,
  .cta-card .btn-primary,
  .cta-card .btn-outline,
  .about-cta-card .btn-primary,
  .price-card-cta {
    width: 100%;
    max-width: 280px;
    min-height: 56px;
    padding-left: 14px;
    padding-right: 14px;
    white-space: normal;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .cta-card,
  .about-cta-card {
    max-width: 100%;
  }
  .chatbot-shell {
    right: 16px;
    bottom: 16px;
  }
  .chatbot-panel {
    left: 50%;
    right: auto;
    width: calc(100vw - 32px);
    height: min(560px, calc(100vh - 104px));
    bottom: 74px;
    transform: translate(-50%, 14px) scale(.98);
    transform-origin: bottom center;
  }
  .chatbot-open .chatbot-panel {
    transform: translate(-50%, 0) scale(1);
  }
}

/* ─── Mobile / Instagram WebView stability ───────────────── */
@media (max-width: 768px) {
  .glow-orb {
    filter: blur(80px);
    opacity: 0.6;
  }

  .light-reflection {
    background:
      radial-gradient(ellipse 90% 36% at 50% -4%, rgba(232,52,90,.18) 0, transparent 62%),
      radial-gradient(ellipse 74% 34% at 10% 28%, rgba(255,100,130,.10) 0, transparent 56%),
      radial-gradient(ellipse 70% 32% at 88% 74%, rgba(232,52,90,.10) 0, transparent 58%);
  }

  /* backdrop-filter causes WebView rendering bugs on many Android devices */
  .nav-wrapper.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0,0,0,.97);
  }
  .nav-links.open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background:
      radial-gradient(ellipse at 18% 0%, rgba(232,52,90,.24), transparent 60%),
      linear-gradient(145deg, rgba(22,20,22,.99), rgba(8,8,9,.99));
  }
  .lang-dropdown {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0,0,0,.99);
  }
}

@media (max-width: 360px) {
  .nav-inner {
    gap: 6px;
    padding: 0 max(10px, env(safe-area-inset-right)) 0 max(10px, env(safe-area-inset-left));
  }
  .nav-actions .lang-btn {
    min-width: 36px;
    padding: 0 7px;
  }
  .nav-actions .lang-btn svg,
  .nav-actions .lang-caret {
    display: none;
  }
}
