/* Along — marketing landing page (matches iOS AppTheme tokens) */

:root {
  --primary: #17636c;
  --primary-light: #1e7a85;
  --primary-muted: rgba(23, 99, 108, 0.12);
  --accent: #f28c61;
  --accent-muted: rgba(242, 140, 97, 0.14);
  --background: #f0f2fa;
  --card: #ffffff;
  --text: #1f2429;
  --text-secondary: #737880;
  --separator: rgba(31, 36, 41, 0.08);
  --shadow-sm: 0 1px 2px rgba(31, 36, 41, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 36, 41, 0.08);
  --shadow-lg: 0 20px 48px rgba(23, 99, 108, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --max-width: 72rem;
  --header-height: 4.25rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(240, 242, 250, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--separator);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 1.125rem;
  height: 1.125rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--text);
}

.nav-desktop a.nav-uae,
.nav-mobile a.nav-uae {
  color: var(--primary);
  font-weight: 600;
}

.nav-desktop a.nav-uae:hover,
.nav-mobile a.nav-uae:hover {
  color: var(--primary-light);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover {
  color: var(--text);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  z-index: 99;
  background: rgba(240, 242, 250, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--separator);
  overflow-y: auto;
}

body.nav-open {
  overflow: hidden;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--separator);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .btn-ghost.header-only-mobile {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(23, 99, 108, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(242, 140, 97, 0.12), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    padding: 5rem 0 6rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow-uae {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.eyebrow-uae:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.eyebrow-uae:active {
  transform: scale(0.98);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.app-store-badge img {
  height: 60px;
  width: auto;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-note strong {
  color: var(--text);
  font-weight: 600;
}

/* Phone mockup */

.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone {
  width: min(100%, 19rem);
  background: var(--card);
  border-radius: 2.25rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: rotateY(-4deg) rotateX(2deg);
}

@media (min-width: 960px) {
  .phone {
    transform: rotateY(-6deg) rotateX(3deg);
  }
}

.phone-screen {
  background: var(--background);
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--separator);
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem 0.75rem;
}

.phone-city {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.phone-city svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.phone-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  margin: 0 1rem 0.75rem;
  padding: 0.25rem;
  background: rgba(31, 36, 41, 0.06);
  border-radius: 0.625rem;
}

.phone-segment span {
  text-align: center;
  padding: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.5rem;
  color: var(--text-secondary);
}

.phone-segment span.active {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.plan-cards {
  padding: 0 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.plan-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 0.875rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.plan-card-body {
  min-width: 0;
}

.plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.375rem;
}

.plan-pill.coffee { background: #f5ebe0; color: #8b6914; }
.plan-pill.walk { background: #e5f2ea; color: #2d6a4f; }
.plan-pill.sport { background: #fde8e8; color: #9b2226; }

.plan-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.375rem;
}

.plan-host {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.plan-avatar {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-muted);
  color: var(--primary);
  font-size: 0.5625rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.plan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.plan-chip {
  font-size: 0.625rem;
  padding: 0.1875rem 0.4375rem;
  border-radius: 999px;
  background: #f2f2f2;
  color: var(--text-secondary);
}

.plan-thumb {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.plan-thumb.coffee { background: #f5ebe0; }
.plan-thumb.walk { background: #e5f2ea; }
.plan-thumb.sport { background: #fde8e8; }

.phone-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.625rem 0.5rem 0.875rem;
  border-top: 1px solid var(--separator);
  background: var(--card);
}

.phone-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.5625rem;
  color: var(--text-secondary);
}

.phone-tab.active {
  color: var(--primary);
  font-weight: 600;
}

.phone-tab svg {
  width: 1rem;
  height: 1rem;
}

/* Sections — alternating canvas and white bands */

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--card);
  border-block: 1px solid var(--separator);
}

/* On white bands, use canvas fill for inner cards so they stay visible */
.section-alt .step-card,
.section-alt .category-chip,
.section-alt .cta-panel {
  background: var(--background);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.875rem;
}

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

/* Steps */

.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--separator);
}

.step-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary-muted);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--accent-muted);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.step-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.step-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* Values */

.values-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--separator);
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.value-card h3 span {
  font-size: 1.25rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Categories */

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

.category-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--separator);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.category-chip span:first-child {
  font-size: 1.375rem;
}

/* UAE focus */

.uae-panel {
  background: linear-gradient(145deg, var(--primary) 0%, #124850 55%, #0f3d44 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.uae-panel::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto auto;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.uae-panel > * {
  position: relative;
}

@media (min-width: 960px) {
  .uae-panel {
    padding: 3.25rem 3rem;
  }
}

.uae-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.875rem;
}

.uae-panel h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 1rem;
  max-width: 28ch;
  margin-inline: auto;
}

.uae-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  max-width: 42rem;
  margin-inline: auto;
}

.uae-audience {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .uae-audience {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.uae-audience li {
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.uae-audience strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.uae-audience span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.88;
}

.uae-emirates-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.uae-emirate {
  display: inline-block;
  padding: 0.4375rem 0.875rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Trust */

.trust-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--separator);
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--primary-muted);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.trust-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* CTA band */

.cta-panel {
  text-align: center;
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--separator);
}

.cta-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta-panel p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.cta-panel .hero-cta {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--separator);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

.footer-brand .logo {
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  text-align: center;
}

/* Mobile */

@media (max-width: 767px) {
  :root {
    --header-height: 3.75rem;
  }

  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .header-actions .btn-ghost.header-only-mobile {
    display: none;
  }

  .header-actions .btn-primary {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

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

  .hero-grid {
    gap: 2rem;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .eyebrow-uae {
    margin-inline: auto;
  }

  .hero-lead {
    max-width: none;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    justify-content: center;
    margin-bottom: 0;
  }

  .phone {
    transform: none;
    width: min(100%, 16.5rem);
  }

  .plan-card:nth-child(3) {
    display: none;
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

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

  .category-chip {
    padding: 0.75rem 0.375rem;
    font-size: 0.75rem;
  }

  .category-chip span:first-child {
    font-size: 1.125rem;
  }

  .uae-panel {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .uae-panel h2 {
    max-width: none;
  }

  .uae-lead {
    font-size: 1rem;
  }

  .uae-emirate {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .cta-panel {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .step-card,
  .value-card,
  .trust-item {
    padding: 1.25rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 380px) {
  .eyebrow-uae {
    font-size: 0.75rem;
    padding: 0.4375rem 0.875rem;
  }

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