/* ===== VARIABLES ===== */
:root {
  --rose:        #D4537E;
  --rose-light:  #FBEAF0;
  --rose-mid:    #ED93B1;
  --rose-dark:   #993556;
  --rose-deeper: #72243E;
  --gold:        #BA7517;
  --gold-light:  #FAEEDA;
  --white:       #ffffff;
  --bg-light:    #fdf7f9;
  --text:        #2c2c2a;
  --text-muted:  #6b6b68;
  --border:      rgba(0,0,0,0.1);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(212,83,126,0.08);
  --shadow-md:   0 4px 20px rgba(212,83,126,0.12);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; font-size: 15px; color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.3; }

/* ===== UTILITIES ===== */
.container    { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center  { text-align: center; }
.mt-32        { margin-top: 32px; }
.bg-light     { background: var(--bg-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500;
  cursor: pointer; border: 1.5px solid transparent; transition: all 0.2s ease;
}
.btn-primary  { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn-outline  { background: transparent; color: var(--rose); border-color: var(--rose); }
.btn-outline:hover { background: var(--rose-light); }
.btn-lg       { padding: 13px 30px; font-size: 15px; }
.btn-sm       { padding: 7px 16px; font-size: 13px; }
.btn-block    { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--rose); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-icon svg { width: 18px; height: 18px; fill: white; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--rose-dark); }
.logo-text em { color: var(--gold); font-style: normal; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { padding: 6px 12px; font-size: 14px; color: var(--text-muted); border-radius: var(--radius-sm); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--rose); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: var(--rose-light);
  padding: 80px 24px 72px; text-align: center;
}
.hero-motif {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 20% 50%, rgba(212,83,126,0.06) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(186,117,23,0.05) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: white; color: var(--rose-dark);
  font-size: 12px; font-weight: 500; padding: 5px 16px;
  border-radius: 20px; border: 1px solid var(--rose-mid);
  margin-bottom: 22px; letter-spacing: 0.3px;
}
.hero h1 { font-size: 46px; color: var(--rose-dark); margin-bottom: 16px; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== SEARCH BOX ===== */
.search-section { padding: 0 24px; margin-top: -28px; position: relative; z-index: 10; }
.search-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 28px;
  box-shadow: var(--shadow-md); max-width: 860px; margin: 0 auto;
}
.search-box h3 { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 14px; }
.search-form {}
.search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.field-group label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 5px; font-weight: 500; }
.field-group select {
  width: 100%; padding: 9px 12px; font-size: 13px; font-family: 'Poppins', sans-serif;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fafafa; color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.field-group select:focus { border-color: var(--rose); }

/* ===== STATS ===== */
.stats-section { padding: 52px 24px 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform 0.2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--rose); font-weight: 600; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ===== SECTION COMMON ===== */
.section { padding: 64px 24px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 32px; color: var(--rose-dark); margin-bottom: 10px; }
.section-head p { font-size: 15px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.divider { width: 48px; height: 3px; background: var(--rose); border-radius: 3px; margin: 12px auto; }

/* ===== PROFILES GRID ===== */
.profiles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.profile-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.profile-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.profile-photo {
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 600;
  overflow: hidden;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { padding: 14px 16px 16px; }
.profile-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--text); }
.profile-detail { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.7; }
.profile-tag {
  display: inline-block; font-size: 11px; font-weight: 500;
  padding: 2px 10px; border-radius: 12px; margin: 8px 0 10px;
}
.tag-premium { background: var(--gold-light); color: var(--gold); }
.tag-verified { background: var(--rose-light); color: var(--rose-dark); }
.profile-btn { width: 100%; margin-top: 2px; }

/* ===== HOW IT WORKS ===== */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.how-card { text-align: center; padding: 16px 12px; }
.how-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--rose-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.how-icon svg { width: 26px; height: 26px; }
.how-step { font-size: 11px; font-weight: 600; color: var(--rose); letter-spacing: 1px; margin-bottom: 8px; }
.how-card h4 { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.how-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ===== PLAN CARD ===== */
.plan-wrapper { max-width: 420px; margin: 0 auto; }
.plan-card {
  background: var(--white); border: 2px solid var(--rose);
  border-radius: var(--radius-lg); padding: 36px 32px; text-align: center;
  box-shadow: var(--shadow-md);
}
.plan-badge {
  display: inline-block; background: var(--rose); color: white;
  font-size: 12px; font-weight: 500; padding: 4px 16px;
  border-radius: 20px; margin-bottom: 20px;
}
.plan-price { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--rose-dark); font-weight: 600; }
.plan-price span { font-family: 'Poppins', sans-serif; font-size: 16px; color: var(--text-muted); font-weight: 400; }
.plan-note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.plan-features { margin: 24px 0; text-align: left; }
.plan-features li {
  font-size: 14px; color: var(--text);
  padding: 10px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.plan-features li:last-child { border-bottom: none; }
.check-icon {
  width: 20px; height: 20px; background: var(--rose); color: white;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.plan-secure {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--text-muted); margin-top: 14px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--bg-light); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: box-shadow 0.2s;
}
.testi-card:hover { box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 12px; }
.testi-text { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--rose-light); color: var(--rose-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-loc { font-size: 12px; color: var(--text-muted); }

/* ===== APP SECTION ===== */
.app-section { background: var(--rose-dark); padding: 64px 24px; }
.app-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.app-text h2 { font-size: 32px; color: white; margin-bottom: 12px; }
.app-text p { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 20px; max-width: 440px; }
.app-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.app-features span { font-size: 13px; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 20px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 20px; border-radius: var(--radius-md); cursor: pointer;
  transition: background 0.2s;
}
.app-badge:hover { background: rgba(255,255,255,0.18); }
.badge-sub { font-size: 10px; color: rgba(255,255,255,0.7); }
.badge-name { font-size: 15px; font-weight: 600; color: white; }

/* Phone mockup */
.phone-frame {
  width: 180px; background: #1a1a1a; border-radius: 28px;
  padding: 16px 12px; border: 3px solid #333;
}
.phone-screen { background: white; border-radius: 16px; padding: 12px; min-height: 280px; }
.phone-header { border-bottom: 1px solid #f0f0f0; padding-bottom: 8px; margin-bottom: 10px; text-align: center; }
.phone-match { display: flex; gap: 10px; align-items: flex-start; padding: 8px; background: #fdf7f9; border-radius: 10px; }
.match-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600;
}
.match-info { flex: 1; }

/* ===== FOOTER ===== */
.footer { background: var(--rose-deeper); color: white; padding: 56px 24px 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 12px; }
.footer-logo em { color: #FAC775; font-style: normal; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 12px; }
.footer-contact a { font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-links h4 { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; color: white; margin-bottom: 14px; letter-spacing: 0.3px; }
.footer-links a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 0; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; }

/* ===== MOBILE NAV DRAWER ===== */
.nav-drawer {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99;
  flex-direction: column; padding: 24px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 16px; color: var(--text); padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block; font-weight: 500;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer .drawer-actions {
  display: flex; flex-direction: column; gap: 12px; margin-top: 24px;
}
.nav-drawer .drawer-actions .btn { width: 100%; padding: 14px; font-size: 15px; text-align: center; }

/* Hamburger animation */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== RESPONSIVE — TABLET (960px) ===== */
@media (max-width: 960px) {
  .profiles-grid    { grid-template-columns: repeat(2, 1fr); }
  .how-grid         { grid-template-columns: repeat(2, 1fr); }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .testi-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .app-inner        { grid-template-columns: 1fr; }
  .phone-frame      { display: none; }
  .section          { padding: 48px 20px; }
  .hero             { padding: 60px 20px 56px; }
}

/* ===== RESPONSIVE — MOBILE (720px) ===== */
@media (max-width: 720px) {
  /* Navbar */
  .nav-links        { display: none; }
  .nav-actions      { display: none; }
  .hamburger        { display: flex; }
  .nav-inner        { padding: 0 16px; }

  /* Hero */
  .hero             { padding: 48px 16px 52px; }
  .hero h1          { font-size: 30px; }
  .hero p           { font-size: 15px; }
  .hero-btns        { flex-direction: column; align-items: center; }
  .hero-btns .btn   { width: 100%; max-width: 300px; justify-content: center; }

  /* Search */
  .search-section   { padding: 0 16px; margin-top: -24px; }
  .search-box       { padding: 18px 16px; }
  .search-fields    { grid-template-columns: 1fr 1fr; }
  .search-fields .btn { grid-column: span 2; }

  /* Stats */
  .stats-section    { padding: 40px 16px 32px; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-num         { font-size: 24px; }

  /* Profiles */
  .profiles-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .profile-photo    { height: 120px; font-size: 40px; }

  /* How it works */
  .how-grid         { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Plan */
  .plan-card        { padding: 24px 20px; }

  /* Testimonials */
  .testi-grid       { grid-template-columns: 1fr; }

  /* App section */
  .app-section      { padding: 48px 16px; }
  .app-text h2      { font-size: 26px; }
  .app-features     { gap: 8px; }

  /* Footer */
  .footer           { padding: 40px 16px 0; }
  .footer-inner     { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }

  /* Section */
  .section          { padding: 40px 16px; }
  .section-head h2  { font-size: 26px; }
  .container        { padding: 0 16px; }
}

/* ===== RESPONSIVE — SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  /* Hero */
  .hero h1          { font-size: 24px; }
  .hero-badge       { font-size: 11px; padding: 4px 12px; }

  /* Search */
  .search-fields    { grid-template-columns: 1fr; }
  .search-fields .btn { grid-column: span 1; }

  /* Profiles — single column on very small */
  .profiles-grid    { grid-template-columns: 1fr; }

  /* How it works — single column */
  .how-grid         { grid-template-columns: 1fr; }
  .how-card         { display: flex; align-items: flex-start; gap: 16px; text-align: left; }
  .how-icon         { flex-shrink: 0; margin: 0; }

  /* Stats */
  .stats-grid       { grid-template-columns: 1fr 1fr; }
  .stat-card        { padding: 16px 12px; }

  /* Plan */
  .plan-card        { padding: 20px 16px; }
  .plan-price       { font-size: 32px; }

  /* Buttons */
  .btn-lg           { padding: 12px 20px; font-size: 14px; }

  /* Section */
  .section-head h2  { font-size: 22px; }
}

/* ===== TOUCH IMPROVEMENTS ===== */
@media (hover: none) {
  /* Larger tap targets for mobile */
  .btn              { min-height: 44px; }
  .nav-drawer a     { min-height: 48px; display: flex; align-items: center; }
  .profile-btn      { min-height: 40px; }
  select            { min-height: 44px; font-size: 16px; } /* prevents iOS zoom */
  input             { font-size: 16px; } /* prevents iOS zoom on focus */

  /* Remove hover effects on touch */
  .profile-card:hover   { transform: none; box-shadow: none; }
  .stat-card:hover      { transform: none; }
  .testi-card:hover     { box-shadow: none; }
}