/* ==========================================================================
   GroomAra - Ultra-Modern Luxury Light Mode Design System & Stylesheet
   Theme: Crisp Pure White & Slate (#f8fafc / #ffffff) + Warm Gold & Amber (#d97706, #ca8a04, #f59e0b) + Terracotta (#c2571f)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Brand Color Tokens */
  --brand-primary: #ca8a04;
  --brand-primary-light: #eab308;
  --brand-primary-dark: #a16207;

  --brand-accent: #d97706;
  --brand-accent-light: #f59e0b;
  --brand-accent-dark: #b45309;

  --brand-terracotta: #c2571f;
  --brand-terracotta-glow: rgba(194, 87, 31, 0.2);
  --brand-gold-glow: rgba(217, 119, 6, 0.22);
  --brand-gold-subtle: rgba(234, 179, 8, 0.12);

  /* Light Mode Palette */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-heavy: rgba(255, 255, 255, 0.96);

  --border-subtle: #e2e8f0;
  --border-glow: rgba(217, 119, 6, 0.28);
  --border-accent: rgba(217, 119, 6, 0.45);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-gold: #b45309;

  /* Functional Colors */
  --success: #059669;
  --success-glow: rgba(16, 185, 129, 0.2);
  --error: #dc2626;
  --warning: #d97706;
  --info: #2563eb;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Sizing */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 12px 30px -5px rgba(217, 119, 6, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   CSS Reset & Global Settings
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
}

/* Dynamic Ambient Background Glows */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 25%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, rgba(194, 87, 31, 0.04) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: 5%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.06) 0%, transparent 65%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Typography & Helper Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a 20%, #b45309 60%, #c2571f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-gold {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #c2571f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.3);
  border-radius: var(--radius-full);
  color: var(--brand-accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--brand-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(217, 119, 6, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(217, 119, 6, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.07);
  border-bottom-color: rgba(217, 119, 6, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo img {
  height: 48px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.download-app-logo {
  max-width: 140px;
  height: auto;
  border-radius: var(--radius-lg);
  /* box-shadow: 0 10px 30px -5px rgba(217, 119, 6, 0.35); */
  margin-bottom: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #0f172a;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-terracotta));
  border-radius: 2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706, #c2571f);
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--brand-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.4);
  filter: brightness(1.05);
}

.btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #1e293b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--brand-accent);
  color: var(--brand-accent-dark);
  transform: translateY(-2px);
}

.btn-gold-subtle {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  color: var(--brand-accent-dark);
}

.btn-gold-subtle:hover {
  background: rgba(217, 119, 6, 0.2);
  border-color: var(--brand-accent);
  color: var(--brand-accent-dark);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

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

/* Mobile Navigation & Toggle (Hidden by default on Desktop) */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #0f172a;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-overlay,
.mobile-nav-drawer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.app-store-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  color: #0f172a;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  transition: var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.store-btn:hover {
  background: #f8fafc;
  border-color: var(--brand-accent);
  color: var(--brand-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.15);
}

.store-btn.store-btn-android {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.store-btn.store-btn-android:hover {
  border-color: #059669;
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.25);
}

.store-btn.coming-soon {
  opacity: 0.9;
  background: #f8fafc;
  border-style: dashed;
  border-color: #cbd5e1;
  cursor: pointer;
}

.store-btn.coming-soon:hover {
  background: #ffffff;
  border-color: var(--brand-accent);
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(217, 119, 6, 0.15);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.store-btn-text span:first-child {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.store-btn-text span:last-child {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #0f172a;
}

.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.12);
  color: var(--brand-accent-dark);
  border: 1px solid rgba(217, 119, 6, 0.3);
  margin-left: 0.4rem;
  vertical-align: middle;
}

.badge-live-android {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.35);
  margin-left: 0.4rem;
}

.platform-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #0f172a;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Hero Visual / Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-frame {
  width: 320px;
  background: #1e293b;
  border: 4px solid #334155;
  border-radius: 40px;
  padding: 1.25rem 1rem;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25), 0 0 35px rgba(217, 119, 6, 0.15);
  position: relative;
  z-index: 2;
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }
}

.mockup-notch {
  width: 100px;
  height: 18px;
  background: #334155;
  border-radius: 0 0 12px 12px;
  margin: -1.25rem auto 1rem;
}

.mockup-screen {
  background: #ffffff;
  border-radius: 28px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.03);
}

.mockup-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.user-greeting {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.user-greeting strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}

.mockup-pill {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  background: rgba(217, 119, 6, 0.12);
  color: var(--brand-accent-dark);
  border-radius: var(--radius-full);
  font-weight: 700;
}

.mockup-category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: hidden;
}

.mockup-cat-item {
  background: #f1f5f9;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.mockup-cat-item.active {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-terracotta));
  color: #ffffff;
  border: none;
}

.mockup-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.mockup-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
  color: #0f172a;
}

.mockup-card-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.mockup-tracking-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: #065f46;
}

.live-radar-dot {
  width: 10px;
  height: 10px;
  background: #059669;
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseDotGreen 1.5s infinite;
}

@keyframes pulseDotGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Floating Badges around mockup */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(14px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.12);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-badge.top-left {
  top: 12%;
  left: -15%;
  animation: floatSubtle 5s ease-in-out infinite alternate;
}

.floating-badge.bottom-right {
  bottom: 15%;
  right: -10%;
  animation: floatSubtle 6s ease-in-out infinite alternate-reverse;
}

@keyframes floatSubtle {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  font-size: 1.1rem;
}

.badge-info-text {
  display: flex;
  flex-direction: column;
}

.badge-info-text strong {
  font-size: 0.88rem;
  color: #0f172a;
}

.badge-info-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Features Overview & Grid
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-terracotta));
  opacity: 0;
  transition: var(--transition-normal);
}

.feature-card:hover {
  background: #ffffff;
  border-color: rgba(217, 119, 6, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 20px rgba(217, 119, 6, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(194, 87, 31, 0.08));
  border: 1px solid rgba(217, 119, 6, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  font-weight: 500;
}

/* ==========================================================================
   Interactive Service Estimator / Switcher
   ========================================================================== */
.demo-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
  margin-top: 2rem;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-terracotta));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--brand-gold-glow);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.service-details h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.service-details p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.service-checklist li span.check-icon {
  color: var(--success);
  font-weight: bold;
}

.interactive-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.calc-row:last-child {
  border-bottom: none;
  padding-top: 1.25rem;
}

.calc-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.calc-val {
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-heading);
}

.calc-total {
  font-size: 1.4rem;
  color: var(--brand-accent-dark);
}

/* ==========================================================================
   Live GPS Tracking Simulator Section
   ========================================================================== */
.live-tracker-demo {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 3.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.tracker-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.tracker-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.tracker-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.tracker-step-item:hover {
  border-color: rgba(217, 119, 6, 0.4);
}

.tracker-step-item.active {
  background: #ffffff;
  border-color: var(--brand-accent);
  box-shadow: 0 4px 16px -2px rgba(217, 119, 6, 0.2);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tracker-step-item.active .step-num {
  background: var(--brand-accent);
  color: #fff;
}

.step-info h4 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.step-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tracker-map-display {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.06);
}

.map-ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.map-partner-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.partner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #c2571f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.partner-meta strong {
  font-size: 0.9rem;
  color: #0f172a;
}

.partner-meta span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.map-route-visual {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.map-road {
  position: absolute;
  width: 85%;
  height: 4px;
  border-top: 2px dashed rgba(217, 119, 6, 0.8);
}

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.map-pin.partner {
  left: 20%;
  transition: all 0.8s ease;
}

.map-pin.destination {
  right: 15%;
}

.pin-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 15px var(--brand-gold-glow);
}

.pin-icon.home {
  background: #059669;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   Partner Portal Banner
   ========================================================================== */
.partner-banner {
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.7) 0%, rgba(254, 215, 170, 0.5) 50%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.partner-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.perk-item span.icon {
  color: var(--brand-accent);
  font-size: 1.2rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.03);
}

.faq-item:hover {
  border-color: rgba(217, 119, 6, 0.35);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--brand-accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s ease-in-out;
  padding-bottom: 1.5rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Legal & Policy Page Styles (Privacy Policy, Terms)
   ========================================================================== */
.policy-hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
}

.policy-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.policy-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.policy-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  padding: 4rem 0 6rem;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.policy-toc h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-accent-dark);
  margin-bottom: 1rem;
}

.policy-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.policy-toc a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.policy-toc a:hover,
.policy-toc a.active {
  color: #0f172a;
  font-weight: 600;
  background: rgba(217, 119, 6, 0.12);
}

.policy-content {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.5rem;
}

.policy-section h3 {
  font-size: 1.2rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--brand-accent-dark);
}

.policy-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.policy-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.policy-section ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.policy-callout {
  background: rgba(217, 119, 6, 0.08);
  border-left: 4px solid var(--brand-accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.policy-callout p {
  margin-bottom: 0;
  color: #1e293b;
}

/* ==========================================================================
   Contact & Partner Forms
   ========================================================================== */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.form-control {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  color: #0f172a;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 10;
  color: #f8fafc;
  width: 100%;
  clear: both;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fbbf24;
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--brand-accent);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .policy-container {
    grid-template-columns: 1fr;
  }

  .policy-toc {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn-login {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

  .hero-ctas,
  .app-store-badges,
  .hero-stats {
    justify-content: center;
  }

  .floating-badge {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .service-preview-grid {
    grid-template-columns: 1fr;
  }

  .tracker-grid {
    grid-template-columns: 1fr;
  }

  .partner-banner {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }

  .partner-perks {
    grid-template-columns: 1fr;
  }

  .demo-box {
    padding: 1.5rem;
  }

  .policy-content {
    padding: 1.75rem;
  }

  /* Footer Mobile Layout - Never overlap or squeeze */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .site-footer {
    padding: 3.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
    width: 100%;
    clear: both;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
  }

  /* Two Column Grids Collapse to 1 Column on Mobile */
  .partner-form-grid,
  .contact-grid,
  .feature-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  /* Mobile Navigation Drawer */
  .mobile-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }

  .mobile-nav-drawer.open {
    right: 0;
  }

  .mobile-close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: #0f172a;
    line-height: 1;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
  }

  .mobile-close-btn:hover {
    color: var(--brand-accent-dark);
    background: rgba(15, 23, 42, 0.05);
  }

  .mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 1.5rem;
  }

  .mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    display: block;
    padding: 0.25rem 0;
  }

  .mobile-nav-links a:hover,
  .mobile-nav-links a.active {
    color: var(--brand-accent-dark);
  }

  .partner-hero-grid,
  .apps-dual-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Strict Desktop Protection (Screens 769px and above) - Guarantee mobile drawer NEVER shows on desktop */
@media (min-width: 769px) {
  .mobile-toggle,
  .mobile-overlay,
  .mobile-nav-drawer {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
}

/* Small Smartphone Breakpoint (e.g. iPhone X, iPhone 12/13/14/15/16, 375px-430px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }

  .site-header {
    padding: 0.75rem 0;
  }

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

  .partner-badge-header {
    font-size: 0.65rem;
    padding: 2px 6px;
    margin-left: 0.35rem;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.02rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .app-store-badges {
    flex-direction: column;
    width: 100%;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .mockup-frame {
    width: 100%;
    max-width: 295px;
    border-radius: 28px;
    padding: 1rem 0.75rem;
  }

  .form-card {
    padding: 1.75rem 1.25rem;
  }

  .policy-content {
    padding: 1.5rem 1.15rem;
  }

  .policy-hero h1 {
    font-size: 2.2rem;
  }

  .partner-app-showcase-card {
    padding: 1.75rem 1.25rem;
  }

  .app-ecosystem-card {
    padding: 2rem 1.25rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .stat-item {
    width: 45%;
  }
}

/* ==========================================================================
   Partner Portal & Dual App Ecosystem Styles
   ========================================================================== */
.partner-badge-header {
  display: inline-block;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f59e0b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  margin-left: 0.6rem;
  vertical-align: middle;
}

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

.partner-app-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 25px rgba(217, 119, 6, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partner-app-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #d97706, #c2571f);
}

.partner-app-icon-img {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  box-shadow: 0 12px 30px -5px rgba(217, 119, 6, 0.35);
  border: 2px solid rgba(217, 119, 6, 0.2);
  transition: transform var(--transition-fast);
  display: block;
}

.partner-app-icon-img:hover {
  transform: scale(1.04);
}

.customer-app-icon-img {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  box-shadow: 0 12px 30px -5px rgba(217, 119, 6, 0.35);
  border: 2px solid rgba(217, 119, 6, 0.2);
  transition: transform var(--transition-fast);
  display: block;
}

.customer-app-icon-img:hover {
  transform: scale(1.04);
}

.apps-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.app-ecosystem-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.app-ecosystem-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-lg);
}

.partner-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.partner-perk-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition-fast);
}

.partner-perk-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-accent);
}

.partner-perk-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(217, 119, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Page Grid Utility Classes
   ========================================================================== */
.partner-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

.footer-app-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.65rem;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.footer-app-btn:hover {
  transform: translateY(-2px);
}

.footer-app-btn:last-of-type {
  margin-bottom: 0;
}

/* Prevent text overflow on small viewports */
.site-footer p,
.site-footer a,
.footer-brand p,
.policy-content p,
.policy-content li {
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr !important;
  }
}