/* ==========================================================================
   Verbara — landing page styles
   Ported from the original Tailwind/React source to plain CSS.
   ========================================================================== */


:root {
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, serif;

  --color-bg: #f6f7fc;
  --color-card: #ffffff;
  --color-ink: #16183a;
  --color-ink-soft: #5b5f7a;
  --color-line: #e3e6f4;
  --color-brand: #6B21A8;
  --color-brand-dark: #581C87;
  --color-brand-tint: #ecebfc;
  --color-coral: #ff6b4d;
  --color-coral-tint: #ffe9e2;
  --color-ok: #1e9e63;
  --color-ok-tint: #e4f7ee;
  --color-gold: #c9931f;

  --shadow-brand: 0 10px 24px -8px rgba(174, 61, 240, 0.45);
  --shadow-pin: 0 10px 24px -10px rgb(20 22 43 / 0.35);
  --shadow-card: 0 18px 40px -24px rgb(20 22 43 / 0.28);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --page-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
}

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

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

h1, h2, h3 {
  margin: 0;
}

p {
  margin: 0;
}

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

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 32px;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
  border: none;
  transition: transform 150ms ease-out, background-color 150ms ease-out,
    box-shadow 150ms ease-out, border-color 150ms ease-out, color 150ms ease-out;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: var(--color-brand-dark);
}

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--color-line);
  color: var(--color-ink);
}

.btn-ghost:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.btn-light {
  background: #fff;
  color: var(--color-brand-dark);
  box-shadow: 0 10px 24px -8px rgb(20 22 43 / 0.18);
}

.btn-light:hover {
  background: #f1f1ff;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-line);
  background: rgb(246 247 252 / 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-row {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.logo svg {
  width: 24px;
  height: 24px;
  color: var(--color-brand);
}

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

.header-actions .text-link {
  display: inline;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-soft);
  transition: color 150ms ease;
}

.header-actions .text-link:hover {
  color: var(--color-ink);
}

@media (min-width: 640px) {
  .header-actions .text-link {
    font-size: 15px;
  }
}

/* ---------- hero ---------- */

.hero {
  padding: 40px 0 24px;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 64px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 80px;
  }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 32px;
  }
}

.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 4.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.underline-wrap {
  position: relative;
  display: inline-block;
}

.underline-wrap svg {
  position: absolute;
  pointer-events: none;
  left: 0;
  width: 100%;
  color: rgb(75 61 240 / 0.5);
}

.underline-wrap.headline svg {
  bottom: -4px;
  height: 12px;
}

.hero-lede {
  margin-top: 24px;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-path {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
}

.hero-path .arrow {
  font-weight: 500;
  color: var(--color-ink-soft);
}

.underline-wrap.word {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
}

.underline-wrap.word svg {
  bottom: -4px;
  height: 10px;
  color: rgb(75 61 240 / 0.55);
}

/* ---------- world map ---------- */

.map-block {
  position: relative;
}

.map-frame {
  position: relative;
  width: 100%;
}

.map-frame img.map-img {
  width: 100%;
  height: auto;
  user-select: none;
}

.map-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgb(91 95 122 / 0.5);
  pointer-events: none;
}

.map-pin {
  position: absolute;
  z-index: 1;
}

.pin-cluster {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pin-enter 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pin-cluster.left {
  transform: translateX(-85%);
}

.pin-cluster.right {
  transform: translateX(-15%);
}

.pin-cluster.center {
  transform: translateX(-50%);
}

.pin-photo-wrap {
  position: relative;
}

.pin-bubble {
  position: absolute;
  top: 0;
  z-index: 10;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--color-card);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-ink);
  box-shadow: var(--shadow-pin);
}

.pin-bubble.right {
  left: 90%;
}

.pin-bubble.left {
  right: 90%;
}

.pin-photo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: var(--shadow-pin);
  outline: 3px solid var(--color-card);
}

@media (min-width: 640px) {
  .pin-photo {
    width: 48px;
    height: 48px;
  }
}

.pin-city {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-ink);
}

.pin-role {
  font-size: 10px;
  line-height: 1;
  color: var(--color-ink-soft);
}

.pin-flag {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1);
  flex-shrink: 0;
}

.pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--color-brand);
  outline: 2px solid var(--color-card);
  animation: pulse-dot 2.4s ease-out infinite;
}

.map-caption {
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink-soft);
}

@media (max-width: 639px) {
  .map-pin.hide-mobile {
    display: none;
  }
}

@keyframes pin-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgb(75 61 240 / 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgb(75 61 240 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(75 61 240 / 0);
  }
}

/* ---------- feature strip ---------- */

.features {
  padding: 0 0 64px;
}

.features-card {
  display: grid;
  gap: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  background: var(--color-card);
  padding: 32px 20px;
}

@media (min-width: 768px) {
  .features-card {
    grid-template-columns: repeat(3, 1fr);
    padding: 40px 24px;
  }
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

@media (min-width: 768px) {
  .feature {
    padding: 12px 32px;
  }
  .feature + .feature {
    border-left: 1px solid var(--color-line);
    border-top: none;
  }
}

.feature + .feature {
  border-top: 1px solid var(--color-line);
}

@media (min-width: 768px) {
  .feature + .feature {
    border-top: none;
  }
}

.feature-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-icon.brand {
  background: var(--color-brand-tint);
  color: var(--color-brand);
}

.feature-icon.coral {
  background: var(--color-coral-tint);
  color: var(--color-coral);
}

.feature-icon.ok {
  background: var(--color-ok-tint);
  color: var(--color-ok);
}
.feature-icon.gold {
  background: rgb(201 147 31 / 0.15);
  color: var(--color-gold);
}

.feature h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  color: var(--color-ink);
}

.feature p {
  font-size: 14px;
  line-height: 1.3;
  color: var(--color-ink-soft);
}

/* ---------- community section ---------- */

.community {
  padding: 32px 0;
}

@media (min-width: 640px) {
  .community {
    padding: 48px 0;
  }
}

.community-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .community-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.community h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.community p {
  margin-top: 20px;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

.community .btn-ghost {
  margin-top: 32px;
}

.collage {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  height: 340px;
}

@media (min-width: 640px) {
  .collage {
    height: 400px;
  }
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
}

.blob.gold {
  left: 8%;
  top: 6%;
  width: 96px;
  height: 96px;
  background: rgb(201 147 31 / 0.2);
}

.blob.brand {
  right: 6%;
  top: 18%;
  width: 112px;
  height: 112px;
  background: rgb(75 61 240 / 0.15);
}

.blob.ok {
  bottom: 8%;
  left: 28%;
  width: 80px;
  height: 80px;
  background: rgb(30 158 99 / 0.2);
}

.collage figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.collage figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage figure.p1 {
  left: 6%;
  top: 14%;
  width: 42%;
  aspect-ratio: 3 / 4;
}

.collage figure.p2 {
  left: 38%;
  top: 4%;
  width: 26%;
  aspect-ratio: 1 / 1;
}

.collage figure.p3 {
  right: 8%;
  top: 12%;
  width: 38%;
  aspect-ratio: 4 / 5;
}

.collage figure.p4 {
  right: 4%;
  bottom: 2%;
  width: 32%;
  aspect-ratio: 4 / 5;
}

.collage figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.95);
  padding: 6px 10px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08);
}

.collage figure.p2 figcaption,
.collage figure.p4 figcaption {
  bottom: 8px;
  left: 8px;
  padding: 4px 8px;
}

.waveform {
  display: flex;
  height: 20px;
  align-items: flex-end;
  gap: 3px;
}

.collage figure.p2 .waveform,
.collage figure.p4 .waveform {
  height: 14px;
}

.wave-bar {
  display: block;
  width: 3px;
  border-radius: 999px;
  background: var(--color-brand);
  transform-origin: center bottom;
  animation: wave-bar 1.1s ease-in-out infinite;
}

@keyframes wave-bar {
  0%, 100% {
    transform: scaleY(0.35);
  }
  50% {
    transform: scaleY(1);
  }
}

/* ---------- final cta ---------- */

.final-cta {
  padding: 64px 0 80px;
}

.final-cta-box {background:linear-gradient(120deg,var(--color-brand) 0%,#6A3FE0 60%,#8B3FE0 100%);
  border-radius:var(--radius-md);padding:70px 40px;text-align:center;}
.final-cta-box h2{color:#fff;font-size:clamp(30px,3.6vw,44px);}
.final-cta-box p{color:#E4E1FF;margin-top:14px;font-size:17px;}
.final-cta-box .btn{margin-top:30px;}



.who-for { padding: 1px 0; }
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.who-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.who-tag {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.who-tag.brand { background: var(--brand-tint, #e8f0ff); color: var(--brand, #2451c9); }
.who-tag.coral { background: var(--coral-tint, #ffe8e2); color: var(--coral, #d94f36); }
.who-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin: 0 0 10px;
}
.who-card p {
  color: #6b6b6b;
  line-height: 1.6;
  margin: 0 0 20px;
}
@media (max-width: 720px) {
  .who-grid { grid-template-columns: 1fr; }
}
@media (min-width: 640px) {
  .final-cta-box {
    padding: 64px 40px;
  }
}

.final-cta h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.final-cta p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--color-ink-soft);
}

.final-cta .btn {
  margin-top: 32px;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 48px 0;
}

.footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (min-width: 640px) {
  .footer-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-row .logo {
  font-size: 18px;
}

.footer-row .logo svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

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

.footer-copy,
.footer-brand {
  font-size: 13px;
  color: rgb(91 95 122 / 0.8);
}

.footer-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

@media (min-width: 640px) {
  .footer-inner {
    padding: 0 32px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .wave-bar,
  .pin-cluster,
  .pin-dot {
    animation: none;
  }
}
