/* ============================================
   LIBERTYX BITCOIN ATM — EDITORIAL STYLE
   Deep Navy + Warm Gold
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-950: #060E1A;
  --navy-900: #0A1628;
  --navy-800: #0D1F3C;
  --navy-700: #112B4F;
  --navy-600: #1A3A6B;
  --navy-500: #234B82;
  --gold-500: #C8960C;
  --gold-400: #D4A82C;
  --gold-300: #E0BE5A;
  --gold-200: #F0D88A;
  --gold-100: #F9ECB8;
  --cream: #FAF6EE;
  --cream-light: #FDF9F0;
  --white: #FFFFFF;
  --text-dark: #0A1628;
  --text-muted: #5A6B7E;
  --text-light: #8A9AB0;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(10,22,40,0.08);
  --shadow-md: 0 4px 20px rgba(10,22,40,0.10);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.14);
  --shadow-gold: 0 4px 24px rgba(200,150,12,0.25);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 150, 12, 0.12);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  color: var(--gold-500);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--gold-400);
}

.nav-cta {
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--gold-400) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-950);
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 25% 25%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, var(--gold-500) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
  pointer-events: none;
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,58,107,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-card {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto 60px;
  background: var(--navy-800);
  border: 1px solid rgba(200,150,12,0.18);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(200,150,12,0.06);
  overflow: hidden;
}

.hero-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.hero-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,150,12,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  transform: translateY(-2px);
}

.hero-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 48px;
}

.atm-illustration {
  width: 200px;
  height: 260px;
  flex-shrink: 0;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy-900);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.floating-badge svg {
  color: var(--gold-500);
  flex-shrink: 0;
}

.floating-badge--1 {
  top: 40px;
  right: 20px;
  animation: float1 4s ease-in-out infinite;
}

.floating-badge--2 {
  bottom: 80px;
  left: 10px;
  animation: float2 5s ease-in-out infinite;
}

.floating-badge--3 {
  bottom: 30px;
  right: 30px;
  animation: float3 4.5s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}

/* HERO STATS */
.hero-stats {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,150,12,0.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(200,150,12,0.35);
  transform: translateY(-3px);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
  padding: 100px 0;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.text-gold {
  color: var(--gold-500);
}

.text-navy {
  color: var(--navy-600);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--cream-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(10,22,40,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(200,150,12,0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.step-icon {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  color: var(--gold-500);
  opacity: 0.3;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  background: var(--white);
}

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.features-text {
  position: sticky;
  top: 120px;
}

.features-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--cream);
  border: 1px solid rgba(10,22,40,0.05);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,150,12,0.2);
}

.feature-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.2;
}

.about-content .section-headline {
  margin-top: 8px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-signature {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sig-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold-500);
}

.sig-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.sig-location {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--navy-950);
  padding: 100px 0;
}

.cta-card {
  position: relative;
  background: var(--navy-800);
  border: 1px solid rgba(200,150,12,0.2);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  overflow: hidden;
  text-align: center;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 20% 50%, var(--gold-500) 1px, transparent 1px),
    radial-gradient(circle at 80% 50%, var(--gold-500) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  pointer-events: none;
}

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

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
}

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

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,150,12,0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-400);
  border: 1.5px solid var(--gold-500);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: rgba(200,150,12,0.1);
  transform: translateY(-2px);
}

/* ============================================
   LOCATION
   ============================================ */
.location {
  background: var(--cream-light);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-top: 56px;
  align-items: start;
}

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

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10,22,40,0.05);
}

.location-icon {
  width: 40px;
  height: 40px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.location-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.location-detail p {
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.location-detail a {
  color: var(--gold-500);
  font-weight: 600;
  transition: color 0.2s ease;
}

.location-detail a:hover {
  color: var(--gold-400);
}

.location-map {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(10,22,40,0.06);
}

.location-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.location-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.location-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(to top, rgba(10,22,40,0.85), transparent);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-logo-icon {
  color: var(--gold-500);
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--gold-500);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.2) !important;
  max-width: 400px;
  text-align: right;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
  }

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-card-inner {
    grid-template-columns: 1fr;
  }

  .hero-card-visual {
    min-height: 320px;
    padding: 40px;
  }

  .hero-content {
    padding: 48px 40px;
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .features-text {
    position: static;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 360px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-visual {
    order: -1;
  }

  .location-visual img {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,22,40,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(200,150,12,0.12);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-content {
    padding: 36px 28px;
  }

  .hero-card-visual {
    min-height: 260px;
    padding: 32px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .floating-badge {
    font-size: 0.6875rem;
    padding: 8px 12px;
  }

  .stat-number {
    font-size: 1.375rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
