/* ═══════════════════════════════════════════════════════════
   ATLANTUM DESIGN V4 — Gradient + Photo Glass
   Gold→Teal gradient CTA, photo hero backgrounds, glass cards
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --bg-cream: #f7f3ed;
  --bg-warm: #faf6f0;
  --bg-sand: #f0ebe3;
  --bg-deep: #1a1714;

  --gold-50: #fdf9f0;
  --gold-100: #f9f0db;
  --gold-200: #f0ddb3;
  --gold-300: #e5c67a;
  --gold-400: #d4a84a;
  --gold-500: #c49a38;
  --gold-600: #a67c2e;
  --gold-700: #7d5d23;

  --teal-50: #eef9f6;
  --teal-100: #d0efe8;
  --teal-200: #a3dfd1;
  --teal-300: #6bcab5;
  --teal-400: #3db09a;
  --teal-500: #2a9482;
  --teal-600: #1f756a;
  --teal-700: #175a52;

  --neutral-50: #faf9f7;
  --neutral-100: #f0eee9;
  --neutral-200: #e3e0d8;
  --neutral-300: #ccc8bc;
  --neutral-400: #a9a498;
  --neutral-500: #8a8579;
  --neutral-600: #6b675d;
  --neutral-700: #4a473f;
  --neutral-800: #2d2b26;
  --neutral-900: #1a1914;

  --glass-warm: rgba(247, 243, 237, 0.72);
  --glass-warm-strong: rgba(247, 243, 237, 0.88);
  --glass-card: rgba(255, 255, 252, 0.82);
  --glass-card-border: rgba(196, 154, 56, 0.10);
  --glass-blur: 20px;

  --shadow-sm: 0 1px 3px rgba(26, 23, 20, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 23, 20, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 23, 20, 0.10);
  --shadow-gradient: 0 4px 24px rgba(42, 148, 130, 0.2), 0 4px 24px rgba(196, 154, 56, 0.15);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --max-width: 440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); color: var(--neutral-800);
  background: var(--bg-cream); line-height: 1.5;
  -webkit-font-smoothing: antialiased; min-height: 100%;
}

/* ── Gradient Button — the signature element ── */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  border: none; cursor: pointer; border-radius: var(--radius-full);
  padding: 16px 32px; width: 100%; text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--teal-400) 60%, var(--teal-500) 100%);
  color: white;
  box-shadow: var(--shadow-gradient);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 40%, rgba(255,255,255,0.06) 100%);
  border-radius: inherit;
}
.btn-primary::after {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(42, 148, 130, 0.3), 0 6px 32px rgba(196, 154, 56, 0.2);
}
.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  background: var(--glass-card); color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
  backdrop-filter: blur(var(--glass-blur));
}

.btn-ghost { background: transparent; color: var(--teal-600); padding: 12px 24px; }

/* ── Inputs ── */
.input-group { position: relative; width: 100%; }
.input-group .input-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--neutral-400); width: 20px; height: 20px; pointer-events: none;
}
.input {
  width: 100%; padding: 16px 18px 16px 50px;
  font-family: var(--font-body); font-size: 16px; color: var(--neutral-800);
  background: rgba(255,255,255,0.9); border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md); outline: none;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--neutral-400); }
.input:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(42, 148, 130, 0.1);
}

.divider {
  display: flex; align-items: center; gap: 16px;
  color: var(--neutral-400); font-size: 13px;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--neutral-200); }

/* ── Glass card ── */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.animate-in { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ── Bottom nav ── */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max-width);
  padding: 8px 20px calc(env(safe-area-inset-bottom, 0px) + 8px);
  display: flex; align-items: center; justify-content: space-around;
  background: var(--glass-warm-strong); backdrop-filter: blur(24px);
  border-top: 1px solid rgba(196, 154, 56, 0.08); z-index: 100;
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 12px; color: var(--neutral-400); text-decoration: none;
  font-size: 10px; font-weight: 500; transition: color 0.2s;
}
.nav-item.active { color: var(--teal-500); }
.nav-item-center {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-400), var(--teal-500));
  box-shadow: var(--shadow-gradient);
  margin-top: -16px; color: white; text-decoration: none;
}
