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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

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

/* ── Scroll Reveal (progressive enhancement) ─────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal:nth-child(2) { transition-delay: 0.08s; }
  .reveal:nth-child(3) { transition-delay: 0.16s; }
  .reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* ── Navigation ─────────────────────────────────── */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 20px rgba(15, 23, 42, 0.06);
}

/* ── Hero ───────────────────────────────────────── */
.hero-section {
  padding-top: 120px;
  padding-bottom: 100px;
  background: linear-gradient(160deg, #f0fdfa 0%, #f8fafc 40%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  border-radius: 100px;
  color: #0d9488;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

/* Headline */
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-headline em {
  font-style: italic;
  color: #0d9488;
}

/* Subtext */
.hero-subtext {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
  max-width: 520px;
  margin-bottom: 36px;
}

/* Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: #0d9488;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.btn-primary-lg {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: transparent;
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid #e2e8f0;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: #0d9488;
  color: #0d9488;
  transform: translateY(-2px);
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: transparent;
  color: #0d9488;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid rgba(13, 148, 136, 0.3);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-secondary-outline:hover {
  background: rgba(13, 148, 136, 0.06);
  border-color: #0d9488;
  transform: translateY(-2px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-image-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-accent {
  position: absolute;
  bottom: -30px;
  left: -40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  border: 4px solid #fff;
}

.hero-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accent-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #0d9488;
  backdrop-filter: blur(8px);
}

@media (min-width: 1024px) {
  .hero-image-accent {
    bottom: -40px;
    left: -60px;
  }
}

/* ── Section Shared ─────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d9488;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #475569;
}

/* ── Services ───────────────────────────────────── */
.services-section {
  padding: 100px 0;
  background: #fff;
}

.service-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid #e2e8f0;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: rgba(13, 148, 136, 0.2);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
}

.service-divider {
  height: 1px;
  background: #e2e8f0;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  font-weight: 500;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d9488;
  flex-shrink: 0;
}

/* ── How It Works ───────────────────────────────── */
.how-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdfa 100%);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .how-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }
}

.how-image-stack {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.how-image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.how-floating-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.floating-card-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(13, 148, 136, 0.12);
  line-height: 1;
  flex-shrink: 0;
  min-width: 64px;
}

.step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

.how-cta {
  margin-top: 40px;
}

/* ── Why LibertyX ───────────────────────────────── */
.why-section {
  padding: 100px 0;
  background: #fff;
}

.why-card {
  background: #f8fafc;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid #e2e8f0;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.why-card:hover {
  border-color: rgba(13, 148, 136, 0.2);
  box-shadow: 0 12px 40px rgba(13, 148, 136, 0.08);
  transform: translateY(-4px);
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-card-icon.teal {
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
}

.why-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.why-card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

/* ── Trust Section ──────────────────────────────── */
.trust-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #f0fdfa 0%, #f8fafc 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
}

.trust-badge svg {
  color: #0d9488;
  flex-shrink: 0;
}

.trust-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

/* ── Location ───────────────────────────────────── */
.location-section {
  padding: 100px 0;
  background: #fff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: start;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-detail-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.location-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

.location-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  min-height: 400px;
}

/* ── CTA Section ────────────────────────────────── */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f766e 0%, #115e59 50%, #134e4a 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
}

.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.cta-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: #0f172a;
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 18px;
}

.footer-link {
  display: block;
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #2dd4bf;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copyright {
  font-size: 13px;
  color: #64748b;
}

.footer-legal {
  font-size: 12px;
  color: #475569;
  line-height: 1.6;
}

/* ── Mobile Menu ────────────────────────────────── */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-link {
  display: block;
  padding: 8px 0;
}
