/* ============================================================
   FLIGHT TRACKER LANDING — DESIGN SYSTEM
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --color-bg:         #080C14;
  --color-bg-2:       #0D1525;
  --color-accent:     #00D2FF;
  --color-accent-2:   #FF6B35;
  --color-text:       #FFFFFF;
  --color-text-muted: #8899AA;
  --color-border:     rgba(0, 210, 255, 0.15);
  --color-card:       rgba(255, 255, 255, 0.04);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --max-width:    1200px;
  --side-pad:     120px;
  --section-gap:  112px;   /* 96–120px mid-point */
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Container --- */
/* Frame: 1440px, content: 1200px, side padding: 120px each side */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--side-pad);
}

/* --- Utility: Section spacing --- */
.section {
  padding-block: var(--section-gap);
}

/* --- Utility: Typography --- */
.display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.0;
  text-transform: uppercase;
}

.mono {
  font-family: var(--font-mono);
}

/* --- Utility: Accent colors --- */
.accent   { color: var(--color-accent); }
.accent-2 { color: var(--color-accent-2); }
.muted    { color: var(--color-text-muted); }

/* --- Utility: Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-accent-2);
  color: #fff;
}

.btn-secondary {
  background: var(--color-card);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

/* --- Utility: Card --- */
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

/* ============================================================
   [1] HERO
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  background: #03080F;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Map background — real image */
.hero-map {
  position: absolute;
  inset: 0;
  background: url('assets/images/Background.jpg') no-repeat center top / cover;
  pointer-events: none;
}

/* Bottom gradient overlay — fades map into dark bg */
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(3, 8, 15, 0.55) 35%,
    rgba(3, 8, 15, 0.88) 65%,
    #03080F 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Plane icon — CSS background with inline SVG data URI */
.p {
  position: absolute;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C8960A' d='M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
  width: 13px;
  height: 13px;
}
.p-sm { width: 10px; height: 10px; }
.p-lg { width: 16px; height: 16px; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(64px, 9.5vw, 132px);
  font-weight: 400;
  line-height: 0.95;
  color: var(--color-text);
  margin-bottom: 28px;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.6);
}

.hero-title em {
  font-style: italic;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin-bottom: 44px;
  max-width: 480px;
}

/* Store buttons */
.hero-stores {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #ffffff;
  color: #000;
  border-radius: 12px;
  padding: 11px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 178px;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-btn-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text {
  text-align: left;
  line-height: 1.25;
}

.store-btn-text small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.03em;
}

.store-btn-text strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

/* Rating row */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
}

.hero-stars {
  display: flex;
  gap: 3px;
}

.hero-stars svg {
  width: 18px;
  height: 18px;
  fill: #F5B800;
}

/* ============================================================
   SHARED SECTION UTILITIES
   ============================================================ */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

/* ============================================================
   [2] SOCIAL PROOF BAR
   ============================================================ */
#social-proof {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.spbar-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--side-pad);
  height: 196px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spbar-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
}

.spbar-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.spbar-star {
  width: 28px;
  height: 28px;
  fill: var(--color-text);
  flex-shrink: 0;
  position: relative;
  top: -2px;
}

.spbar-label {
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1;
  white-space: nowrap;
}

.spbar-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
  flex-shrink: 0;
  margin-inline: 24px;
}

/* ============================================================
   [4] FEATURE GRID
   ============================================================ */
#features {
  background: var(--color-bg);
}

.fg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fg-card {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  min-height: 222px;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s;
}

.fg-card:hover {
  border-color: rgba(0, 210, 255, 0.35);
}

.fg-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.fg-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 10px;
}

.fg-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
}

.fg-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   [10] FINAL CTA + DOWNLOAD
   ============================================================ */
#cta {
  background:
    radial-gradient(ellipse 90% 80% at 50% 35%, rgba(0, 55, 100, 0.45) 0%, transparent 70%),
    url('assets/images/Background10.jpg') center / cover no-repeat;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 100px;
  gap: 0;
}

.cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--color-text);
  margin-bottom: 28px;
}

.cta-title em {
  font-style: italic;
}

.cta-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 44px;
  max-width: 480px;
}

.cta-fine {
  font-size: 13px;
  color: var(--color-text-muted);
  opacity: 0.6;
  margin-top: 20px;
  letter-spacing: 0.02em;
}

/* ============================================================
   [9] REVIEWS
   ============================================================ */
#reviews {
  background: var(--color-bg);
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rev-card {
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s;
}

.rev-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
}

.rev-stars {
  display: flex;
  gap: 4px;
}

.rev-stars svg {
  width: 20px;
  height: 20px;
  fill: #F5B800;
}

.rev-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex: 1;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.rev-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.rev-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rev-info strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.rev-info span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================================
   [8] STATS BAR — reuses .spbar-* from section 2
   ============================================================ */
#stats {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   [7] HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--color-bg);
}

/* Timeline row */
.hiw-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  margin-bottom: 48px;
}

/* Connecting line — from center of col 1 to center of col 3 */
.hiw-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--color-accent);
  opacity: 0.5;
  transform: translateY(-50%);
}

.hiw-dot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-accent);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

/* Steps grid */
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.hiw-step {
  text-align: center;
}

.hiw-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hiw-icon {
  font-size: 28px;
  line-height: 1;
}

.hiw-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 300px;
  margin-inline: auto;
}

/* ============================================================
   [6] NOTIFICATIONS FEATURE
   ============================================================ */
#notifications {
  background: var(--color-bg);
}

.notif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 600px;
}

.notif-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 24px;
}

.notif-title em {
  font-style: italic;
}

.notif-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notif-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.notif-emoji {
  font-size: 18px;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.notif-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.notif-mockup {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.5));
}

/* ============================================================
   [5] CAMERA / AR FEATURE
   ============================================================ */
#camera-ar {
  background: var(--color-bg-2);
}

.ar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 680px;
}

.ar-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ar-mockup {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
}

.ar-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 20px;
}

.ar-title em {
  font-style: italic;
}

.ar-body {
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.ar-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.ar-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.ar-checklist li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.ar-cta {
  display: block;
  width: 100%;
  max-width: 340px;
  text-align: center;
  background: var(--color-accent-2);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  padding: 18px 32px;
  border-radius: 16px;
  transition: opacity 0.2s, transform 0.15s;
}

.ar-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ============================================================
   [3] LIVE MAP FEATURE
   ============================================================ */
#live-map {
  background: var(--color-bg);
  overflow: hidden;
}

.lm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 700px;
}

/* Left text */
.lm-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--color-text);
  margin-bottom: 28px;
}

.lm-title em {
  font-style: italic;
}

.lm-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 460px;
}

.lm-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lm-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.lm-checklist li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Right visual */
.lm-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lm-mockup {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 80px rgba(0, 0, 0, 0.6));
}

/* Floating badges */
.lm-badge {
  position: absolute;
  background: rgba(8, 12, 20, 0.88);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  z-index: 2;
}

.lm-badge-alt {
  top: 16%;
  right: -4%;
}

.lm-badge-spd {
  top: 30%;
  left: -2%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --side-pad:    16px;
    --section-gap: 60px;
  }

  /* Feature grid mobile */
  .fg-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .fg-card {
    max-width: 100%;
    min-height: auto;
    padding: 20px;
  }

  .fg-icon {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .fg-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .fg-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .fg-badge {
    font-size: 10px;
    top: 16px;
    right: 16px;
  }

  /* Final CTA mobile */
  .cta-inner {
    padding-block: 64px;
  }

  .cta-title {
    font-size: clamp(48px, 12vw, 72px);
  }

  .cta-sub {
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* Reviews mobile */
  .rev-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* How it works mobile — vertical layout */
  .hiw-timeline {
    display: none; /* replaced by ::before on each step */
  }

  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hiw-step {
    text-align: left;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    align-items: start;
  }

  /* Number circle via data-num attribute */
  .hiw-step::before {
    content: attr(data-num);
    grid-row: 1 / 3;
    grid-column: 1;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .hiw-title {
    grid-column: 2;
    font-size: 20px;
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 8px;
  }

  .hiw-desc {
    grid-column: 2;
    margin-inline: 0;
    font-size: 14px;
  }

  /* Notifications mobile */
  .notif-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .notif-mockup {
    max-width: 100%;
  }

  .notif-title {
    font-size: 40px;
  }

  /* Camera AR mobile */
  .ar-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .ar-visual { order: -1; }

  .ar-mockup {
    max-width: 260px;
    margin-inline: auto;
  }

  .ar-title {
    font-size: 40px;
  }

  .ar-body {
    font-size: 16px;
  }

  .ar-cta {
    max-width: 100%;
  }

  /* Live map mobile */

  .lm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
  }

  .lm-visual {
    order: -1;
  }

  .lm-mockup {
    max-width: 300px;
    margin-inline: auto;
  }

  .lm-badge-alt { top: 10%; right: 2%; }
  .lm-badge-spd { top: 28%; left: 2%; }

  /* Social proof bar mobile */
  .spbar-inner {
    height: auto;
    padding-block: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }

  .spbar-divider {
    display: none;
  }

  .spbar-item {
    padding-inline: 8px;
  }

  .spbar-value {
    font-size: 32px;
  }

  .spbar-label {
    font-size: 15px;
  }

  /* Hero mobile */
  .hero-title {
    font-size: clamp(52px, 14vw, 72px);
    line-height: 0.97;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 36px;
    padding-inline: 8px;
  }

  .hero-stores {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .store-btn {
    min-width: 220px;
  }

  .hero-badge {
    font-size: 11px;
    padding-inline: 12px;
    text-align: center;
  }

  /* Hide most planes on mobile, keep sparse */
  .p-hide-mobile { display: none; }
}

/* Extra small screens — 1 column for cards */
@media (max-width: 480px) {
  .fg-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   [11] FOOTER
   ============================================================ */
#footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
}

.ft-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--side-pad);
  padding-block: 64px;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* --- Brand column --- */
.ft-brand {
  flex: 0 0 auto;
  max-width: 320px;
}

.ft-logo {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.ft-tagline {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

.ft-socials {
  display: flex;
  gap: 12px;
}

.ft-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.ft-social:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.ft-social svg {
  width: 18px;
  height: 18px;
}

/* --- Nav columns --- */
.ft-nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-content: flex-end;
}

.ft-col-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 20px;
}

.ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ft-col ul li a {
  font-size: 15px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.ft-col ul li a:hover {
  color: var(--color-text);
}

/* --- Footer responsive --- */
@media (max-width: 768px) {
  .ft-inner {
    flex-direction: column;
    gap: 48px;
    padding-block: 48px;
  }

  .ft-brand {
    max-width: 100%;
  }

  .ft-nav {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .ft-nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}
