/* ============================================================
   Life in Ruaka — styles
   Vibrant / modern, TikTok-inspired (cyan + pink on dark hero)
   ============================================================ */

:root {
  --bg:        #0d0d14;
  --bg-alt:    #14141f;
  --surface:   #1a1a28;
  --surface-2: #22223a;
  --text:      #f4f4f8;
  --muted:     #a9a9c2;
  --line:      rgba(255, 255, 255, 0.09);

  --cyan:  #25f4ee;
  --pink:  #fe2c55;
  --wa:    #25d366;

  --grad: linear-gradient(100deg, #25f4ee 0%, #7b6cff 45%, #fe2c55 100%);

  --radius:   18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(254, 44, 85, 0.6); }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn--whatsapp { background: var(--wa); color: #06331b; }
.btn--whatsapp:hover { box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.55); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand__mark {
  width: 38px; height: 38px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(254, 44, 85, 0.35));
}
.brand__text { font-size: 1.06rem; font-weight: 600; }
.brand__text strong { font-weight: 800; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); font-size: .96rem; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.btn { color: #fff; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 86px 0 78px; overflow: hidden; text-align: center; }
.hero__glow {
  position: absolute; inset: -30% 0 auto 0; height: 620px;
  background:
    radial-gradient(45% 55% at 25% 30%, rgba(37, 244, 238, 0.20), transparent 70%),
    radial-gradient(45% 55% at 78% 25%, rgba(254, 44, 85, 0.20), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }

.pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero__title { font-size: clamp(2.1rem, 6vw, 3.9rem); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { color: var(--muted); font-size: 1.1rem; margin: 22px auto 0; max-width: 640px; }

.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.hero__stats { display: flex; justify-content: center; gap: 44px; margin-top: 52px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.9rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .88rem; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin-top: 6px; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); }
.muted { color: var(--muted); margin-top: 16px; }
.narrow { max-width: 620px; margin-left: auto; margin-right: auto; }
.center-head { text-align: center; margin-bottom: 50px; }

.grid { display: grid; gap: 46px; align-items: center; }
.grid--2 { grid-template-columns: 1.05fr 1fr; }

.link-arrow { display: inline-block; margin-top: 22px; color: var(--cyan); font-weight: 600; transition: gap .2s; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- About cards ---------- */
.cards { display: grid; gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(37,244,238,0.4); }
.card__icon { font-size: 1.7rem; margin-bottom: 8px; }
.card h3 { font-size: 1.12rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform .2s, border-color .2s, background .2s;
}
.service:hover { transform: translateY(-4px); border-color: rgba(254,44,85,0.45); background: var(--surface-2); }
.service__icon {
  font-size: 1.9rem; width: 60px; height: 60px; margin: 0 auto 14px;
  display: grid; place-items: center; border-radius: 16px;
  background: rgba(255,255,255,0.05);
}
.service h3 { font-size: 1.08rem; }

/* ---------- WhatsApp banner ---------- */
.banner {
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
  background: linear-gradient(120deg, rgba(37,211,102,0.14), rgba(37,244,238,0.08));
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 24px;
  padding: 44px 46px;
  flex-wrap: wrap;
}
.banner__text { flex: 1 1 340px; }
.wa-icon { font-size: 1.1rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: var(--shadow);
}
.price-card__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .5px;
  padding: 6px 16px; border-radius: 100px; white-space: nowrap;
}
.price-card__name { font-size: 1.25rem; font-weight: 700; }
.price-card__desc { color: var(--muted); font-size: .92rem; margin-top: 4px; min-height: 42px; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price__amt { font-size: 2rem; font-weight: 800; }
.price__per { color: var(--muted); font-size: .92rem; }
.price-list { list-style: none; margin: 20px 0 26px; display: grid; gap: 12px; }
.price-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: .95rem; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--cyan); font-weight: 800;
}
.price-card .btn { margin-top: auto; }

.fineprint { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 34px; }
.fineprint a { color: var(--cyan); font-weight: 600; }

/* ---------- Socials ---------- */
.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.social {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 18px;
  text-align: center;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.social:hover { transform: translateY(-4px); }
.social__icon { font-size: 2rem; margin-bottom: 6px; }
.social__name { font-weight: 700; font-size: 1.05rem; }
.social__handle { color: var(--muted); font-size: .88rem; }
.social--tiktok:hover    { border-color: var(--cyan);  box-shadow: 0 14px 34px -18px var(--cyan); }
.social--instagram:hover { border-color: #e1306c;      box-shadow: 0 14px 34px -18px #e1306c; }
.social--facebook:hover  { border-color: #1877f2;      box-shadow: 0 14px 34px -18px #1877f2; }
.social--whatsapp:hover  { border-color: var(--wa);    box-shadow: 0 14px 34px -18px var(--wa); }

/* ---------- Coming soon ---------- */
.coming { text-align: center; max-width: 640px; margin: 0 auto; }
.coming .btn { margin-top: 26px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 54px 0 30px; background: var(--bg-alt); }
.footer__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__tag { margin-top: 12px; max-width: 260px; font-size: .92rem; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__links a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .86rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--2 { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .socials { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .price-card--featured { order: -1; }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
    transform: translateY(-140%);
    transition: transform .3s ease;
    z-index: -1;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 12px 4px; }
  .nav__links a.btn { margin-top: 8px; text-align: center; }
  .hero { padding: 60px 0 56px; }
  .hero__stats { gap: 30px; }
  .section { padding: 60px 0; }
  .banner { padding: 32px 26px; }
}

@media (max-width: 480px) {
  .services, .socials { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
