/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Comic Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  background: #FFF8E1;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/background-large.png') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 100px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.speech-bubble {
  background: #fff;
  color: #1B5E20;
  padding: 18px 28px;
  border-radius: 24px;
  font-size: 1.25rem;
  font-weight: 700;
  max-width: 520px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 18px solid #fff;
}

.hero-owl {
  width: 220px;
  margin-top: 8px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
  color: #fff;
  font-size: 1.15rem;
  max-width: 500px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-button {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 40px;
  background: #4CAF50;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  background: #2E7D32;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 125, 50, 0.5);
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 80px 0;
  background: #F1F8E9;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #1B5E20;
  margin-bottom: 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1B5E20;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ===== Features ===== */
.features {
  padding: 80px 0;
  background: #FFF8E1;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image {
  width: 200px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.feature-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1B5E20;
  margin-bottom: 12px;
}

.feature-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

/* ===== Demo ===== */
.demo {
  padding: 80px 0;
  background: #F1F8E9;
}

.demo-content {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  flex-shrink: 0;
  background: #222;
  border-radius: 28px;
  padding: 12px;
  transform: rotate(-3deg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.phone-screen {
  border-radius: 18px;
  width: 100%;
}

.demo-text {
  max-width: 420px;
}

.demo-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1B5E20;
  margin-bottom: 16px;
}

.demo-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0;
  background: #2E7D32;
  color: #fff;
  text-align: center;
}

.footer-tagline {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 0.95;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

/* ===== Policy Header ===== */
.policy-header {
  background: #2E7D32;
  padding: 16px 0;
}

.policy-header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.policy-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

/* ===== Policy Page ===== */
.policy-page {
  padding: 48px 0 80px;
  background: #FFF8E1;
}

.policy-page .container {
  max-width: 720px;
}

.policy-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1B5E20;
  margin-bottom: 8px;
}

.policy-updated {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 40px;
}

.policy-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1B5E20;
  margin-top: 36px;
  margin-bottom: 12px;
}

.policy-page p {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-page ul {
  margin: 0 0 16px 24px;
  color: #444;
  line-height: 1.75;
}

.policy-page li {
  margin-bottom: 6px;
}

.policy-page a {
  color: #2E7D32;
}

/* ===== Footer Link ===== */
.footer-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .feature-block {
    flex-direction: column;
    padding: 28px;
    text-align: center;
  }

  .feature-block:nth-child(even) {
    flex-direction: column;
  }

  .feature-image {
    width: 160px;
  }

  .feature-text h3 {
    font-size: 1.2rem;
  }

  .demo-content {
    flex-direction: column;
    text-align: center;
  }

  .phone-mockup {
    width: 220px;
  }

  .demo-text h2 {
    font-size: 1.3rem;
  }

  .hero-owl {
    width: 180px;
  }

  .speech-bubble {
    font-size: 1.1rem;
    padding: 14px 22px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
