/* =========================================================================
   WeatherMyTrip — Shared Stylesheet
   Design tokens, resets, typography, utilities, and common components
   ========================================================================= */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --wmt-primary: #5BC2E7;
  --wmt-primary-hover: #66CBED;
  --wmt-primary-light: #A6D9F1;
  --wmt-dark: #383536;
  --wmt-charcoal: #1A1D23;
  --wmt-charcoal-alt: #252830;
  --wmt-muted: #747474;
  --wmt-text-muted: #9CA3AF;
  --wmt-bg-soft: #F7F9FC;
  --wmt-bg-panel: #EDF3F8;
  --wmt-border: rgba(0, 0, 0, 0.1);
  --wmt-border-dark: #383536;
  --wmt-success: #2ECC71;
  --wmt-warning: #F39C12;
  --wmt-danger: #E74C3C;
  --wmt-radius-sm: 0.5rem;
  --wmt-radius: 0.75rem;
  --wmt-radius-lg: 1rem;
  --wmt-radius-xl: 1.5rem;
  --wmt-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --wmt-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --wmt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --wmt-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --wmt-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --wmt-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wmt-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--wmt-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--wmt-dark);
  background: #fff;
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; padding: 0; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* --- Layout helpers ------------------------------------------------------- */
.wmt-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .wmt-container { padding: 0 2rem; } }

.wmt-section { padding: 6rem 0; position: relative; }
.wmt-section-sm { padding: 4rem 0; position: relative; }

/* --- Typography ----------------------------------------------------------- */
.wmt-h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--wmt-dark);
}
.wmt-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--wmt-dark);
}
.wmt-h3 { font-size: 1.5rem; font-weight: 700; color: var(--wmt-dark); }
.wmt-lead { font-size: 1.125rem; color: var(--wmt-muted); line-height: 1.6; }
.wmt-muted { color: var(--wmt-muted); }
.wmt-mono { font-family: var(--wmt-font-mono); }

.wmt-gradient-text {
  background: linear-gradient(90deg, var(--wmt-dark), var(--wmt-primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Buttons -------------------------------------------------------------- */
.wmt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--wmt-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  white-space: nowrap;
  user-select: none;
  line-height: 1.25;
}
.wmt-btn:hover { transform: translateY(-1px); }
.wmt-btn:active { transform: translateY(0); }
.wmt-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.wmt-btn-primary {
  background: var(--wmt-primary);
  color: #fff;
  box-shadow: var(--wmt-shadow);
}
.wmt-btn-primary:hover { background: var(--wmt-primary-hover); box-shadow: var(--wmt-shadow-lg); }

.wmt-btn-secondary {
  background: #fff;
  color: var(--wmt-primary);
  border: 2px solid var(--wmt-primary);
}
.wmt-btn-secondary:hover { background: rgba(91, 194, 231, 0.1); }

.wmt-btn-dark {
  background: var(--wmt-charcoal-alt);
  color: var(--wmt-text-muted);
  border: 1px solid var(--wmt-border-dark);
}
.wmt-btn-dark:hover { border-color: var(--wmt-primary); color: #fff; }

.wmt-btn-lg { padding: 1rem 2rem; font-size: 1.125rem; font-weight: 700; border-radius: var(--wmt-radius); }
.wmt-btn-pill { border-radius: 9999px; }
.wmt-btn-block { width: 100%; }

/* --- Cards ---------------------------------------------------------------- */
.wmt-card {
  background: #fff;
  border-radius: var(--wmt-radius-xl);
  box-shadow: var(--wmt-shadow-lg);
  padding: 2rem;
}
.wmt-card-sm { border-radius: var(--wmt-radius-lg); padding: 1.5rem; box-shadow: var(--wmt-shadow); }
.wmt-card-dark {
  background: var(--wmt-charcoal-alt);
  border: 1px solid rgba(56, 53, 54, 0.2);
  border-radius: var(--wmt-radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.wmt-card-dark:hover { border-color: rgba(91, 194, 231, 0.3); }

/* --- Forms ---------------------------------------------------------------- */
.wmt-field { margin-bottom: 1.25rem; }
.wmt-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--wmt-dark);
}
.wmt-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: var(--wmt-radius);
  color: var(--wmt-dark);
  transition: border-color 0.2s;
}
.wmt-input:focus { outline: none; border-color: var(--wmt-primary); }
.wmt-input.with-icon { padding-left: 3rem; }
.wmt-input-wrap { position: relative; }
.wmt-input-wrap > svg,
.wmt-input-wrap > span > svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--wmt-muted);
  pointer-events: none;
  z-index: 1;
}
/* When span wraps the svg, make span itself the positioned element */
.wmt-input-wrap > span {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--wmt-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.wmt-input-wrap > span > svg {
  position: static;
  transform: none;
}

.wmt-input-dark {
  width: 100%;
  padding: 0.5rem 1rem;
  background: var(--wmt-charcoal);
  border: 1px solid var(--wmt-border-dark);
  border-radius: var(--wmt-radius-sm);
  color: #fff;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}
.wmt-input-dark:focus { outline: none; border-color: var(--wmt-primary); }

textarea.wmt-input { resize: vertical; min-height: 6rem; }
.wmt-checkbox { width: 1rem; height: 1rem; accent-color: var(--wmt-primary); cursor: pointer; }

/* --- Badges --------------------------------------------------------------- */
.wmt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}
.wmt-badge-success { background: rgba(46, 204, 113, 0.2); color: var(--wmt-success); }
.wmt-badge-warning { background: rgba(243, 156, 18, 0.2); color: var(--wmt-warning); }
.wmt-badge-danger  { background: rgba(231, 76, 60, 0.2); color: var(--wmt-danger); }
.wmt-badge-info    { background: rgba(91, 194, 231, 0.15); color: var(--wmt-primary); }
.wmt-badge-muted   { background: rgba(156, 163, 175, 0.2); color: var(--wmt-text-muted); }

/* --- Grid helpers --------------------------------------------------------- */
.wmt-grid { display: grid; gap: 2rem; }
.wmt-grid-2 { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); }
.wmt-grid-3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.wmt-grid-4 { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.wmt-flex { display: flex; }
.wmt-flex-center { display: flex; align-items: center; justify-content: center; }
.wmt-flex-between { display: flex; align-items: center; justify-content: space-between; }

/* --- Icon helpers --------------------------------------------------------- */
.wmt-icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.wmt-icon-sm { width: 1rem; height: 1rem; flex-shrink: 0; }
.wmt-icon-lg { width: 2rem; height: 2rem; flex-shrink: 0; }
.wmt-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: var(--wmt-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(91, 194, 231, 0.1);
  color: var(--wmt-primary);
  flex-shrink: 0;
}

/* --- Navbar (marketing) --------------------------------------------------- */
.wmt-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
  height: 5rem;
  display: flex;
  align-items: center;
}
.wmt-navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--wmt-shadow-sm);
}
.wmt-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.wmt-nav-links { display: none; gap: 2rem; }
.wmt-nav-links a { color: var(--wmt-muted); font-size: 0.95rem; transition: color 0.2s; }
.wmt-nav-links a:hover { color: var(--wmt-dark); }
.wmt-nav-ctas { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1024px) {
  .wmt-nav-links, .wmt-nav-ctas { display: flex; }
  .wmt-mobile-toggle { display: none !important; }
}
.wmt-mobile-toggle {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--wmt-dark);
}
.wmt-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 1rem 1.5rem;
}
.wmt-mobile-menu.open { display: block; }
.wmt-mobile-menu a { display: block; padding: 0.5rem 0; color: var(--wmt-muted); }

/* --- Footer --------------------------------------------------------------- */
.wmt-footer {
  background: var(--wmt-charcoal);
  color: #fff;
  padding: 6rem 0 2rem;
}
.wmt-footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .wmt-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .wmt-footer-cols { grid-template-columns: repeat(4, 1fr); } }
.wmt-footer h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; color: #fff; }
.wmt-footer a { color: rgba(255, 255, 255, 0.6); transition: color 0.2s; }
.wmt-footer a:hover { color: #fff; }
.wmt-footer li { margin-bottom: 0.75rem; }
.wmt-footer p { color: rgba(255, 255, 255, 0.6); line-height: 1.6; }
.wmt-footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.wmt-footer-social a {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  color: #fff;
}
.wmt-footer-social a:hover { background: rgba(255, 255, 255, 0.2); }
.wmt-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .wmt-footer-bottom { flex-direction: row; } }
.wmt-footer-bottom p { color: rgba(255, 255, 255, 0.4); margin: 0; }
.wmt-footer-bottom a { color: rgba(255, 255, 255, 0.4); }

/* --- Admin layout --------------------------------------------------------- */
.wmt-admin { min-height: 100vh; background: var(--wmt-charcoal); display: flex; color: #fff; }
.wmt-admin a { color: inherit; }

.wmt-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--wmt-charcoal);
  border-right: 1px solid var(--wmt-charcoal-alt);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 16.25rem;
  transition: width 0.3s;
}
.wmt-sidebar.collapsed { width: 5rem; }
.wmt-sidebar-header {
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-bottom: 1px solid var(--wmt-charcoal-alt);
  gap: 0.5rem;
}
.wmt-sidebar-header img { height: 2rem; width: auto; max-width: 3rem; }
.wmt-sidebar-title { font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.wmt-sidebar.collapsed .wmt-sidebar-title { display: none; }
.wmt-sidebar.collapsed .wmt-sidebar-header img { height: 2.25rem; max-width: 2.5rem; }

.wmt-sidebar-nav { flex: 1; overflow-y: auto; padding: 1rem 0; }
.wmt-sidebar-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 0 0.5rem;
  border-radius: var(--wmt-radius-sm);
  color: var(--wmt-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}
.wmt-sidebar-item:hover { background: var(--wmt-charcoal-alt); color: #fff; }
.wmt-sidebar-item.active {
  background: rgba(91, 194, 231, 0.1);
  color: var(--wmt-primary);
}
.wmt-sidebar-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 0.25rem; height: 2rem;
  background: var(--wmt-primary);
  border-radius: 0 0.125rem 0.125rem 0;
}
.wmt-sidebar-item svg { flex-shrink: 0; }
.wmt-sidebar.collapsed .wmt-sidebar-item span { display: none; }

.wmt-sidebar-footer { border-top: 1px solid var(--wmt-charcoal-alt); padding: 1rem; }

.wmt-sidebar-collapse-btn {
  position: absolute;
  right: -0.75rem;
  top: 5rem;
  width: 1.5rem; height: 1.5rem;
  background: var(--wmt-charcoal-alt);
  border: 1px solid var(--wmt-primary);
  border-radius: 9999px;
  color: var(--wmt-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}
.wmt-sidebar-collapse-btn:hover { background: var(--wmt-primary); color: #fff; }

.wmt-admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }

.wmt-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 4rem;
  background: var(--wmt-charcoal-alt);
  border-bottom: 1px solid var(--wmt-charcoal);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wmt-topbar-breadcrumb { font-size: 0.75rem; color: var(--wmt-text-muted); margin-bottom: 0.25rem; }
.wmt-topbar-title { font-size: 1.25rem; font-weight: 700; }
.wmt-topbar-right { display: flex; align-items: center; gap: 1rem; }
.wmt-topbar-search { position: relative; }
.wmt-topbar-search > span,
.wmt-topbar-search > svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--wmt-text-muted);
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.wmt-topbar-search > span > svg { position: static; transform: none; }
.wmt-topbar-search input { padding-left: 2.5rem; width: 16rem; }
.wmt-topbar-btn {
  position: relative;
  padding: 0.5rem;
  border-radius: var(--wmt-radius-sm);
  color: var(--wmt-text-muted);
  transition: background 0.2s;
}
.wmt-topbar-btn:hover { background: var(--wmt-charcoal); }
.wmt-topbar-dot {
  position: absolute;
  top: 0.25rem; right: 0.25rem;
  width: 0.5rem; height: 0.5rem;
  background: var(--wmt-danger);
  border-radius: 9999px;
}
.wmt-avatar {
  width: 2rem; height: 2rem;
  background: linear-gradient(135deg, var(--wmt-primary), var(--wmt-primary-hover));
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.wmt-admin-content { flex: 1; overflow-y: auto; padding: 1.5rem; }

/* --- Admin tables --------------------------------------------------------- */
.wmt-table-wrap {
  background: var(--wmt-charcoal-alt);
  border: 1px solid rgba(56, 53, 54, 0.2);
  border-radius: var(--wmt-radius-lg);
  overflow: hidden;
}
.wmt-table { width: 100%; border-collapse: collapse; }
.wmt-table thead { background: var(--wmt-charcoal); }
.wmt-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  color: var(--wmt-text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}
.wmt-table td {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(56, 53, 54, 0.3);
  color: #fff;
}
.wmt-table tbody tr { transition: background 0.2s; }
.wmt-table tbody tr:hover { background: rgba(26, 29, 35, 0.5); }

/* --- Modals --------------------------------------------------------------- */
.wmt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wmt-modal-backdrop.open { display: flex; }
.wmt-modal-backdrop.dark { background: rgba(0, 0, 0, 0.7); backdrop-filter: none; }
.wmt-modal {
  background: #fff;
  border-radius: var(--wmt-radius-xl);
  box-shadow: var(--wmt-shadow-2xl);
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
}
.wmt-modal-dark {
  background: var(--wmt-charcoal-alt);
  border: 1px solid var(--wmt-border-dark);
  border-radius: var(--wmt-radius-xl);
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
  color: #fff;
  padding: 2rem;
}
.wmt-modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--wmt-radius-xl) var(--wmt-radius-xl) 0 0;
}
.wmt-modal-body { padding: 1.5rem 2rem 2rem; }

/* --- Animations ----------------------------------------------------------- */
@keyframes wmt-fade-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wmt-fade-down {
  from { opacity: 0; transform: translateY(-1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wmt-scale-in {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes wmt-spin { to { transform: rotate(360deg); } }
@keyframes wmt-pulse-ring {
  0% { transform: scale(1); opacity: 0.75; }
  80%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes wmt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.25rem); }
}
@keyframes wmt-rotate { to { transform: rotate(360deg); } }
@keyframes wmt-drip {
  0%   { transform: translateY(0);     opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(90vh);  opacity: 0; }
}
.wmt-fade-in { animation: wmt-fade-in 0.6s ease-out both; }
.wmt-fade-in-1 { animation: wmt-fade-in 0.6s ease-out 0.1s both; }
.wmt-fade-in-2 { animation: wmt-fade-in 0.6s ease-out 0.2s both; }
.wmt-fade-in-3 { animation: wmt-fade-in 0.6s ease-out 0.3s both; }
.wmt-fade-in-4 { animation: wmt-fade-in 0.6s ease-out 0.4s both; }
.wmt-scale-in { animation: wmt-scale-in 0.4s ease-out both; }
.wmt-spin { animation: wmt-spin 0.6s linear infinite; }

/* --- Spinner -------------------------------------------------------------- */
.wmt-spinner {
  width: 1.25rem; height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 9999px;
  animation: wmt-spin 0.6s linear infinite;
}

/* --- Hero ----------------------------------------------------------------- */
.wmt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--wmt-bg-soft), #fff 40%, rgba(166, 217, 241, 0.2));
}
.wmt-hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.wmt-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91, 194, 231, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 194, 231, 1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.03;
}
.wmt-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .wmt-hero-grid { grid-template-columns: 1fr 1fr; }
}
.wmt-hero-visual { display: none; position: relative; align-items: center; justify-content: center; }
@media (min-width: 1024px) { .wmt-hero-visual { display: flex; } }

/* Hero stage wraps the logo + orbit ring at the same center */
.wmt-hero-stage {
  position: relative;
  width: 32rem;
  height: 32rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wmt-hero-logo {
  width: 25rem;
  height: auto;
  max-width: 100%;
  position: relative;
  z-index: 2;
  animation: wmt-float 6s ease-in-out infinite;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
}
.wmt-hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 194, 231, 0.2), rgba(102, 203, 237, 0.2));
  border-radius: 50%;
  filter: blur(48px);
  z-index: 0;
}

/* Orbiting weather icons ring */
.wmt-hero-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wmt-orbit-rotate 30s linear infinite;
  z-index: 3;
  pointer-events: none;
}
.wmt-orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: var(--mx, 0);
  margin-top:  var(--my, 0);
  animation: wmt-orbit-counter 30s linear infinite;
}
.wmt-orbit-bubble {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes wmt-orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes wmt-orbit-counter {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wmt-hero-orbit, .wmt-orbit-item, .wmt-hero-logo { animation: none !important; }
}

.wmt-hero-cloud {
  position: absolute;
  color: var(--wmt-primary);
  animation: wmt-float 8s ease-in-out infinite;
}
.wmt-hero-sun {
  position: absolute;
  top: 6rem; right: 8%;
  color: var(--wmt-warning);
  opacity: 0.3;
  animation: wmt-rotate 20s linear infinite;
}
.wmt-hero-plane {
  position: absolute;
  top: 30%; left: 0;
  color: var(--wmt-primary);
  opacity: 0.4;
  transform: rotate(45deg);
  animation: wmt-fly 15s linear infinite;
}
@keyframes wmt-fly {
  0% { transform: rotate(45deg) translateX(-10vw); }
  100% { transform: rotate(45deg) translateX(110vw); }
}
.wmt-hero-droplet {
  position: absolute;
  top: 10%;
  color: var(--wmt-primary);
  opacity: 0.3;
  animation: wmt-drip 4s linear infinite;
}

/* --- Hero trust badges ---------------------------------------------------- */
.wmt-trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .wmt-trust-grid { grid-template-columns: repeat(3, 1fr); } }
.wmt-trust-item { display: flex; align-items: center; gap: 0.75rem; }
.wmt-trust-item-icon {
  width: 3rem; height: 3rem;
  border-radius: var(--wmt-radius-sm);
  background: rgba(91, 194, 231, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--wmt-primary);
  flex-shrink: 0;
}
.wmt-trust-item-title { font-weight: 700; color: var(--wmt-dark); font-size: 0.95rem; }
.wmt-trust-item-sub { font-size: 0.75rem; color: var(--wmt-muted); }

/* --- Scroll indicator ----------------------------------------------------- */
.wmt-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: wmt-float 2s ease-in-out infinite;
}
.wmt-scroll-indicator-mouse {
  width: 1.5rem; height: 2.5rem;
  border: 2px solid var(--wmt-primary);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.wmt-scroll-indicator-dot {
  width: 0.375rem; height: 0.375rem;
  background: var(--wmt-primary);
  border-radius: 9999px;
  animation: wmt-scroll-dot 2s ease-in-out infinite;
}
@keyframes wmt-scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(0.75rem); opacity: 0.5; }
}

/* --- Wave dividers -------------------------------------------------------- */
.wmt-wave { position: absolute; bottom: -1px; left: 0; right: 0; pointer-events: none; line-height: 0; }
.wmt-wave svg { width: 100%; height: auto; display: block; }
.wmt-gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 5rem; pointer-events: none; }

/* --- Sections bg alt ------------------------------------------------------ */
.wmt-bg-soft { background: var(--wmt-bg-soft); }
.wmt-bg-panel { background: var(--wmt-bg-panel); }
.wmt-bg-dark { background: var(--wmt-charcoal); color: #fff; }

/* --- Stepper -------------------------------------------------------------- */
.wmt-stepper {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.wmt-stepper-row { display: flex; justify-content: space-between; position: relative; align-items: flex-start; }
.wmt-stepper-row::before {
  content: '';
  position: absolute;
  top: 1.25rem; left: 1.25rem; right: 1.25rem;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}
.wmt-stepper-row::after {
  content: '';
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  height: 2px;
  background: var(--wmt-primary);
  z-index: 0;
  transition: width 0.5s;
  width: var(--wmt-stepper-progress, 0%);
  max-width: calc(100% - 2.5rem);
}
.wmt-stepper-item { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.wmt-stepper-dot {
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: #fff;
  border: 2px solid #d1d5db;
  color: #9ca3af;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  transition: all 0.3s;
}
.wmt-stepper-item.active .wmt-stepper-dot {
  background: var(--wmt-primary);
  border-color: var(--wmt-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(91, 194, 231, 0.2);
}
.wmt-stepper-item.done .wmt-stepper-dot {
  background: var(--wmt-primary);
  border-color: var(--wmt-primary);
  color: #fff;
}
.wmt-stepper-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wmt-muted);
  white-space: nowrap;
}
.wmt-stepper-item.active .wmt-stepper-label,
.wmt-stepper-item.done .wmt-stepper-label { color: var(--wmt-dark); }

/* --- FAQ ------------------------------------------------------------------ */
.wmt-faq-item {
  background: #fff;
  border-radius: var(--wmt-radius);
  box-shadow: var(--wmt-shadow-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}
.wmt-faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--wmt-dark);
  transition: background 0.2s;
}
.wmt-faq-question:hover { background: #f9fafb; }
.wmt-faq-question svg { flex-shrink: 0; color: var(--wmt-primary); transition: transform 0.3s; }
.wmt-faq-item.open .wmt-faq-question svg { transform: rotate(180deg); }
.wmt-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  color: var(--wmt-muted);
  line-height: 1.6;
}
.wmt-faq-item.open .wmt-faq-answer { max-height: 20rem; }
.wmt-faq-answer-inner { padding: 0 1.5rem 1.25rem; }

/* --- Metric card ---------------------------------------------------------- */
.wmt-metric-value {
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--wmt-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.wmt-metric-label { color: rgba(255, 255, 255, 0.8); font-size: 1.125rem; }

/* --- Utility spacing ------------------------------------------------------ */
.wmt-mt-0  { margin-top: 0 !important; }
.wmt-mt-2  { margin-top: 0.5rem; }
.wmt-mt-4  { margin-top: 1rem; }
.wmt-mt-6  { margin-top: 1.5rem; }
.wmt-mt-8  { margin-top: 2rem; }
.wmt-mt-12 { margin-top: 3rem; }
.wmt-mb-2  { margin-bottom: 0.5rem; }
.wmt-mb-4  { margin-bottom: 1rem; }
.wmt-mb-6  { margin-bottom: 1.5rem; }
.wmt-mb-8  { margin-bottom: 2rem; }
.wmt-mb-12 { margin-bottom: 3rem; }
.wmt-mb-16 { margin-bottom: 4rem; }
.wmt-text-center { text-align: center; }

/* --- Visually hidden ------------------------------------------------------ */
.wmt-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
