/* =========================================================================
   Mama Mode — hand-coded static stylesheet
   Mimics the original Hostinger Horizons design (DM Sans + plum/purple/rose).
   Color tokens and the floating-bubble animation are ported verbatim from the
   Horizons index.css export.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --background: 0 0% 100%;
  --foreground: 270 33% 25%;

  --card: 0 0% 100%;
  --card-foreground: 270 33% 25%;

  --primary: 277 37% 56%;
  --primary-foreground: 0 0% 100%;

  --secondary: 320 60% 95%;
  --secondary-foreground: 270 33% 25%;

  --muted: 320 40% 97%;
  --muted-foreground: 270 20% 45%;

  --accent: 330 65% 72%;
  --accent-foreground: 270 33% 25%;

  --border: 320 30% 90%;
  --input: 320 30% 90%;
  --ring: 277 37% 56%;

  --radius: 1rem;

  --maxw: 80rem;        /* max-w-7xl */
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.text-balance { text-wrap: balance; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.container-narrow { max-width: 56rem; }   /* max-w-4xl */
.container-mid    { max-width: 64rem; }    /* max-w-5xl */

.section { padding-block: 5rem; }                 /* py-20 */
.section-hero { padding-block: 5rem; }
@media (min-width: 768px) {
  .section-hero { padding-block: 8rem; }          /* md:py-32 */
}
.section-muted { background: hsl(var(--muted)); }
.hero-gradient {
  background: linear-gradient(to bottom, hsl(var(--secondary) / 0.30), hsl(var(--background)));
}

.page { position: relative; z-index: 10; }        /* content above bubbles */

/* ---------- floating bubbles (ported verbatim) ---------- */
.floating-bubbles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float-up linear infinite;
}
.bubble-1 { width: 80px;  height: 80px;  background: hsl(277, 37%, 56%); left: 10%; animation-duration: 25s; animation-delay: 0s; }
.bubble-2 { width: 120px; height: 120px; background: hsl(330, 65%, 72%); left: 25%; animation-duration: 30s; animation-delay: 5s; }
.bubble-3 { width: 60px;  height: 60px;  background: hsl(280, 60%, 83%); left: 45%; animation-duration: 20s; animation-delay: 2s; }
.bubble-4 { width: 100px; height: 100px; background: hsl(320, 60%, 95%); left: 65%; animation-duration: 28s; animation-delay: 8s; }
.bubble-5 { width: 90px;  height: 90px;  background: hsl(277, 37%, 56%); left: 80%; animation-duration: 22s; animation-delay: 3s; }
.bubble-6 { width: 70px;  height: 70px;  background: hsl(330, 65%, 72%); left: 15%; animation-duration: 26s; animation-delay: 10s; }
.bubble-7 { width: 110px; height: 110px; background: hsl(280, 60%, 83%); left: 55%; animation-duration: 24s; animation-delay: 6s; }
.bubble-8 { width: 85px;  height: 85px;  background: hsl(320, 60%, 95%); left: 35%; animation-duration: 27s; animation-delay: 4s; }

@keyframes float-up {
  0%   { bottom: -150px; transform: translateX(0) rotate(0deg); }
  50%  { transform: translateX(100px) rotate(180deg); }
  100% { bottom: 110%; transform: translateX(-50px) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid hsl(var(--border));
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  letter-spacing: -0.01em;
}
.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover { background: hsl(var(--muted)); }
.nav-link.active { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.menu-toggle:hover { background: hsl(var(--muted)); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle .icon-close { display: none; }
.menu-toggle.open .icon-open { display: none; }
.menu-toggle.open .icon-close { display: inline; }

.nav-mobile {
  display: none;
  padding-block: 1rem;
  border-top: 1px solid hsl(var(--border));
}
.nav-mobile.open { display: block; }
.nav-mobile .nav-col { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-mobile .nav-link { padding: 0.75rem 1rem; font-size: 1rem; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }

.btn-outline {
  background: transparent;
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border-color: hsl(var(--accent)); }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

.icon-sm { width: 1rem; height: 1rem; }

/* ---------- hero / typography ---------- */
.hero { text-align: center; max-width: 48rem; margin-inline: auto; }
.h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.lead {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  max-width: 42rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }

.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-title { text-align: center; margin-bottom: 3rem; }

/* ---------- email signup card ---------- */
.signup {
  background: hsl(var(--secondary));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px hsl(270 33% 25% / 0.10);
}
@media (min-width: 768px) { .signup { padding: 3rem; } }
.signup h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; margin-bottom: 0.75rem; }
.signup p { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; font-size: 1.05rem; }

.signup-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .signup-form { flex-direction: row; } }

.input {
  flex: 1;
  padding: 0.625rem 0.9rem;
  border: 1px solid hsl(var(--input));
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}
.input::placeholder { color: hsl(var(--muted-foreground)); }
.input:focus { outline: 2px solid hsl(var(--ring) / 0.5); outline-offset: 1px; border-color: hsl(var(--ring)); }

.form-note { font-size: 0.85rem; color: hsl(var(--primary)); font-weight: 600; margin-top: 0.75rem; min-height: 1.2rem; }

/* ---------- benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
.benefit { display: flex; gap: 1rem; }
.benefit-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--accent) / 0.2);
  color: hsl(var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.benefit p { color: hsl(var(--muted-foreground)); line-height: 1.7; }
.benefit-wide { grid-column: 1 / -1; max-width: 42rem; margin-inline: auto; }

/* ---------- testimonials ---------- */
.cards-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .cards-2 { grid-template-columns: 1fr 1fr; } }

.testimonial {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px hsl(270 33% 25% / 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial .quote-mark { color: hsl(var(--accent)); margin-bottom: 1rem; }
.testimonial p.quote { line-height: 1.7; margin-bottom: 1rem; flex: 1; }
.testimonial .descriptor { font-size: 0.875rem; font-weight: 500; color: hsl(var(--muted-foreground)); }

/* ---------- shop ---------- */
.disclosure {
  background: hsl(var(--accent) / 0.2);
  border: 1px solid hsl(var(--accent) / 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 0.75rem;
}
.disclosure svg { color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.15rem; }
.disclosure p { font-size: 0.9rem; line-height: 1.6; }

.category { margin-bottom: 4rem; }
.category-title { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; margin-bottom: 1.5rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

.product-card {
  background: hsl(var(--card));
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px hsl(270 33% 25% / 0.08);
  transition: box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: 0 12px 20px -5px hsl(270 33% 25% / 0.15); }

.product-media {
  aspect-ratio: 1 / 1;
  background: hsl(var(--muted));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  opacity: 0.6;
  font-size: 0.875rem;
}

.product-body { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
.product-body p { font-size: 0.825rem; color: hsl(var(--muted-foreground)); line-height: 1.55; margin-bottom: 0.9rem; flex: 1; }
.product-body .btn { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
.product-placeholder span { font-size: 0.8rem; }

/* ---------- generic content card ---------- */
.card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px hsl(270 33% 25% / 0.06);
}
@media (min-width: 768px) { .card-lg { padding: 3rem; } }
.card-lg { padding: 2rem; box-shadow: 0 10px 25px -5px hsl(270 33% 25% / 0.10); }
.card p + p { margin-top: 1rem; }
.card p { line-height: 1.75; }

/* checklist (Start here) */
.checklist { display: flex; flex-direction: column; gap: 1rem; }
.checklist .item { display: flex; gap: 0.75rem; }
.checklist svg { color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.15rem; }

/* ---------- feature cards (digital products) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: hsl(var(--muted));
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: hsl(var(--muted-foreground)); line-height: 1.7; }
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* ---------- blog ---------- */
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px)  { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.article {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}
.article:hover { box-shadow: 0 10px 15px -3px hsl(270 33% 25% / 0.10); }
.article time { font-size: 0.875rem; color: hsl(var(--muted-foreground)); font-weight: 500; }
.article h3 { font-size: 1.25rem; font-weight: 600; margin: 0.5rem 0 0.75rem; }
.article p { color: hsl(var(--muted-foreground)); line-height: 1.7; margin-bottom: 1rem; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--primary));
  font-weight: 500;
}
.read-more:hover { text-decoration: underline; }

/* ---------- values (about) ---------- */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value { text-align: center; }
.value-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsl(var(--accent) / 0.2);
  color: hsl(var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.value h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.value p { color: hsl(var(--muted-foreground)); line-height: 1.7; }

.callout {
  background: hsl(var(--secondary));
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
@media (min-width: 768px) { .callout { padding: 3rem; } }
.callout h2 { margin-bottom: 1rem; }
.callout p { color: hsl(var(--secondary-foreground) / 0.9); line-height: 1.7; max-width: 42rem; margin-inline: auto; }

/* ---------- contact ---------- */
.info-card { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--accent) / 0.2);
  color: hsl(var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.info-card p { font-size: 0.9rem; color: hsl(var(--muted-foreground)); line-height: 1.6; margin-bottom: 0.5rem; }
.link-primary { color: hsl(var(--primary)); font-weight: 500; }
.link-primary:hover { text-decoration: underline; }

.field { margin-bottom: 1.5rem; }
.field label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.95rem; }
.field .input, .field textarea { width: 100%; }
.field textarea {
  min-height: 150px;
  resize: vertical;
  padding: 0.625rem 0.9rem;
  border: 1px solid hsl(var(--input));
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}
.field textarea:focus { outline: 2px solid hsl(var(--ring) / 0.5); border-color: hsl(var(--ring)); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---------- prose (legal pages) ---------- */
.prose h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.prose p { line-height: 1.75; margin-bottom: 1rem; color: hsl(var(--foreground)); }
.prose a { color: hsl(var(--primary)); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-top: 1px solid hsl(var(--border));
}
.footer-inner { padding-block: 3rem; }
.footer-signup { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.footer-signup h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.footer-signup p { margin-bottom: 1.5rem; opacity: 0.9; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { font-size: 1.25rem; font-weight: 700; color: hsl(var(--primary)); }
.footer-col .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.footer-col .links { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col .links a, .footer-col p { font-size: 0.9rem; opacity: 0.9; }
.footer-col .links a:hover { text-decoration: underline; }
.footer-tagline { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.6; opacity: 0.9; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.8;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom .legal { display: flex; gap: 1rem; }
.footer-bottom a:hover { text-decoration: underline; }

/* utility spacing */
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-12 { margin-top: 3rem; }
.center { text-align: center; }
.muted-small { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.7; max-width: 42rem; margin-inline: auto; }

/* ---------- blog index: featured + browse-by-topic list ---------- */
.blog-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--primary));
  margin: 3.5rem 0 1.25rem;
}
.blog-section-label:first-of-type { margin-top: 0; }

.post-topic { margin-bottom: 2.25rem; }
.post-topic h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid hsl(var(--border)); }
.post-list li { padding: 0.8rem 0.25rem; border-bottom: 1px solid hsl(var(--border)); }
.post-list a.pl-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: hsl(var(--foreground));
  transition: color 0.2s ease;
}
.post-list a.pl-title:hover { color: hsl(var(--primary)); text-decoration: underline; }
.post-list .pl-blurb { display: block; font-size: 0.85rem; color: hsl(var(--muted-foreground)); margin-top: 0.15rem; }
