@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Outfit:wght@300;500;700&display=swap');

:root {
  /* --- ZEN MODERN PALETTE (Organic/Humane) --- */
  --bg-light: #FDFBF7;
  /* Soft Parchment */
  --glass-bg: #FFFFFF;
  /* Solid White */
  --glass-border: #E5E1DA;
  /* Muted Border */
  --glass-highlight: #FFFFFF;

  --primary: #1E293B;
  /* Midnight Ink - Deep & Sophisticated */
  --accent: #B45309;
  /* Muted Terracotta - Warm & Organic */
  --sky: #475569;
  /* Slate - Desaturated Blue */

  --text-main: #1E293B;
  /* Slate 900 */
  --text-muted: #64748B;
  /* Slate 500 */

  --radius-glass: 24px;
  --shadow-flat: 0 4px 20px -2px rgba(30, 41, 59, 0.05);
  /* Tinted Shadow */
}

/* --- RESET & BASE --- */
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- ANIMATED BACKGROUND - REMOVED FOR FLAT DESIGN --- */
.aurora-bg {
  display: none;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #F8FAFC;
  /* Light Paper BG */
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
}

/* --- LAYOUT CONTAINER --- */
.glass-container {
  width: 100%;
  max-width: 480px;
  /* Phone optimized */
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* --- PAPER CARD (Flat) --- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-glass);
  padding: 2rem;
  box-shadow: var(--shadow-flat);
  transition: all 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.08);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.text-gradient {
  color: var(--primary);
  font-weight: 800;
}

/* --- COMPONENTS --- */
.glass-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  font-size: 1rem;
  color: var(--text-main);
  transition: all 0.2s;
}

.glass-input:focus {
  outline: none;
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.glass-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.glass-btn {
  width: 100%;
  padding: 1rem;
  background: var(--text-main);
  /* Solid Elegant Dark Button */
  color: white;
  border-radius: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.glass-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(30, 41, 59, 0.4);
}

.pill-nav {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 50;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pill-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: 0.3s;
  cursor: pointer;
  font-size: 1.2rem;
}

.pill-item.active {
  background: var(--text-main);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pill-item:hover:not(.active) {
  background: #F1F5F9;
  color: var(--primary);
}

/* --- ANIMATIONS --- */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}