/* ==========================================================================
   TARALOCAL DESIGN SYSTEM & STYLESHEET
   Brand: Coastal Mobility
   Theme: Modern Tropical Minimalism & High-Clarity Tactile Interface
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #007791;
  --primary-hover: #005d72;
  --primary-active: #004e60;
  --primary-light: #e6f6f9;
  --primary-fixed: #A5D5DD;
  --secondary: #EE6C4D;
  --secondary-hover: #d85839;
  --secondary-light: rgba(238, 108, 77, 0.12);
  --accent-orange: #FF6F00;
  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.12);
  --dark-teal: #2c5b62;

  /* Surfaces & Backgrounds */
  --surface: #f9f9ff;
  --surface-lowest: #ffffff;
  --surface-low: #f3f6fc;
  --surface-card: #ffffff;
  --surface-container: #e7eeff;
  --surface-container-high: #dee9ff;
  
  /* Text & Inks */
  --on-surface: #243247;
  --on-surface-muted: #64748b;
  --on-surface-subtle: #8a99a8;
  --border-light: #e2ebf0;
  --border-subtle: #d0dde5;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(36, 50, 71, 0.04);
  --shadow-sm: 0 2px 8px rgba(36, 50, 71, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 119, 145, 0.08), 0 2px 6px rgba(36, 50, 71, 0.04);
  --shadow-lg: 0 16px 36px rgba(0, 119, 145, 0.14), 0 4px 12px rgba(36, 50, 71, 0.06);
  --shadow-float: 0 20px 48px rgba(0, 119, 145, 0.2), 0 6px 16px rgba(36, 50, 71, 0.08);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-w: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--surface);
  color: var(--on-surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  padding-bottom: 0;
}

main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Typography Utilities */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-eyebrow.coral {
  color: var(--secondary);
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--on-surface);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--on-surface-muted);
  max-width: 680px;
  line-height: 1.6;
}

.text-center-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.925rem;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 119, 145, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 119, 145, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--surface-lowest);
  color: var(--primary);
  border-color: rgba(0, 119, 145, 0.25);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--surface-container);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-coral {
  background-color: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(238, 108, 77, 0.3);
}

.btn-coral:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(238, 108, 77, 0.4);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  height: 72px;
  z-index: 1000;
  background: rgba(249, 249, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 230, 239, 0.7);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(0, 119, 145, 0.06);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo img {
  height: 34px;
  width: auto;
}

.brand-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-surface-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--on-surface);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 50, 71, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.drawer-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding-top: calc(72px + 2.5rem);
  padding-bottom: 5.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(165, 213, 221, 0.32), transparent 45%),
              linear-gradient(180deg, var(--surface) 0%, rgba(240, 244, 248, 0.6) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(165, 213, 221, 0.35);
  border: 1px solid rgba(0, 119, 145, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  word-break: break-word;
  box-sizing: border-box;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--secondary);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: var(--secondary);
  opacity: 0.5;
  animation: pulsePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-headline {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--on-surface);
}

.hero-subtext {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--on-surface-muted);
  line-height: 1.6;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  padding-top: 0.5rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.75rem;
  font-size: 0.825rem;
  color: var(--on-surface-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--on-surface);
}

.trust-sep {
  color: var(--border-subtle);
}

/* Hero Visual Composition */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(13, 28, 48, 0.12);
  border: 4px solid #ffffff;
  aspect-ratio: 16 / 11;
  background-color: var(--surface-low);
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(36, 50, 71, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

.photo-overlay-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 5;
}

/* Floating Live Radar Card */
.hero-radar-card {
  position: absolute;
  bottom: -2rem;
  left: -1.5rem;
  width: 384px;
  max-width: calc(100% - 1rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 119, 145, 0.18), 0 4px 12px rgba(36, 50, 71, 0.04);
  border: 1px solid rgba(0, 119, 145, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 20;
  transition: transform 0.3s ease;
}

.hero-radar-card:hover {
  transform: translateY(-3px);
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.radar-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--on-surface);
}

.radar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  background: var(--success-light);
  color: var(--success);
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.radar-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.activity-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--on-surface);
}

.activity-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--on-surface-muted);
  margin-top: 0.2rem;
}

.activity-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
}

.price-sub {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-surface-subtle);
  letter-spacing: 0.05em;
  display: block;
}

.radar-footer-pill {
  background: linear-gradient(90deg, #f0f7f9 0%, rgba(165, 213, 221, 0.25) 100%);
  border: 1px solid rgba(0, 119, 145, 0.12);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.avatar-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  border: 2px solid #ffffff;
  margin-left: -6px;
}

.avatar-bubble:first-child {
  margin-left: 0;
}

.bg-t1 { background-color: var(--primary); }
.bg-t2 { background-color: var(--dark-teal); }
.bg-t3 { background-color: var(--secondary); }

/* Social Proof Banner */
.stats-strip {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-xs);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-label-top {
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.stat-number {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--on-surface-muted);
  font-weight: 600;
}

/* Problem Section */
.problem-section {
  padding: 5.75rem 0;
  background-color: var(--surface-low);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.problem-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.25s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 119, 145, 0.25);
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--surface-container);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-text-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.problem-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--on-surface);
}

.problem-card p {
  font-size: 0.925rem;
  color: var(--on-surface-muted);
  line-height: 1.6;
}

.solution-callout {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

/* How It Works */
.how-section {
  padding: 5.75rem 0;
  background-color: #ffffff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.step-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  transition: all 0.25s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.35;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

.step-card p {
  font-size: 0.8rem;
  color: var(--on-surface-muted);
  line-height: 1.5;
}

.step-mini-pill {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Live Product Simulator */
.simulator-section {
  padding: 5.75rem 0;
  background-color: var(--surface-low);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.sim-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  background: var(--surface-container);
  padding: 0.35rem;
  border-radius: var(--radius-md);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.sim-tab-btn {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.sim-tab-btn .tab-step-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-surface-muted);
}

.sim-tab-btn .tab-step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.2;
}

.sim-tab-btn.active {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.sim-tab-btn.active .tab-step-tag,
.sim-tab-btn.active .tab-step-label {
  color: var(--primary);
}

.sim-display-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  align-items: stretch;
}

.sim-stage-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-stage-card.highlighted {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  ring: 2px solid var(--primary);
}

.stage-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.stage-label {
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.sim-inner-box {
  background-color: var(--surface-low);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-light);
  width: 100%;
  min-height: 228px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.sim-activity-thumb {
  position: relative;
  width: 100%;
  height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border-light);
  background-color: var(--surface-container);
}

.sim-activity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sim-thumb-pill {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: rgba(13, 28, 48, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.coord-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  transition: transform 0.15s ease;
}

.coord-row:hover {
  transform: translateX(3px);
  border-color: var(--primary);
}

.coord-row:last-child {
  margin-bottom: 0;
}

.coord-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.sim-coord-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sim-coord-profile {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1;
}

.sim-status-pill {
  font-size: 0.7rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.sim-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.sim-cta-btn {
  padding: 0.45rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.sim-cta-btn .material-symbols-outlined {
  font-size: 15px;
  flex-shrink: 0;
}

/* Activity Catalog */
.activities-section {
  padding: 5.75rem 0;
  background-color: #ffffff;
}

.activity-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.activity-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--surface-low);
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface);
  cursor: pointer;
  transition: all 0.2s ease;
}

.activity-filter-chip:hover {
  border-color: var(--primary);
  background: #ffffff;
}

.activity-filter-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 119, 145, 0.25);
}

.activities-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.activity-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  cursor: pointer;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 119, 145, 0.3);
}

.activity-card-header {
  padding: 1.25rem 1.25rem 0.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.activity-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(165, 213, 221, 0.3);
  color: var(--primary);
}

.activity-card-body {
  padding: 0 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.activity-card-footer {
  margin-top: auto;
  padding: 0.85rem 1.25rem;
  background: var(--surface-low);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Why TaraLocal */
.why-section {
  padding: 5.75rem 0;
  background-color: var(--surface-low);
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  transition: all 0.25s ease;
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(0, 119, 145, 0.2);
}

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--on-surface);
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--on-surface-muted);
  line-height: 1.6;
}

/* Expansion Roadmap */
.roadmap-section {
  padding: 5.75rem 0;
  background-color: #ffffff;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.roadmap-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border-light);
  background: var(--surface-low);
  transition: all 0.25s ease;
  position: relative;
}

.roadmap-card.active-phase {
  background: linear-gradient(135deg, rgba(0, 119, 145, 0.08) 0%, rgba(165, 213, 221, 0.25) 100%);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.phase-pill {
  position: absolute;
  top: -12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Coordinators Section */
.coordinators-section {
  padding: 5.75rem 0;
  background: linear-gradient(180deg, rgba(165, 213, 221, 0.15) 0%, var(--surface) 100%);
  border-top: 1px solid rgba(0, 119, 145, 0.1);
  border-bottom: 1px solid rgba(0, 119, 145, 0.1);
}

.coordinator-note-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  max-width: 640px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--on-surface-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Brand Purpose */
.brand-purpose-section {
  padding: 5.75rem 0;
  background-color: #ffffff;
  text-align: center;
}

.brand-mark-img {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

/* Launch Announcement Section (No database / forms) */
.launch-announcement-section {
  padding: 5.75rem 0;
  background-color: var(--surface-low);
}

.launch-announcement-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.launch-announcement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-fixed) 50%, var(--secondary) 100%);
}

.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(165, 213, 221, 0.35);
  border: 1px solid rgba(0, 119, 145, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.announcement-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--on-surface);
}

/* Footer */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-surface-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--on-surface-muted);
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 990;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 28, 48, 0.5);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2rem;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-light);
  position: relative;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--surface-low);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--on-surface);
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--on-surface);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .hero-visual-wrapper {
    max-width: 580px;
    margin: 0 auto;
  }

  .hero-radar-card {
    left: 0;
  }
  
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sim-display-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .activities-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 56px;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .header-actions .btn {
    display: none;
  }
  
  .hero-section {
    padding-top: calc(56px + 1.25rem);
    padding-bottom: 2.5rem;
    overflow-x: hidden;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  
  .hero-headline {
    font-size: 1.85rem;
    line-height: 1.15;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-subtext {
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: break-word;
  }

  .hero-pill {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.03em;
    line-height: 1.35;
    text-align: left;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    height: 44px;
    font-size: 0.775rem;
    font-weight: 700;
  }
  
  .hero-badges-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
  }
  
  .hero-badges-row > span {
    display: none;
  }

  .hero-visual-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-photo-card {
    border-radius: 1rem;
    border-width: 2px;
  }
  
  .hero-radar-card {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin-top: -1.5rem;
    margin-left: 0;
    margin-right: 0;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 119, 145, 0.16);
    box-sizing: border-box;
  }

  .radar-footer-pill {
    padding: 0.6rem 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .radar-footer-pill > div:first-child {
    min-width: 0;
    flex: 1;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .problem-card {
    padding: 1.1rem 1.15rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .problem-card .card-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 0.75rem;
    flex-shrink: 0;
  }

  .problem-card .card-text-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  
  .problem-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }
  
  .problem-card p {
    font-size: 0.825rem;
    color: var(--on-surface-muted);
    line-height: 1.5;
  }
  
  .why-section {
    padding: 3rem 0;
  }
  
  .text-center-wrapper {
    margin-bottom: 1.75rem;
  }

  .cards-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  
  .pillar-card {
    padding: 1.15rem 1.25rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .pillar-card .card-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 0.75rem;
  }

  .pillar-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
  }

  .pillar-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .roadmap-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .activities-cards-grid {
    grid-template-columns: 1fr;
  }

  .activity-pills-wrap {
    gap: 0.45rem;
    justify-content: flex-start;
  }

  .activity-filter-chip {
    padding: 0.5rem 0.85rem;
    font-size: 0.775rem;
  }
  
  /* Mobile steps layout: smooth vertical stack - no horizontal scroll or swiping */
  .steps-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-x: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-type: none;
  }
  
  .step-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    scroll-snap-align: none;
    border-radius: 1rem;
    padding: 1.15rem;
  }
  
  .sim-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 0.75rem;
    background: var(--surface-container);
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    box-sizing: border-box;
  }
  
  .sim-tab-btn {
    padding: 0.5rem 0.2rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .sim-tab-btn .tab-step-tag {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--on-surface-muted);
  }

  .sim-tab-btn .tab-step-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--on-surface);
    line-height: 1.2;
    white-space: nowrap;
  }

  .sim-tab-btn.active .tab-step-tag,
  .sim-tab-btn.active .tab-step-label {
    color: var(--primary);
  }

  .sim-display-grid {
    max-width: 480px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .sim-stage-card {
    padding: 1.25rem 1rem;
    border-radius: 1rem;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .sim-stage-card.highlighted {
    transform: none;
  }

  .sim-inner-box {
    min-height: 215px;
    padding: 0.85rem 0.75rem;
  }

  .sim-activity-thumb {
    height: 90px;
    margin-bottom: 0.55rem;
  }

  .sim-coord-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
  }

  .sim-status-pill {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .sim-cta-grid {
    gap: 0.35rem;
  }

  .sim-cta-btn {
    padding: 0.42rem 0.35rem;
    font-size: 0.72rem;
    gap: 0.25rem;
  }
  
  .launch-announcement-card {
    padding: 2rem 1.25rem;
    border-radius: 1rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .coordinator-note-box {
    margin: 1.5rem 0 0;
    padding: 1rem;
    font-size: 0.8rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .announcement-highlights {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .announcement-actions {
    flex-direction: column;
    width: 100%;
  }

  .announcement-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  body {
    padding-bottom: 60px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .toast-msg {
    left: 1rem;
    right: 1rem;
    bottom: 4.75rem;
    font-size: 0.78rem;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
}

@media (max-width: 360px) {
  .sim-cta-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

