/**
 * CÂY ƠI - PRODUCTION STYLESHEET
 * High-fidelity Figma Implementation (Node 178:222 & 322:254)
 * Project: Cây Ơi - Smart Emotional Plant Companion
 */

/* ── 1. CSS Reset & Base Standards ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-main);
  background-color: var(--color-bg-canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* Color Utility Classes */
.text-green { color: var(--color-primary) !important; }
.text-green-dark { color: var(--color-primary-dark) !important; }
.text-blue { color: var(--color-brand-blue) !important; }
.text-amber { color: var(--color-brand-orange-gold) !important; }
.text-orange { color: var(--color-brand-orange) !important; }
.text-pink { color: var(--color-brand-pink) !important; }
.text-coral { color: var(--color-brand-coral) !important; }

/* ── 2. Layout Containers ─────────────────────────────────────────────────── */
.site-wrapper {
  max-width: var(--container-max-width);
  margin: 0 auto;
  background-color: var(--color-bg-white);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Offset for fixed sticky navigation so section titles are never hidden */
section[id] {
  scroll-margin-top: 100px;
}

.section-spacing {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section-header-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto var(--space-12);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 760px;
  margin: 0 auto;
}

/* ── 3. Buttons & Interactive Tokens ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  min-height: 50px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

/* Header Pill Outline Button */
.btn-pill-outline {
  background: rgba(255, 255, 255, 0.70);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 20px;
  padding: 10px 24px;
}

.btn-pill-outline:hover {
  background: var(--color-primary);
  color: var(--color-bg-white);
}

/* Hero Pill Buttons */
.btn-hero-pill {
  background: rgba(255, 255, 255, 0.70);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 20px;
  padding: 10px 28px;
  min-height: 50px;
}

.btn-hero-pill:hover {
  background: var(--color-primary);
  color: var(--color-bg-white);
}

/* Kit Buy Button */
.btn-kit-buy {
  background: var(--color-bg-white);
  border: 2px solid var(--color-primary);
  color: var(--color-brand-pink);
  font-size: 20px;
  padding: 12px 32px;
}

.btn-kit-buy:hover {
  background: var(--color-brand-pink);
  border-color: var(--color-brand-pink);
  color: var(--color-bg-white);
}

/* Pricing Action Buttons */
.btn-pricing-blue {
  background: var(--color-brand-blue);
  color: var(--color-bg-white);
  width: 100%;
}
.btn-pricing-blue:hover {
  background: #0077c2;
}

.btn-pricing-pink {
  background: var(--color-brand-pink);
  color: var(--color-bg-white);
  width: 100%;
}
.btn-pricing-pink:hover {
  background: #d6085a;
}

.btn-pricing-amber {
  background: var(--color-brand-orange-gold);
  color: var(--color-bg-white);
  width: 100%;
}
.btn-pricing-amber:hover {
  background: #d48208;
}

/* Final CTA Pill Buttons */
.btn-cta-pill {
  background: var(--color-primary-soft);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 20px;
  padding: 14px 36px;
  min-height: 60px;
}

.btn-cta-pill:hover {
  background: var(--color-primary);
  color: var(--color-bg-white);
}

/* Modal Generic Primary Button */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  box-shadow: 0 4px 12px rgba(64, 182, 145, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1.125rem;
  min-height: 54px;
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── 4. HEADER / NAVIGATION (Section 1) ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: box-shadow var(--transition-normal);
}

.header-inner {
  background-color: var(--color-primary-soft); /* #E8FFEB */
  padding-top: var(--space-4);
  padding-bottom: var(--space-3);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: var(--container-max-width);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 78px;
  max-height: 84px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-1);
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-primary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-link-green { color: #40B691; }
.nav-link-blue { color: #008FE6; }
.nav-link-orange { color: #FF8800; }
.nav-link-pink { color: #EF0E6A; }
.nav-link-amber { color: #EE9712; }

.btn-pill-solid-green {
  background-color: #40B691;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  padding: 10px 24px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pill-solid-green:hover {
  background-color: #329a79;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(64, 182, 145, 0.35);
}

.header-scallop-divider {
  width: 100%;
  height: 18px;
  background-color: var(--color-primary-soft);
  mask-image: radial-gradient(circle at 10px 0, transparent 0, transparent 10px, black 11px);
  mask-size: 20px 20px;
  mask-repeat: repeat-x;
  -webkit-mask-image: radial-gradient(circle at 10px 0, transparent 0, transparent 10px, black 11px);
  -webkit-mask-size: 20px 20px;
  -webkit-mask-repeat: repeat-x;
  pointer-events: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 26px;
  background: transparent;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* ── 5. HERO SECTION ("VẤN ĐỀ") ───────────────────────────────────────────── */
.hero-section {
  position: relative;
  padding-top: var(--space-12);
  padding-bottom: var(--space-20);
  background-color: var(--color-bg-white);
  overflow: hidden;
}

/* Peeking Sun on Far Left Edge */
.hero-sun-bg {
  position: absolute;
  left: -90px;
  top: 270px;
  width: 320px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: var(--space-8);
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-5);
}

.hero-title-green {
  color: var(--color-primary);
}

.hero-title-blue {
  color: var(--color-brand-blue);
}

.hero-desc {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: var(--line-height-relaxed);
  color: var(--color-brand-blue);
  margin-bottom: var(--space-8);
}

.hero-desc-highlight {
  font-weight: var(--font-weight-bold);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero Right: Product Frame with Halo & 4 Pills */
.hero-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-pot-frame {
  position: relative;
  width: 100%;
  max-width: 650px;
  height: 480px;
  background-color: var(--color-primary-soft); /* #E8FFEB */
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mint-halo {
  position: absolute;
  width: 280px;
  height: 280px;
  background-color: var(--color-primary-mint); /* #A8EFCC */
  border-radius: 50%;
  z-index: 1;
}

.hero-pot-main {
  position: relative;
  z-index: 2;
  max-height: 380px;
  width: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
}

/* 4 Floating Feature Pills */
.hero-floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-white);
  border-radius: 53px;
  padding: 8px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 230px;
}

.hero-pill-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-pill-icon {
  width: 20px;
  height: 20px;
}

.hero-pill-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
}

.hero-pill-desc {
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1.2;
}

/* Pill 1: Chăm sóc (Top Left) */
.hero-pill-care {
  top: -15px;
  left: -25px;
  border: 1px solid var(--color-primary);
}
.hero-pill-care .hero-pill-icon-box {
  background-color: #A8EFD9;
}
.hero-pill-care .hero-pill-title {
  color: var(--color-primary-dark);
}
.hero-pill-care .hero-pill-desc {
  color: var(--color-primary);
}

/* Pill 2: Tương tác (Top Right) */
.hero-pill-interact {
  top: 30px;
  right: -30px;
  border: 1px solid var(--color-brand-yellow-gold);
}
.hero-pill-interact .hero-pill-icon-box {
  background-color: var(--color-brand-yellow-warm);
}
.hero-pill-interact .hero-pill-title {
  color: #DA8E00;
}
.hero-pill-interact .hero-pill-desc {
  color: #DA8E00;
}

/* Pill 3: Cảm xúc (Bottom Left) */
.hero-pill-emotion {
  bottom: 20px;
  left: -25px;
  border: 1px solid var(--color-brand-red);
}
.hero-pill-emotion .hero-pill-icon-box {
  background-color: var(--color-brand-pink-light);
}
.hero-pill-emotion .hero-heart-symbol {
  color: var(--color-brand-red);
  font-size: 18px;
}
.hero-pill-emotion .hero-pill-title {
  color: var(--color-brand-red);
}
.hero-pill-emotion .hero-pill-desc {
  color: var(--color-brand-red);
}

/* Pill 4: Nhiệm vụ (Bottom Right) */
.hero-pill-task {
  bottom: -15px;
  right: -30px;
  border: 1px solid var(--color-brand-blue);
}
.hero-pill-task .hero-pill-icon-box {
  background-color: var(--color-brand-blue-bg);
}
.hero-pill-task .hero-pill-title {
  color: var(--color-brand-blue);
}
.hero-pill-task .hero-pill-desc {
  color: var(--color-brand-blue);
}

/* ── 6. CÁCH HOẠT ĐỘNG 1: CỐT LÕI (Section 3) ─────────────────────────────── */
.philosophy-section {
  background-color: var(--color-bg-white);
}

.philosophy-title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
}

.philosophy-subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: var(--line-height-relaxed);
  color: var(--color-brand-orange);
  text-align: center;
  max-width: 1000px;
  margin: var(--space-4) auto 0;
}

/* Tiered Stacked Cards - Cascading Stepped Overlap (Figma 1:1 Spec) */
.philosophy-tiered-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1008px;
  margin: var(--space-8) auto 0;
  position: relative;
}

.philosophy-tier-card {
  background: var(--color-bg-white);
  border-radius: 40px;
  padding: 24px 36px;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.tier-card-blue {
  width: 100%;
  max-width: 1008px;
  border: 2px solid #ACE0FF;
  box-shadow: 0 4px 20px rgba(0, 143, 230, 0.08);
  z-index: 1;
}

.tier-card-orange {
  width: 93.2%;
  max-width: 940px;
  border: 2px solid #FF8800;
  box-shadow: 0 -4px 20px rgba(255, 136, 0, 0.08);
  margin-top: -18px;
  z-index: 2;
}

.tier-card-pink {
  width: 86.5%;
  max-width: 872px;
  border: 2px solid #EF0E6A;
  box-shadow: 0 -4px 20px rgba(239, 14, 106, 0.08);
  margin-top: -18px;
  z-index: 3;
}

.tier-card-flower {
  font-size: 22px;
  margin-bottom: var(--space-2);
  display: inline-block;
  line-height: 1;
}

.tier-card-flower-svg {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.tier-card-flower.flower-blue {
  color: var(--color-brand-blue);
}

.tier-card-flower.flower-orange {
  color: var(--color-brand-orange);
}

.tier-card-flower.flower-pink {
  color: var(--color-brand-pink);
}

.tier-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.tier-card-desc {
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: var(--line-height-relaxed);
  max-width: 860px;
  margin: 0 auto;
}

/* ── 7. CÁCH HOẠT ĐỘNG 2: MỘT NGÀY LỚN LÊN (Section 4) ────────────────────── */
.routine-section {
  position: relative;
  background-color: var(--color-bg-white);
  overflow: hidden;
}

.routine-cloud-left {
  position: absolute;
  left: -140px;
  top: 30px;
  width: 595px;
  max-width: none;
  height: auto;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
  transform: rotate(180deg);
}

.routine-cloud-right {
  position: absolute;
  right: -120px;
  bottom: -30px;
  width: 622px;
  max-width: none;
  height: auto;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
}

.routine-container {
  position: relative;
  z-index: 2;
}

.routine-title {
  font-size: var(--font-size-5xl);
  text-align: center;
}

.routine-subtitle {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: var(--line-height-relaxed);
  color: var(--color-primary);
  text-align: center;
  max-width: 900px;
  margin: var(--space-4) auto 0;
}

/* Master Showcase Card */
.routine-showcase-card {
  position: relative;
  max-width: 1170px;
  margin: var(--space-12) auto 0;
  background-color: var(--color-brand-yellow-warm); /* #FFEFBC */
  box-shadow: var(--shadow-figma-card-lg);
  border-radius: var(--radius-3xl);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 430px;
}

.routine-tabs-side {
  position: relative;
  width: 320px;
  height: 360px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.routine-tab-ear {
  position: absolute;
  width: 180px;
  height: 320px;
  border-radius: var(--radius-2xl);
  top: 20px;
}

.tab-ear-yellow {
  left: 0;
  background-color: var(--color-brand-yellow-warm);
  z-index: 1;
}

.tab-ear-blue {
  left: 60px;
  background-color: var(--color-brand-blue-bg);
  z-index: 2;
}

.tab-ear-pink {
  left: 120px;
  background-color: var(--color-brand-pink-light);
  z-index: 3;
}

.routine-sun-circle {
  position: absolute;
  width: 160px;
  height: 160px;
  background-color: var(--color-brand-yellow-sun);
  border-radius: 50%;
  z-index: 4;
}

.routine-photo-frame {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

.routine-content-panel {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-2xl);
  padding: 36px 40px;
  backdrop-filter: blur(8px);
}

.routine-badge-top {
  margin-bottom: var(--space-3);
}

.routine-badge-pill {
  display: inline-block;
  background-color: var(--color-primary-soft);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
}

.routine-headline {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-brand-orange-deep);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.routine-body {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: var(--line-height-relaxed);
  color: var(--color-brand-orange-deep);
  margin-bottom: var(--space-6);
}

.routine-badges-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.routine-badge-time {
  font-family: var(--font-heading);
  font-size: 15px;
  color: rgba(255, 136, 0, 0.75);
}

/* ── 8. CÔNG NGHỆ CẢM BIẾN (Section 5) ────────────────────────────────────── */
.sensors-section {
  background-color: var(--color-bg-white);
}

.sensors-surround-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  align-items: center;
  gap: var(--space-6);
  max-width: 1280px;
  margin: var(--space-12) auto 0;
}

.sensors-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.sensor-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.sensor-card-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sensor-icon {
  width: 20px;
  height: 20px;
}

.sensor-symbol-icon {
  font-size: 20px;
}

.bg-mint { background-color: #C6F7E2; }
.bg-light-blue { background-color: var(--color-brand-blue-bg); }
.bg-light-yellow { background-color: var(--color-brand-yellow-warm); }
.bg-light-coral { background-color: var(--color-brand-coral-bg); }
.bg-light-orange { background-color: var(--color-brand-orange-light); }

.sensor-card-oled {
  border: 1px solid var(--color-primary);
  background: var(--color-primary-light);
}

.sensor-card-moisture {
  border: 1px solid var(--color-brand-blue);
}

.sensor-card-optical {
  border: 1px solid var(--color-brand-yellow-gold);
}

.sensor-card-temp {
  border: 1px solid var(--color-brand-coral);
}

.sensor-card-ceramic {
  border: 1px solid var(--color-brand-orange);
}

.sensor-card-info {
  flex-grow: 1;
}

.sensor-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.sensor-card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
}

.sensor-card-tag {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--font-weight-medium);
}

.sensor-card-desc {
  font-family: var(--font-heading);
  font-size: 11px;
  line-height: 1.45;
}

/* Center Pot Visual */
.sensors-center-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sensors-mint-halo {
  position: absolute;
  width: 220px;
  height: 220px;
  background-color: var(--color-primary-mint);
  border-radius: 50%;
  z-index: 1;
}

.sensors-pot-img {
  position: relative;
  z-index: 2;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
}

.sensors-flower-decor {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 140px;
  z-index: 3;
}

/* ── 9. GIỚI THIỆU APP DI ĐỘNG (Section 6) ────────────────────────────────── */
.app-section {
  position: relative;
  background-color: var(--color-bg-white);
  padding-bottom: 0;
  overflow: hidden;
}

.app-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: var(--space-10);
  position: relative;
  z-index: 2;
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.app-phone-wrapper {
  display: flex;
  justify-content: center;
}

.app-phone-container {
  width: 229px;
  height: 446px;
  background: #1E293B;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  border: 3px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* 4 Feature Stack - Figma 1:1 Spec (353px card width, compact 10px gap) */
.app-features-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.app-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 12px 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.app-card-arrow-box {
  padding-top: 4px;
}

.app-arrow-icon {
  width: 12px;
  height: 20px;
}

.app-card-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.app-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 4px;
}

.app-card-desc {
  font-family: var(--font-heading);
  font-size: 11px;
  line-height: 1.45;
}

.app-card-status { border: 1px solid var(--color-primary); }
.app-card-tasks {
  border: 1px solid var(--color-brand-blue);
  box-shadow: 0 4px 12px rgba(0, 142, 230, 0.2);
}
.app-card-convo { border: 1px solid var(--color-brand-pink); }
.app-card-journal { border: 1px solid var(--color-brand-orange); }

.app-grass-banner {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  margin-top: -60px;
}

.app-grass-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── 10. ỨNG DỤNG & CÁC GIAI ĐOẠN (Section 7) ─────────────────────────────── */
.benefits-section {
  background-color: var(--color-bg-white);
}

.benefits-stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.stage-card {
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-figma-inset);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.stage-card-pink { border: 1px solid var(--color-brand-pink); }
.stage-card-blue { border: 1px solid var(--color-brand-blue); }
.stage-card-orange { border: 1px solid var(--color-brand-orange); }
.stage-card-green { border: 1px solid var(--color-primary); }

.stage-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
}

.stage-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.stage-subtitle {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.stage-body {
  font-family: var(--font-heading);
  font-size: 11px;
  line-height: 1.5;
  flex-grow: 1;
}

.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 11px;
  padding-top: var(--space-3);
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

/* Horizontal Milestone Bar */
.benefits-milestone-wrap {
  position: relative;
  max-width: 1040px;
  margin: var(--space-10) auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.milestone-flower-left {
  position: absolute;
  left: -20px;
  bottom: -15px;
  width: 75px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.milestone-flower-right {
  position: absolute;
  right: -20px;
  bottom: -15px;
  width: 65px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.benefits-milestone-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.milestone-item {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
}

.milestone-arrow {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  font-size: 16px;
}

/* ── 11. FULL KIT (Section 8) ─────────────────────────────────────────────── */
.starter-kit-section {
  background-color: var(--color-bg-white);
}

.starter-kit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-10);
  max-width: 1200px;
  margin: 0 auto;
}

.kit-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kit-cloud-halo {
  display: none; /* Replaced by Figma scalloped cloud frame */
}

.kit-diagram-img {
  position: relative;
  z-index: 2;
  max-width: 480px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.kit-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.kit-desc {
  font-family: var(--font-heading);
  font-size: 15px;
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.kit-price-block {
  margin-bottom: var(--space-5);
}

.kit-price-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  display: block;
}

.kit-price-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-price); /* 80px */
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.kit-checklist-box {
  margin-bottom: var(--space-8);
}

.kit-checklist-header {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-3);
}

.kit-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.kit-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
}

.kit-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-brand-pink);
  color: var(--color-brand-pink);
  border-radius: 4px;
  transform: rotate(5deg);
  font-size: 12px;
  font-weight: bold;
}

.kit-check-icon-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
}

.pricing-check-icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
}

.growth-arrow-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ── 12. BẢNG GIÁ (Section 9) ─────────────────────────────────────────────── */
.pricing-section {
  background-color: var(--color-bg-white);
  overflow: visible;
}

.pricing-main-title {
  font-size: var(--font-size-5xl);
}

.pricing-subtitle {
  font-family: var(--font-heading);
  font-size: 24px;
}

.pricing-cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: var(--space-12);
  padding: 30px 0;
  position: relative;
}

.pricing-card-wrap {
  position: relative;
  transition: transform var(--transition-normal);
}

.pricing-card-wrap.tilt-left {
  transform: rotate(4.95deg);
}

.pricing-card-wrap.tilt-center {
  transform: rotate(-2.8deg);
  z-index: 2;
}

.pricing-card-wrap.tilt-right {
  transform: rotate(-8.53deg);
}

.pricing-card-wrap:hover {
  transform: rotate(0deg) scale(1.03);
  z-index: 5;
}

.pricing-card {
  width: 320px;
  min-height: 410px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-figma-inset);
  border-radius: 36px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(4px);
}

.pricing-card-trial { border: 2px solid var(--color-brand-blue); }
.pricing-card-standard { border: 2px solid var(--color-brand-pink); }
.pricing-card-optimal { border: 2px solid var(--color-brand-yellow-gold); }

.pricing-card-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.pricing-plan-badge {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 4px;
}

.pricing-plan-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 4px;
}

.pricing-plan-cost {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: var(--font-weight-bold);
}

.pricing-features {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-6);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
}

.pricing-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
  line-height: 1;
}

.pricing-card-trial .pricing-check-icon {
  background-color: rgba(0, 143, 230, 0.15);
  color: var(--color-brand-blue);
  border: 1.5px solid var(--color-brand-blue);
}

.pricing-card-standard .pricing-check-icon {
  background-color: rgba(239, 14, 106, 0.12);
  color: var(--color-brand-pink);
  border: 1.5px solid var(--color-brand-pink);
}

.pricing-card-optimal .pricing-check-icon {
  background-color: rgba(240, 85, 54, 0.12);
  color: var(--color-brand-yellow-gold);
  border: 1.5px solid var(--color-brand-yellow-gold);
}

/* Floating flowers flanking pricing section title */
.pricing-header-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}

.pricing-title-flower {
  position: absolute;
  width: 54px;
  height: auto;
  pointer-events: none;
  opacity: 0.95;
}

.pricing-title-flower.flower-left {
  top: 6px;
  left: -70px;
  transform: rotate(-10deg);
}

.pricing-title-flower.flower-right {
  top: 6px;
  right: -70px;
  transform: scaleX(-1) rotate(-10deg);
}

/* Mascot friends beside pricing cards */
.pricing-mascot-blue {
  position: absolute;
  top: -65px;
  left: -60px;
  width: 130px;
  height: auto;
  pointer-events: none;
  z-index: -1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
}

.pricing-mascot-yellow {
  position: absolute;
  bottom: -35px;
  right: -65px;
  width: 115px;
  height: auto;
  pointer-events: none;
  z-index: -1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.08));
}

/* ── 13. CÂU HỎI THƯỜNG GẶP (FAQ - Section 10) ────────────────────────────── */
.faq-section {
  background-color: var(--color-bg-white);
}

.faq-title {
  color: #EE9712;
  font-size: 36px;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 1030px;
  margin: var(--space-8) auto 0;
}

.faq-item {
  border: 2px solid #EE9712;
  border-radius: 40px;
  overflow: hidden;
  background: var(--color-bg-white);
  transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(238, 151, 18, 0.15);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 14px 28px;
  text-align: left;
  background: transparent;
  gap: 16px;
}

.faq-number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: #008D61;
  width: 45px;
  flex-shrink: 0;
}

.faq-question {
  flex-grow: 1;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: #40B691;
}

.faq-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform var(--transition-normal);
}

.faq-caret-icon-svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

.faq-trigger[aria-expanded="true"] .faq-arrow-icon {
  transform: rotate(180deg);
}

.faq-answer-collapse {
  padding: 0 28px 20px 88px;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: var(--line-height-relaxed);
  color: var(--color-text-main);
}

.faq-contact-note {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  text-align: center;
  margin-top: var(--space-8);
}

/* ── 14. FINAL CALL TO ACTION (Section 11) ────────────────────────────────── */
.cta-section {
  position: relative;
  background-color: var(--color-bg-white);
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  overflow: hidden;
}

.cta-grass-backdrop {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.cta-grass-img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-mascot-visual {
  position: relative;
  width: 220px;
  height: auto;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-flower-mascot {
  width: 340px;
  max-width: 85vw;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 25px rgba(255, 210, 51, 0.4));
  pointer-events: none;
}

.cta-pot-body {
  width: 100%;
  height: auto;
}

.cta-pot-face {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-2);
}

.cta-desc {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: var(--space-8);
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* ── 15. FOOTER & LIÊN HỆ (Section 12) ────────────────────────────────────── */
.site-footer {
  position: relative;
  background-color: var(--color-primary-soft); /* #E8FFEB */
}

.footer-scallop-divider {
  width: 100%;
  overflow: hidden;
  margin-top: -1px;
}

.footer-scallop-img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-main-content {
  padding-top: var(--space-10);
  padding-bottom: var(--space-16);
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
}

.footer-logo-img {
  height: 90px;
  width: auto;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: var(--font-weight-medium);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-social-link:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.footer-social-link .social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-10);
  line-height: 1.3;
}

.footer-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(64, 182, 145, 0.25);
  padding-top: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-family: var(--font-heading);
  font-size: 16px;
  color: rgba(64, 182, 145, 0.85);
  margin-bottom: var(--space-2);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-primary-dark);
  flex-wrap: wrap;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

.legal-separator {
  color: rgba(64, 182, 145, 0.4);
}

.footer-product-desc {
  font-family: var(--font-heading);
  font-size: 16px;
  color: rgba(64, 182, 145, 0.85);
}

/* ── 16. REGISTRATION MODAL ───────────────────────────────────────────────── */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-wrapper.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  padding: 36px;
  z-index: 2;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header-decor {
  text-align: center;
  margin-bottom: var(--space-6);
}

.modal-flower-img {
  width: 70px;
  height: auto;
  margin: 0 auto var(--space-2);
}

.modal-plan-badge {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-2);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
  margin-bottom: var(--space-2);
}

.modal-subtitle {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 6px;
}

.form-label .required {
  color: var(--color-brand-pink);
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(64, 182, 145, 0.2);
}

.form-input.has-error {
  border-color: var(--color-brand-red);
}

.form-field-error {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--color-brand-red);
  margin-top: 4px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

/* Modal Success State */
.modal-success-box {
  text-align: center;
  padding: 40px 20px;
}

.success-icon-wrap {
  font-size: 64px;
  margin-bottom: var(--space-4);
}

.success-title {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-3);
}

.success-desc {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.success-plan-info {
  background: var(--color-primary-soft);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.success-plan-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
}

.success-sub {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* ── 17. MOBILE NAVIGATION DRAWER ─────────────────────────────────────────── */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  visibility: hidden;
  transition: visibility var(--transition-normal);
}

.mobile-nav-drawer.is-open {
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav-drawer.is-open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: var(--color-bg-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 2;
}

.mobile-nav-drawer.is-open .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.mobile-nav-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.mobile-nav-close {
  font-size: 32px;
  color: var(--color-text-muted);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-grow: 1;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  display: block;
}

.mobile-nav-actions {
  margin-top: auto;
}

/* ── 18. TOAST NOTIFICATION ───────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1E293B;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}

.toast-error {
  background: var(--color-brand-red);
}

.toast-success {
  background: var(--color-primary-dark);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── 19. RESPONSIVE BREAKPOINTS ───────────────────────────────────────────── */

/* LAPTOP / TABLET LANDSCAPE (max-width: 1199px) */
@media (max-width: 1199px) {
  .nav-menu {
    gap: var(--space-4);
  }

  .nav-link {
    font-size: 16px;
  }

  .btn-pill-outline {
    font-size: 16px;
    padding: 8px 18px;
  }

  .hero-sun-bg {
    width: 250px;
    left: -70px;
    top: 260px;
  }

  .routine-cloud-left {
    width: 480px;
    left: -100px;
    top: 20px;
  }

  .routine-cloud-right {
    width: 500px;
    right: -80px;
    bottom: -20px;
  }

  .hero-pot-frame {
    height: 440px;
  }

  .hero-floating-card {
    min-width: 190px;
    padding: 6px 12px;
  }

  .sensors-surround-wrapper {
    grid-template-columns: 1fr 280px 1fr;
  }

  .benefits-stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-cards-container {
    gap: var(--space-4);
  }

  .pricing-card {
    width: 320px;
    padding: 24px 20px;
  }
}

/* TABLET PORTRAIT (max-width: 991px) */
@media (max-width: 991px) {
  .nav-menu, .nav-cta-wrapper {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .routine-cloud-left {
    width: 380px;
    left: -80px;
    top: 15px;
    opacity: 0.85;
  }

  .routine-cloud-right {
    width: 400px;
    right: -60px;
    bottom: -10px;
    opacity: 0.85;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-10);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-sun-bg {
    display: none;
  }

  .hero-visual-col {
    margin-top: var(--space-6);
  }

  .routine-showcase-card {
    flex-direction: column;
    padding: 30px 24px;
  }

  .routine-tabs-side {
    width: 100%;
    height: 200px;
  }

  .sensors-surround-wrapper {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .sensors-center-visual {
    order: -1;
    margin-bottom: var(--space-6);
  }

  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .app-features-stack {
    max-width: 100%;
  }

  .starter-kit-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .kit-checklist {
    align-items: center;
  }

  .kit-actions {
    display: flex;
    justify-content: center;
  }

  .pricing-cards-container {
    flex-direction: column;
    gap: var(--space-10);
  }

  .pricing-card-wrap.tilt-left,
  .pricing-card-wrap.tilt-right {
    transform: rotate(0deg);
  }

  .pricing-card {
    width: 100%;
    max-width: 400px;
  }

  .pricing-mascot-blue,
  .pricing-mascot-yellow,
  .pricing-title-flower {
    display: none;
  }

  .footer-top-row {
    flex-direction: column;
    gap: var(--space-6);
    align-items: flex-start;
  }

  .footer-social-links {
    gap: var(--space-6);
  }
}

/* MOBILE PHONES (max-width: 767px) */
@media (max-width: 767px) {
  :root {
    --navbar-height: 80px;
  }

  section[id] {
    scroll-margin-top: 80px;
  }

  .nav-logo-img {
    height: 48px;
    max-height: 48px;
  }

  .cta-flower-mascot {
    width: 220px;
  }

  .routine-cloud-left {
    width: 260px;
    left: -50px;
    top: 10px;
    opacity: 0.8;
  }

  .routine-cloud-right {
    width: 280px;
    right: -40px;
    bottom: 0px;
    opacity: 0.8;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  .hero-pot-frame {
    height: 380px;
    max-width: 100%;
  }

  .hero-mint-halo {
    width: 200px;
    height: 200px;
  }

  .hero-pot-main {
    max-height: 280px;
  }

  .hero-floating-card {
    display: none; /* Hide floating pills on small mobile to avoid layout clipping */
  }

  .benefits-stages-grid {
    grid-template-columns: 1fr;
  }

  .benefits-milestone-bar {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .milestone-flower-left,
  .milestone-flower-right {
    display: none;
  }

  .routine-photo-frame {
    max-width: 220px;
  }

  .kit-price-number {
    font-size: 52px;
  }

  .faq-answer-collapse {
    padding: 0 16px 16px 50px;
    font-size: 14px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-trigger {
    padding: 12px 18px;
    gap: 12px;
  }

  .cta-title {
    font-size: 30px;
  }

  .footer-social-link {
    font-size: 22px;
  }

  .footer-slogan {
    font-size: 22px;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .modal-dialog {
    padding: 24px 18px;
  }
}
