/* ── Reset & Base ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #F8FAFC;
  --bg2: #F1F5F9;
  --card-bg: #FFFFFF;
  --border: #CBD5E1;
  --text: #334155;
  --text-heading: #0F172A;
  --muted: #64748B;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --accent2: #8B5CF6;
  --accent-light: #FEF3C7;
  --green: #10B981;
  --blue: #3B82F6;
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.badge,
.btn-primary,
.btn-ghost,
.btn-nav,
.btn-outline {
  font-family: 'Fredoka', 'Nunito', sans-serif;
}


.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 250, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 2px dashed var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  border: 2px solid var(--accent-dark);
  box-shadow: 0 4px 0 var(--accent-dark), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-nav:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--accent-dark), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 99px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: .3px;
  box-shadow: 0 4px 12px rgba(255, 159, 67, 0.15);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-heading);
  max-width: 800px;
  margin: 0 auto 20px;
}

.gradient-text {
  color: var(--accent);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 16px 32px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 3px solid var(--accent-dark);
  box-shadow: 0 6px 0 var(--accent-dark), inset 0 4px 0 rgba(255, 255, 255, 0.3);
  transition: transform .1s, box-shadow .1s;
}

.btn-primary:hover {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--accent-dark), inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: var(--text-heading);
  padding: 16px 32px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  background: #fff;
  border: 3px solid var(--border);
  box-shadow: 0 6px 0 var(--border), inset 0 -3px 0 rgba(0, 0, 0, 0.02);
  transition: transform .1s, box-shadow .1s;
}

.btn-ghost:hover {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--border), inset 0 -1px 0 rgba(0, 0, 0, 0.02);
  border-color: #94A3B8;
}

/* Mascot & Phone */
.hero-demo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
}

.mascot-img {
  width: 320px;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
  margin-bottom: -20px;
  mix-blend-mode: multiply; /* Blends the image background into the page background */
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.phone-mock {
  width: 320px;
  background: #fff;
  border-radius: 36px;
  padding: 20px 16px;
  border: 4px solid #4a3f35;
  box-shadow: 0 24px 40px rgba(74, 63, 53, 0.1), inset 0 0 0 4px #f4f4f5;
  position: relative;
}

.phone-mock::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #334155;
  border-radius: 0 0 12px 12px;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.chat-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.avatar {
  font-size: 1.6rem;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 2px solid var(--accent-light);
}

.bubble {
  background: #f4f4f5;
  border: 2px solid #e4e4e7;
  padding: 12px 16px;
  border-radius: 20px 20px 20px 4px;
  font-size: .95rem;
  line-height: 1.4;
  max-width: 220px;
  color: var(--text-heading);
  font-weight: 600;
}

.chat-msg.user .bubble {
  background: var(--blue);
  border-color: #5b8df4;
  color: #fff;
  border-radius: 20px 20px 4px 20px;
  text-align: right;
}

/* ── FEATURES ─────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: #fff;
  border-top: 2px dashed var(--border);
  border-bottom: 2px dashed var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 8px 0 var(--border);
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 var(--border);
  border-color: var(--accent-light);
}

.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

/* ── COMPARE ─────────────────────────────────────────── */
.compare {
  padding: 100px 0;
  background: #fff;
  border-bottom: 2px dashed var(--border);
}

.compare-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 0 var(--border);
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  font-size: 1.05rem;
}

.compare-table th {
  background: #fff;
  font-weight: 800;
  color: var(--text-heading);
  font-size: 1.2rem;
}

.compare-table td:first-child {
  font-weight: 700;
  color: var(--text-heading);
  width: 35%;
}

.compare-table th:nth-child(2),
.compare-table td:nth-child(2) {
  background: rgba(255, 159, 67, 0.05);
  color: var(--text-heading);
  font-weight: 700;
  width: 35%;
}

.compare-table th:nth-child(3),
.compare-table td:nth-child(3) {
  color: var(--muted);
  width: 30%;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .compare-table {
    font-size: 0.9rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 16px;
  }
}

/* ── HOW IT WORKS ─────────────────────────────────────── */
.how {
  padding: 100px 0;
  background: var(--bg2);
}

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: #fff;
  border: 2px solid #ffccb3;
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 8px 0 #ffccb3;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(255, 159, 67, 0.3);
}

.step-text h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.step-text p {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.step-arrow {
  font-size: 2rem;
  color: var(--accent);
  align-self: center;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-demo {
    flex-direction: column;
    align-items: center;
  }

  .mascot-img {
    width: 240px;
    margin-bottom: 20px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
  }
}

/* ── PRICING ─────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: #fff;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  position: relative;
  flex: 1;
  min-width: 320px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 32px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 8px 0 var(--border);
}

.plan-pro {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 12px 0 var(--accent);
  transform: translateY(-10px);
}

.plan-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent2);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 99px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid #fff;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.plan-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.plan-price span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
}

.plan-desc {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 30px;
}

.plan-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.plan-features li {
  font-size: 1.05rem;
  color: var(--text-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li.dim {
  color: var(--muted);
  font-weight: 500;
  filter: grayscale(1);
  opacity: 0.6;
}

.plan-note {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 600;
}

.btn-outline {
  display: block;
  text-decoration: none;
  border: 3px solid var(--border);
  color: var(--text-heading);
  background: #fff;
  padding: 16px 24px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1.15rem;
  box-shadow: 0 6px 0 var(--border), inset 0 -3px 0 rgba(0, 0, 0, 0.02);
  transition: transform .1s, box-shadow .1s;
}

.btn-outline:hover {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--border), inset 0 -1px 0 rgba(0, 0, 0, 0.02);
  border-color: #94A3B8;
}

.plan-pro .btn-primary {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: var(--bg);
  border-top: 2px dashed var(--border);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 0 var(--border);
}

.faq-item summary {
  padding: 24px 30px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-heading);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 30px 24px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  padding: 60px 0;
  background: #fff;
  border-top: 2px dashed var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 30px;
  font-weight: 700;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
}

/* ── Animations ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s cubic-bezier(0.34, 1.56, 0.64, 1), transform .6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}