/* =========================================================
   BakaLink — Landing Page Stylesheet
   RTL, Arabic-first, modern SaaS / Smart Products aesthetic
   ========================================================= */

:root{
  --navy: #071C2C;
  --navy-soft: #0B2A42;
  --blue: #0066FF;
  --cyan: #00B8D9;
  --teal: #00D4B8;
  --light: #F7FAFC;
  --white: #FFFFFF;
  --gray-100: #EEF3F7;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;

  --gradient-brand: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 60%, var(--teal) 100%);
  --gradient-brand-v: linear-gradient(160deg, var(--blue) 0%, var(--cyan) 100%);
  --gradient-dark: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);

  --shadow-sm: 0 4px 14px rgba(7, 28, 44, 0.06);
  --shadow-md: 0 12px 32px rgba(7, 28, 44, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 28, 44, 0.16);
  --shadow-glow: 0 8px 30px rgba(0, 102, 255, 0.25);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --container: 1220px;
  --header-h: 82px;
}

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

html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body{
  margin: 0;
  font-family: 'Cairo', 'Tajawal', Arial, sans-serif;
  background: var(--light);
  color: var(--navy);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }
section{ position: relative; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad{ padding: 96px 0; }
@media (max-width: 768px){ .section-pad{ padding: 64px 0; } }

.section-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(0, 102, 255, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-head h2{
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.3;
}
.section-head p{
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.9;
  margin: 0;
}
.gradient-text{
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 16px;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,102,255,.35); }
.btn-outline{
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-300);
}
.btn-outline:hover{ border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.btn-whatsapp{
  background: #25D366;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(37,211,102,.35);
}
.btn-whatsapp:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37,211,102,.45); }
.btn-block{ width: 100%; }
.btn i, .btn svg{ font-size: 18px; }

/* ---------- Navbar ---------- */
.navbar{
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 250, 252, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(7,28,44,0.06);
  transition: box-shadow .3s ease, background .3s ease;
}
.navbar.scrolled{
  background: rgba(247, 250, 252, 0.92);
  box-shadow: var(--shadow-sm);
}
.navbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}
.nav-logo .logo-dot{
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a{
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  position: relative;
  padding: 6px 2px;
}
.nav-links a::after{
  content: '';
  position: absolute; right: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient-brand);
  transition: width .25s ease;
}
.nav-links a:hover::after{ width: 100%; }
.nav-actions{ display: flex; align-items: center; gap: 14px; }
.nav-actions .btn{ padding: 11px 24px; font-size: 14.5px; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  border: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

@media (max-width: 992px){
  .nav-links{
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .25s ease;
  }
  .nav-links.open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links li{ width: 100%; border-bottom: 1px solid var(--gray-100); }
  .nav-links a{ display: block; padding: 14px 4px; }
  .nav-toggle{ display: flex; }
  .nav-actions .btn-outline{ display: none; }
}

/* ---------- Hero ---------- */
.hero{
  padding: calc(var(--header-h) + 64px) 0 90px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(0,184,217,.14), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(0,102,255,.10), transparent 60%),
    var(--light);
  overflow: hidden;
}
.hero .container{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero-content .eyebrow{ margin-bottom: 22px; }
.hero-content h1{
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 18px;
}
.hero-content .hero-sub{
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 18px;
}
.hero-content p.lead{
  font-size: 17px;
  line-height: 1.95;
  color: var(--gray-500);
  margin: 0 0 34px;
  max-width: 560px;
}
.hero-cta{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-trust{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-trust .stat{ display: flex; flex-direction: column; }
.hero-trust .stat b{ font-size: 24px; font-weight: 800; }
.hero-trust .stat span{ font-size: 13.5px; color: var(--gray-500); }

.hero-visual{ position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual img{
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(var(--shadow-lg));
  animation: float 5s ease-in-out infinite;
}
.hero-visual::before{
  content: '';
  position: absolute;
  inset: -10%;
  background: var(--gradient-brand-v);
  opacity: .08;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}
@keyframes float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-16px); }
}

@media (max-width: 992px){
  .hero .container{ grid-template-columns: 1fr; text-align: center; }
  .hero-content p.lead{ margin-inline: auto; }
  .hero-cta, .hero-trust{ justify-content: center; }
  .hero-visual{ order: -1; }
}

/* ---------- Glass card util ---------- */
.glass{
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5);
}

/* ---------- Steps (Scan Tap Connect) ---------- */
.steps-section{ background: var(--white); }
.steps-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card{
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--light);
  text-align: center;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-number{
  position: absolute;
  top: 18px; left: 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-300);
}
.step-icon{
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 30px;
  box-shadow: var(--shadow-glow);
}
.step-card h3{ font-size: 21px; margin: 0 0 10px; font-weight: 800; }
.step-card p{ color: var(--gray-500); line-height: 1.8; margin: 0; font-size: 15px; }

@media (max-width: 900px){
  .steps-grid{ grid-template-columns: 1fr; }
}

/* ---------- Products ---------- */
.products-section{ background: var(--light); }
.products-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover{ transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-media{
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(160deg, #EAF6FF, #E4FBF7);
}
.product-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img{ transform: scale(1.06); }
.product-body{ padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.product-body h3{ font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.product-body p{ font-size: 14.5px; color: var(--gray-500); line-height: 1.85; margin: 0 0 18px; flex: 1; }
.product-tags{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product-tags span{
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0,184,217,.1);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.product-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--blue);
}
.product-link i{ transition: transform .25s ease; }
.product-card:hover .product-link i{ transform: translateX(-5px); }

.product-card.featured{
  background: var(--gradient-dark);
  color: var(--white);
}
.product-card.featured .product-body p{ color: rgba(247,250,252,.7); }
.product-card.featured .product-link{ color: var(--teal); }

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

/* ---------- Use cases ---------- */
.usecases-section{ background: var(--white); }
.usecases-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.usecase-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--light);
  transition: all .3s ease;
  font-weight: 700;
  font-size: 15px;
}
.usecase-item:hover{
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-4px);
}
.usecase-item .icon-box{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 19px;
  flex-shrink: 0;
  transition: all .3s ease;
}
.usecase-item:hover .icon-box{ background: rgba(255,255,255,.2); color: #fff; }

@media (max-width: 992px){ .usecases-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .usecases-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ---------- Features ---------- */
.features-section{ background: var(--light); }
.features-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card{
  background: var(--white);
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon{
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(0,102,255,.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card h3{ font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.feature-card p{ font-size: 14.5px; color: var(--gray-500); line-height: 1.8; margin: 0; }

@media (max-width: 900px){ .features-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .features-grid{ grid-template-columns: 1fr; } }

/* ---------- Before / After ---------- */
.before-after{
  background: var(--gradient-dark);
  color: var(--white);
}
.before-after .section-head p{ color: rgba(247,250,252,.65); }
.before-after .section-head h2{ color: var(--white); }
.ba-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.ba-card{
  border-radius: var(--radius-lg);
  padding: 40px;
}
.ba-before{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.ba-after{
  background: rgba(0,212,184,.08);
  border: 1px solid rgba(0,212,184,.25);
}
.ba-tag{
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.ba-before .ba-tag{ background: rgba(255,255,255,.08); color: rgba(247,250,252,.7); }
.ba-after .ba-tag{ background: var(--gradient-brand); color: #fff; }
.ba-card h3{ font-size: 24px; margin: 0 0 16px; }
.ba-card ul{ display: flex; flex-direction: column; gap: 12px; }
.ba-card ul li{ display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.7; color: rgba(247,250,252,.75); }
.ba-before ul li i{ color: #FF6B6B; margin-top: 4px; }
.ba-after ul li i{ color: var(--teal); margin-top: 4px; }
.ba-after .big-line{
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px){ .ba-grid{ grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how-section{ background: var(--white); }
.how-track{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.how-track::before{
  content: '';
  position: absolute;
  top: 34px; right: 12%; left: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.how-step{
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.how-num{
  width: 68px; height: 68px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.how-step h3{ font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.how-step p{ color: var(--gray-500); font-size: 14.5px; line-height: 1.8; max-width: 260px; margin: 0 auto; }

@media (max-width: 900px){
  .how-track{ grid-template-columns: 1fr; gap: 44px; }
  .how-track::before{ display: none; }
}

/* ---------- Portfolio ---------- */
.portfolio-section{ background: var(--light); }
.portfolio-filter{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn{
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-300);
  font-weight: 700;
  font-size: 14px;
  color: var(--gray-700);
  transition: all .25s ease;
}
.filter-btn.active, .filter-btn:hover{
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}
.portfolio-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.portfolio-item{
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
}
.portfolio-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,28,44,.85), rgba(7,28,44,0) 60%);
  display: flex; align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s ease;
}
.portfolio-item:hover .portfolio-overlay{ opacity: 1; }
.portfolio-item:hover img{ transform: scale(1.08); }
.portfolio-overlay span{ color: #fff; font-weight: 700; font-size: 14.5px; }
.portfolio-overlay i{ position: absolute; top: 16px; left: 16px; color: #fff; font-size: 18px; opacity: .8; }

@media (max-width: 992px){ .portfolio-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .portfolio-grid{ grid-template-columns: repeat(2, 1fr); } }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(7,28,44,.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 30px;
}
.lightbox.open{ opacity: 1; visibility: visible; }
.lightbox img{ max-width: 90vw; max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-caption{ color: #fff; text-align: center; margin-top: 16px; font-weight: 700; }
.lightbox-close{
  position: absolute; top: 24px; left: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff; border: none;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover{ background: rgba(255,255,255,.2); }

/* ---------- CTA Banner ---------- */
.cta-banner{
  background: var(--gradient-brand);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after{
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta-banner::before{ width: 340px; height: 340px; top: -160px; right: -80px; }
.cta-banner::after{ width: 220px; height: 220px; bottom: -120px; left: -60px; }
.cta-banner h2{
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 16px;
  position: relative;
}
.cta-banner p{
  color: rgba(255,255,255,.9);
  font-size: 18px;
  margin: 0 0 34px;
  position: relative;
}
.cta-banner .btn-primary{
  background: var(--navy);
  box-shadow: 0 14px 36px rgba(7,28,44,.35);
}
.cta-banner .btn-primary:hover{ background: var(--navy-soft); }

/* ---------- Contact ---------- */
.contact-section{ background: var(--white); }
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.contact-info{
  background: var(--gradient-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}
.contact-info h3{ font-size: 26px; font-weight: 800; margin: 0 0 10px; }
.contact-info > p{ color: rgba(247,250,252,.7); line-height: 1.9; margin: 0 0 30px; }
.contact-detail{
  display: flex; align-items: center; gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-detail:first-of-type{ border-top: none; }
.contact-detail .icon-box{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-detail b{ display: block; font-size: 15px; }
.contact-detail span{ font-size: 13.5px; color: rgba(247,250,252,.6); }
.contact-socials{ display: flex; gap: 12px; margin-top: 28px; }
.contact-socials a{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.contact-socials a:hover{ background: var(--gradient-brand); transform: translateY(-3px); }

.contact-form{
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group{ margin-bottom: 20px; }
.form-group label{ display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--navy);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,102,255,.1);
}
.form-group textarea{ resize: vertical; min-height: 120px; }
.form-note{ font-size: 13px; color: var(--gray-500); margin-top: 14px; text-align: center; }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer{
  background: var(--navy);
  color: rgba(247,250,252,.75);
  padding: 70px 0 26px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo{ color: #fff; margin-bottom: 14px; }
.footer-brand p{ font-size: 14.5px; line-height: 1.9; color: rgba(247,250,252,.55); max-width: 300px; }
.footer-tagline{ color: var(--teal); font-weight: 700; font-size: 14px; margin: 10px 0 18px; }
.footer h4{ color: #fff; font-size: 16px; margin: 0 0 18px; }
.footer-links{ display: flex; flex-direction: column; gap: 12px; }
.footer-links a{ font-size: 14.5px; color: rgba(247,250,252,.6); transition: color .2s ease; }
.footer-links a:hover{ color: var(--teal); }
.footer-socials{ display: flex; gap: 10px; margin-top: 8px; }
.footer-socials a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.footer-socials a:hover{ background: var(--gradient-brand); transform: translateY(-3px); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 13.5px;
  color: rgba(247,250,252,.5);
}
.footer-bottom a{ color: var(--teal); font-weight: 700; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float{
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  animation: pulse-wa 2.6s ease-in-out infinite;
}
.whatsapp-float:hover{ transform: translateY(-4px); }
.whatsapp-float i{ font-size: 22px; }
@keyframes pulse-wa{
  0%, 100%{ box-shadow: 0 12px 30px rgba(37,211,102,.4); }
  50%{ box-shadow: 0 12px 30px rgba(37,211,102,.65), 0 0 0 10px rgba(37,211,102,.08); }
}
@media (max-width: 560px){
  .whatsapp-float span{ display: none; }
  .whatsapp-float{ padding: 15px; }
}

/* ---------- Scroll reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view > *{ animation: none; }

/* stagger children delays handled via nth-child in JS-added class, fallback via CSS */
.steps-grid.reveal-stagger .step-card,
.products-grid.reveal-stagger .product-card,
.features-grid.reveal-stagger .feature-card,
.usecases-grid.reveal-stagger .usecase-item{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.in-view .step-card,
.reveal-stagger.in-view .product-card,
.reveal-stagger.in-view .feature-card,
.reveal-stagger.in-view .usecase-item{
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in-view .step-card:nth-child(1),
.reveal-stagger.in-view .product-card:nth-child(1),
.reveal-stagger.in-view .feature-card:nth-child(1),
.reveal-stagger.in-view .usecase-item:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.in-view .step-card:nth-child(2),
.reveal-stagger.in-view .product-card:nth-child(2),
.reveal-stagger.in-view .feature-card:nth-child(2),
.reveal-stagger.in-view .usecase-item:nth-child(2){ transition-delay: .12s; }
.reveal-stagger.in-view .step-card:nth-child(3),
.reveal-stagger.in-view .product-card:nth-child(3),
.reveal-stagger.in-view .feature-card:nth-child(3),
.reveal-stagger.in-view .usecase-item:nth-child(3){ transition-delay: .19s; }
.reveal-stagger.in-view .product-card:nth-child(4),
.reveal-stagger.in-view .usecase-item:nth-child(4){ transition-delay: .26s; }
.reveal-stagger.in-view .product-card:nth-child(5),
.reveal-stagger.in-view .usecase-item:nth-child(5){ transition-delay: .33s; }
.reveal-stagger.in-view .product-card:nth-child(6),
.reveal-stagger.in-view .usecase-item:nth-child(6){ transition-delay: .40s; }

/* ---------- Toast (form feedback) ---------- */
.toast{
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--navy);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 14.5px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
}
.toast.show{ transform: translateY(0); opacity: 1; visibility: visible; }
.toast i{ color: var(--teal); }
