/* =========================================================
   NEXT BOX CENTER — Design System
   ========================================================= */

:root {
  /* Greens from logo */
  --green-900: #1B5E20;
  --green-800: #2E7D32;
  --green-700: #388E3C;
  --green-600: #43A047;
  --green-500: #4CAF50;
  --green-400: #66BB6A;
  --green-300: #81C784;
  --green-200: #A5D6A7;
  --green-100: #C8E6C9;
  --green-50:  #F1F8E9;
  --yellow-green: #7CB342;

  /* Neutrals */
  --text-primary:   #1A1A1A;
  --text-secondary: #555555;
  --text-light:     #888888;
  --border:         #E0E0E0;
  --bg-light:       #F8FAF8;
  --white:          #FFFFFF;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1280px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --shadow-green: 0 8px 32px rgba(46,125,50,0.20);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Container ─────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.display-1 { font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 800; }
.display-2 { font-size: clamp(2rem, 3.5vw, 3rem);   font-weight: 800; }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
}
.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
  display: block;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  color: var(--white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(46,125,50,0.30);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-800);
}
.btn-outline-green {
  border: 2px solid var(--green-700);
  color: var(--green-700);
  background: transparent;
}
.btn-outline-green:hover {
  background: var(--green-700);
  color: var(--white);
}
.btn-lg { padding: 20px 42px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ─── Badge / Tag ────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-green { background: var(--green-100); color: var(--green-800); }
.badge-dark  { background: var(--green-900); color: var(--white); }

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img, .nav-logo svg {
  height: 48px;
  width: auto;
}
.logo-img { height: 48px; width: auto; display: block; }
/* Logo sur fond sombre (hero) : fond blanc arrondi pour lisibilité */
.nav.hero-nav .nav-logo {
  background: rgba(255,255,255,0.92);
  border-radius: 10px;
  padding: 4px 10px;
}
/* Logo footer : légère opacité sur fond noir */
.footer-logo {
  height: 44px;
  width: auto;
  background: rgba(255,255,255,0.90);
  border-radius: 8px;
  padding: 4px 8px;
  margin-bottom: 16px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after { width: 100%; }
.nav.hero-nav .nav-links a { color: var(--white); }
.nav.hero-nav .nav-links a::after { background: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px 40px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=85') center center / cover no-repeat;
  /* Remplacer par la photo panoramique d'Oran depuis Santa Cruz */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,94,32,0.88) 0%,
    rgba(46,125,50,0.72) 50%,
    rgba(27,94,32,0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  padding-top: 40px;
}
.hero-content .label { color: rgba(255,255,255,0.8); }
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.hero-title span { color: #A5D6A7; }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ─── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
  background: var(--green-900);
  color: var(--white);
  padding: 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide: 1px solid rgba(255,255,255,0.1);
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green-300);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ─── Concept Section ────────────────────────────────────── */
.concept {
  padding: var(--section-padding);
  background: var(--white);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concept-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.concept-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.concept-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.concept-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.concept-badge-text strong { display: block; font-weight: 700; font-size: 0.95rem; }
.concept-badge-text span { font-size: 0.8rem; color: var(--text-secondary); }
.concept-content .section-title { margin-bottom: 1.25rem; }
.concept-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}
.concept-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2.5rem;
}
.concept-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 2px;
}
.feature-text strong { display: block; font-weight: 600; margin-bottom: 2px; }
.feature-text span { font-size: 0.875rem; color: var(--text-secondary); }

/* ─── Use Cases ──────────────────────────────────────────── */
.usecases {
  padding: var(--section-padding);
  background: var(--green-50);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle { margin: 0 auto; }
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usecase-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.usecase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--green-400));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.usecase-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.usecase-card:hover::before { transform: scaleX(1); }
.usecase-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.usecase-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.usecase-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ─── Gallery / Box Showcase ─────────────────────────────── */
.showcase {
  padding: var(--section-padding);
  background: var(--white);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
  margin-top: 48px;
}
.showcase-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.showcase-item:first-child {
  grid-row: 1 / 3;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.showcase-item:hover img { transform: scale(1.06); }
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,94,32,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.showcase-item:hover .showcase-overlay { opacity: 1; }
.showcase-overlay span {
  color: var(--white);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

/* ─── Pricing ────────────────────────────────────────────── */
.pricing {
  padding: var(--section-padding);
  background: var(--green-50);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  border: none;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-period,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-feature { color: rgba(255,255,255,0.9); }
.pricing-card.featured .pricing-feature-icon { background: rgba(255,255,255,0.15); }
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow-green);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-plan {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 8px;
}
.pricing-card.featured .pricing-plan { color: var(--green-200); }
.pricing-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 8px 0 4px;
  color: var(--text-primary);
}
.pricing-price sup {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
  margin-top: 8px;
}
.pricing-period {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.2); }
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  margin-bottom: 32px;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.pricing-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.pricing-card.featured .btn-primary {
  background: var(--white);
  color: var(--green-800);
  box-shadow: none;
}
.pricing-card.featured .btn-primary:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}
.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ─── How it works ───────────────────────────────────────── */
.how {
  padding: var(--section-padding);
  background: var(--white);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-200), var(--green-400), var(--green-200));
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-green);
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq {
  padding: var(--section-padding);
  background: var(--green-50);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  margin-top: 20px;
}
.faq-intro .section-title { margin-bottom: 1rem; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.975rem;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--green-700); }
.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}
.cta-inner .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-inner .section-subtitle { color: rgba(255,255,255,0.78); margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: #111;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
}
.social-btn:hover { background: var(--green-700); color: var(--white); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-300); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
}
.footer-contact-item span:first-child { font-size: 1rem; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--green-400); }

/* ─── Animations ─────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Page Header (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Booking Page ───────────────────────────────────────── */
.booking-section {
  padding: 80px 0;
  background: var(--bg-light);
  min-height: 70vh;
}
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.booking-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.booking-panel-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.booking-panel-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}
.booking-panel-body { padding: 32px; }

/* Box selector */
.box-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}
.box-btn {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-primary);
  flex-direction: column;
  gap: 4px;
}
.box-btn .box-num { font-size: 1.2rem; }
.box-btn .box-label { font-size: 0.65rem; color: var(--text-light); font-weight: 500; font-family: 'Inter', sans-serif; }
.box-btn.available { border-color: var(--green-200); }
.box-btn.available:hover { border-color: var(--green-600); background: var(--green-50); }
.box-btn.selected { border-color: var(--green-700); background: var(--green-700); color: var(--white); }
.box-btn.selected .box-label { color: rgba(255,255,255,0.7); }
.box-btn.booked { border-color: var(--border); background: var(--bg-light); color: var(--text-light); cursor: not-allowed; opacity: 0.5; }

/* Calendar */
.calendar-container {
  margin-bottom: 32px;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.calendar-nav h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: capitalize;
}
.cal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  font-size: 1.1rem;
}
.cal-nav-btn:hover { border-color: var(--green-600); background: var(--green-50); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day-name {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 0 10px;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  font-weight: 500;
}
.cal-day:hover:not(.empty):not(.past):not(.full) {
  background: var(--green-50);
  color: var(--green-800);
}
.cal-day.empty { cursor: default; }
.cal-day.past { color: var(--border); cursor: not-allowed; }
.cal-day.available { color: var(--text-primary); }
.cal-day.partial { color: var(--text-primary); }
.cal-day.partial::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow-green);
}
.cal-day.full { color: var(--text-light); cursor: not-allowed; }
.cal-day.full::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #EF5350;
}
.cal-day.selected {
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
}
.cal-day.in-range {
  background: var(--green-100);
  border-radius: 0;
  color: var(--green-800);
}
.cal-day.range-start { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.cal-day.range-end { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cal-day.today { font-weight: 800; color: var(--green-700); }
.cal-day.today:not(.selected)::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-500);
}

/* Calendar legend */
.cal-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.cal-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Formula selector */
.formula-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.formula-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}
.formula-option:hover { border-color: var(--green-300); background: var(--green-50); }
.formula-option.selected { border-color: var(--green-700); background: var(--green-50); }
.formula-option-left { display: flex; align-items: center; gap: 14px; }
.formula-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.formula-option.selected .formula-radio {
  border-color: var(--green-700);
  background: var(--green-700);
}
.formula-option.selected .formula-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}
.formula-name { font-weight: 600; font-size: 0.95rem; }
.formula-desc { font-size: 0.78rem; color: var(--text-secondary); }
.formula-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-700);
}

/* Summary panel */
.summary-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.summary-header {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  padding: 24px 28px;
}
.summary-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}
.summary-body { padding: 24px 28px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.9rem;
  gap: 12px;
}
.summary-row .label-text { color: var(--text-secondary); }
.summary-row .value-text { font-weight: 600; text-align: right; }
.summary-divider { height: 1px; background: var(--border); margin: 20px 0; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.summary-total .total-label {
  font-weight: 700;
  font-size: 1rem;
}
.summary-total .total-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--green-800);
}

/* Booking form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text-primary);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Steps indicator */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}
.booking-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.booking-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition);
}
.booking-step.active .booking-step-num {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}
.booking-step.done .booking-step-num {
  background: var(--green-200);
  border-color: var(--green-300);
  color: var(--green-800);
}
.booking-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}
.booking-step.active .booking-step-label { color: var(--green-700); }
.booking-step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 0 4px;
}

/* Notification */
.notification {
  display: none;
  position: fixed;
  top: 100px;
  right: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--green-600);
  z-index: 9999;
  max-width: 380px;
  align-items: center;
  gap: 12px;
}
.notification.show { display: flex; animation: slideIn 0.4s ease; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .concept-grid { grid-template-columns: 1fr; gap: 48px; }
  .concept-visual img { height: 380px; }
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .showcase-item:first-child { grid-row: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .steps::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .booking-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { height: auto; min-height: 560px; padding: 100px 0 60px; align-items: flex-start; }
  .hero-content { padding-top: 0; }
  .hero-actions { flex-direction: column; }
  .usecases-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .booking-steps { flex-wrap: wrap; }
  .booking-step-connector { display: none; }
  .box-selector { grid-template-columns: repeat(5, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
}
