/* =====================================================
   LEUL ISTEȚ – Design System (CSS pur)
   Folosește acest fișier ca bază pentru cele 3 pagini
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --orange-400: #FB923C;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --purple-600: #3a156e;
  --purple-700: #3a156e;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --teal-500: #14B8A6;
  --teal-600: #0D9488;
  --pink-500: #EC4899;
  --pink-600: #DB2777;

  /* Neutrals */
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white:     #FFFFFF;

  /* Pastel backgrounds */
  --pink-50:   #FDF2F8;
  --amber-50:  #FFFBEB;
  --purple-50: #F5F3FF;
  --teal-50:   #F0FDFA;
  --orange-50: #FFF7ED;
  --green-50:  #F0FDF4;
  --blue-50:   #EFF6FF;

  /* Semantic */
  --text:        var(--slate-800);
  --text-muted:  var(--slate-500);
  --cta:         var(--orange-500);
  --cta-hover:   var(--orange-600);
  --title:       var(--purple-700);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px -4px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 32px -8px rgba(0,0,0,0.14);
  --shadow-cta: 0 10px 25px -5px rgba(249,115,22,0.35);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform var(--duration) var(--ease),
              background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--cta);
  color: var(--white);
  padding: 14px 24px;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--cta-hover); }
.btn-secondary {
  background: var(--white);
  color: var(--purple-600);
  padding: 12px 22px;
  border: 2px solid #DDD6FE;
}
.btn-secondary:hover { background: var(--purple-50); }
.btn-white {
  background: var(--white);
  color: var(--orange-600);
  padding: 14px 28px;
  font-weight: 700;
  box-shadow: 0 10px 30px -5px rgba(0,0,0,0.2);
}
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #FFEDD5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 12px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.logo-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--amber-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
  animation: bounceSoft 2.5s ease-in-out infinite;
}
.switcher {
  display: flex;
  background: var(--orange-50);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid #FFEDD5;
  font-size: 12px;
}
.switcher a,
.switcher span {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--slate-600);
  transition: background 0.2s;
}
.switcher .active {
  background: var(--white);
  color: var(--purple-700);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Cards */
.card {
  border-radius: var(--radius-xl);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.card:active { transform: scale(0.97); }
@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

/* Section helpers */
.section { padding-block: 48px; }
.section-title { text-align: center; margin-bottom: 32px; }
.section-title h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--title);
}
.section-title p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 6px;
}

/* Hero backgrounds */
.hero-home {
  background: linear-gradient(165deg, #E0F2FE 0%, #F0FDF4 45%, #FEF3C7 100%);
}
.hero-parent {
  background: linear-gradient(165deg, #ECFDF5 0%, #F0FDF4 50%, #FEF3C7 100%);
}
.hero-child {
  background: linear-gradient(165deg, #E0F2FE 0%, #D1FAE5 40%, #FEF3C7 100%);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  padding: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid #FFEDD5;
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; padding: 14px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.6s ease-out forwards; }
.animate-float   { animation: float 4s ease-in-out infinite; }

/* Responsive */
@media (min-width: 640px) {
  .section { padding-block: 56px; }
  .section-title h2 { font-size: 28px; }
  .sticky-cta { display: none; }
}
@media (min-width: 1024px) {
  .section { padding-block: 64px; }
  .container { padding-inline: 24px; }
}
