/* =============================================
   BUS BY ALLRIDES – STYLESHEET
   ============================================= */

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --clr-nav: #3a4a3e;
  --clr-green: #4caf7d;
  --clr-green-dark: #2e8a5a;
  --clr-cta: #4caf7d;
  --clr-cta-hover: #3a9c68;
  --clr-text: #1a1a2e;
  --clr-muted: #555f6e;
  --clr-bg: #ffffff;
  --clr-section: #f8f9fb;
  --clr-card: #ffffff;
  --clr-border: #e8eaed;
  --clr-highlight: #4caf7d;
  --clr-marquee-text: #b0b8c1;

  --font-base: 'Inter', system-ui, -apple-system, sans-serif;

  --nav-h: 64px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.07);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12);

  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 50px;
  font-family: var(--font-base);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-cta);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--clr-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(76, 175, 125, 0.35);
}

.btn-cta {
  background: var(--clr-cta);
  color: #fff;
  padding: 14px 36px;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(76, 175, 125, 0.3);
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background: var(--clr-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(76, 175, 125, 0.4);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--clr-nav);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}

.logo-bus {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.logo-allrides {
  color: var(--clr-green);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  margin-left: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--clr-nav);
  padding: 12px 24px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu .btn {
  margin-top: 8px;
  width: fit-content;
}

.mobile-menu.open {
  display: flex;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  text-align: center;
  background: var(--clr-bg);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.highlight {
  color: var(--clr-highlight);
  border-bottom: 3px solid var(--clr-highlight);
  padding-bottom: 2px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 500px;
  margin: 0 auto 36px;
}

/* Floating emoji icons */
.float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.fi {
  position: absolute;
  font-size: 2.6rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  animation: floatAnim 5s ease-in-out infinite;
}

.fi-1 {
  top: 14%;
  left: 6%;
  animation-delay: 0s;
  font-size: 2.8rem;
}

.fi-2 {
  top: 42%;
  left: 4%;
  animation-delay: 0.6s;
  font-size: 3rem;
}

.fi-3 {
  top: 12%;
  right: 8%;
  animation-delay: 1.1s;
  font-size: 2.8rem;
}

.fi-4 {
  top: 38%;
  right: 6%;
  animation-delay: 0.3s;
  font-size: 2.2rem;
}

.fi-5 {
  top: 65%;
  left: 10%;
  animation-delay: 0.8s;
  font-size: 2.6rem;
}

.fi-6 {
  top: 70%;
  right: 10%;
  animation-delay: 1.4s;
  font-size: 2.4rem;
}

.fi-7 {
  top: 22%;
  left: 18%;
  animation-delay: 0.4s;
  font-size: 2rem;
}

.fi-8 {
  top: 22%;
  right: 18%;
  animation-delay: 1.2s;
  font-size: 2rem;
}

@keyframes floatAnim {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}

/* ---- MARQUEE ---- */
.marquee-wrapper {
  background: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.marquee-track span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--clr-marquee-text);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- SECTION SHARED ---- */
section {
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--clr-muted);
  font-size: 0.98rem;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- FEATURES ---- */
.features {
  background: var(--clr-section);
}

.features-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Row 1: two wide cards – each half of the 6-col grid */
.feature-card:nth-child(1) {
  grid-column: 1 / 4;
}

.feature-card:nth-child(2) {
  grid-column: 4 / 7;
}

/* Row 2: three equal cards */
.feature-card:nth-child(3) {
  grid-column: 1 / 3;
}

.feature-card:nth-child(4) {
  grid-column: 3 / 5;
}

.feature-card:nth-child(5) {
  grid-column: 5 / 7;
}

/* ---- BASE CARD ---- */
.feature-card {
  background: var(--clr-card);
  border-radius: var(--radius);
  border: 1px solid var(--clr-border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* Image container */
.feature-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wide cards (row 1) – bigger illustration */
.feature-card:nth-child(1) .feature-img img,
.feature-card:nth-child(2) .feature-img img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.10));
  transition: transform 0.3s ease;
}

/* Small cards (row 2) – smaller illustration */
.feature-card:nth-child(3) .feature-img img,
.feature-card:nth-child(4) .feature-img img,
.feature-card:nth-child(5) .feature-img img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.09));
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-img img {
  transform: scale(1.05);
}

.feature-text {
  width: 100%;
}

.feature-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--clr-text);
}

.feature-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-text ul li {
  font-size: 0.875rem;
  color: var(--clr-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}

.feature-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--clr-green);
  font-weight: 700;
}

/* ---- RESPONSIVE: tablet (≤900px) ---- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:nth-child(1) {
    grid-column: 1 / 2;
  }

  .feature-card:nth-child(2) {
    grid-column: 2 / 3;
  }

  .feature-card:nth-child(3) {
    grid-column: 1 / 2;
  }

  .feature-card:nth-child(4) {
    grid-column: 2 / 3;
  }

  .feature-card:nth-child(5) {
    grid-column: 1 / 3;
  }

  .feature-card:nth-child(1) .feature-img img,
  .feature-card:nth-child(2) .feature-img img {
    width: 180px;
    height: 180px;
  }
}

/* ---- POS SECTION ---- */
.pos-section {
  background: var(--clr-bg);
  padding: 80px 24px;
}

/* --- Top CTA copy --- */
.pos-cta-top {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.pos-cta-top h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--clr-text);
}

.pos-cta-top p {
  color: var(--clr-muted);
  font-size: 0.98rem;
  margin-bottom: 28px;
}

/* Dark / teal CTA button */
.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-base);
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--clr-nav);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(58, 74, 62, 0.25);
}

.btn-cta-dark:hover {
  background: #2c3a30;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 74, 62, 0.3);
}

/* --- Outer card wrapper --- */
.pos-card {
  max-width: 1060px;
  margin: 0 auto;
  background: #f2f4f3;
  border-radius: 20px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 420px;
}

/* --- Left content --- */
.pos-left {
  flex: 1;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pos-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--clr-text);
  line-height: 1.2;
}

.pos-card-sub {
  font-size: 0.92rem;
  color: var(--clr-muted);
  line-height: 1.65;
  max-width: 380px;
}

.pos-card-sub strong {
  color: var(--clr-text);
  font-weight: 700;
}

/* --- Tiles grid --- */
.pos-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

/* Base tile */
.pos-tile {
  background: #fff;
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 90px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pos-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.pos-tile-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.pos-tile-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.4;
}

/* Green "Durable" tile */
.pos-tile--green {
  background: var(--clr-green);
}

.pos-tile--green .pos-tile-label {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Dark "And more" tile */
.pos-tile--dark {
  background: #1a1a2e;
  align-items: center;
  justify-content: center;
}

.pos-tile--dark .pos-tile-label {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

/* UPI tile: full-width spanning 2 cols */
.pos-tile--upi {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}

.pos-tile--upi img {
  flex-shrink: 0;
  object-fit: contain;
}

.pos-tile--upi .pos-tile-label {
  font-size: 0.88rem;
}

/* Connectivity tile: 1 col, image centred */
.pos-tile--connectivity {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 20px;
}

.pos-tile--connectivity img {
  object-fit: contain;
}

/* --- Right mockup image --- */
.pos-mockup-mobile {
  display: none;
}

.pos-right {
  flex-shrink: 0;
  width: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.pos-mockup-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .pos-card {
    flex-direction: column;
  }

  .pos-right {
    display: none;
  }

  .pos-mockup-mobile {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin: 20px 0;
  }

  .pos-mockup-img {
    max-width: 240px;
    margin: 0 auto;
  }

  .pos-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .pos-left {
    padding: 28px 20px;
  }

  .pos-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .pos-tile--upi {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .pos-tile--dark {
    grid-column: span 2;
  }
}


/* ---- APP PROMO ---- */
.app-promo {
  padding: 80px 24px;
  background: var(--clr-bg);
}

.app-promo-card {
  max-width: 1060px;
  margin: 0 auto;
  background: #f5f6f8;
  /* Light gray to match image bg */
  border-radius: 12px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 420px;
}

.app-promo-left {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.app-promo-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--clr-text);
  line-height: 1.15;
}

.text-green {
  color: var(--clr-green);
}

.app-promo-sub {
  font-size: 1.25rem;
  color: var(--clr-text);
  line-height: 1.5;
  margin-bottom: 20px;
}

.app-promo-sub strong {
  font-weight: 800;
}

.btn-waitlist {
  background: #62d69e;
  /* Mint green */
  color: var(--clr-text);
  padding: 16px 40px;
  font-size: 1.15rem;
  border-radius: 50px;
  align-self: flex-start;
  font-weight: 700;
  transition: transform var(--transition);
}

.btn-waitlist:hover {
  background: #4ec28a;
  transform: translateY(-2px);
}

.app-promo-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
}

.app-promo-img {
  max-width: 350px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .app-promo-card {
    flex-direction: column;
    text-align: center;
  }

  .app-promo-left {
    padding: 40px 24px;
    align-items: center;
  }

  .btn-waitlist {
    align-self: center;
  }

  .app-promo-right {
    justify-content: center;
    padding-right: 0;
  }
}


/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: 80px 0;
  background: var(--clr-bg);
  overflow: hidden;
}

.testimonials-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--clr-text);
  letter-spacing: -0.5px;
}

.testimonials-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollTestimonials 30s linear infinite;
  padding: 0 24px;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  background: #f4f5f5;
  /* Light gray to match the design */
  border-radius: 16px;
  padding: 32px;
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.testimonial-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--clr-muted);
}

.testimonial-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--clr-muted);
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

@media (max-width: 600px) {
  .testimonial-card {
    width: 320px;
    padding: 24px;
  }
}

/* ---- FAQ SECTION ---- */
.faq-section {
  padding: 100px 24px;
  background: var(--clr-bg);
}

.faq-container {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.faq-left {
  flex: 0 0 400px;
}

.faq-pre-title {
  color: var(--clr-muted);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.faq-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1.1;
  letter-spacing: -1px;
}

.faq-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faq-accordion {
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 30px;
}

.faq-item {
  border-top: 1px solid var(--clr-border);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--clr-green);
  transition: transform 0.3s ease;
}

.faq-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}

/* When active, the plus becomes a minus (i.e. vertical line disappears) */
.faq-item.open .faq-icon::after {
  transform: rotate(90deg) scale(0);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-content-inner {
  padding-bottom: 24px;
  padding-left: 30px;
  color: var(--clr-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-more-link {
  color: var(--clr-green);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.faq-more-link:hover {
  opacity: 0.8;
}

@media (max-width: 900px) {
  .faq-container {
    flex-direction: column;
    gap: 40px;
  }

  .faq-left {
    flex: auto;
    width: 100%;
  }
}

/* ---- CONTACT ---- */
.contact {
  background: var(--clr-section);
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-card);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.contact-icon {
  font-size: 1.4rem;
}

/* ---- FOOTER ---- */
.footer {
  background: #202020;
  /* Very dark grey */
  padding: 60px 40px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* Align bottom to match text lines */
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: background 0.2s, color 0.2s;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon:hover {
  background: var(--clr-green);
  border-color: var(--clr-green);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-links-grid {
  display: flex;
  gap: 80px;
}

.footer-column h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #fff;
}

/* ---- RESPONSIVE: mobile nav + misc ---- */
@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Features: single column on mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .feature-card:nth-child(1) .feature-img img,
  .feature-card:nth-child(2) .feature-img img {
    width: 160px;
    height: 160px;
  }

  .fi {
    font-size: 1.8rem;
  }

  .fi-7,
  .fi-8 {
    display: none;
  }

  .pricing-card {
    padding: 36px 24px;
  }

  .footer-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-links-grid {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.75rem;
  }

  .fi-1,
  .fi-2,
  .fi-5,
  .fi-6 {
    font-size: 1.6rem;
  }
}

/* ---- ACCESSIBILITY ---- */
:focus-visible {
  outline: 2px solid var(--clr-green);
  outline-offset: 3px;
}