/* ============================================================
   Vuka — main.css
   Custom styles for index.html
   Tailwind utility classes are handled by the CDN script.
   Only non-Tailwind custom rules live here.
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --green:            #3DBF50;
  --green-dark:       #35a845;
  --green-tint:       rgba(61, 191, 80, 0.08);
  --green-highlight:  rgba(61, 191, 80, 0.15);
  --near-black:       #111111;
  --mid-grey:         #888888;
  --light-grey:       #F4F4F4;
  --white:            #FFFFFF;
  --font-heading:     'Plus Jakarta Sans', sans-serif;
  --font-body:        'Inter', sans-serif;
  --radius-card:      12px;
  --radius-button:    100px;
  --transition:       all 0.2s ease;
}

/* ── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--near-black);
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ────────────────────────────────────────────────── */
.nav-scrolled {
  border-bottom: 1px solid #F4F4F4;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

/* ── Hero ───────────────────────────────────────────────── */
.highlight {
  background: rgba(61, 191, 80, 0.15);
  border-radius: 4px;
  padding: 0 4px;
}

.hero-img-wrap { position: relative; }
.hero-img-wrap::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 240px;
  height: 240px;
  background: #3DBF50;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 100px;
  height: 100px;
  background: #3DBF50;
  border-radius: 50%;
  opacity: 0.12;
  z-index: 0;
}

.hero-badge {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3DBF50;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: 100px;
  height: 52px;
  padding: 0 32px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #35a845;
  transform: scale(1.02);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #3DBF50;
  border: 2px solid #3DBF50;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: 100px;
  height: 52px;
  padding: 0 32px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover { background: rgba(61, 191, 80, 0.06); }

.btn-inverted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #3DBF50;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: 100px;
  height: 52px;
  padding: 0 40px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-inverted:hover {
  background: #f0fdf2;
  transform: scale(1.02);
}

/* ── Section label ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3DBF50;
}

/* ── How it works ───────────────────────────────────────── */
.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 40px;
  color: rgba(61, 191, 80, 0.18);
  line-height: 1;
}

.step-icon {
  width: 44px;
  height: 44px;
  background: rgba(61, 191, 80, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-connector {
  display: none;
  width: 2px;
  height: 32px;
  background: repeating-linear-gradient(
    to bottom,
    #3DBF50 0px, #3DBF50 6px,
    transparent 6px, transparent 12px
  );
  margin: 0 auto;
}

/* ── Testimonials ───────────────────────────────────────── */
.big-quote {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: #3DBF50;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -16px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.35s ease;
}
.testimonial-card { flex: 0 0 100%; }

/* ── Avatars ────────────────────────────────────────────── */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(61, 191, 80, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: #3DBF50;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Pricing ────────────────────────────────────────────── */
.feature-check {
  color: #3DBF50;
  font-weight: 600;
  margin-right: 8px;
  flex-shrink: 0;
}

.badge-popular {
  background: #3DBF50;
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  border-radius: 100px;
  padding: 4px 12px;
  display: inline-block;
}

/* ── Form ───────────────────────────────────────────────── */
.form-input {
  width: 100%;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #111111;
  background: #ffffff;
  transition: border-color 0.2s ease;
  outline: none;
}
.form-input:focus {
  border-color: #3DBF50;
  box-shadow: 0 0 0 3px rgba(61, 191, 80, 0.12);
}
.form-input::placeholder { color: #aaaaaa; }

/* ── WhatsApp float ─────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ── Collage ─────────────────────────────────────────────── */
.collage-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}
.collage-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #E8E8E8;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.collage-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: var(--green);
}
.collage-large { grid-row: 1 / 3; }
.collage-large .collage-preview { min-height: 260px; }
.collage-browser {
  background: #F0F0F0;
  padding: 6px 10px 0;
  border-bottom: 1px solid #E0E0E0;
  flex-shrink: 0;
}
.collage-dots { display: flex; gap: 4px; margin-bottom: 5px; }
.collage-dots span { display: block; width: 8px; height: 8px; border-radius: 50%; }
.collage-dots span:nth-child(1) { background: #FF5F57; }
.collage-dots span:nth-child(2) { background: #FFBD2E; }
.collage-dots span:nth-child(3) { background: #28C840; }
.collage-url {
  font-size: 10px; color: #888;
  background: #fff; border-radius: 4px;
  padding: 3px 8px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}
.collage-url::before {
  content: ''; width: 6px; height: 6px;
  background: var(--green); border-radius: 50%;
  display: block; flex-shrink: 0;
}
.collage-preview {
  position: relative; overflow: hidden;
  background: #F4F4F4; flex: 1;
}
.collage-preview iframe {
  width: 1280px; border: none;
  transform-origin: top left;
  pointer-events: none; display: block;
}
.collage-card:not(.collage-large) .collage-preview { height: 108px; flex: none; }
.collage-label {
  padding: 7px 10px;
  display: flex; align-items: center; gap: 7px;
  border-top: 1px solid #F0F0F0; flex-shrink: 0;
}
.collage-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 100px; white-space: nowrap;
}
.cbadge-barber     { background: #111;     color: #e8b84b; }
.cbadge-salon      { background: #fdf0e8;  color: #a67a52; }
.cbadge-freelancer { background: #EEF2FF;  color: #4F46E5; }
.cbadge-mechanic   { background: #FFF4E6;  color: #D97706; }
.cbadge-tutor      { background: #F0FDF4;  color: #16A34A; }
.collage-name {
  font-size: 11px; font-weight: 600;
  color: var(--near-black);
  font-family: var(--font-heading);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .mobile-connector { display: block; }
  .desktop-arrow    { display: none !important; }
  .collage-grid     { display: none; }
  .collage-mobile-cta { display: block !important; }
}
@media (max-width: 479px) {
  .val-grid { grid-template-columns: 1fr !important; }
}
