/* BartSmarts – lightweight, maintainable, consistent look */
:root {
  --bg: #f0f4f8;
  --white: #ffffff;
  --text: #020817;
  --text-muted: #4a5568;
  --blue: #4169e1;
  --blue-dark: #2f4fbf;
  --orange: #ff8c42;
  --sky: #87ceeb;
  --green: #22c55e;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --red: #ef4444;
  --shadow: 0 4px 14px rgba(65, 105, 225, 0.12);
  --shadow-hover: 0 8px 24px rgba(65, 105, 225, 0.18);
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Gradient text – same on EVERY page */
.gradient-text {
  background: linear-gradient(90deg, #ff8c42 0%, #87ceeb 45%, #4169e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

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

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
}
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8c42, #4169e1);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.1rem;
}
.nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav a {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--blue);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover, .nav a.active {
  background: #eef2ff;
  color: var(--blue-dark);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--blue);
  cursor: pointer;
  padding: 0.4rem;
}

/* ===== MAIN CONTENT ===== */
main { flex: 1; }
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: white;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: #eef2ff;
  color: var(--blue-dark);
}
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* Tiles / Cards – same size & shadow as original */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.tile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}
.tile h3 {
  color: var(--blue);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.tile p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}
.tile .btn { margin-top: 1rem; }

/* Soft info box */
.info-box {
  background: #eef4ff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  text-align: center;
}
.info-box h2 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.info-box p { color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* Section titles */
.section-title {
  text-align: center;
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

/* Forms – close to services */
.forms-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-card h3 {
  color: var(--blue);
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}
.form-card .sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.15);
  background: white;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* Video embeds */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
}
.video-card .meta {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Coming soon badge */
.badge {
  display: inline-block;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

/* Amazon exit modal & verification popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  text-align: center;
  animation: popIn 0.25s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal h3 { color: var(--blue); margin-bottom: 0.6rem; }
.modal p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 0.95rem; }
.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.modal .form-group { text-align: left; }

/* Timer bar on landing */
.timer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--blue);
  width: 0%;
  z-index: 150;
  transition: width 0.1s linear;
}
.skip-link {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 140;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid #e2e8f0;
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid h4 {
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.footer-grid p, .footer-grid a {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.35rem;
}
.footer-grid a:hover { color: var(--blue); }
.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.1rem;
}
.socials a:hover { background: var(--blue); color: white; }
.footer-bottom {
  max-width: 1120px;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Success / error messages */
.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  display: none;
}
.alert.show { display: block; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Responsive */
@media (max-width: 800px) {
  .forms-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .menu-toggle { display: block; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .hero { padding: 2rem 0.75rem; }
}
