@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: hsl(200, 15%, 8%);
  --fg: hsl(180, 5%, 90%);
  --card: hsl(200, 12%, 12%);
  --card-fg: hsl(180, 5%, 90%);
  --primary: hsl(180, 45%, 40%);
  --primary-fg: hsl(200, 15%, 8%);
  --secondary: hsl(200, 10%, 16%);
  --secondary-fg: hsl(180, 5%, 85%);
  --muted: hsl(200, 10%, 14%);
  --muted-fg: hsl(200, 8%, 75%);
  --accent: hsl(175, 50%, 35%);
  --border: hsl(200, 10%, 20%);
  --teal-light: hsl(180, 35%, 55%);
  --teal-glow: hsl(175, 60%, 45%);
  --radius: 0.375rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section-padding { padding: 4rem 1rem; }
@media (min-width: 768px) { .section-padding { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .section-padding { padding: 6rem 2rem; } }

.gradient-teal {
  background: linear-gradient(135deg, var(--primary), var(--teal-glow));
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal-light), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  color: var(--primary-fg);
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline.active { background: linear-gradient(135deg, var(--primary), var(--teal-glow)); color: var(--primary-fg); border-color: transparent; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: hsla(180, 45%, 40%, 0.5);
  box-shadow: 0 0 20px -5px hsla(180, 45%, 40%, 0.2);
}

.text-muted { color: var(--muted-fg); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.875rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsla(200, 15%, 8%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.nav a.btn.gradient-teal { color: var(--muted-fg); }
.nav a.btn.gradient-teal:hover { color: var(--fg); }

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); background: none; border: none; font-family: inherit; }
.nav-dropdown-toggle:hover { color: var(--primary); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  padding-top: 1rem;
  margin-top: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.nav-dropdown { padding-bottom: 0.5rem; margin-bottom: -0.5rem; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}
.nav-dropdown-menu a:hover { color: var(--primary); background: var(--muted); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: var(--bg);
  z-index: 99;
  padding: 2rem 1rem;
  overflow-y: auto;
}
.mobile-menu.active { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .sub-link { padding-left: 1.5rem; font-size: 0.875rem; color: var(--muted-fg); }

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-cta-desktop { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(200, 15%, 8%, 0.85), hsla(200, 15%, 8%, 0.7));
}
.hero-content {
  position: relative;
  max-width: 720px;
  padding: 5rem 0;
}
.hero-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.5rem; } }

.hero-sub {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}
.hero-desc {
  color: hsla(180, 5%, 90%, 0.7);
  font-size: 1.125rem;
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ===== SUBPAGE HERO ===== */
.subpage-hero {
  position: relative;
  height: 40vh;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.subpage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(200, 15%, 8%, 0.9), hsla(200, 15%, 8%, 0.75));
}
.subpage-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .subpage-hero h1 { font-size: 3rem; } }
.subpage-hero p { font-size: 1.125rem; color: var(--muted-fg); max-width: 640px; }

/* ===== GRID ===== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ===== SERVICES SECTION ===== */
.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.service-card:hover h3 { color: var(--primary); }
.service-card p { color: var(--muted-fg); line-height: 1.7; }

/* ===== DEPOSIT MACHINES ===== */
.deposit-section { position: relative; }

.check-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsla(180, 5%, 90%, 0.8);
}
.check-icon { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }

/* ===== STATS ===== */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}
.stat-icon { width: 2rem; height: 2rem; color: var(--primary); margin: 0 auto 0.75rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: var(--muted-fg); }

/* ===== PROCESS ===== */
.bg-secondary { background: var(--secondary); }

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-fg);
  flex-shrink: 0;
}
.step-text { color: hsla(180, 5%, 90%, 0.8); padding-top: 0.5rem; }

/* ===== PARTNERS ===== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0.5;
}
.partner-logos span {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted-fg);
}

/* ===== CTA SECTION ===== */
.cta-section { background: var(--secondary); }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { color: var(--muted-fg); font-size: 1.125rem; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== FOOTER ===== */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.footer-logo img { height: 3rem; width: auto; margin-bottom: 1rem; }
.footer h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.footer ul a:hover { color: var(--primary); }
.footer-info { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* ===== CONTACT PAGE ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-toggle { display: flex; gap: 0.5rem; margin-bottom: 2rem; }

/* ===== SUBPAGE CONTENT ===== */
.content-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .content-section h2 { font-size: 2rem; } }

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.content-section p {
  color: hsla(180, 5%, 90%, 0.7);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsla(180, 5%, 90%, 0.8);
  line-height: 1.6;
}

/* ===== MOBILE CONTACT BAR ===== */
.mobile-contact-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.75rem 1rem;
  background: hsla(200, 15%, 8%, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.mobile-contact-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--primary-fg);
}
@media (max-width: 768px) { .mobile-contact-bar { display: block; } }

/* ===== SVG ICONS (inline) ===== */
.icon { width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: middle; }
