/* Gifty — landing page styles */
/* Vibrant coral (#ff6b6b) + deep purple (#7c3aed) on white */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral: #ff6b6b;
  --coral-light: #fff0f0;
  --purple: #7c3aed;
  --purple-light: #ede9fe;
  --white: #ffffff;
  --off-white: #fafafa;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--coral);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray-600); transition: color 0.2s; }
.nav-links a:hover { color: var(--gray-900); }
.nav-cta {
  background: var(--coral); color: var(--white);
  padding: 8px 20px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600;
  border: none; transition: opacity 0.2s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero {
  padding: 96px 24px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--coral-light) 0%, var(--white) 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--purple);
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 720px; margin: 0 auto 20px;
  color: var(--gray-900);
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-sub {
  font-size: 1.15rem; color: var(--gray-600);
  max-width: 520px; margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--coral); color: var(--white);
  padding: 14px 32px; border-radius: 999px;
  font-size: 1rem; font-weight: 700;
  border: none; transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255, 107, 107, 0.35);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4); }
.btn-secondary {
  background: var(--white); color: var(--gray-800);
  padding: 14px 28px; border-radius: 999px;
  font-size: 1rem; font-weight: 600;
  border: 1.5px solid var(--gray-200);
  transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--gray-400); transform: translateY(-1px); }

/* ===== GIFTS SECTION ===== */
.section { padding: 80px 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--gray-900); margin-bottom: 12px;
}
.section-sub { font-size: 1rem; color: var(--gray-600); max-width: 480px; margin: 0 auto; }

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1120px; margin: 0 auto;
}
.gift-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.gift-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.gift-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray-50); }
.gift-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gift-card:hover .gift-img-wrap img { transform: scale(1.04); }
.gift-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  color: var(--gray-800);
}
.gift-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.gift-scenario { font-size: 0.75rem; color: var(--coral); font-weight: 600; margin-bottom: 4px; }
.gift-name { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.gift-price { font-size: 0.9rem; color: var(--gray-600); font-weight: 500; margin-bottom: 16px; }
.gift-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gift-buy {
  background: var(--purple); color: var(--white);
  padding: 10px 20px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
  border: none; transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.gift-buy:hover { opacity: 0.88; transform: scale(1.03); }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--off-white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px; max-width: 960px; margin: 0 auto;
}
.step { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--purple); color: var(--white);
  font-size: 1rem; font-weight: 800;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--purple);
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.cta-band p { font-size: 1rem; opacity: 0.85; margin-bottom: 32px; max-width: 440px; margin-left: auto; margin-right: auto; }
.email-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 460px; margin: 0 auto; }
.email-form input {
  flex: 1; min-width: 220px;
  padding: 13px 18px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  color: var(--white); font-size: 0.95rem; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.email-form input::placeholder { color: rgba(255,255,255,0.6); }
.email-form input:focus { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.18); }
.email-form button {
  background: var(--coral); color: var(--white);
  padding: 13px 26px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 700; border: none;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.email-form button:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 32px 24px; text-align: center; font-size: 0.82rem; }
.footer a { color: var(--gray-400); }
.footer a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 20px 56px; }
  .section { padding: 56px 20px; }
  .gifts-grid { gap: 16px; }
  .email-form input, .email-form button { width: 100%; }
}