/* ==========================================================================
   GreenTab ATM – Mobile-First Styles
   ========================================================================== */

:root {
  --brand: #0e8a55;
  --brand-600: #0b7046;
  --brand-700: #095b39;

  --ink: #1e2529;
  --muted-ink: #5a646b;
  --bg: #ffffff;
  --bg-alt: #f6f8f7;
  --line: #e5e9e7;

  --focus: #1e90ff;
  --success: #12a454;

  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(10,20,15,.05);
  --shadow-md: 0 6px 22px rgba(10,20,15,.08);

  --container: 1120px;
  --gutter: 20px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0a2b1e;
  color: white;
}
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
}
.brand img { height: 40px; }
.brand-text { font-size: 1.05rem; }

/* Nav */
.nav-toggle { display: none; }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}
.menu-btn:hover { background: rgba(255,255,255,0.15); }
.menu-btn .bar {
  position: relative;
  width: 20px;
  height: 2px;
  background: #fff;
}
.menu-btn .bar::before,
.menu-btn .bar::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  left: 0;
}
.menu-btn .bar::before { top: -6px; }
.menu-btn .bar::after { top: 6px; }

.primary-nav {
  grid-column: 1 / -1;
  display: none;
  padding: 8px 0;
}
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.primary-nav a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  color: #e9f7f0;
  font-weight: 600;
}
.primary-nav a:hover { background: rgba(255,255,255,0.1); color: white; }

.nav-toggle:checked ~ nav.primary-nav { display: block; }
.nav-toggle:checked + label.menu-btn .bar { background: transparent; }
.nav-toggle:checked + label.menu-btn .bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle:checked + label.menu-btn .bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 780px) {
  .menu-btn { display: none; }
  .primary-nav {
    display: block;
    grid-column: auto;
    margin-left: auto;
  }
  .primary-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .primary-nav a { padding: 10px 4px; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
}
.hero p { color: var(--muted-ink); margin-bottom: 12px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  min-height: 44px;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand-600);
}
.btn-primary:hover { background: var(--brand-600); }
.btn-outline {
  background: transparent;
  color: var(--brand-700);
  border: 1px solid var(--brand-600);
}
.btn-outline:hover { background: rgba(14,138,85,0.1); }

/* Lists */
.features, .checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.features li, .checklist li {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.features li strong { display: block; margin-bottom: 4px; color: var(--ink); }
.checklist li { position: relative; padding-left: 42px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--success);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}
@media (min-width: 720px) {
  .features, .checklist { grid-template-columns: repeat(2, 1fr); }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0a2b1e;
  color: #dfeee8;
  margin-top: 32px;
}
.site-footer .container {
  padding: 20px var(--gutter);
  display: grid;
  gap: 12px;
  align-items: center;
}
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a { color: #dfeee8; font-weight: 600; }
.footer-nav a:hover { color: white; }

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: rgba(10, 43, 30, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--brand-600);
}
.mobile-cta__btn:hover { background: var(--brand-600); }
@media (min-width: 780px) { .mobile-cta { display: none; } }
@media (max-width: 779px) { body { padding-bottom: 84px; } }


