:root {
  --primary: #f6901e;
  --primary-hover: #e28214;
  --primary-glow: rgba(255, 107, 26, 0.4);

  /* Theme Variables - Light (Default) */
  --bg: #F9FAFB;
  --surface: #FFFFFF;
  --elevated: #F3F4F6;
  --text-main: #111822;
  --text-secondary: #4B5563;
  --border-color: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-stroke: rgba(0, 0, 0, 0.1);
  --nav-bg: rgba(249, 250, 251, 0.85);
  --outline-color: rgba(0, 0, 0, 0.1);
}

body.dark-mode {
  --bg: #0A0A0B;
  --surface: #141416;
  --elevated: #1C1C1F;
  --text-main: #FFFFFF;
  --text-secondary: #A1A1AA;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-stroke: rgba(255, 255, 255, 0.07);
  --nav-bg: rgba(10, 10, 11, 0.8);
  --outline-color: rgba(255, 255, 255, 0.2);
}

/* Logo toggling */
.logo-dark {
  display: none !important;
}

.logo-light {
  display: block !important;
}

.dark-mode .logo-dark {
  display: block !important;
}

.dark-mode .logo-light {
  display: none !important;
}

.nav-logo img,
.footer-logo img {
  height: 38px;
  width: auto;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}

svg,
[data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

/* --- LOADER --- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.loader-logo img {
  width: 120px;
  height: auto;
  animation: pulseLogo 2s ease-in-out infinite;
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.loader-text {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
}

.loader-text span {
  color: var(--primary);
}

.loader-bar-wrap {
  width: 240px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  padding: 16px 80px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-logo img {
  height: 38px;
  transition: transform 0.3s;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  opacity: 0.6;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: var(--text-main) !important;
  opacity: 1 !important;
  padding: 12px 28px;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(255, 107, 26, 0.2);
  transition: all 0.3s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 26, 0.4) !important;
  background: var(--primary-hover);
}

.theme-toggle {
  width: 108px;
  height: 65px;
  border-radius: 50%;
  background: var(--elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.theme-toggle i {
  width: 18px;
  height: 18px;
}

/* In Light Mode, if we want specific overrides for the mockup phone's screen */
body.light-mode .phone-border {
  border-color: var(--text-main);
}

body.light-mode .phone-screen {
  background: #FFFFFF;
}

body.light-mode .app-item {
  border: 1px solid #EEE;
}

#hero {
  min-height: 100vh;
  padding: 140px 80px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 150%;
  background: radial-gradient(circle at center, rgba(255, 107, 26, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-left {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.hero-badge i {
  width: 14px;
  height: 14px;
}

.hero-h1 {
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.hero-h1 span.accent {
  color: var(--primary);
}

.hero-h1 span.outline {
  -webkit-text-stroke: 2px var(--outline-color);
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.btn {
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 30px rgba(255, 107, 26, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 107, 26, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.hero-stats {
  display: flex;
  gap: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 32px;
  margin-bottom: 4px;
}

.stat-item h3 span {
  color: var(--primary);
}

.stat-item p {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- MOCKUP --- */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
  flex: 1;
}

.hero-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
  pointer-events: none;
  mask-image: linear-gradient(to right, black, transparent);
  -webkit-mask-image: linear-gradient(to right, black, transparent);
  filter: saturate(1.2);
}

body.light-mode .hero-image-wrap {
  opacity: 0.3;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-collage {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  z-index: 1;
}

.collage-item {
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 4px solid var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-item:hover {
  transform: scale(1.02);
  z-index: 2;
}

.collage-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.collage-item:hover .collage-label {
  opacity: 1;
}

.c-1 {
  grid-row: span 2;
  height: 480px;
}

.c-2 {
  height: 228px;
}

.c-3 {
  height: 228px;
}

.c-4 {
  height: 228px;
}

.c-5 {
  height: 228px;
}

.collage-stat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.phone-container {
  position: relative;
  width: 300px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.phone-border {
  width: 300px;
  height: 620px;
  background: #000;
  border: 12px solid #1a1a1a;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #F8F9FA;
  display: flex;
  flex-direction: column;
}

.app-home {
  padding: 20px;
  flex: 1;
}

.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.app-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: var(--bg);
  font-size: 18px;
}

.app-logo span {
  color: var(--primary);
}

.app-hero-card {
  background: var(--primary);
  border-radius: 20px;
  padding: 24px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.app-hero-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.app-hero-card p {
  font-size: 12px;
  opacity: 0.8;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.app-item {
  background: var(--text-main);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.app-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 26, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: var(--primary);
}

.app-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--bg);
}

.float-card {
  position: absolute;
  background: rgba(20, 20, 22, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-stroke);
  padding: 16px 20px;
  border-radius: 18px;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-top {
  top: 60px;
  left: -80px;
}

.card-bottom {
  bottom: 80px;
  right: -80px;
}

.float-card .label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.float-card .value {
  font-size: 20px;
  font-weight: 800;
  margin: 4px 0;
}

.float-card .tag {
  font-size: 10px;
  color: #4ADE80;
  font-weight: 600;
  background: rgba(74, 222, 128, 0.1);
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
}

/* --- SECTIONS --- */
section {
  padding: 120px 80px;
}

.section-header {
  margin-bottom: 80px;
  max-width: 600px;
}

.section-tag {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

.section-h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* --- ABOUT CARDS --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 24px;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--elevated);
  transform: translateY(-5px);
  border-color: rgba(255, 107, 26, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 26, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- SERVICES --- */
#services {
  background: var(--surface);
}

/* --- SERVICES MARQUEE --- */
.services-marquee-wrapper {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  width: 100%;
}

.services-marquee-wrapper::before,
.services-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.services-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.services-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.services-marquee {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.services-marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.service-card {
  width: 420px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.service-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

.service-card:hover .service-card-img img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 40px;
  position: relative;
}

.s-icon {
  width: 54px;
  height: 54px;
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all 0.3s;
}

.service-card:hover .s-icon {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: rotate(-10deg) scale(1.1);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.service-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.3s;
}

.service-card:hover .service-more {
  gap: 12px;
}

/* --- WHY CHOOSE --- */
.why-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: 20px;
}

.why-card {
  background: var(--elevated);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 32px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.why-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.1;
  filter: grayscale(1) brightness(0.8);
}

.why-card:hover .why-card-bg {
  transform: scale(1.05);
  opacity: 0.2;
  filter: grayscale(0) brightness(1);
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--elevated) 10%, transparent 80%);
  z-index: -1;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 26, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Accent Glow for Large Card */
.bento-large::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.05) 0%, transparent 70%);
  z-index: -1;
}

.why-card-icon {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 44px;
  height: 44px;
  background: rgba(255, 107, 26, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s;
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 107, 26, 0.3);
}

.why-card h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.8;
}

/* Bento Spanning */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

@media (max-width: 1200px) {
  .why-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .why-section {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide,
  .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* --- DOWNLOAD SECTION --- */
#download {
  background: linear-gradient(135deg, #f6901e 0%, #E65100 100%);
  padding: 40px 80px;
  border-radius: 64px;
  margin: 0 80px 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 100px;
  position: relative;
  overflow: hidden;
  color: white;
}

.download-content {
  position: relative;
  z-index: 2;
}

#download .section-h2 {
  color: white;
  margin-bottom: 24px;
}

#download .section-p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 48px;
  max-width: 500px;
}

.download-app-form {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 48px;
  max-width: 500px;
}

.download-app-form input {
  background: transparent;
  border: none;
  padding: 12px 24px;
  color: white;
  font-size: 16px;
  flex: 1;
  outline: none;
}

.download-app-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.download-app-form button {
  background: white;
  color: #f6901e;
  border: none;
  padding: 12px 32px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.download-app-form button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.store-badges {
  display: flex;
  gap: 20px;
}

.store-badge {
  height: 48px;
  transition: transform 0.3s;
}

.store-badge:hover {
  transform: translateY(-5px);
}

.download-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.3));
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#download:hover .phone-mockup {
  transform: scale(1.05) translateY(-20px) rotate(-5deg);
}

/* --- CONTACT --- */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.contact-info-item {
  display: flex;
  gap: 24px;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-input {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--elevated);
  color: var(--text-main);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-input:focus {
  border-color: var(--primary);
}

.contact-input::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.ci-icon {
  width: 54px;
  height: 54px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.ci-text h5 {
  color: var(--text-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ci-text p {
  font-size: 16px;
  font-weight: 500;
}

/* --- FOOTER --- */
footer {
  padding: 100px 80px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
  margin-bottom: 80px;
}

.footer-col h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-main);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 15px;
  transition: 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 32px;
  margin-bottom: 24px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 260px;
  line-height: 1.6;
}

.copyright {
  font-size: 14px;
  color: var(--text-secondary);
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: var(--elevated);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.3s;
}

.socials a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-4px);
}

.socials i {
  width: 18px;
  height: 18px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {

  nav,
  #hero,
  section,
  footer,
  #download {
    padding-left: 40px;
    padding-right: 40px;
  }

  #download {
    margin: 0 40px 100px;
  }

  .services-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- SCROLL TO TOP --- */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(255, 107, 26, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #E65100;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 26, 0.6);
}

.scroll-top i {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.scroll-top:hover i {
  transform: translateY(-3px);
}

@media (max-width: 992px) {

  #hero,
  .about-grid,
  #download,
  #contact {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-right {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    height: auto;
    min-height: 400px;
    overflow: visible;
  }

  .hero-collage {
    width: 320px !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px !important;
    margin: 0 auto;
    transform: scale(1);
  }

  .hero-collage .c-1 {
    height: 320px;
  }

  .hero-collage .c-2,
  .hero-collage .c-3,
  .hero-collage .c-4,
  .hero-collage .c-5 {
    height: 150px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stats {
    justify-content: center;
    gap: 30px;
  }

  .hero-h2 {
    font-size: 38px;
  }

  .why-section {
    grid-template-columns: 1fr;
  }

  .why-center-visual {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 12px 20px;
  }

  .nav-logo img {
    height: 28px;
  }

  .theme-toggle {
    width: 40px !important;
    height: 40px !important;
  }

  .nav-links {
    display: none;
  }

  #hero,
  section,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-h1 {
    font-size: 32px;
  }

  .hero-collage {
    width: 100% !important;
    max-width: 300px !important;
    gap: 12px !important;
  }

  .hero-collage .c-1 {
    height: 280px;
  }

  .hero-collage .c-2,
  .hero-collage .c-3,
  .hero-collage .c-4,
  .hero-collage .c-5 {
    height: 130px;
  }

  #download {
    margin: 0 10px 80px;
    padding: 40px 20px;
    border-radius: 32px;
    gap: 40px;
  }

  .download-app-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
  }

  .download-app-form input {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    width: 100%;
  }

  .download-app-form button {
    width: 100%;
    padding: 16px;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }

  .phone-mockup {
    max-width: 220px;
    margin: 0 auto;
  }

  .scroll-top {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}