@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ─── Reveal Animations ───────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* fade-up / visible — auto-applied by animations.js */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delay caps at 6 items (0.1s each) */
.fade-up:nth-child(1) { transition-delay: 0.0s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  transition:
    transform       0.2s ease,
    background-color 0.2s ease,
    color           0.2s ease,
    box-shadow      0.2s ease,
    border-color    0.2s ease;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }

/* Primary */
.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #FF6A1A;
  box-shadow: 0 8px 24px rgba(255, 85, 0, 0.35);
  transform: translateY(-2px);
}

.btn-primary:active {
  background-color: #E04A00;
  box-shadow: none;
  transform: scale(0.97);
}

/* Outline */
.btn-outline {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline:active { transform: scale(0.97); }

/* Small */
.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* ─── Label ───────────────────────────────────────────────────────────────── */
.label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ─── Section Title ───────────────────────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ─── Section Subtitle ────────────────────────────────────────────────────── */
.section-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}

/* ─── Accent Line ─────────────────────────────────────────────────────────── */
.accent-line {
  padding-left: var(--space-sm);
  border-left: 3px solid var(--accent);
}

/* ─── Container ───────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ─── Section Padding ─────────────────────────────────────────────────────── */
.section-pad {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* ─── Page Hero (shared) ──────────────────────────────────────────────────── */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.1) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.page-hero__line {
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.page-hero__title em {
  font-style: normal;
  color: var(--accent);
}

.page-hero__sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
}

/* ─── CTA Banner (shared) ─────────────────────────────────────────────────── */
.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text);
  line-height: 1;
}

.cta-banner__title em {
  font-style: normal;
  color: var(--accent);
}

.cta-banner__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
  margin-top: 8px;
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ─── Loading Progress Bar ────────────────────────────────────────────────── */
.page-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: #FF5500;
  z-index: 9999;
  pointer-events: none;
  transition: width 0.05s linear, opacity 0.4s ease;
}

/* ─── Scroll Progress Indicator ──────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: rgba(255,85,0,0.7);
  z-index: 9998;
  pointer-events: none;
}

/* ─── Back to Top ─────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: #FF5500;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  line-height: 1;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: #FF6A1A; transform: translateY(-2px); }

/* ─── Floating WhatsApp Button ────────────────────────────────────────────── */
.wa-float-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 10001;
}
.wa-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: rgba(37,211,102,0.3);
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}
.wa-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  animation: waBounce 3s ease-in-out infinite;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.wa-float-btn:hover {
  background: #1ebe58;
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
  transform: translateY(-4px) scale(1.04);
  animation: none; /* pause bounce so hover transform applies */
}
.wa-float-btn svg { flex-shrink: 0; }
.wa-float-label { display: flex; flex-direction: column; line-height: 1.25; }
.wa-float-label strong { font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700; }
.wa-float-label small  { font-family: var(--font-body); font-size: 0.68rem; opacity: 0.85; }

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ─── Mobile Bottom Navigation ───────────────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  z-index: 997;
  padding: 6px 0 env(safe-area-inset-bottom, 6px);
}
.mobile-bottom-nav__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mobile-bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
  flex: 1;
}
.mobile-bottom-nav__item.active { color: #FF5500; }
.mobile-bottom-nav__item:hover  { color: #FF5500; }
.mobile-bottom-nav__icon  { font-size: 1.3rem; line-height: 1; }
.mobile-bottom-nav__label {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Sticky Nav Upgrade ──────────────────────────────────────────────────── */
.nav.scrolled {
  box-shadow: 0 1px 0 rgba(255,85,0,0.2), 0 4px 20px rgba(0,0,0,0.8) !important;
}

/* ─── Mobile overrides ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 60px; }
  .wa-float-wrap  { bottom: 72px; right: 16px; }
  .back-to-top    { bottom: 122px; right: 16px; }
  .wa-float-label { display: none; }
  .wa-float-btn   { padding: 14px; border-radius: 50%; }
  .wa-pulse-ring  { border-radius: 50%; }
}
