/* ==========================================================================
   SAEE INFOTECH — Premium SaaS Landing Page
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --primary: #0D5C91;
  --primary-dark: #0A4A75;
  --primary-light: #1478B8;
  --secondary: #18A999;
  --secondary-dark: #128E80;
  --accent: #D6303C;
  --accent-dark: #B01F2A;
  --dark: #0F172A;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --text-body: #475569;
  --text-muted: #64748B;

  /* Logo brand colors (used for hero section) */
  --logo-red: #D6303C;
  --logo-red-dark: #B01F2A;
  --logo-teal: #0E6E7C;
  --logo-teal-dark: #094F59;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-primary: 0 10px 30px rgba(13, 92, 145, 0.25);

  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--logo-red) 0%, var(--logo-red-dark) 100%);
  --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-hero: linear-gradient(135deg, #073741 0%, #0E6E7C 55%, #0D5C91 100%);

  --container: 1240px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { color: var(--dark); font-weight: 600; line-height: 1.2; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 110px 0; }

@media (max-width: 768px) {
  section { padding: 70px 0; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .reveal-delay-4 {
    opacity: 1; transform: none; transition: none;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(13, 92, 145, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 17px; }
.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 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.06); box-shadow: 0 16px 36px rgba(13, 92, 145, 0.32); }
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--dark);
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.navbar .btn-outline { color: var(--primary); border-color: rgba(13,92,145,0.35); }
.navbar.scrolled .btn-outline { color: var(--dark); border-color: rgba(15,23,42,0.15); }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  height: 75px;
  width: 220px;
  object-fit: contain;
}
.brand-fallback { display: flex; flex-direction: column; line-height: 1.1; }
.brand-fallback .b-name { font-weight: 700; font-size: 18px; color: var(--primary); transition: color var(--transition); }
.navbar.scrolled .brand-fallback .b-name { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--primary);
  position: relative; transition: color var(--transition);
}
.navbar.scrolled .nav-links a { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gradient-brand); transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary-dark); }
.navbar.scrolled .nav-links a:hover { color: var(--primary-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; z-index: 1100; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--primary); border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--primary); }

@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 80vw);
    background: var(--white); flex-direction: column; justify-content: center;
    padding: 40px; box-shadow: var(--shadow-lg); transition: right var(--transition);
    z-index: 1050;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--primary) !important; font-size: 18px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Prevent background scroll & click when mobile menu is open */
body:has(.nav-links.open) {
  overflow: hidden;
}

/* Dark overlay behind mobile menu */
.nav-links.open::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

@media (max-width: 400px) {
  .nav-links {
    width: 100%;
    max-width: none;
  }
}

/* ---------- Inner Page Hero (banner) ---------- */
.page-hero {
  position: relative;
  padding: 200px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}
.page-hero::before, .page-hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35;
}
.page-hero::before { width: 420px; height: 420px; background: var(--logo-red); top: -160px; right: -100px; }
.page-hero::after { width: 360px; height: 360px; background: var(--accent); bottom: -160px; left: -100px; }
.page-hero .hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { background: rgba(255,255,255,0.1); color: #fff; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.page-hero h1 .accent-word {
  background: linear-gradient(135deg, #2DD4BF, var(--logo-red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto; font-size: 17px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; font-size: 13.5px; color: rgba(255,255,255,0.55); }
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--secondary); }

/* ---------- Mission / Vision / Values ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mv-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--primary);
}
.mv-card:nth-child(2) { border-top-color: var(--secondary); }
.mv-card:nth-child(3) { border-top-color: var(--accent); }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card .icon-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.mv-card:nth-child(2) .icon-wrap { background: linear-gradient(135deg, var(--secondary), #22C5B4); }
.mv-card:nth-child(3) .icon-wrap { background: var(--gradient-accent); }
.mv-card .icon-wrap svg { width: 26px; height: 26px; color: var(--white); }
.mv-card h3 { font-size: 19px; margin-bottom: 12px; }
.mv-card p { font-size: 14.5px; color: var(--text-muted); }

@media (max-width: 900px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline (journey) ---------- */
.timeline { max-width: 820px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary), var(--secondary)); }
.timeline-item { position: relative; padding-left: 62px; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item .dot {
  position: absolute; left: 10px; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gradient-brand); border: 4px solid var(--white); box-shadow: var(--shadow-sm);
}
.timeline-item .year { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 0.04em; margin-bottom: 4px; }
.timeline-item h4 { font-size: 16.5px; margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 16px; background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 22px;
}
.team-card h4 { font-size: 15.5px; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35;
}
.hero::before { width: 520px; height: 520px; background: var(--logo-red); top: -180px; right: -120px; }
.hero::after { width: 420px; height: 420px; background: var(--accent); bottom: -160px; left: -100px; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px); color: var(--white);
  padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 500; margin-bottom: 26px;
}
.hero-badge svg { width: 15px; height: 15px; color: var(--logo-red); }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero h1 .accent-word {
  background: linear-gradient(135deg, #2DD4BF, var(--logo-red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.sub {
  font-size: 18px; color: rgba(255,255,255,0.72); max-width: 540px; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-cta .btn-outline {
  background: var(--gradient-brand);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-primary);
}
.hero-cta .btn-outline:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 16px 36px rgba(13, 92, 145, 0.32);
  color: var(--white);
}
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat .num { font-size: 30px; font-weight: 700; color: var(--white); }
.hero-stat .num span { color: var(--logo-red); }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* Hero mockup */
.hero-visual { position: relative; height: 480px; }
.mock-laptop {
  position: absolute; top: 10px; left: 0; width: 100%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45));
  animation: float 6s ease-in-out infinite;
}
.mock-phone {
  position: absolute; bottom: -10px; right: -6px; width: 34%;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite; animation-delay: 0.6s;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@media (prefers-reduced-motion: reduce) { .mock-laptop, .mock-phone { animation: none; } }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { height: 360px; margin-top: 20px; }
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 12px; z-index: 2;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,0.6), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- About ---------- */
.about { background: var(--white); }
.about .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-card {
  background: var(--bg); border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: var(--gradient-brand); opacity: 0.12; top: -80px; right: -80px;
}
.about-grid-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; z-index: 1; }
.stat-box { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-box .icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.stat-box .icon svg { width: 22px; height: 22px; color: var(--white); }
.stat-box .n { font-size: 26px; font-weight: 700; color: var(--dark); }
.stat-box .l { font-size: 13px; color: var(--text-muted); }

.about-content .eyebrow { margin-bottom: 18px; }
.about-content h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px; }
.about-content p { margin-bottom: 18px; font-size: 16px; }
.about-list { display: grid; gap: 14px; margin-top: 26px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--dark); font-size: 15px; }
.about-list svg { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; margin-top: 1px; }

@media (max-width: 900px) {
  .about .container { grid-template-columns: 1fr; }
}

/* ---------- Why choose us ---------- */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow-sm); text-align: center; transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid transparent;
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(13,92,145,0.12); }
.why-card .icon-wrap {
  width: 62px; height: 62px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; background: var(--gradient-brand);
}
.why-card:nth-child(2n) .icon-wrap { background: linear-gradient(135deg, var(--secondary), #22C5B4); }
.why-card:nth-child(3n) .icon-wrap { background: var(--gradient-accent); }
.why-card .icon-wrap svg { width: 28px; height: 28px; color: var(--white); }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); }

@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature-card {
  background: var(--bg); border-radius: var(--radius-lg); padding: 30px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--white); }
.feature-card .f-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--white);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-card .f-icon svg { width: 26px; height: 26px; color: var(--primary); }
.feature-card h3 { font-size: 18px; margin-bottom: 14px; }
.feature-card ul { display: grid; gap: 9px; }
.feature-card ul li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-muted); }
.feature-card ul li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--secondary); flex-shrink: 0; }

@media (max-width: 1080px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Benefits ---------- */
.benefits {
  background: var(--gradient-dark);
  position: relative; overflow: hidden;
}
.benefits::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(24,169,153,0.18), transparent 55%), radial-gradient(circle at 80% 80%, rgba(13,92,145,0.25), transparent 55%);
}
.benefits .section-head h2, .benefits .section-head p { color: var(--white); }
.benefits .section-head p { color: rgba(255,255,255,0.65); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 1; }
.benefit-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px); border-radius: var(--radius); padding: 28px 22px;
  transition: transform var(--transition), background var(--transition);
}
.benefit-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.benefit-card svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.benefit-card h4 { color: var(--white); font-size: 15.5px; font-weight: 600; }

@media (max-width: 960px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { background: var(--bg); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.industry-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.industry-card .ic-wrap {
  width: 50px; height: 50px; border-radius: 13px; background: rgba(13,92,145,0.08);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  transition: background var(--transition);
}
.industry-card:hover .ic-wrap { background: var(--gradient-brand); }
.industry-card .ic-wrap svg { width: 24px; height: 24px; color: var(--primary); transition: color var(--transition); }
.industry-card:hover .ic-wrap svg { color: var(--white); }
.industry-card span { font-size: 14px; font-weight: 500; color: var(--dark); }

@media (max-width: 960px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Dashboard preview ---------- */
.dashboard-section { background: var(--white); }
.dashboard-wrap {
  background: var(--gradient-dark); border-radius: var(--radius-lg);
  padding: clamp(24px, 5vw, 60px); position: relative; overflow: hidden;
}
.dashboard-wrap::before {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: var(--secondary); opacity: 0.18; filter: blur(80px); top: -120px; right: -80px;
}
.dashboard-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 26px; }
.dash-top-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dash-kpi { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 20px; }
.dash-kpi .k-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.dash-kpi .k-value { font-size: 24px; font-weight: 700; color: var(--white); }
.dash-kpi .k-trend { font-size: 12px; color: var(--secondary); margin-top: 6px; }
.dash-charts-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; }
.dash-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 22px;
}
.dash-card h4 { color: var(--white); font-size: 14px; font-weight: 500; margin-bottom: 16px; opacity: 0.85; }
.dash-card svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  .dash-top-row { grid-template-columns: repeat(2, 1fr); }
  .dash-charts-row { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 18px; }
.testi-stars svg { width: 17px; height: 17px; color: var(--accent); fill: var(--accent); }
.testi-card p.quote { font-size: 15px; color: var(--text-body); margin-bottom: 22px; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 600; font-size: 15px;
}
.testi-person .name { font-weight: 600; color: var(--dark); font-size: 14.5px; }
.testi-person .role { font-size: 12.5px; color: var(--text-muted); }

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid transparent; transition: border-color var(--transition); }
.faq-item.active { border-color: rgba(13,92,145,0.18); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; width: 100%; text-align: left; font-weight: 600; color: var(--dark); font-size: 15.5px;
}
.faq-q .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform var(--transition), background var(--transition); }
.faq-q .plus svg { width: 16px; height: 16px; color: var(--primary); transition: transform var(--transition); }
.faq-item.active .plus { background: var(--gradient-brand); }
.faq-item.active .plus svg { color: var(--white); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a-inner { padding: 0 26px 24px; color: var(--text-muted); font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact .container { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-item {
  background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-item .ci-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item .ci-icon svg { width: 22px; height: 22px; color: var(--white); }
.contact-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--text-muted); }
.map-placeholder {
  border-radius: var(--radius); overflow: hidden; height: 180px; box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, #E2E8F0, #CBD5E1); position: relative;
}
.map-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.map-placeholder .map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); color: var(--primary); }
.map-placeholder .map-pin svg { width: 34px; height: 34px; }

.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form > p { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 500; color: var(--dark); }
.field input, .field select, .field textarea {
  border: 1.5px solid #E2E8F0; border-radius: var(--radius-sm); padding: 13px 16px;
  font-family: inherit; font-size: 14.5px; color: var(--dark); transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--bg);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(13,92,145,0.12); background: var(--white);
}
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; text-align: center; }

@media (max-width: 900px) {
  .contact .container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient-brand); border-radius: var(--radius-lg);
  margin: 0 auto; max-width: var(--container); padding: clamp(40px, 6vw, 70px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 50%);
}
.cta-banner h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 16px; position: relative; }
.cta-banner .hero-cta { justify-content: center; position: relative; }
.cta-banner .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.cta-banner .btn-primary { background: var(--white); color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* ---------- Footer ---------- */
footer { background: var(--gradient-hero); color: rgba(255,255,255,0.65); padding: 80px 0 0; }.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .brand {
  display: inline-flex;
  margin-right: 10px;
  margin-bottom: 12px;
  vertical-align: top;
}
.footer-brand .brand img {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  height: 46px;
  width: 130px;
  object-fit: contain;
}
.footer-brand .brand-fallback .b-name { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; margin-bottom: 22px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center; transition: background var(--transition), transform var(--transition);
}
.social-icons a:hover { background: var(--gradient-brand); transform: translateY(-3px); }
.social-icons svg { width: 17px; height: 17px; color: var(--white); }
footer h5 { color: var(--white); font-size: 15px; margin-bottom: 22px; font-weight: 600; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: 14px; transition: color var(--transition), padding-left var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .flinks { display: flex; gap: 22px; }

@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; }
}

/* ---------- Floating buttons ---------- */
.floating-btns { position: fixed; bottom: 26px; right: 26px; z-index: 900; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform var(--transition);
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab-whatsapp { background: #25D366; }
.fab-whatsapp svg { width: 27px; height: 27px; color: var(--white); }
.fab-top {
  background: var(--white); border: 1px solid #E2E8F0; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.fab-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top svg { width: 20px; height: 20px; color: var(--primary); }

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0; background: var(--dark); z-index: 3000;
  display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-mark {
  width: 56px; height: 56px; border-radius: 16px; background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--white); font-size: 22px;
  animation: pulse 1.1s ease-in-out infinite;
}
.loader-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.85); opacity: 0.7; } }

/* ---------- Misc ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--white);
  padding: 12px 18px; z-index: 4000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

/* ============================================
   RESPONSIVE STYLES (extra fine-tuning)
   ============================================ */

/* ---------- TABLET (max 992px) ---------- */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .contact .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }
}

/* ---------- MOBILE (max 768px) ---------- */
@media (max-width: 768px) {

  /* Page hero */
  .page-hero h1 {
    font-size: 32px !important;
    line-height: 1.3;
  }

  .page-hero p {
    font-size: 15px;
  }

  /* Why / Contact info strip */
  .why-grid {
    grid-template-columns: 1fr !important;
  }

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-info {
    padding: 0 5px;
  }

  .map-placeholder {
    height: 200px;
  }

  /* FAQ */
  .faq-q {
    font-size: 15px;
    padding: 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Floating buttons */
  .floating-btns {
    bottom: 20px;
    right: 15px;
  }

  .fab {
    width: 45px;
    height: 45px;
  }
}

/* ---------- SMALL MOBILE (max 480px) ---------- */
@media (max-width: 480px) {
  .brand img {
    height: 55px;
    width: 160px;
  }

  .page-hero h1 {
    font-size: 26px !important;
  }

  .eyebrow {
    font-size: 12px;
  }

  .why-card {
    padding: 20px;
  }

  .contact-form h3 {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .social-icons {
    justify-content: center;
  }
}