/* ==========================================================================
   Garage Hive Official Brand Design System
   Primary Teal: #00838F | Dark Accent: #006670 | Slate Text: #333333
   Typography: Poppins (Google Fonts)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&subset=latin,latin-ext&display=swap');

:root {
  --gh-teal: #00838F;
  --gh-teal-hover: #006670;
  --gh-teal-dark: #004e56;
  --gh-teal-light: #e6f4f5;
  
  --gh-dark: #1e293b;
  --gh-dark-text: #333333;
  --gh-text-muted: #64748b;
  
  --gh-border: #e2e8f0;
  --gh-border-light: rgba(255, 255, 255, 0.2);
  --gh-card-bg: rgba(0, 117, 128, 0.7);
  --gh-banding: #f8fafc;
  --gh-white: #ffffff;

  --wa-green: #25D366;
  --wa-green-hover: #1ebc59;

  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 28px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--gh-dark-text);
  background-color: #ffffff;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Garage Hive Background (Exact match to garagehive.com / pricing)
   ───────────────────────────────────────────────────────────────────────────── */
.gh-hero-bg {
  position: relative;
  background-color: #00838F;
  min-height: 100vh;
}

.gh-hero-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: #006e78;
  clip-path: polygon(22% 23%, 62% 0, 100% 0, 100% 32%, 68% 50%);
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

.gh-hero-bg::after {
  content: '';
  position: fixed;
  inset: 0;
  background-color: #005a63;
  clip-path: polygon(0 80%, 42% 100%, 0 100%);
  opacity: 0.5;
  z-index: 2;
  pointer-events: none;
}

.gh-bg-dots-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.15;
  z-index: 3;
  pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Top Bar Navigation
   ───────────────────────────────────────────────────────────────────────────── */
.gh-topbar {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gh-brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.gh-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.gh-badge-expo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.gh-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gh-teal);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--gh-teal-hover);
}

.btn-wa {
  background: var(--wa-green);
  color: #ffffff;
  font-weight: 600;
}

.btn-wa:hover {
  background: var(--wa-green-hover);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--gh-dark);
  border: 1px solid var(--gh-border);
}

.btn-outline-dark:hover {
  background: var(--gh-banding);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.775rem;
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Modal
   ───────────────────────────────────────────────────────────────────────────── */
.gh-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gh-modal-backdrop.open {
  display: flex;
}

.gh-modal {
  background: #ffffff;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.gh-modal-header {
  background: var(--gh-teal);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gh-modal-title {
  font-size: 1rem;
  font-weight: 600;
}

.gh-modal-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.gh-modal-body {
  padding: 1.5rem 1.25rem;
}

.gh-form-group {
  margin-bottom: 1rem;
}

.gh-form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gh-dark);
  margin-bottom: 0.4rem;
}

.gh-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  border: 1px solid var(--gh-border);
  border-radius: var(--radius-md);
  outline: none;
}

.gh-input:focus {
  border-color: var(--gh-teal);
}

.gh-form-hint {
  font-size: 0.725rem;
  color: var(--gh-text-muted);
  margin-top: 0.35rem;
}

.gh-modal-footer {
  padding: 0.85rem 1.25rem 1.25rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  border-top: 1px solid var(--gh-border);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Toast
   ───────────────────────────────────────────────────────────────────────────── */
.gh-toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.gh-toast {
  background: #1e293b;
  color: #ffffff;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.825rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: auto;
  border-left: 3px solid var(--gh-teal);
}

.gh-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.gh-toast-success {
  border-left-color: var(--wa-green);
}

/* ─────────────────────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────────────────────── */
.gh-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.7);
}

.gh-footer a {
  color: #ffffff;
  text-decoration: underline;
}
