/* Landing page styles for index.html (no Tailwind needed) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@700;800;900&display=swap');

:root {
  --pink-50: #fff5f7;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-400: #fb7185;
  --pink-500: #ec4899;
  --rose-400: #fb7185;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: white;
  overflow-x: hidden;
}

::selection {
  background: var(--pink-100);
  color: #be185d;
}

.page { min-height: 100vh; }

.container {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
}

.center { text-align: center; }
.muted { color: var(--gray-500); }
.lead { margin-top: 8px; margin-bottom: 48px; }
.text-pink { color: var(--pink-500); }

.h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}
.h3 {
  margin: 0 0 10px 0;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
}
.h4 {
  margin: 0 0 6px 0;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-900);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero__bg {
  position: absolute;
  width: 40%;
  height: 40%;
  background: #fde2e8;
  border-radius: 999px;
  filter: blur(120px);
  opacity: 0.65;
  pointer-events: none;
}
.hero__bg--tl { top: -10%; left: -10%; }
.hero__bg--br { bottom: -10%; right: -10%; }

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--pink-500);
  font-weight: 900;
  font-size: 20px;
}
.brand__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: #fff0f5;
  border-radius: 12px;
}
.nav__links { display: flex; gap: 28px; }
.nav__link {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 700;
  font-size: 13px;
  transition: color 160ms ease;
}
.nav__link:hover { color: var(--pink-500); }
@media (max-width: 768px) {
  .nav__links { display: none; }
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px 0 54px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff0f5;
  border: 1px solid #fde2e8;
  color: var(--pink-500);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}
.pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--pink-400);
  box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.55);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(251, 113, 133, 0); }
}

.hero__title {
  margin: 0 0 14px 0;
  font-family: var(--font-title);
  font-size: clamp(48px, 8vw, 84px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--gray-900);
}
.hero__subtitle {
  margin: 0 auto 28px auto;
  max-width: 720px;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.65;
  color: var(--gray-500);
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 900;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, border-color 160ms ease;
  user-select: none;
}
.btn--primary {
  color: white;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-400));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.25);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.02); }

.btn--secondary {
  color: var(--pink-500);
  background: white;
  border: 2px solid #fde2e8;
}
.btn--secondary:hover { background: #fff0f5; }

.btn--solid {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--pink-500);
  color: white;
  font-size: 14px;
}
.btn--solid:hover { background: #db2777; }

.scroll-hint {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--gray-400);
  margin-top: 4px;
}
.scroll-hint__label {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-hint__mouse {
  width: 22px;
  height: 34px;
  border: 2px solid #d1d5db;
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}
.scroll-hint__dot {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--pink-400);
  animation: bounce 1.1s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* Sections */
.section { padding: 96px 0; background: white; }
.section--border { border-top: 1px solid var(--gray-50); }
.section--tint { background: rgba(252, 231, 243, 0.26); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
}
@media (max-width: 640px) {
  .section__head { align-items: flex-start; flex-direction: column; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 26px;
}
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
  transition: box-shadow 160ms ease, transform 160ms ease;
  text-align: left;
}
.card:hover {
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}
.card--soft { border-color: #ffe4ef; }

.step {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff0f5;
  color: var(--pink-500);
  font-weight: 900;
  margin-bottom: 16px;
}

/* Templates */
.grid-templates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .grid-templates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-templates { grid-template-columns: 1fr; } }

.template-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 28px;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.02);
  transition: box-shadow 160ms ease, transform 160ms ease;
}
.template-card:hover {
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.10);
  transform: translateY(-3px);
}
.template-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
}
.template-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.template-card__media--pink { background: #ffe4ef; }
.template-card__media--rose { background: #ffe4e9; }
.template-card__media--amber { background: #fff7ed; }
.template-card__body { padding: 18px 18px 20px 18px; }
.template-card__link {
  display: inline-block;
  margin-top: 6px;
  color: var(--pink-500);
  font-weight: 900;
  font-size: 14px;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 10px;
  color: white;
}
.badge--new { background: #3b82f6; }

.stars { color: #f59e0b; font-size: 12px; }

/* Testimonials */
.testimonials .card { border-color: #ffe4ef; }
.quote {
  margin: 0 0 18px 0;
  color: var(--gray-600);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}
.who { display: flex; align-items: center; gap: 10px; }
.who__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff0f5;
  display: grid;
  place-items: center;
}
.who__name { margin: 0; font-weight: 900; font-size: 14px; color: var(--gray-900); }

/* Footer */
.footer { padding: 80px 0 40px 0; }
.footer-cta {
  border-radius: 48px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-400));
  color: white;
  padding: 46px;
  box-shadow: 0 30px 70px rgba(236, 72, 153, 0.28);
  position: relative;
  overflow: hidden;
}
.footer-cta__inner { position: relative; z-index: 1; text-align: center; }
.footer-cta__title {
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 950;
  letter-spacing: -0.02em;
}
.footer-cta__sub {
  margin: 0 auto 24px auto;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.6;
}
.footer-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn--light {
  background: white;
  color: var(--pink-500);
}
.btn--light:hover { background: rgba(255, 255, 255, 0.92); }
.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.18); }

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: var(--gray-400);
  font-size: 14px;
  border-top: 1px solid var(--gray-100);
  padding-top: 18px;
  margin-top: 34px;
}
.footer__links { display: flex; gap: 18px; }
.footer__links a {
  color: inherit;
  text-decoration: none;
}
.footer__links a:hover { color: var(--pink-500); }
@media (max-width: 640px) {
  .footer__bar { flex-direction: column; align-items: flex-start; }
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.float {
  animation: float 6s ease-in-out infinite;
}

.hero__bg--tl { 
  top: -10%; left: -10%; 
  animation: pulse 4s ease-in-out infinite alternate;
}
.hero__bg--br { 
  bottom: -10%; right: -10%; 
  animation: pulse 4s ease-in-out infinite alternate-reverse;
}

/* Floating Hearts */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  color: var(--pink-200);
  opacity: 0.4;
  animation: float-particle var(--d) ease-in-out infinite;
  font-size: var(--s);
  left: var(--l);
  top: var(--t);
}

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  33% { transform: translate(30px, -50px) rotate(20deg); }
  66% { transform: translate(-20px, -100px) rotate(-20deg); }
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

.nav__toggle span {
  width: 25px;
  height: 2px;
  background: var(--pink-500);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 100px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 90;
  }
  
  .nav__links.active {
    right: 0;
  }
}
