:root {
  --bg: #fff7fb; /* blush */
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #6b7280;
  --accent: #f9a8d4; /* pastel pink */
  --accent-2: #fbcfe8; /* lighter pink */
  --ring: rgba(249, 168, 212, 0.35);
  --ok: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  min-height: 100vh;
}

.page { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
.header { 
  display: flex; 
  align-items: baseline; 
  justify-content: space-between; 
  margin: 8px 0 24px; 
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(249, 168, 212, 0.15);
}
.brand { 
  font-weight: 700; 
  letter-spacing: -0.02em; 
  text-transform: lowercase;
  font-size: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tag { color: var(--muted); font-size: 13px; font-weight: 500; }

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08),
              0 0 0 1px rgba(249, 168, 212, 0.1);
  border: 1px solid rgba(249, 168, 212, 0.15);
}

.title { 
  font-size: 24px; 
  line-height: 1.3; 
  margin: 0 0 28px; 
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

.section { 
  margin-top: 32px; 
  padding-top: 32px;
  border-top: 1px solid rgba(249, 168, 212, 0.15);
}
.section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.section-title { 
  font-weight: 600; 
  color: var(--ink); 
  font-size: 16px; 
  margin-bottom: 16px; 
  text-transform: lowercase;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

.field { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
}
.field span { 
  font-size: 13px; 
  color: var(--muted); 
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.2px;
}

input, select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  background: #fff;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s ease;
  color: var(--ink);
}
input:hover, select:hover {
  border-color: rgba(249, 168, 212, 0.4);
}
input:focus, select:focus { 
  border-color: var(--accent); 
  box-shadow: 0 0 0 6px var(--ring);
  transform: translateY(-1px);
}
input::placeholder {
  color: #9ca3af;
}

.phone-row { 
  display: grid; 
  grid-template-columns: 130px 1fr; 
  gap: 10px; 
}
select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  appearance: none;
}

.btn {
  width: 100%;
  margin-top: 20px;
  padding: 16px 24px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 168, 212, 0.3);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 168, 212, 0.4);
}
.btn:active {
  transform: translateY(0);
}
.btn.secondary { 
  background: #f8fafc; 
  color: var(--ink);
  border: 2px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}
.btn.secondary:hover {
  background: #f1f5f9;
  border-color: rgba(249, 168, 212, 0.4);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}
.btn:disabled { 
  opacity: 0.5; 
  cursor: not-allowed;
  transform: none !important;
}

.helper { 
  color: var(--muted); 
  font-size: 12px; 
  margin-top: 6px; 
  line-height: 1.5;
}
.muted { color: var(--muted); }
.hidden { display: none; }

.result { 
  margin-top: 20px; 
  padding: 16px 18px; 
  border-radius: 14px; 
  background: #f8fafc; 
  border: 2px solid #e5e7eb;
  font-size: 14px;
  line-height: 1.5;
}
.result.ok { 
  border-color: #10b981; 
  background: #ecfdf5;
  color: #047857;
}
.result.warn { 
  border-color: #f59e0b; 
  background: #fffbeb;
  color: #b45309;
}

.list { 
  list-style: none; 
  padding: 0; 
  margin: 12px 0 0; 
  display: grid; 
  gap: 12px; 
}
.list li { 
  padding: 16px 18px; 
  border: 2px solid #e5e7eb; 
  border-radius: 14px; 
  background: linear-gradient(135deg, #fff, #fef7ff);
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  transition: all 0.2s ease;
}
.list li:hover {
  border-color: rgba(249, 168, 212, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 168, 212, 0.15);
}
.pill { 
  font-size: 11px; 
  padding: 6px 12px; 
  border-radius: 999px; 
  background: #f1f5f9;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.pill.ok { 
  background: linear-gradient(135deg, #d1fae5, #a7f3d0); 
  color: #047857;
}
.pill.wait { 
  background: linear-gradient(135deg, #fed7aa, #fdba74); 
  color: #b45309;
}

.share { 
  margin-top: 32px; 
  padding-top: 24px;
  border-top: 1px solid rgba(249, 168, 212, 0.15);
  display: grid; 
  gap: 12px; 
}
.footer { 
  text-align: center; 
  color: var(--muted); 
  font-size: 12px; 
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(249, 168, 212, 0.1);
}

.notif { 
  margin-top: 20px; 
  padding: 16px 18px; 
  border-radius: 14px; 
  border: 2px solid rgba(249, 168, 212, 0.3);
  background: linear-gradient(135deg, #fff, #fef7ff);
  font-size: 14px;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

.password-section { 
  margin-top: 16px; 
}

.profile {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(249, 168, 212, 0.1), rgba(251, 207, 232, 0.1));
  border-radius: 14px;
  border: 1px solid rgba(249, 168, 212, 0.2);
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.login-section {
  animation: fadeIn 0.4s ease-out;
}

.dashboard-content {
  animation: fadeIn 0.4s ease-out;
}

.notification-settings {
  padding: 20px;
  background: linear-gradient(135deg, rgba(249, 168, 212, 0.05), rgba(251, 207, 232, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(249, 168, 212, 0.15);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WhatsApp icon */
.whatsapp-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

/* match celebration */
.match-celebration {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 247, 251, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-out;
}

.match-celebration.hidden {
  display: none !important;
}

.celebration-content {
  text-align: center;
  padding: 40px 24px;
  max-width: 500px;
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.close-celebration {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.1);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-celebration:hover {
  background: rgba(0, 0, 0, 0.2);
}

.match-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}

.celebration-emoji {
  font-size: 64px;
  margin-bottom: 16px;
  animation: bounce 1s ease-in-out infinite;
}

.celebration-content h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f9a8d4, #ec4899, #f9a8d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px;
  animation: pulse 2s ease-in-out infinite;
}

.celebration-content p {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.match-phone {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0;
  padding: 12px 20px;
  background: rgba(249, 168, 212, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(249, 168, 212, 0.3);
}

.btn-celebration {
  margin: 16px 0;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 18px;
  padding: 16px 32px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-celebration .whatsapp-icon {
  fill: #fff;
}

.btn-celebration:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.celebration-sparkles {
  font-size: 32px;
  margin-top: 24px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes scaleIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* share popup */
.share-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 247, 251, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-out;
}

.share-popup.hidden {
  display: none !important;
}

.share-popup-content {
  text-align: center;
  padding: 40px 24px;
  max-width: 400px;
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.close-share-popup {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.1);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-share-popup:hover {
  background: rgba(0, 0, 0, 0.2);
}

.share-popup-emoji {
  font-size: 64px;
  margin-bottom: 16px;
  animation: bounce 1s ease-in-out infinite;
}

.share-popup-content h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}

.share-popup-content p {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}

/* ===== LANDING PAGE ===== */
body.landing {
  background: var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body.landing::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(1400px 900px at 15% -5%, rgba(255, 228, 241, 0.6), transparent),
              radial-gradient(1200px 800px at 85% 15%, rgba(251, 207, 232, 0.5), transparent),
              radial-gradient(1000px 600px at 50% 100%, rgba(254, 228, 236, 0.4), transparent);
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

body.landing > * {
  position: relative;
  z-index: 1;
}

.landing-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.landing-header .brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.landing-main {
  animation: fadeIn 0.6s ease-out;
}

.hero {
  text-align: center;
  margin-bottom: 80px;
}

.hero-title {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: var(--ink);
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.8s ease-out forwards;
}

.hero-title .line.highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 40px;
  opacity: 0;
  animation: slideUpFade 0.8s ease-out 0.3s forwards;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  opacity: 0;
  animation: slideUpFade 0.8s ease-out 0.5s forwards;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.feature-icon {
  font-size: 18px;
}

.hero-cta {
  opacity: 0;
  animation: slideUpFade 0.8s ease-out 0.7s forwards;
}

.btn-hero {
  width: auto;
  min-width: 200px;
  padding: 16px 32px;
  font-size: 18px;
  margin: 0 auto 12px;
  display: block;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(167, 139, 250, 0.3);
}

.cta-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.how-it-works {
  margin: 100px 0;
}

.section-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 48px;
  color: var(--ink);
}

.steps {
  display: grid;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(167, 139, 250, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.trust-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 80px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .trust-section {
    grid-template-columns: 1fr 1fr;
  }
}

.trust-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(167, 139, 250, 0.15);
}

.trust-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.final-cta {
  text-align: center;
  margin: 100px 0 60px;
  padding: 60px 24px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid rgba(249, 168, 212, 0.25);
}

.final-cta h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

.btn-secondary-landing {
  width: auto;
  min-width: 200px;
  padding: 14px 28px;
  font-size: 16px;
  margin: 12px auto 0;
  display: block;
  background: #f1f5f9;
  border: 1px solid rgba(249, 168, 212, 0.3);
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary-landing:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.landing-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(249, 168, 212, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* vibe container */
.vibe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 24px auto 0;
}

@media (min-width: 640px) {
  .vibe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.vibe-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(249, 168, 212, 0.25);
  backdrop-filter: blur(8px);
  font-weight: 600;
}

.vibe-emoji {
  font-size: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 42px;
  }
  
  .steps {
    gap: 24px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .section-heading {
    font-size: 28px;
  }
  
  .final-cta h2 {
    font-size: 28px;
  }
}


