/*
Theme Name: Naibi Coming Soon
Theme URI: https://naibi.mx
Description: Landing page de espera — Naibi moda y cafe
Author: Naibi
Version: 1.1
Text Domain: naibi
*/

/* ========== RESET + BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FFF8F5;
  --bg-card: #FFFFFF;
  --bg-input: #FFF0EC;
  --text: #3D2B2B;
  --text-muted: #9B8585;
  --accent: #E8A0BF;
  --accent-hover: #D4789F;
  --accent-dark: #C96B93;
  --accent-glow: rgba(232, 160, 191, 0.15);
  --border: #F2D9D9;
  --border-card: #F5E0E0;
  --success: #7BC67E;
  --rose-light: #FDF2F8;
  --rose-soft: #FCE7F3;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(61, 43, 43, 0.06);
  --shadow-md: 0 4px 16px rgba(61, 43, 43, 0.08);
  --shadow-card: 0 2px 12px rgba(232, 160, 191, 0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-dark); text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== LAYOUT ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(255, 248, 245, 0.9);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}
.nav-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  background: var(--rose-soft);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.nav-ig {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-ig:hover { color: var(--accent-dark); }
.nav-ig svg { width: 18px; height: 18px; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--rose-light) 0%, var(--bg) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232, 160, 191, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232, 160, 191, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-dark);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent-dark);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ========== EMAIL FORM ========== */
.email-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.email-form input {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.email-form input::placeholder { color: var(--text-muted); }
.email-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.email-form button {
  padding: 16px 32px;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(232, 160, 191, 0.35);
}
.email-form button:hover { background: var(--accent-hover); }
.email-form button:active { transform: scale(0.97); }
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}
.form-success {
  text-align: center;
  padding: 20px;
  color: var(--success);
  font-weight: 500;
  display: none;
}
.form-success.show { display: block; }

/* ========== FEATURES ========== */
.features {
  padding: 100px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: var(--rose-soft);
  border-radius: 14px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========== STORY ========== */
.story {
  padding: 80px 24px;
  text-align: center;
  background: var(--rose-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 20px;
  color: var(--text);
}
.story h2 em { font-style: italic; color: var(--accent-dark); }
.story p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

/* ========== CTA BOTTOM ========== */
.cta-bottom {
  padding: 80px 24px;
  text-align: center;
}
.cta-bottom h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}
.cta-bottom p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  background: var(--rose-light);
}
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-dark); }

/* ========== RESPONSIVE ========== */
@media (max-width: 600px) {
  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }
  .nav-badge { display: none; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.35s; }
.hero-content > *:nth-child(4) { animation-delay: 0.5s; }
.hero-content > *:nth-child(5) { animation-delay: 0.6s; }
