/* ============================================================
   FriendshipCalculator.site — Style Sheet
   Theme: Rose Pink + Deep Purple + Warm Gold
   ============================================================ */

/* ---- Google Font Import (fallback if link tag fails) ---- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --pink:     #FF6B9D;
  --rose:     #C44569;
  --light-pink: #F8B4D9;
  --purple:   #9B59B6;
  --deep-purple: #6C3483;
  --navy:     #2D1B69;
  --yellow:   #FDCB6E;
  --gold:     #F39C12;
  --teal:     #00CEC9;
  --white:    #FFFFFF;
  --light:    #FFF5F9;
  --muted:    #8E8E8E;
  --card-bg:  rgba(255,255,255,0.85);
  --shadow:   0 8px 32px rgba(196,69,105,0.15);
  --transition: 0.3s ease;
  --radius:   16px;
  --radius-sm: 10px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #2D1B69;
  background: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, button { font-family: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff;
  box-shadow: 0 6px 24px rgba(255,107,157,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255,107,157,0.55);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  border-color: #fff;
}


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(196,69,105,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links li a {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  transition: all var(--transition);
}
.header.scrolled .nav-links li a { color: var(--navy); }
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--pink);
  background: rgba(255,107,157,0.1);
}
.header.scrolled .nav-links li a:hover { color: var(--pink); }

/* Dropdown */
.dropdown { position: relative; }
/* Invisible bridge – keeps dropdown visible when moving cursor from link to menu */
.dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(155,89,182,0.2);
  min-width: 240px;
  padding: 10px;
  z-index: 100;
  border: 1px solid rgba(255,107,157,0.1);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--navy) !important;
  font-size: 0.9rem;
  font-weight: 500;
}
.dropdown-menu li a:hover { background: #FFF5F9; color: var(--pink) !important; }

.cat-icon { font-size: 1.1rem; }
.cat-icon.love  { color: var(--pink); }
.cat-icon.bff   { color: var(--purple); }
.cat-icon.zodiac{ color: var(--deep-purple); }
.cat-icon.name  { color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transition: all var(--transition);
}
.header.scrolled .hamburger span { background: var(--navy); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: all; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    rgba(45,27,105,0.88) 0%,
    rgba(196,69,105,0.65) 55%,
    rgba(45,27,105,0.5) 100%);
}

/* Hero Content: two-column layout */
.slide-content {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 60px;
}

/* Left text */
.slide-text { flex: 1; max-width: 560px; color: #fff; }

.slide-badge {
  display: inline-block;
  background: rgba(255,107,157,0.25);
  border: 1px solid rgba(255,107,157,0.5);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  color: #FFD6EC;
  animation: fadeDown 0.7s ease forwards;
}

.slide-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.slide-title span {
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 500px;
  animation: fadeUp 0.7s 0.2s ease both;
}

.slide-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* RIGHT: Image Panel */
.slide-image-panel {
  flex: 0 0 360px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.panel-images {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(45,27,105,0.5);
  aspect-ratio: 3/2.4;
  background: var(--navy);
}

.panel-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: block;
}
.panel-img.active { opacity: 1; }

.panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
  transform: scale(1.05);
}
.panel-img.active img { transform: scale(1); }

.panel-img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px 14px;
  background: linear-gradient(to top, rgba(45,27,105,0.92), transparent);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.panel-dots {
  display: flex;
  gap: 8px;
}
.pdot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}
.pdot.active {
  background: var(--pink);
  transform: scale(1.2);
}

/* Hero Arrows */
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 50;
  background: rgba(255,107,157,0.25);
  border: 2px solid rgba(255,107,157,0.5);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--pink); border-color: var(--pink); }
.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }

/* Slide progress dots */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 50;
}
.slider-dot {
  width: 40px; height: 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
  cursor: pointer;
}
.slider-dot.active .dot-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  animation: progressFill 5s linear forwards;
  border-radius: 4px;
}

/* Hero particles */
.hero-particles {
  position: absolute;
  inset: 0; pointer-events: none; z-index: 3;
}

/* Hero shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.hero-shape-1 {
  width: 500px; height: 500px;
  left: -150px; bottom: -150px;
  background: radial-gradient(circle, rgba(255,107,157,0.15), transparent 70%);
}
.hero-shape-2 {
  width: 350px; height: 350px;
  right: -80px; top: -80px;
  background: radial-gradient(circle, rgba(155,89,182,0.2), transparent 70%);
}
.hero-shape-3 {
  width: 200px; height: 200px;
  right: 25%; top: 30%;
  background: radial-gradient(circle, rgba(253,203,110,0.2), transparent 70%);
}


/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: linear-gradient(135deg, var(--pink), var(--rose), var(--purple));
  padding: 22px 0;
}
.trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}
.trust-icon {
  font-size: 1.4rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}


/* ============================================================
   SECTION TAGS & TITLES
   ============================================================ */
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,107,157,0.1), rgba(155,89,182,0.1));
  border: 1px solid rgba(255,107,157,0.25);
  color: var(--pink);
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--navy);
}
.section-title span, .gradient-text {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  max-width: 640px;
  margin: 0 auto 56px;
  color: #6B5B93;
  font-size: 1.05rem;
  line-height: 1.75;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.b1 {
  width: 400px; height: 400px;
  background: rgba(255,107,157,0.12);
  top: -100px; left: -100px;
}
.b2 {
  width: 300px; height: 300px;
  background: rgba(155,89,182,0.1);
  bottom: -80px; right: -80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image img {
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(196,69,105,0.2);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-image-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(255,107,157,0.35);
  white-space: nowrap;
}

.about-image-decorator {
  position: absolute;
  top: -20px; left: -20px;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(12px);
}

.about-text h2 { font-size: 2.1rem; font-weight: 800; margin-bottom: 20px; }
.about-text h2 span {
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-text p { color: #6B5B93; margin-bottom: 18px; }
.about-text strong { color: var(--navy); }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFF5F9;
  border: 1px solid rgba(255,107,157,0.15);
  padding: 10px 16px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.hi-icon { font-size: 1.1rem; }

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: #9B8FB0; font-weight: 500; margin-top: 4px; }


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
  padding: 100px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

/* Connecting line */
.timeline::before {
  content: '';
  position: absolute;
  top: 52px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  opacity: 0.25;
  z-index: 0;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  position: relative;
  box-shadow: 0 8px 24px rgba(196,69,105,0.2);
}
.s1 { background: linear-gradient(135deg, #FF6B9D, #C44569); }
.s2 { background: linear-gradient(135deg, #9B59B6, #6C3483); }
.s3 { background: linear-gradient(135deg, #FDCB6E, #F39C12); }
.s4 { background: linear-gradient(135deg, #00CEC9, #00B4D8); }

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}
.timeline-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.timeline-step p { font-size: 0.9rem; color: #6B5B93; }


/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
.calc-section {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--navy) 0%, #4A235A 50%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.calc-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,107,157,0.15)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.calc-section .section-tag { color: var(--pink); border-color: rgba(255,107,157,0.3); background: rgba(255,107,157,0.1); }
.calc-section .section-title { color: #fff; }
.calc-section .section-subtitle { color: rgba(255,255,255,0.7); }

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}

.calc-inputs, .calc-results {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 40px;
}

.calc-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.calc-field { margin-bottom: 24px; }
.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 16px;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
}

.calc-inputs input[type="text"],
.calc-inputs select {
  width: 100%;
  padding: 14px 16px 14px 50px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,107,157,0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition);
  outline: none;
}
.calc-inputs input[type="text"]::placeholder { color: rgba(255,255,255,0.4); }
.calc-inputs input[type="text"]:focus,
.calc-inputs select:focus {
  border-color: var(--pink);
  background: rgba(255,107,157,0.1);
  box-shadow: 0 0 0 4px rgba(255,107,157,0.15);
}
.calc-inputs select { color: rgba(255,255,255,0.85); }
.calc-inputs select option { background: #3D1A6E; color: #fff; }

.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Mode Tabs */
.mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mode-tab {
  padding: 10px 6px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,107,157,0.3);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.mode-tab:hover { border-color: var(--pink); color: var(--pink); background: rgba(255,107,157,0.1); }
.mode-tab.active {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  border-color: var(--pink);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,157,0.4);
}

/* Calculate Button */
.calc-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(255,107,157,0.4);
  letter-spacing: 0.3px;
}
.calc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255,107,157,0.55);
}
.calc-btn-icon { font-size: 1.2rem; animation: heartbeat 1.5s ease infinite; }

/* Results Panel */
.heart-meter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.heart-bg-icon { font-size: 2.4rem; margin-bottom: -8px; }

.heart-meter {
  width: 80px;
  height: 180px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,107,157,0.3);
  border-radius: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.heart-fill {
  width: 100%;
  background: linear-gradient(to top, var(--rose), var(--pink), var(--yellow));
  transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 40px;
  position: relative;
}
.heart-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  animation: shimmer 2s ease-in-out infinite;
}

.heart-score {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-label {
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.result-message {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.result-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  transition: opacity 0.5s ease;
  margin-bottom: 20px;
}
.rbadge {
  padding: 8px 18px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.rb-pink   { background: rgba(255,107,157,0.2); border: 1px solid rgba(255,107,157,0.4); color: var(--light-pink); }
.rb-purple { background: rgba(155,89,182,0.2);  border: 1px solid rgba(155,89,182,0.4);  color: #D7BDE2; }
.rb-gold   { background: rgba(253,203,110,0.2); border: 1px solid rgba(253,203,110,0.4); color: var(--yellow); }

.share-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.share-btn:hover { background: rgba(255,255,255,0.15); }


/* ============================================================
   CATEGORIES / TOOLS
   ============================================================ */
.categories-section {
  padding: 100px 0;
  background: var(--white);
}

@media (min-width: 992px) {
  .how-section .section-tag,
  .calc-section .section-tag,
  .categories-section .section-tag,
  .features-section .section-tag,
  .testimonials-section .section-tag,
  .about-text .section-tag {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

  .how-section .section-title,
  .calc-section .section-title,
  .categories-section .section-title,
  .features-section .section-title,
  .testimonials-section .section-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .how-section .section-subtitle,
  .calc-section .section-subtitle,
  .categories-section .section-subtitle,
  .features-section .section-subtitle,
  .testimonials-section .section-subtitle {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .about-text h2,
  .cta-text h2 {
    text-align: center;
  }
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.category-card {
  background: #fff;
  border: 1.5px solid rgba(255,107,157,0.12);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(196,69,105,0.06);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,107,157,0.03), rgba(155,89,182,0.03));
  border-radius: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}
.category-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(196,69,105,0.18); border-color: rgba(255,107,157,0.35); }
.category-card:hover::before { opacity: 1; }

.card-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 22px;
}
.card-icon.love    { background: linear-gradient(135deg, #FFE0EE, #FFB6C1); }
.card-icon.bff     { background: linear-gradient(135deg, #E8D5F5, #D7BDE2); }
.card-icon.zodiac  { background: linear-gradient(135deg, #D5EAF5, #AED6F1); }
.card-icon.name    { background: linear-gradient(135deg, #FFF3CD, #FDCB6E55); }

.category-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--navy); }
.category-card p { font-size: 0.9rem; color: #6B5B93; margin-bottom: 20px; line-height: 1.6; }
.card-link {
  display: inline-block;
  color: var(--pink);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  transition: gap var(--transition);
}
.card-link:hover { letter-spacing: 0.5px; }


/* ============================================================
   FEATURES
   ============================================================ */
.features-section {
  padding: 100px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.c1 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(255,107,157,0.12), transparent 70%); top: -100px; right: -100px; }
.c2 { width: 250px; height: 250px; background: radial-gradient(circle, rgba(155,89,182,0.12), transparent 70%); bottom: -60px; left: 10%; }
.c3 { width: 180px; height: 180px; background: radial-gradient(circle, rgba(253,203,110,0.18), transparent 70%); top: 40%; left: -50px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.feature-card {
  background: #fff;
  border: 1.5px solid rgba(255,107,157,0.1);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(196,69,105,0.05);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(196,69,105,0.14); border-color: rgba(255,107,157,0.3); }

.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.fi-1 { background: linear-gradient(135deg, #FFE0EE, #FFB6C1); }
.fi-2 { background: linear-gradient(135deg, #FFF3CD, #FDCB6E44); }
.fi-3 { background: linear-gradient(135deg, #E8D5F5, #D7BDE2); }
.fi-4 { background: linear-gradient(135deg, #D5EAF5, #AED6F1); }
.fi-5 { background: linear-gradient(135deg, #D5F5E3, #ABEBC6); }
.fi-6 { background: linear-gradient(135deg, #FAD7A0, #F8C471); }

.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.feature-card p { font-size: 0.9rem; color: #6B5B93; line-height: 1.65; }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.testimonial-card {
  background: linear-gradient(160deg, #FFF5F9, #F8F0FF);
  border: 1.5px solid rgba(255,107,157,0.15);
  border-radius: 20px;
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(196,69,105,0.12); }

.tc-stars { margin-bottom: 16px; font-size: 1.1rem; letter-spacing: 2px; }
blockquote {
  font-size: 0.95rem;
  color: #4A3560;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}
blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--pink);
  opacity: 0.15;
  position: absolute;
  top: -20px;
  left: -8px;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}
.a1 { background: linear-gradient(135deg, var(--pink), var(--rose)); }
.a2 { background: linear-gradient(135deg, var(--purple), var(--deep-purple)); }
.a3 { background: linear-gradient(135deg, var(--yellow), var(--gold)); }

.tc-info strong { display: block; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--navy); }
.tc-info span { font-size: 0.82rem; color: #9B8FB0; }


/* ============================================================
   CTA / NEWSLETTER
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: var(--light);
}
.cta-card {
  background: linear-gradient(135deg, var(--pink), var(--rose), var(--purple));
  border-radius: 24px;
  padding: 56px 60px;
  display: flex;
  gap: 48px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(196,69,105,0.3);
}
.cta-text { flex: 1; color: #fff; }
.cta-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-text p { opacity: 0.88; font-size: 1rem; }

.cta-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  max-width: 420px;
  width: 100%;
}
.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  outline: none;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-form button {
  padding: 14px 26px;
  border-radius: 50px;
  background: #fff;
  color: var(--rose);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.cta-form button:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, var(--navy) 0%, #3D1A6E 60%, #2D1B69 100%);
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}
.footer-wave { line-height: 0; }
.footer-wave svg { width: 100%; height: 60px; display: block; }

.footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.g1 { width: 400px; height: 400px; background: rgba(255,107,157,0.12); top: -100px; right: -100px; }
.g2 { width: 300px; height: 300px; background: rgba(155,89,182,0.1); bottom: -50px; left: 10%; }

.footer-main { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo-img { filter: brightness(0) invert(1); height: 38px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.75; max-width: 280px; color: rgba(255,255,255,0.6); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,107,157,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: rgba(255,107,157,0.25); transform: translateY(-3px); }

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  border-radius: 2px;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--pink); padding-left: 4px; }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--pink); }


/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes progressFill {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%  { transform: scale(1.2); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.15); }
  70%  { transform: scale(1); }
}
@keyframes shimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}
@keyframes particleFloat {
  0%   { transform: translateY(0px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(-120px) rotate(360deg); opacity: 0; }
}

/* Fade-up on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.05s; }
.d2 { transition-delay: 0.15s; }
.d3 { transition-delay: 0.25s; }
.d4 { transition-delay: 0.35s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .timeline        { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .slide-image-panel { flex: 0 0 300px; }
}

@media (max-width: 900px) {
  .hero            { min-height: auto; }
  .slide           { position: relative; inset: auto; display: none; }
  .slide.active    { display: block; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-image      { max-width: 500px; margin: 0 auto; }
  .calc-wrapper     { grid-template-columns: 1fr; }
  .testimonials-grid{ grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .cta-card         { flex-direction: column; padding: 40px 36px; gap: 28px; }
  .cta-form         { max-width: 100%; width: 100%; }
  .slide-content    { flex-direction: column; min-height: auto; padding-top: 120px; padding-bottom: 120px; }
  .slide-image-panel{ width: 100%; max-width: 420px; flex: none; }
  .slide-text       { max-width: 100%; }
  .slider-controls  { bottom: 14px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 290px; height: 100vh;
    background: rgba(45,27,105,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    z-index: 999;
    transition: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { color: rgba(255,255,255,0.85) !important; font-size: 1rem; padding: 12px 16px; width: 100%; }
  .dropdown-menu {
    position: static;
    display: block;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,107,157,0.2);
    margin-top: 8px;
  }
  .dropdown-menu li a { color: rgba(255,255,255,0.75) !important; font-size: 0.88rem; }
  .hamburger { display: flex; z-index: 1001; }

  .categories-grid    { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .features-grid      { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .timeline           { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .footer-grid        { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .footer-brand       { grid-column: 1 / -1; }
  .footer-brand .logo-img { margin: 0 0 16px; }
  .footer-brand p     { padding-left: 8px; }
  .footer-social      { padding-left: 8px; }
  .footer-col         { padding: 0 8px; }
  .footer-col h4      { font-size: 0.9rem; }
  .footer-col ul li a { font-size: 0.82rem; line-height: 1.3; }
  .about-highlights   { grid-template-columns: 1fr; }
  .about-stats        { justify-content: center; }
  .cta-form           { flex-direction: column; }
  .mode-tabs          { grid-template-columns: repeat(2, 1fr); }

  /* Tighten trust strip and section spacing on phones/tablets */
  .trust-strip        { padding: 18px 0; }
  .trust-inner        { gap: 16px; }
  .trust-item         { width: 100%; justify-content: center; }
  .about-section      { padding: 64px 0; }
}

@media (max-width: 600px) {
  .footer-wave svg { height: 44px; }
  .footer-main { padding: 38px 0 22px; }
  .footer-grid { gap: 24px; }

  .footer-brand p {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .footer-social { margin-top: 14px; gap: 10px; }
  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-col h4 {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-col ul li a {
    font-size: 0.9rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 0 18px;
  }
  .footer-bottom p { font-size: 0.8rem; }
  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .slide-btns { flex-direction: column; }
  .slider-arrow { width: 40px; height: 40px; font-size: 0.9rem; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
  .trust-inner { gap: 12px; }
  .trust-item { font-size: 0.9rem; }
  .trust-icon { width: 36px; height: 36px; font-size: 1.15rem; }
  .about-section { padding: 52px 0; }
  .result-badges { display: none; }
}