/* ============================================
   Saffar — Premium landing page styles
   ============================================ */

:root {
  --bg: #02140f;
  --bg-2: #04201a;
  --surface: #062b22;
  --surface-2: #073a2d;
  --line: rgba(110, 231, 183, 0.12);
  --line-strong: rgba(110, 231, 183, 0.22);

  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;
  --green-800: #065f46;
  --green-900: #064e3b;

  --text: #e8f7ee;
  --text-dim: #9ec0b0;
  --text-mute: #6e8b7d;

  --grad-1: linear-gradient(135deg, #10b981 0%, #059669 50%, #064e3b 100%);
  --grad-2: linear-gradient(135deg, #6ee7b7 0%, #10b981 100%);
  --grad-text: linear-gradient(135deg, #6ee7b7 0%, #10b981 60%, #34d399 100%);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 4px 14px rgba(0, 30, 20, 0.25);
  --shadow: 0 20px 50px -12px rgba(0, 30, 20, 0.55);
  --shadow-glow: 0 0 60px rgba(16, 185, 129, 0.25);

  --container: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

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

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

button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

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

/* ===== Background layers ===== */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 231, 183, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 183, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.bg-glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #10b981 0%, transparent 70%);
  top: -200px; right: -200px;
}
.bg-glow--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #047857 0%, transparent 70%);
  top: 40%; left: -250px;
}

main, header, footer { position: relative; z-index: 1; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--green-300);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.eyebrow--center { margin-left: auto; margin-right: auto; }
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.05); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--grad-2);
  color: #022c22;
  box-shadow: 0 10px 25px -8px rgba(16, 185, 129, 0.55);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px -10px rgba(16, 185, 129, 0.7);
}
.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--green-500);
}
.btn--ghost {
  color: var(--text-dim);
}
.btn--ghost:hover { color: var(--text); }
.btn--lg {
  padding: 15px 28px;
  font-size: 16px;
  border-radius: 14px;
}
.btn--block { width: 100%; justify-content: center; }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(2, 20, 15, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(2, 20, 15, 0.85);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-flex;
  width: 42px; height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}
.brand-mark svg { width: 28px; height: 28px; }
.nav__links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  color: var(--text-dim);
}
.nav__links a { transition: color 0.2s; position: relative; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--line);
  background: rgba(2, 20, 15, 0.95);
}
.nav__mobile a {
  padding: 12px 0;
  color: var(--text-dim);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:last-child { border-bottom: 0; margin-top: 12px; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-dim);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__stats div {
  display: flex;
  flex-direction: column;
}
.hero__stats strong {
  font-size: 26px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.hero__stats span {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}

/* ===== Phone mockup ===== */
.phone {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #0a3a2e 0%, #052519 100%);
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 0 2px rgba(110, 231, 183, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone--main {
  transform: rotate(-3deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-12px); }
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #02140f;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #022c22 0%, #052b22 100%);
  border-radius: 32px;
  padding: 50px 20px 24px;
  overflow: hidden;
  position: relative;
}
.phone__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.phone__icons { display: flex; gap: 4px; }
.phone__icons span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green-400);
}
.phone__hello {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.phone__sub {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.phone__search {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.phone__search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 4px 0;
}
.phone__search-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 0 6px 22px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--green { background: var(--green-400); box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15); }
.dot--red { background: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15); }
.phone__btn {
  width: 100%;
  background: var(--grad-2);
  color: #022c22;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 18px;
}
.phone__card {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px;
}
.phone__driver {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.phone__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-2);
  color: #022c22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.phone__name {
  font-size: 13px;
  font-weight: 600;
}
.verified {
  color: var(--green-400);
  font-size: 11px;
  margin-left: 2px;
}
.phone__rating {
  font-size: 11px;
  color: var(--text-mute);
}
.phone__price {
  margin-left: auto;
  font-weight: 700;
  color: var(--green-300);
  font-size: 14px;
}
.phone__route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-dim);
}
.phone__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--green-400), transparent);
  border-radius: 2px;
}

/* ===== Device mockup with real screenshots ===== */
.device {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  width: 100%;
  height: 100%;
}

.device__glow {
  position: absolute;
  width: 380px;
  height: 580px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(110, 231, 183, 0.35), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(16, 185, 129, 0.25), transparent 60%);
  filter: blur(50px);
  z-index: 0;
  border-radius: 50%;
  opacity: 0.85;
  animation: deviceGlow 8s ease-in-out infinite;
}
@keyframes deviceGlow {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.device__frame {
  position: relative;
  z-index: 1;
  width: 290px;
  height: 600px;
  background: linear-gradient(155deg, #1a4d3f 0%, #0a3a2d 35%, #052519 70%, #02140f 100%);
  border-radius: 46px;
  padding: 11px;
  box-shadow:
    0 60px 120px -25px rgba(0, 0, 0, 0.8),
    0 30px 60px -20px rgba(0, 30, 20, 0.7),
    0 0 0 1.5px rgba(110, 231, 183, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  transform: rotateY(-9deg) rotateX(4deg) rotate(-2deg);
  animation: deviceFloat 7s ease-in-out infinite;
  transition: transform 0.6s var(--ease);
}
.device:hover .device__frame {
  transform: rotateY(-4deg) rotateX(2deg) rotate(-1deg) translateY(-4px);
}
@keyframes deviceFloat {
  0%, 100% { transform: rotateY(-9deg) rotateX(4deg) rotate(-2deg) translateY(0); }
  50% { transform: rotateY(-9deg) rotateX(4deg) rotate(-2deg) translateY(-12px); }
}
.device:hover .device__frame { animation-play-state: paused; }

.device__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #02140f;
  border-radius: 0 0 14px 14px;
  z-index: 3;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.6);
}

.device__screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #02140f;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.6);
}

.screens {
  position: relative;
  width: 100%;
  height: 100%;
  background: #022c22;
}

.screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
  pointer-events: none;
}
.screen-img.is-active {
  opacity: 1;
  transform: scale(1);
}
.screen-img.is-broken { display: none; }

/* Subtle screen reflection */
.device__reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 30%,
    transparent 50%,
    transparent 100%
  );
  pointer-events: none;
  border-radius: 36px;
  mix-blend-mode: overlay;
}

/* Carousel dots */
.device__dots {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.device__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.device__dot:hover { background: rgba(110, 231, 183, 0.45); }
.device__dot.is-active {
  background: var(--green-400);
  width: 26px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
}
.device__dot.is-broken { display: none; }

/* Floating chips */
.float-chip {
  position: absolute;
  background: rgba(7, 58, 45, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: floatChip 5s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 13px; font-weight: 700; }
.float-chip span { display: block; font-size: 11px; color: var(--text-dim); }
.float-chip__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.float-chip--1 { top: 8%; left: 0; animation-delay: 0s; z-index: 4; }
.float-chip--2 { bottom: 14%; right: 0; animation-delay: 1.5s; z-index: 4; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Trust badges ===== */
.trust {
  padding: 30px 0 60px;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), rgba(6, 95, 70, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.trust__item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.trust__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__item h3 { font-size: 16px; margin-bottom: 4px; }
.trust__item p { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.55; }

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}
.section--alt {
  background:
    radial-gradient(ellipse at center, rgba(16, 185, 129, 0.04), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(6, 78, 59, 0.04) 50%, transparent 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section__sub {
  font-size: 17px;
  color: var(--text-dim);
  margin: 0;
}

/* ===== Features grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: linear-gradient(180deg, rgba(7, 58, 45, 0.5) 0%, rgba(7, 58, 45, 0.2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--green-700);
}
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(6, 95, 70, 0.1));
  border: 1px solid var(--line-strong);
  color: var(--green-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 16%; right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-700), transparent);
  z-index: 0;
}
.step {
  background: rgba(7, 58, 45, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  text-align: center;
  z-index: 1;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.step__num {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad-2);
  color: #022c22;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  box-shadow: 0 10px 25px -8px rgba(16, 185, 129, 0.5);
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--text-dim); margin: 0; line-height: 1.6; }

/* ===== Screenshots ===== */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}
.shot {
  text-align: center;
}
.shot__label {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}
.phone--small {
  width: 220px;
  height: 440px;
  border-radius: 36px;
  padding: 12px;
}
.phone--small .phone__notch { width: 80px; height: 18px; }
.phone--small .phone__screen { padding: 38px 16px 18px; border-radius: 26px; }
.phone__screen--alt {
  background: linear-gradient(180deg, #052b22 0%, #022c22 100%);
}

.map-mock {
  position: relative;
  height: 220px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 95, 70, 0.04));
  border-radius: 16px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-mock::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 231, 183, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 183, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  z-index: 2;
}
.map-pin--a { top: 14%; left: 18%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2); }
.map-pin--b { bottom: 12%; right: 14%; background: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2); }
.map-line { position: absolute; inset: 0; width: 100%; height: 100%; }

.phone__bottom-card {
  position: absolute;
  left: 16px; right: 16px; bottom: 18px;
  background: rgba(7, 58, 45, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 12px 14px;
}

.wallet-card {
  background: var(--grad-1);
  border-radius: 16px;
  padding: 18px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.wallet-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 80px; height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.wallet-card span { font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.wallet-card strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.wallet-card__row {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}
.tx {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.tx:last-child { border-bottom: 0; }
.tx span { color: var(--text-dim); }
.tx strong { font-weight: 600; }
.tx strong.pos { color: var(--green-300); }

.earn-big {
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 8px 0 16px;
  letter-spacing: -0.025em;
}
.earn-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
}
.earn-row span { color: var(--text-dim); }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  margin-top: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}
.bars div {
  flex: 1;
  background: var(--grad-2);
  border-radius: 4px;
  opacity: 0.85;
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__copy p {
  font-size: 16px;
  color: var(--text-dim);
  margin: 16px 0;
  line-height: 1.7;
}
.about__copy strong { color: var(--green-300); font-weight: 700; }
.about__metrics {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about__metrics div { display: flex; flex-direction: column; }
.about__metrics strong {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.about__metrics span {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}
.about__visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about__card {
  background: linear-gradient(135deg, rgba(7, 58, 45, 0.7), rgba(7, 58, 45, 0.3));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  position: relative;
}
.about__card::before {
  content: '"';
  position: absolute;
  top: 0; left: 18px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--green-700);
  line-height: 1;
  opacity: 0.5;
}
.about__quote {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.about__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.about__person strong { display: block; font-size: 14px; font-weight: 700; }
.about__person span { display: block; font-size: 12px; color: var(--text-mute); }
.about__card--mini { transform: translateX(28px); }
.about__card--mini .about__quote { font-size: 14px; }

/* ===== CTA band ===== */
.cta-band {
  padding: 80px 0 100px;
}
.cta-card {
  background:
    radial-gradient(ellipse at top right, rgba(110, 231, 183, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(6, 95, 70, 0.5), transparent 60%),
    linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 231, 183, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 183, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  position: relative;
}
.cta-card p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
}
.cta-card__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  transition: all 0.25s var(--ease);
}
.btn-store:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
  border-color: var(--green-500);
}
.btn-store div { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-top { font-size: 11px; color: var(--text-dim); }
.store-name { font-size: 17px; font-weight: 700; }

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(2, 20, 15, 0.8) 100%);
  border-top: 1px solid var(--line);
  padding-top: 70px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 320px;
  margin: 14px 0 20px;
  line-height: 1.6;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.25s var(--ease);
}
.footer__socials a:hover {
  color: var(--green-300);
  border-color: var(--green-700);
  transform: translateY(-2px);
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--green-300);
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--text); }
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}
.footer__contact svg { color: var(--green-400); flex-shrink: 0; }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-mute);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { min-height: 540px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__card--mini { transform: none; }
  .nav__links { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta .btn--primary { display: none; }
  .nav.is-open .nav__mobile { display: flex; }

  .hero { padding: 50px 0 60px; }
  .hero__title { font-size: 42px; }
  .hero__stats { flex-wrap: wrap; gap: 20px; }
  .hero__stats strong { font-size: 22px; }

  .trust__grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .section__head { margin-bottom: 40px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps::before { display: none; }

  .shots { grid-template-columns: 1fr; gap: 50px; }

  .about__metrics { gap: 24px; flex-wrap: wrap; }
  .about__metrics strong { font-size: 22px; }

  .cta-card { padding: 50px 24px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

  .float-chip--1 { top: 4%; left: -10px; padding: 10px 12px; }
  .float-chip--2 { bottom: 6%; right: -10px; padding: 10px 12px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 36px; }
  .phone { width: 240px; height: 480px; }
  .phone__screen { padding: 44px 16px 20px; }
}

/* ============================================
   Legal pages (Privacy / Terms / Refund)
   ============================================ */

.legal-body { scroll-padding-top: 100px; }

.legal-hero {
  padding: 70px 0 50px;
  position: relative;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--green-300); }
.breadcrumbs span[aria-hidden] { color: var(--text-mute); }
.breadcrumbs__current { color: var(--green-300); font-weight: 500; }

.legal-hero__title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 18px;
}
.legal-hero__sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 32px;
  line-height: 1.65;
}
.legal-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  background: rgba(7, 58, 45, 0.5);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.legal-meta__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.06);
}
.legal-meta__item span {
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.legal-meta__item strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.legal-section { padding: 30px 0 100px; }
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

/* TOC */
.toc {
  position: sticky;
  top: 96px;
}
.toc__inner {
  background: rgba(7, 58, 45, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-300);
  margin-bottom: 14px;
  font-weight: 700;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.toc ol li { counter-increment: toc; }
.toc ol a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.4;
  transition: all 0.2s var(--ease);
  border-left: 2px solid transparent;
}
.toc ol a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
  flex-shrink: 0;
  padding-top: 1px;
}
.toc ol a:hover {
  color: var(--text);
  background: rgba(16, 185, 129, 0.06);
}
.toc ol a:hover::before { color: var(--green-300); }
.toc ol a.is-active {
  color: var(--green-300);
  background: rgba(16, 185, 129, 0.1);
  border-left-color: var(--green-400);
}

/* Prose */
.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dim);
}
.prose__intro {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 95, 70, 0.04));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 50px;
}
.prose__intro p {
  margin: 0;
  color: var(--text);
  font-size: 16.5px;
}
.prose__intro strong { color: var(--green-300); }

.prose h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 56px 0 18px;
  scroll-margin-top: 100px;
  position: relative;
  padding-left: 18px;
}
.prose h2::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px;
  background: var(--grad-2);
  border-radius: 4px;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--green-300);
  margin: 28px 0 10px;
  letter-spacing: -0.005em;
}
.prose p {
  margin: 0 0 16px;
}
.prose strong {
  color: var(--text);
  font-weight: 700;
}
.prose a {
  color: var(--green-300);
  text-decoration: underline;
  text-decoration-color: rgba(110, 231, 183, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.prose a:hover { text-decoration-color: var(--green-300); }
.prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose ul li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 6px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

/* Callout */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  border: 1px solid;
}
.callout p { margin: 0; line-height: 1.6; font-size: 14.5px; }
.callout__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.callout__icon svg { width: 22px; height: 22px; }
.callout--warn {
  background: rgba(251, 191, 36, 0.06);
  border-color: rgba(251, 191, 36, 0.25);
  color: #fde68a;
}
.callout--warn .callout__icon { color: #fbbf24; }
.callout--info {
  background: rgba(16, 185, 129, 0.06);
  border-color: var(--line-strong);
  color: var(--text);
}
.callout--info .callout__icon { color: var(--green-300); }

/* Contact card */
.contact-card {
  background: linear-gradient(135deg, rgba(7, 58, 45, 0.7), rgba(7, 58, 45, 0.3));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  margin: 24px 0 30px;
  overflow: hidden;
}
.contact-card__row {
  display: grid;
  grid-template-columns: 44px 110px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none !important;
  transition: background 0.2s;
}
.contact-card__row:last-child { border-bottom: 0; }
.contact-card__row[href]:hover {
  background: rgba(16, 185, 129, 0.06);
}
.contact-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-300);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon svg { width: 18px; height: 18px; }
.contact-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  font-weight: 600;
}
.contact-card__value {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

.prose__outro {
  margin-top: 50px;
  padding: 22px 26px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
  color: var(--text);
}
.prose__outro p { margin: 0; }

/* Related cards */
.legal-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.legal-related h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-300);
  margin-bottom: 18px;
  font-weight: 700;
}
.legal-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.legal-related__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  background: rgba(7, 58, 45, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  text-decoration: none !important;
}
.legal-related__card:hover {
  border-color: var(--green-700);
  transform: translateY(-2px);
  background: rgba(7, 58, 45, 0.6);
}
.legal-related__card strong {
  font-size: 15px;
  color: var(--text) !important;
  font-weight: 700;
}
.legal-related__card span {
  font-size: 13px;
  color: var(--text-mute);
}

@media (max-width: 1024px) {
  .legal-grid { grid-template-columns: 1fr; gap: 30px; }
  .toc { position: static; }
  .toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .toc ol a { padding: 6px 12px; font-size: 13px; border-left: 0; border-radius: 999px; background: rgba(16, 185, 129, 0.05); }
  .toc ol a.is-active { border-left: 0; }
}

@media (max-width: 600px) {
  .legal-hero { padding: 40px 0 30px; }
  .legal-hero__title { font-size: 36px; }
  .legal-related__grid { grid-template-columns: 1fr; }
  .contact-card__row { grid-template-columns: 40px 1fr; row-gap: 2px; padding: 14px 18px; }
  .contact-card__icon { grid-row: span 2; }
  .prose h2 { font-size: 21px; }
}

/* ============================================
   Contact page
   ============================================ */

.contact-section {
  padding: 30px 0 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.contact-info__sub {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 28px;
  line-height: 1.6;
}

.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(7, 58, 45, 0.55), rgba(7, 58, 45, 0.25));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact-tile:hover {
  border-color: var(--green-700);
  transform: translateY(-2px);
}
.contact-tile__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-tile__icon svg { width: 22px; height: 22px; }
.contact-tile__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-tile__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  font-weight: 700;
}
.contact-tile__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s;
}
a.contact-tile__value:hover { color: var(--green-300); }
.contact-tile__hint {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 2px;
}

.contact-socials {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-socials h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-300);
  font-weight: 700;
  margin-bottom: 14px;
}

/* Form */
.contact-form-wrap {
  position: relative;
}
.contact-form {
  background:
    radial-gradient(ellipse at top right, rgba(16, 185, 129, 0.08), transparent 60%),
    linear-gradient(135deg, rgba(7, 58, 45, 0.65), rgba(2, 44, 34, 0.5));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.contact-form__head {
  margin-bottom: 28px;
}
.contact-form__head h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.contact-form__head p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.form-field__opt {
  color: var(--text-mute);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(2, 20, 15, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-mute);
}
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
  border-color: var(--line-strong);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green-500);
  background: rgba(2, 20, 15, 0.85);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.select-wrap {
  position: relative;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}
.select-wrap select option {
  background: #052b22;
  color: var(--text);
}
.select-wrap svg {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-dim);
  pointer-events: none;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin: 6px 0 22px;
  cursor: pointer;
  line-height: 1.5;
}
.form-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(2, 20, 15, 0.6);
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.form-check input:checked {
  background: var(--green-500);
  border-color: var(--green-500);
}
.form-check input:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #022c22;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-check a {
  color: var(--green-300);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(110, 231, 183, 0.3);
}
.form-check a:hover { text-decoration-color: var(--green-300); }

.form-success {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--green-700);
  border-radius: 12px;
  animation: slideIn 0.4s var(--ease);
}
.form-success__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-500);
  color: #022c22;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-success__icon svg { width: 22px; height: 22px; }
.form-success strong { display: block; font-size: 14px; color: var(--text); }
.form-success span { display: block; font-size: 13px; color: var(--text-dim); }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FAQ */
.contact-faq {
  padding: 60px 0 100px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at center, rgba(16, 185, 129, 0.04), transparent 70%);
}
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: rgba(7, 58, 45, 0.4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq__item[open] {
  border-color: var(--line-strong);
  background: rgba(7, 58, 45, 0.6);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-300); }
.faq__icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.25s;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--green-300);
  border-radius: 2px;
  top: 50%; left: 50%;
}
.faq__icon::before {
  width: 10px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 2px; height: 10px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] .faq__icon { background: var(--green-500); }
.faq__item[open] .faq__icon::before { background: #022c22; }
.faq__item[open] .faq__icon::after {
  background: #022c22;
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq__item p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.65;
}
.faq__item p a {
  color: var(--green-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form { padding: 30px 24px; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field { margin-bottom: 16px; }
  .contact-form { padding: 26px 20px; }
  .contact-form__head h2 { font-size: 22px; }
  .faq__item summary { padding: 16px 18px; font-size: 15px; }
  .faq__item p { padding: 0 18px 18px; }
}
