html {
  scroll-behavior: smooth;
}
#calculator {
  scroll-margin-top: 80px;
}

/* ══════════════════════════════════
   PAGE TRANSITION — CURTAIN
══════════════════════════════════ */

.curtain-left,
.curtain-right {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #1D9E75 0%, #0F6E56 100%);
  z-index: 9999;
  pointer-events: none;
}

.curtain-left {
  left: 0;
  transform: scaleX(0);
  transform-origin: left center;
}

.curtain-right {
  right: 0;
  transform: scaleX(0);
  transform-origin: right center;
}

.curtain-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  letter-spacing: -1px;
}

.curtain-logo span {
  color: rgba(255, 255, 255, 0.6);
}

/* Curtain closing — slides IN */
.curtain-left.closing {
  animation: curtain-left-close 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.curtain-right.closing {
  animation: curtain-right-close 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.curtain-logo.closing {
  animation: logo-appear 0.3s ease 0.25s forwards;
}

/* Curtain opening — slides OUT */
.curtain-left.opening {
  transform: scaleX(1);
  animation: curtain-left-open 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.curtain-right.opening {
  transform: scaleX(1);
  animation: curtain-right-open 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.curtain-logo.opening {
  opacity: 1;
  animation: logo-disappear 0.3s ease forwards;
}

@keyframes curtain-left-close {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes curtain-right-close {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes curtain-left-open {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes curtain-right-open {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes logo-appear {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes logo-disappear {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, -60%); }
}

/* ── RESET & BASE ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
}

/* ── NAVBAR ── */

/* ══════════════════════════════════
   NAVBAR — Option 3
   Center Expand Underline + Fill Button
══════════════════════════════════ */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #080808;
  border-bottom: 1px solid #111111;
  transition: all 0.3s ease;
}

/* Scrolled state — adds blur */
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Bottom glow line */
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 158, 117, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.navbar.scrolled::after {
  opacity: 1;
}

/* ── LOGO ── */
.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-logo span {
  color: #1D9E75;
  transition: all 0.3s;
}

.nav-logo:hover {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.nav-logo:hover span {
  text-shadow: 0 0 15px rgba(29, 158, 117, 0.7);
  filter: brightness(1.3);
}

/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: #555555;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s ease;
}

/* Center expand underline effect */
.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: linear-gradient(90deg, #1D9E75, #2dd4a0);
  border-radius: 2px;
  transition: all 0.3s ease;
  box-shadow: none;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::before {
  left: 0;
  right: 0;
  box-shadow: 0 0 8px rgba(29, 158, 117, 0.5);
}

/* Active link state */
.nav-links a.active {
  color: #ffffff;
}

.nav-links a.active::before {
  left: 0;
  right: 0;
  box-shadow: 0 0 8px rgba(29, 158, 117, 0.5);
}

/* ── CTA BUTTON — Fill Effect ── */
.nav-cta {
  color: #1D9E75;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 8px;
  border: 1px solid #1D9E75;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  display: inline-block;
}

/* Fill slides in from left */
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1D9E75, #0F6E56);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
  z-index: 0;
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

.nav-cta:hover {
  color: #ffffff;
  box-shadow: 0 0 20px rgba(29, 158, 117, 0.3);
}

.nav-cta:hover::before {
  transform: scaleX(1);
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.3rem;
  background: transparent;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #080808;
  z-index: 999;
  flex-direction: column;
  padding: 2rem;
}

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

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.mobile-menu-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.mobile-menu-logo span {
  color: #1D9E75;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-menu-links a {
  color: #666666;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid #111111;
  transition: all 0.2s;
  position: relative;
}

.mobile-menu-links a::after {
  content: '→';
  position: absolute;
  right: 0;
  opacity: 0;
  transition: all 0.2s;
  color: #1D9E75;
}

.mobile-menu-links a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.mobile-menu-links a:hover::after {
  opacity: 1;
}

.mobile-menu-btn {
  display: block;
  background: linear-gradient(135deg, #1D9E75, #0F6E56);
  color: #ffffff;
  padding: 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-top: 2rem;
  transition: all 0.2s;
  box-shadow: 0 4px 0 #054433;
  position: relative;
  top: 0;
}

.mobile-menu-btn:hover {
  top: -2px;
  box-shadow: 0 6px 0 #054433;
}

.mobile-menu-btn:active {
  top: 3px;
  box-shadow: 0 1px 0 #054433;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .navbar {
    padding: 1rem 1.2rem;
  }
}

/* ── CALCULATOR SECTION ── */
.calculator {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── CALCULATOR BOX ── */
.calc-box {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 2rem;
}

.calc-box h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

/* ── FIELDS ── */
.field {
  margin-bottom: 1.2rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 0.4rem;
}

.field select,
.field input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
}

.field select:focus,
.field input:focus {
  border-color: #1D9E75;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: border 0.2s;
}

.input-wrap:focus-within {
  border-color: #1D9E75;
}

.input-wrap span {
  padding: 0 0.85rem;
  color: #888888;
  font-size: 0.95rem;
  border-right: 1px solid #2a2a2a;
}

.input-wrap input {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0.75rem 1rem;
}

/* ── BUTTON ── */
.calc-box button {
  width: 100%;
  padding: 0.85rem;
  background: #1D9E75;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.calc-box button:hover {
  background: #0F6E56;
}

/* ── RESULT BOX ── */
.result-box {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: 16px;
  padding: 2rem;
  display: none;
}

.result-box.visible {
  display: block;
}

.result-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.result-label {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 0.3rem;
}

.result-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1D9E75;
}

.result-pkr {
  font-size: 0.9rem;
  color: #888888;
  margin-top: 0.2rem;
}

.time-badge {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #888888;
}

/* ── BREAKDOWN ── */
.breakdown {
  border-top: 1px solid #1f1f1f;
  padding-top: 1.2rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #cccccc;
}

.breakdown-row.deduction span:last-child {
  color: #E24B4A;
}

.breakdown-row.total {
  border-top: 1px solid #1f1f1f;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
}

.breakdown-row.total span:last-child {
  color: #1D9E75;
  font-size: 1.1rem;
}

/* ── TIP BOX ── */
.tip-box {
  margin-top: 1.2rem;
  background: #0d1f1a;
  border: 1px solid #1D9E75;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: #1D9E75;
  display: none;
}

.tip-box.visible {
  display: block;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #1f1f1f;
  color: #444444;
  font-size: 0.85rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav {
    padding: 1rem 1.2rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
  }

  .hero {
    padding: 3rem 1.2rem 2.5rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .calculator {
    padding: 1.5rem 1rem 3rem;
  }

  .calc-box {
    padding: 1.2rem;
  }

  .calc-box h2 {
    font-size: 1.1rem;
  }

  .calc-box button {
    font-size: 0.95rem;
  }

  .result-box {
    padding: 1.2rem;
  }

  .result-amount {
    font-size: 1.7rem;
  }

  .result-top {
    flex-direction: column;
    gap: 1rem;
  }

  .time-badge {
    width: fit-content;
  }

  .breakdown-row {
    font-size: 0.85rem;
  }
}

/* ── COUNTRIES STRIP ── */
.countries-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  background: #0d0d0d;
}

.countries-strip span {
  font-size: 0.85rem;
  color: #888888;
  padding: 0.3rem 0.8rem;
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: 20px;
}

/* ── FEATURES STRIP ── */
/* ── FEATURES STRIP ── */
.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #111111;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  margin-top: 3rem;
  max-width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: #0a0a0a;
  border-right: 1px solid #1f1f1f;
}

.feature-item:last-child {
  border-right: none;
}

.feature-item-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.8rem;
  color: #888888;
}

/* ── COUNTRIES STRIP ── */
.countries-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.2rem 2rem;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  background: #0d0d0d;
}

.countries-strip span {
  font-size: 0.8rem;
  color: #888888;
  padding: 0.25rem 0.75rem;
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .features-strip {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid #1f1f1f;
  }

  .countries-strip {
    gap: 0.4rem;
    padding: 1rem;
  }
}

/* ── HERO BADGE ── */

/* ── HOW IT WORKS ── */
.how-it-works {
  background: #0d0d0d;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
  padding: 4rem 2rem;
}

.hiw-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hiw-tag {
  display: inline-block;
  background: #0d1f1a;
  color: #1D9E75;
  border: 1px solid #1D9E75;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hiw-wrap h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3rem;
}

.hiw-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hiw-step {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 1.5rem;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
}

.hiw-number {
  width: 40px;
  height: 40px;
  background: #1D9E75;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.hiw-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.hiw-step p {
  font-size: 0.85rem;
  color: #888888;
  line-height: 1.5;
}

.hiw-arrow {
  font-size: 1.5rem;
  color: #1D9E75;
  font-weight: 300;
}

/* ── FULL FOOTER ── */
.main-footer {
  background: #0a0a0a;
  border-top: 1px solid #1f1f1f;
  padding: 3rem 2rem 0;
}

.footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1f1f1f;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: #1D9E75;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #888888;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #888888;
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #444444;
}

/* ── RESPONSIVE NEW ── */
@media (max-width: 768px) {
  .hero-stats {
    gap: 1.5rem;
  }

  .hiw-arrow {
    display: none;
  }

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

  .hiw-step {
    max-width: 100%;
    width: 100%;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .footer-links {
    grid-template-columns: 1fr;
  }
} 
/* ── HIW SUBTITLE ── */
.hiw-subtitle {
  font-size: 0.95rem;
  color: #888888;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── WHY SETTLO ── */
.why-settlo {
  padding: 5rem 2rem;
  background: #0a0a0a;
}

.why-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

.why-text p {
  font-size: 0.95rem;
  color: #888888;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-card {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 1.2rem;
  transition: border-color 0.2s;
}

.why-card:hover {
  border-color: #1D9E75;
}

.why-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.why-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.why-card p {
  font-size: 0.8rem;
  color: #888888;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-cards {
    grid-template-columns: 1fr;
  }
}
/* ── BENEFITS SECTION ── */
.invoice-benefits {
  background: #0d0d0d;
  border-bottom: 1px solid #1f1f1f;
  padding: 2.5rem 2rem;
}

.ib-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ib-card {
  background: #111111;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  padding: 1.2rem;
  transition: border-color 0.2s;
}

.ib-card:hover {
  border-color: #1D9E75;
}

.ib-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.ib-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.ib-card p {
  font-size: 0.8rem;
  color: #888888;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ib-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ib-wrap {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════
   HERO 3D — VERSION C
   Aurora + Shimmer + Animated Button
══════════════════════════════════ */

/* Perspective wrapper */
.hero-perspective {
  perspective: 1200px;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Main card */
.hero {
  background: linear-gradient(160deg, #0d1a12 0%, #080808 50%, #0a0a0a 100%);
  border: 1px solid rgba(29, 158, 117, 0.15);
  border-radius: 24px;
  padding: 4rem 2.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(29, 158, 117, 0.05);
  cursor: default;
}

/* Top border glow line */
.hero-top-line {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 158, 117, 0.5), transparent);
}

/* Aurora blobs */
.hero-aurora {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-aurora.a1 {
  width: 500px;
  height: 500px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.12) 0%, transparent 70%);
  animation: hero-drift1 8s ease-in-out infinite alternate;
}

.hero-aurora.a2 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -80px;
  background: radial-gradient(circle, rgba(45, 212, 160, 0.07) 0%, transparent 70%);
  animation: hero-drift2 10s ease-in-out infinite alternate;
}

@keyframes hero-drift1 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes hero-drift2 {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-30px, 40px) scale(0.9); }
}

/* Glow that follows mouse */
.hero-glow-follow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.12) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

/* Content wrapper */
.hero-content {
  position: relative;
  z-index: 5;
  transform: translateZ(0);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(29, 158, 117, 0.15), rgba(45, 212, 160, 0.1));
  color: #2dd4a0;
  border: 1px solid rgba(45, 212, 160, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transform: translateZ(25px);
  display: inline-flex;
}

/* Heading */
.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #2dd4a0 60%, #ffffff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: hero-shimmer 4s ease infinite;
  transform: translateZ(40px);
  display: block;
}

@keyframes hero-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 200% 50%; }
}

/* Highlighted word */
.hero-highlight {
  position: relative;
  display: inline-block;
}

.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1D9E75, #2dd4a0);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(29, 158, 117, 0.8);
  animation: underline-pulse 2s ease-in-out infinite alternate;
}

@keyframes underline-pulse {
  from { opacity: 0.6; box-shadow: 0 0 8px rgba(29, 158, 117, 0.5); }
  to { opacity: 1; box-shadow: 0 0 20px rgba(29, 158, 117, 1); }
}

/* Paragraph */
.hero p {
  font-size: 1.05rem;
  color: #666666;
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto 2rem;
  transform: translateZ(20px);
  display: block;
}

/* Action buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  transform: translateZ(50px);
}

/* Primary button — animated gradient */
.hero-btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #1D9E75, #2dd4a0, #1D9E75);
  background-size: 200% 200%;
  color: #ffffff;
  box-shadow:
    0 6px 0 #054433,
    0 10px 30px rgba(29, 158, 117, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
  animation: btn-gradient 3s ease infinite;
  transition: all 0.15s;
  position: relative;
  top: 0;
}

@keyframes btn-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 200% 50%; }
}

.hero-btn-primary:hover {
  top: -3px;
  box-shadow:
    0 9px 0 #054433,
    0 15px 40px rgba(29, 158, 117, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.hero-btn-primary:active {
  top: 4px;
  box-shadow:
    0 2px 0 #054433,
    0 5px 15px rgba(29, 158, 117, 0.3);
}

/* Secondary button */
.hero-btn-secondary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  color: #888888;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.3),
    0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.15s;
  position: relative;
  top: 0;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #cccccc;
  top: -2px;
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-btn-secondary:active {
  top: 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(29, 158, 117, 0.1);
  transform: translateZ(15px);
}

.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1D9E75, #2dd4a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.2rem;
}

.hero-stat-lbl {
  font-size: 0.75rem;
  color: #555555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(29, 158, 117, 0.15);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-perspective {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 2.5rem 1.5rem 2rem;
    border-radius: 16px;
  }

  .hero h1 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

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

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .hero-stat-divider {
    display: none;
  }
}

/* ══════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════ */

/* Base state — hidden before animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Visible state — triggered by JS */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay variants for staggered animations */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}