/*
Theme Name: InstaBuild
Theme URI: https://instabuild.app
Author: InstaBuild
Author URI: https://instabuild.app
Description: Professional single-page app launch theme for InstaBuild — the instant construction materials ordering platform.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: instabuild
Tags: one-page, dark, app-landing, construction, single-page
*/

/* =========================================================
   CSS Custom Properties
   ========================================================= */
:root {
  --clr-bg:           #080817;
  --clr-surface:      #0f1029;
  --clr-card:         #131433;
  --clr-card-hover:   #18193d;
  --clr-pink:         #e91e8c;
  --clr-purple:       #7c3aed;
  --clr-pink-lt:      #ff4db3;
  --clr-purple-lt:    #a06bf5;
  --gradient:         linear-gradient(135deg, #7c3aed 0%, #e91e8c 100%);
  --gradient-rev:     linear-gradient(135deg, #e91e8c 0%, #7c3aed 100%);
  --clr-text:         #ffffff;
  --clr-muted:        #8888b0;
  --clr-muted-lt:     #aaaacf;
  --clr-border:       rgba(124, 58, 237, 0.22);
  --clr-border-lt:    rgba(255, 255, 255, 0.08);
  --font:             'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm:        8px;
  --radius-md:        14px;
  --radius-lg:        22px;
  --radius-xl:        32px;
  --shadow-glow:      0 0 80px rgba(124, 58, 237, 0.22);
  --shadow-card:      0 8px 40px rgba(0, 0, 0, 0.45);
  --max-w:            1180px;
  --transition:       0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset & Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea { font-family: inherit; }

/* =========================================================
   Utilities
   ========================================================= */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--clr-muted-lt);
  line-height: 1.75;
  max-width: 540px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 650;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(233, 30, 140, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(233, 30, 140, 0.5);
}
.btn-outline {
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text);
  background: rgba(255,255,255,0.03);
}
.btn-outline:hover {
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

/* Store Buttons */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.055);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: #fff;
  transition: all var(--transition);
  min-width: 168px;
}
.btn-store:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(124, 58, 237, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.btn-store .store-icon { width: 28px; height: 28px; flex-shrink: 0; }
.btn-store .store-text { display: flex; flex-direction: column; align-items: flex-start; }
.btn-store .store-text small { font-size: 0.63rem; opacity: 0.65; line-height: 1; margin-bottom: 2px; }
.btn-store .store-text strong { font-size: 0.94rem; font-weight: 700; line-height: 1; }

/* =========================================================
   Scroll Animations
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }
.fade-up.d4 { transition-delay: 0.4s; }
.fade-up.d5 { transition-delay: 0.5s; }

/* =========================================================
   Navigation
   ========================================================= */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: rgba(8, 8, 23, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(124, 58, 237, 0.18), 0 4px 32px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 28px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav-brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.nav-brand-name span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-muted-lt);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--clr-text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =========================================================
   Mobile Nav Drawer
   ========================================================= */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 8, 23, 0.97);
  z-index: 998;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 28px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-muted-lt);
  transition: color var(--transition);
  padding: 8px 0;
  border-bottom: 1px solid var(--clr-border);
}
.mobile-nav a:hover { color: var(--clr-text); }
.mobile-nav .btn-primary { align-self: flex-start; margin-top: 12px; font-size: 1rem; padding: 16px 32px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-bg-glow-1 {
  position: absolute;
  top: -160px; left: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-bg-glow-2 {
  position: absolute;
  bottom: -200px; right: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-constr-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.18;
}
.hero-constr-svg { width: 100%; height: 100%; }
@keyframes hookSwing {
  0%, 100% { transform: rotate(-2.5deg); }
  50%       { transform: rotate(2.5deg); }
}
.constr-hook-swing { animation: hookSwing 5.5s ease-in-out infinite; }
@keyframes beaconBlink {
  0%, 100% { opacity: 1; }
  45%, 55%  { opacity: 0.15; }
}
.constr-beacon      { animation: beaconBlink 1.4s ease-in-out infinite; }
.constr-beacon-ring { animation: beaconBlink 1.4s ease-in-out infinite 0.1s; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.38);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--clr-purple-lt);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-purple-lt);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero-title {
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--clr-muted-lt);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 460px;
}
.hero-stores {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-metrics {
  display: flex;
  gap: 40px;
}
.metric-num {
  font-size: 1.55rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 3px;
}
.metric-label { font-size: 0.75rem; color: var(--clr-muted); }

/* Hero Phone Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-glow {
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle,
    rgba(124, 58, 237, 0.32) 0%,
    rgba(233, 30, 140, 0.14) 45%,
    transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.phone-frame {
  position: relative;
  z-index: 2;
  width: 260px;
  background: var(--clr-card);
  border-radius: 44px;
  padding: 10px;
  border: 1.5px solid rgba(124, 58, 237, 0.35);
  box-shadow:
    0 50px 100px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.04),
    var(--shadow-glow);
  transform: perspective(1100px) rotateY(-8deg) rotateX(4deg);
}
.phone-screen {
  background: linear-gradient(160deg, #0c0c22 0%, #0a0a1c 100%);
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 20px;
  position: relative;
}
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.06;
  pointer-events: none;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 22px;
  background: #000;
  border-radius: 100px;
  z-index: 10;
}
.phone-app-logo {
  width: 96px; height: 96px;
  border-radius: 22px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.45);
}
.phone-app-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}
.phone-bar {
  position: absolute;
  bottom: 20px;
  width: 90px; height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
}

/* Floating info cards */
.float-card {
  position: absolute;
  background: rgba(15, 16, 41, 0.92);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 11px 15px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  z-index: 5;
}
.float-left {
  left: -76px;
  top: 22%;
  animation: floatAnim 4s ease-in-out infinite;
}
.float-right {
  right: -76px;
  top: 55%;
  animation: floatAnim 4s ease-in-out infinite 1.8s;
}
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card-icon { font-size: 1.15rem; margin-bottom: 4px; }
.float-card-lbl { font-size: 0.62rem; color: var(--clr-muted); margin-bottom: 2px; white-space: nowrap; }
.float-card-val { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.float-card-val.green { color: #22d06a; }

/* =========================================================
   Features
   ========================================================= */
.features { background: var(--clr-surface); }
.features-header { margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feat-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(124,58,237,0.18);
}
.feat-card:hover::after { opacity: 1; }
.feat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feat-icon svg { width: 24px; height: 24px; }
.feat-title { font-size: 1rem; font-weight: 720; margin-bottom: 10px; }
.feat-desc { font-size: 0.86rem; color: var(--clr-muted); line-height: 1.7; }

/* =========================================================
   How It Works
   ========================================================= */
.how-it-works { position: relative; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 22px);
  right: calc(16.66% + 22px);
  height: 1.5px;
  background: var(--gradient);
  opacity: 0.25;
}
.step { text-align: center; }
.step-num {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--gradient);
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.38);
  position: relative;
  z-index: 1;
}
.step-title { font-size: 1.05rem; font-weight: 730; margin-bottom: 10px; }
.step-desc { font-size: 0.86rem; color: var(--clr-muted); line-height: 1.7; }

/* =========================================================
   Stats
   ========================================================= */
.stats-section { padding: 80px 0; background: var(--clr-surface); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}
.stat-block {
  background: var(--clr-card);
  padding: 44px 24px;
  text-align: center;
  border-right: 1px solid var(--clr-border);
  transition: background var(--transition);
}
.stat-block:last-child { border-right: none; }
.stat-block:hover { background: var(--clr-card-hover); }
.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.stat-label { font-size: 0.83rem; color: var(--clr-muted); }

/* =========================================================
   App Showcase (Screenshots section)
   ========================================================= */
.showcase { overflow: hidden; }
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-content .section-sub { margin-bottom: 32px; }
.showcase-features { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.showcase-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.showcase-feat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.22);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.showcase-feat-icon svg { width: 18px; height: 18px; }
.showcase-feat-body {}
.showcase-feat-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 3px; }
.showcase-feat-desc { font-size: 0.82rem; color: var(--clr-muted); line-height: 1.6; }

/* Stacked Phone Visuals */
.phone-stack {
  position: relative;
  height: 460px;
}
.stacked-phone {
  position: absolute;
  width: 210px;
  background: var(--clr-card);
  border-radius: 36px;
  padding: 8px;
  border: 1.5px solid var(--clr-border);
  box-shadow: var(--shadow-card);
}
.stacked-phone .phone-screen {
  border-radius: 30px;
  aspect-ratio: 9/18;
  gap: 10px;
  padding: 24px 16px;
}
.stacked-phone .phone-app-logo { width: 70px; height: 70px; border-radius: 16px; }
.sp-front {
  left: 50%; transform: translateX(-20%);
  top: 30px;
  z-index: 2;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), var(--shadow-glow);
}
.sp-back {
  left: 50%; transform: translateX(-80%) rotate(-8deg);
  top: 60px;
  z-index: 1;
  opacity: 0.55;
}

/* =========================================================
   Testimonials / Social Proof
   ========================================================= */
.social-proof { background: var(--clr-surface); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.testimonial-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--clr-border);
}
.t-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.t-star { color: #f59e0b; font-size: 0.9rem; }
.t-quote { font-size: 0.9rem; color: var(--clr-muted-lt); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  flex-shrink: 0;
}
.t-name { font-size: 0.88rem; font-weight: 700; }
.t-role { font-size: 0.75rem; color: var(--clr-muted); }

/* =========================================================
   Download CTA
   ========================================================= */
.download-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse,
    rgba(124, 58, 237, 0.2) 0%,
    rgba(233, 30, 140, 0.1) 40%,
    transparent 70%);
  pointer-events: none;
}
.download-cta .section-title,
.download-cta .section-sub { position: relative; z-index: 1; margin-left: auto; margin-right: auto; }
.download-cta .section-title { max-width: 640px; }
.download-cta .section-sub { max-width: 460px; margin-bottom: 42px; }
.cta-stores {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-stores .btn-store {
  min-width: 186px;
  padding: 16px 26px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #050512;
  padding: 64px 0 32px;
  border-top: 1px solid var(--clr-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 52px;
}
.footer-brand {}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-row img { width: 34px; height: 34px; border-radius: 9px; }
.footer-logo-row span { font-size: 1.05rem; font-weight: 800; }
.footer-logo-row span b { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: 800; }
.footer-tagline { font-size: 0.84rem; color: var(--clr-muted); line-height: 1.68; max-width: 250px; margin-bottom: 24px; }
.footer-stores { display: flex; flex-direction: column; gap: 10px; }
.footer-stores .btn-store { min-width: auto; padding: 10px 16px; }
.footer-stores .btn-store .store-text strong { font-size: 0.82rem; }
.footer-col-head {
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-size: 0.86rem;
  color: var(--clr-muted);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--clr-text); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom-left { display: flex; flex-direction: column; gap: 4px; }
.footer-copy { font-size: 0.78rem; color: var(--clr-muted); }
.footer-powered { font-size: 0.72rem; color: var(--clr-muted); opacity: 0.7; }
.footer-tula {
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 18px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--clr-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; stroke: var(--clr-purple); opacity: 0.85; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-muted);
  transition: all var(--transition);
}
.social-btn:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: var(--clr-purple);
  color: #fff;
  transform: translateY(-2px);
}
.social-btn svg { width: 15px; height: 15px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-bottom: 1px solid var(--clr-border); }
  .stat-block:nth-child(2n) { border-right: none; }
}
@media (max-width: 860px) {
  .section { padding: 70px 0; }
  .hero { padding: 110px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 210px; transform: none; }
  .float-left, .float-right { display: none; }
  .steps-row { grid-template-columns: 1fr; gap: 36px; }
  .steps-row::before { display: none; }
  .showcase-inner { grid-template-columns: 1fr; }
  .phone-stack { height: 300px; margin: 0 auto; max-width: 280px; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.6rem; }
  .hero-metrics { gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-stores { flex-direction: row; flex-wrap: wrap; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .container { padding: 0 18px; }
  .hero-stores { flex-direction: column; }
  .cta-stores { flex-direction: column; align-items: center; }
}



/* =========================================================
   Fleet & Partners Section
   ========================================================= */
.fleet-section { background: var(--clr-bg); overflow: hidden; }
.fleet-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 80px; }
.fleet-row--flip .fleet-img-col { order: 2; }
.fleet-row--flip .fleet-text-col { order: 1; }
.fleet-img-col { position: relative; }
.fleet-img-wrap { position: relative; }
.fleet-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.fleet-glow--purple { width: 340px; height: 220px; background: rgba(124,58,237,0.22); top: 10%; left: 10%; }
.fleet-glow--pink { width: 260px; height: 340px; background: rgba(233,30,140,0.18); top: 0; left: 50%; transform: translateX(-50%); }
.fleet-img { position: relative; z-index: 1; display: block; }
.fleet-img--truck { width: 118%; margin-left: -9%; }
.fleet-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--clr-bg) 0%, transparent 14%, transparent 86%, var(--clr-bg) 100%), linear-gradient(to bottom, var(--clr-bg) 0%, transparent 12%, transparent 72%, var(--clr-bg) 100%); pointer-events: none; z-index: 2; }
.fleet-img-wrap--driver { max-width: 360px; margin: 0 auto; }
.fleet-img--driver { width: 100%; }
.fleet-img-wrap--driver::after { background: linear-gradient(to right, var(--clr-bg) 0%, transparent 18%, transparent 82%, var(--clr-bg) 100%), linear-gradient(to bottom, var(--clr-bg) 0%, transparent 6%, transparent 68%, var(--clr-bg) 100%); }
.fleet-text-col { display: flex; flex-direction: column; align-items: flex-start; }
.fleet-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--clr-purple); background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.28); border-radius: 100px; padding: 5px 14px; margin-bottom: 20px; }
.fleet-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--clr-purple); flex-shrink: 0; }
.fleet-tag--pink { color: var(--clr-pink); background: rgba(233,30,140,0.1); border-color: rgba(233,30,140,0.28); }
.fleet-tag--pink::before { background: var(--clr-pink); }
.fleet-heading { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.2; color: #fff; margin-bottom: 16px; }
.fleet-desc { font-size: 0.97rem; color: var(--clr-muted); line-height: 1.75; margin-bottom: 32px; max-width: 420px; }
.fleet-stats-row { display: flex; gap: 36px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--clr-border); width: 100%; }
.fleet-stat { display: flex; flex-direction: column; gap: 3px; }
.fleet-stat-val { font-size: 1.55rem; font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.fleet-stat-val--pink { background: linear-gradient(135deg, var(--clr-pink) 0%, #b5179e 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.fleet-stat-lbl { font-size: 0.7rem; color: var(--clr-muted); font-weight: 500; }
.fleet-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.fleet-bullets li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.4; }
.fleet-bullets li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.32); font-size: 10px; color: var(--clr-purple); font-weight: 800; flex-shrink: 0; text-align: center; line-height: 20px; }
.fleet-bullets--pink li::before { background: rgba(233,30,140,0.12); border-color: rgba(233,30,140,0.3); color: var(--clr-pink); }
@media (max-width: 900px) {
  .fleet-row { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .fleet-row--flip .fleet-img-col { order: unset; }
  .fleet-row--flip .fleet-text-col { order: unset; }
  .fleet-img--truck { width: 105%; margin-left: -2.5%; }
  .fleet-img-wrap--driver { max-width: 260px; }
  .fleet-stats-row { gap: 22px; }
  .fleet-desc { max-width: 100%; }
}

/* =========================================================
   Truck-Phone Hero
   ========================================================= */
.pscreen-truck {
  background: linear-gradient(170deg, #0c0c22 0%, #0f0f2a 55%, rgba(8,8,20,0.92) 85%, rgba(8,8,20,0.7) 100%);
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 9/19;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.pscreen-truck::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.papp-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 6px;
  font-size: 8px;
  color: rgba(255,255,255,0.55);
  position: relative;
  z-index: 1;
}
.papp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 10px;
  border-bottom: 1px solid rgba(124,58,237,0.2);
  position: relative;
  z-index: 1;
}
.papp-logo { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.papp-title {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.papp-ordercard {
  margin: 10px 12px 8px;
  padding: 9px 12px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
.papp-ordertag { font-size: 6.5px; font-weight: 700; letter-spacing: 0.14em; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-bottom: 5px; }
.papp-orderstatus { display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; color: #22d06a; margin-bottom: 4px; }
.pstatus-dot { width: 6px; height: 6px; border-radius: 50%; background: #22d06a; box-shadow: 0 0 6px rgba(34,208,106,0.6); animation: blink 1.8s ease-in-out infinite; flex-shrink: 0; }
.papp-orderdetail { font-size: 7.5px; color: rgba(255,255,255,0.45); }
.papp-map {
  flex: 1;
  margin: 0 12px 0;
  background: rgba(8,8,20,0.7);
  border-radius: 10px;
  border: 1px solid rgba(124,58,237,0.18);
  position: relative;
  overflow: hidden;
  min-height: 50px;
  z-index: 1;
  background-image:
    linear-gradient(rgba(124,58,237,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.1) 1px, transparent 1px);
  background-size: 18px 18px;
}
.pmap-route { position: absolute; bottom: 16px; left: 12px; right: 12px; height: 2px; background: var(--gradient); border-radius: 2px; }
.pmap-pin { position: absolute; width: 8px; height: 8px; border-radius: 50%; top: -3px; }
.pmap-pin-a { left: 0; background: #e91e8c; box-shadow: 0 0 8px rgba(233,30,140,0.7); }
.pmap-pin-b { right: 0; background: #22d06a; box-shadow: 0 0 8px rgba(34,208,106,0.7); }
.papp-road-exit {
  height: 40px;
  background-image: linear-gradient(to bottom, transparent 0%, rgba(8,8,20,0.85) 100%);
  position: relative;
  z-index: 1;
}
.papp-road-exit::before {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 18px;
  background: rgba(124,58,237,0.3);
  border-radius: 2px;
}
.truck-in-phone {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  z-index: 5;
  animation: truckBounce 2.8s ease-in-out infinite;
}
.truck-svg-illo { width: 100%; filter: drop-shadow(0 -8px 24px rgba(124,58,237,0.45)); }
@keyframes wheelSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.truck-wheel { animation: wheelSpin 2.2s linear infinite; }
@keyframes truckBounce {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50%       { transform: translateX(-50%) translateY(-4px); }
}
