/* ═══════════════════════════════════════════
   R3 GULF BIZ — Professional Business Theme
   WordPress / Elementor Premium Style
═══════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  /* Google Blue Palette */
  --blue:        #1a73e8;
  --blue-dark:   #1557b0;
  --blue-deeper: #0d47a1;
  --blue-mid:    #1e88e5;
  --blue-light:  #e8f0fe;
  --blue-pale:   #c5d8fd;

  /* Neutral / Slate */
  --navy:        #0f172a;
  --navy-mid:    #1e293b;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;

  /* Accent Colors — Google Material palette */
  --green:       #34a853;
  --green-dark:  #1e8e3e;
  --green-light: #e6f4ea;
  --yellow:      #f9ab00;
  --yellow-light:#fef7e0;
  --red:         #ea4335;
  --red-light:   #fce8e6;
  --teal:        #00897b;
  --teal-light:  #e0f2f1;
  --cyan:        #0288d1;
  --cyan-light:  #e1f5fe;
  --orange:      #fa7b17;
  --orange-light:#feefe3;
  --amber:       #f9ab00;
  --amber-light: #fef7e0;

  /* Text & Borders */
  --text:        #1e293b;
  --text-muted:  #64748b;
  --border:      #e2e8f0;
  --border-dark: #cbd5e1;

  /* Border Radius — more conservative */
  --radius-xs:  3px;
  --radius-sm:  5px;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;

  /* Shadows — subtle & clean */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:     0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04);

  /* Transition */
  --transition: 0.25s ease;

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; outline: none; border: none; background: none; }
textarea { resize: vertical; }

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--navy);
}
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; color: var(--navy); }
h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
p  { color: var(--text-muted); line-height: 1.7; }

.gradient-text {
  background: linear-gradient(135deg, #1a73e8 0%, #00897b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-xl  { padding: 13px 28px; font-size: 0.95rem; }
.btn-lg  { padding: 11px 24px; font-size: 0.9rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,115,232,0.28);
}

.btn-ghost {
  color: var(--gray-600);
  background: transparent;
  border: 2px solid transparent;
}
.btn-ghost:hover { color: var(--blue); background: var(--blue-light); }

.btn-glass {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-1px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.mt-24 { margin-top: 24px; }

/* ── Section Header ── */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p  { font-size: 1rem; }

.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
  border-left: 3px solid var(--blue);
}
.light-tag {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border-left-color: rgba(255,255,255,0.5);
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  padding: 10px 0;
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: auto;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.04em;
}
.navbar.scrolled .logo-mark { background: var(--blue); }
.logo-text { letter-spacing: -0.01em; }
.logo-accent { color: #60a5fa; }
.navbar.scrolled .logo-text { color: var(--navy); }
.navbar.scrolled .logo-accent { color: var(--blue); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover  { color: white; background: rgba(255,255,255,0.1); }
.nav-link.active { color: white; background: rgba(255,255,255,0.14); }
.navbar.scrolled .nav-link         { color: var(--gray-600); }
.navbar.scrolled .nav-link:hover   { background: var(--blue-light); color: var(--blue); }
.navbar.scrolled .nav-link.active  { background: var(--blue-light); color: var(--blue); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--gray-700); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0d1117 0%, #0d1b3e 52%, #1565c0 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

/* Clean geometric background — no particles */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-bg-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(26,115,232,0.22) 0%, transparent 65%);
}

/* Hide particle canvas */
.hero-particles { display: none; }

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 56px;
  position: relative;
  z-index: 2;
}

.hero-left { color: white; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(147,197,253,0.35);
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}
.badge-pulse {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-title { color: white; margin-bottom: 18px; }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 3px;
}
.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }

/* ── ERP Mockup — cleaner style ── */
.erp-mockup {
  position: relative;
  animation: gentle-float 5s ease-in-out infinite;
}
@keyframes gentle-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.mockup-frame {
  background: #1e293b;
  border-radius: var(--radius);
  border: 1px solid rgba(148,163,184,0.15);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
}

.mockup-topbar {
  background: #0f172a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.traffic-lights { display: flex; gap: 5px; }
.tl { width: 10px; height: 10px; border-radius: 50%; }
.tl.red    { background: #ff5f57; }
.tl.yellow { background: #ffbd2e; }
.tl.green  { background: #28c840; }
.url-bar {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-xs);
  padding: 3px 10px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  flex: 1;
}

.mockup-body { display: flex; height: 320px; }

.m-sidebar {
  width: 44px;
  background: #0f172a;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.m-logo-mini {
  width: 28px; height: 28px;
  background: var(--blue);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.6rem; font-weight: 800;
  margin-bottom: 8px;
}
.m-nav-item {
  width: 28px; height: 28px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 0.7rem;
  cursor: pointer; transition: var(--transition);
}
.m-nav-item.active, .m-nav-item:hover {
  background: rgba(29,78,216,0.3);
  color: #93c5fd;
}

.m-main {
  flex: 1; padding: 12px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.m-header-bar {
  display: flex; justify-content: space-between; align-items: center;
}
.m-page-title { font-size: 0.68rem; color: rgba(255,255,255,0.75); font-weight: 600; }
.m-user-avatar {
  width: 22px; height: 22px;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.5rem; font-weight: 700; color: white;
  display: flex; align-items: center; justify-content: center;
}

.m-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.m-kpi {
  border-radius: var(--radius-xs);
  padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
}
.blue-kpi   { background: rgba(29,78,216,0.25); border: 1px solid rgba(29,78,216,0.3); }
.green-kpi  { background: rgba(22,163,74,0.2);  border: 1px solid rgba(22,163,74,0.25); }
.teal-kpi   { background: rgba(0,137,123,0.2);  border: 1px solid rgba(0,137,123,0.25); }
.kpi-label  { font-size: 0.55rem; color: rgba(255,255,255,0.45); }
.kpi-val    { font-size: 0.72rem; font-weight: 700; color: white; }
.kpi-trend  { font-size: 0.55rem; }
.kpi-trend.up   { color: #4ade80; }
.kpi-trend.down { color: #f87171; }

.m-chart-area {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 8px;
}
.m-chart-title { font-size: 0.58rem; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.m-bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.m-bar {
  flex: 1; height: var(--h);
  background: rgba(29,78,216,0.4);
  border-radius: 2px 2px 0 0;
  position: relative; transition: height 0.8s ease;
}
.m-bar.active { background: var(--blue); }
.m-bar span {
  position: absolute; bottom: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.48rem; color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.m-table-mini { font-size: 0.58rem; }
.m-tr {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 6px; padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55); align-items: center;
}
.m-th { color: rgba(255,255,255,0.3); font-weight: 600; font-size: 0.52rem; }
.tag-paid { background: rgba(22,163,74,0.25); color: #4ade80; padding: 1px 4px; border-radius: 2px; font-size: 0.5rem; }
.tag-pend { background: rgba(202,138,4,0.25);  color: #facc15; padding: 1px 4px; border-radius: 2px; font-size: 0.5rem; }

/* Floating cards — minimal style */
.float-notif {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 500; color: var(--gray-700);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
  white-space: nowrap; z-index: 10;
}
.notif-1 { bottom: -10px; left: -16px; animation: notif-bob 4s ease-in-out infinite; }
.notif-2 { top: 24px;    right: -28px; animation: notif-bob 4s ease-in-out infinite 1.5s; }
.notif-3 { bottom: 56px; right: -20px; animation: notif-bob 4s ease-in-out infinite 3s; }
@keyframes notif-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ════════════════════════════════════════
   TRUSTED BY
════════════════════════════════════════ */
.trusted-section {
  padding: 32px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trusted-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 20px;
}
.trusted-track-wrap { overflow: hidden; }
.trusted-track {
  display: flex; gap: 56px;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.trusted-track span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.78rem;
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features-section {
  padding: 60px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
}
.feat-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-pale);
  transform: translateY(-3px);
}

.feat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--ib);
  color: var(--ic);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.feat-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.feat-card p  { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.65; }

.feat-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.82rem; font-weight: 600; color: var(--blue);
  transition: var(--transition);
}
.feat-link:hover { gap: 9px; }

/* ════════════════════════════════════════
   AI SECTION
════════════════════════════════════════ */
.ai-section {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.ai-bg-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,115,232,0.14) 0%, transparent 70%);
  border-radius: 50%;
  top: -80px; right: -60px;
  pointer-events: none;
}

.ai-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.light-h2 { color: white; margin-bottom: 14px; }
.light-p  { color: rgba(255,255,255,0.65); margin-bottom: 32px; font-size: 0.95rem; }

.ai-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.ai-item { display: flex; gap: 14px; align-items: flex-start; }
.ai-ic {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(29,78,216,0.3);
  color: #93c5fd;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  transition: var(--transition);
}
.ai-item:hover .ai-ic { background: rgba(29,78,216,0.5); }
.ai-text h4 { color: white; margin-bottom: 3px; font-size: 0.92rem; }
.ai-text p  { color: rgba(255,255,255,0.55); font-size: 0.84rem; }

/* AI Panel */
.ai-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.ai-panel-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.75);
  font-weight: 600; font-size: 0.85rem;
}
.ai-panel-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: blink 2s infinite;
}
.live-dot { margin-left: auto; color: #4ade80; font-size: 0.72rem; font-weight: 700; }

.ai-gauges { display: flex; justify-content: space-around; margin-bottom: 20px; gap: 16px; }
.gauge-wrap { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gauge {
  width: 76px; height: 76px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gauge span { font-size: 0.95rem; font-weight: 700; color: white; position: relative; z-index: 1; }
.gauge-wrap p { font-size: 0.68rem; color: rgba(255,255,255,0.5); line-height: 1.4; }

.ai-insight {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 11px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.ai-insight:last-child { margin-bottom: 0; }
.ai-insight-icon {
  width: 28px; height: 28px;
  border-radius: var(--radius-xs);
  background: rgba(29,78,216,0.3); color: #93c5fd;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; flex-shrink: 0;
}
.ai-insight-icon.green-ic  { background: rgba(22,163,74,0.3); color: #4ade80; }
.ai-insight-icon.orange-ic { background: rgba(202,138,4,0.3); color: #facc15; }
.ai-insight span { font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ════════════════════════════════════════
   DASHBOARD PREVIEW
════════════════════════════════════════ */
.dash-preview-section { padding: 60px 0; background: var(--gray-50); }

.preview-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
  gap: 0;
}
.ptab {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 20px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gray-500);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.ptab:hover  { color: var(--blue); }
.ptab.active { color: var(--blue); border-bottom-color: var(--blue); }

.preview-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.ptab-content { display: none; padding: 24px; }
.ptab-content.active { display: block; animation: fade-slide 0.3s ease; }
@keyframes fade-slide { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

.pw-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.pw-header > span:first-child {
  font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.pw-header i { color: var(--blue); }
.pw-date { font-size: 0.78rem; color: var(--gray-400); }

.pw-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }
.pw-kpi {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.pw-kpi-label { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; margin-bottom: 5px; }
.pw-kpi-val   { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.pw-kpi-trend { font-size: 0.75rem; font-weight: 600; }
.pw-kpi-trend.up   { color: var(--green); }
.pw-kpi-trend.down { color: var(--red); }

.pw-chart-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.pw-area-chart { flex: 1; }
.pw-chart-label { font-size: 0.78rem; font-weight: 600; color: var(--gray-500); margin-bottom: 8px; }
.pw-legend-chart { min-width: 150px; }
.pw-legend-list  { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.pw-leg-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--gray-600); }
.pw-leg-item strong { margin-left: auto; font-weight: 700; color: var(--navy); }
.leg-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }

/* CRM Kanban */
.crm-kanban { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.kanban-head {
  font-size: 0.78rem; font-weight: 700; color: var(--gray-500);
  margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.won-head { color: var(--green); }
.kc {
  background: var(--gray-100); color: var(--gray-500);
  font-size: 0.7rem; padding: 1px 7px; border-radius: 999px; font-weight: 700;
}
.green-kc { background: var(--green-light); color: var(--green-dark); }
.kanban-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px;
  margin-bottom: 8px; transition: var(--transition);
}
.kanban-card:hover { box-shadow: var(--shadow); border-color: var(--blue-pale); }
.kanban-card strong { font-size: 0.8rem; color: var(--navy); display: block; margin-bottom: 3px; }
.kanban-card p { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 7px; }
.won-card { border-color: #bbf7d0; background: #f0fdf4; }
.ktag {
  display: inline-block; font-size: 0.65rem; font-weight: 600;
  padding: 2px 7px; border-radius: var(--radius-xs);
}
.ktag.blue   { background: var(--blue-light);   color: var(--blue); }
.ktag.gray   { background: var(--gray-100);      color: var(--gray-500); }
.ktag.orange { background: var(--orange-light);  color: var(--orange); }
.ktag.green  { background: var(--green-light);   color: var(--green-dark); }

/* Inventory */
.inv-preview-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-bottom: 14px; }
.inv-preview-table th {
  text-align: left; padding: 9px 12px;
  background: var(--gray-50); color: var(--gray-500);
  font-size: 0.75rem; font-weight: 700;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.inv-preview-table td { padding: 11px 12px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.inv-preview-table tr:last-child td { border-bottom: none; }
.badge-s { background: var(--green-light);  color: #166534; padding: 3px 8px; border-radius: var(--radius-xs); font-size: 0.72rem; font-weight: 600; }
.badge-w { background: var(--yellow-light); color: #854d0e; padding: 3px 8px; border-radius: var(--radius-xs); font-size: 0.72rem; font-weight: 600; }
.badge-d { background: var(--red-light);    color: #991b1b; padding: 3px 8px; border-radius: var(--radius-xs); font-size: 0.72rem; font-weight: 600; }
.ai-alert-bar {
  display: flex; align-items: center; gap: 9px;
  background: var(--blue-light); border: 1px solid var(--blue-pale);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm); padding: 11px 14px;
  font-size: 0.82rem; color: var(--blue-dark); font-weight: 500;
}
.ai-alert-bar i { color: var(--blue); }

/* Finance */
.fin-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 20px; }
.fin-sum-card {
  background: var(--gray-50); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
}
.fin-sum-card.positive { background: #f0fdf4; border-color: #bbf7d0; }
.fin-sum-card label { display: block; font-size: 0.75rem; color: var(--gray-400); margin-bottom: 5px; }
.fin-sum-card strong { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.fin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.fin-table th {
  text-align: left; padding: 9px 12px;
  background: var(--gray-50); color: var(--gray-500);
  font-size: 0.72rem; font-weight: 700;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.fin-table td { padding: 11px 12px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.fin-table tr:last-child td { border-bottom: none; }
.pos-val { color: var(--green-dark); font-weight: 600; }
.neg-val { color: var(--red);        font-weight: 600; }

/* ════════════════════════════════════════
   WHY CHOOSE
════════════════════════════════════════ */
.why-section { padding: 60px 0; background: var(--white); }

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-card {
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.why-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-pale);
  transform: translateY(-3px);
}
.why-card h3 { color: var(--navy); margin: 14px 0 8px; font-size: 1rem; }
.why-card p  { font-size: 0.875rem; line-height: 1.65; }

.why-ic {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; transition: var(--transition);
}
.why-card:hover .why-ic { transform: scale(1.08); }
.cloud-ic  { background: #dbeafe; color: #1d4ed8; }
.ai-ic     { background: var(--teal-light); color: var(--teal); }
.shield-ic { background: var(--green-light);  color: var(--green-dark); }
.gulf-ic   { background: var(--yellow-light); color: var(--yellow); }
.ui-ic     { background: var(--cyan-light); color: var(--cyan); }
.rt-ic     { background: var(--cyan-light);   color: var(--cyan); }

/* ════════════════════════════════════════
   INDUSTRIES
════════════════════════════════════════ */
.industries-section {
  padding: 60px 0;
  background: var(--navy);
}
.industries-section .section-head h2 { color: white; }
.industries-section .section-head p  { color: rgba(255,255,255,0.6); }

.industries-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.ind-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.ind-card:hover {
  background: rgba(29,78,216,0.2);
  border-color: rgba(29,78,216,0.4);
  transform: translateY(-4px);
}
.ind-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(29,78,216,0.25); color: #93c5fd;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 14px; transition: var(--transition);
}
.ind-card:hover .ind-icon { background: rgba(29,78,216,0.45); color: white; }
.ind-card h3 { color: white; font-size: 0.95rem; margin-bottom: 6px; }
.ind-card p  { color: rgba(255,255,255,0.5); font-size: 0.78rem; line-height: 1.5; }

/* ════════════════════════════════════════
   PRICING
════════════════════════════════════════ */
.pricing-section { padding: 60px 0; background: var(--gray-50); }

.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 44px;
}
.tog-label { font-size: 0.88rem; font-weight: 600; color: var(--gray-600); }
.save-chip {
  background: var(--green); color: white;
  font-size: 0.68rem; font-weight: 700;
  padding: 2px 8px; border-radius: var(--radius-xs);
  margin-left: 6px; font-style: normal;
}
.tog-switch { position: relative; }
.tog-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.tog-rail {
  display: block; width: 44px; height: 24px;
  background: var(--gray-300); border-radius: 12px;
  cursor: pointer; transition: var(--transition); position: relative;
}
.tog-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: white; border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.tog-switch input:checked + .tog-rail { background: var(--blue); }
.tog-switch input:checked + .tog-rail .tog-thumb { left: 23px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.featured-plan {
  background: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}
.featured-plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.featured-plan .price-plan    { color: white; }
.featured-plan .price-tagline { color: rgba(255,255,255,0.6); }
.featured-plan sup, .featured-plan sub { color: rgba(255,255,255,0.6); }
.featured-plan .price-amount  { color: white; }
.featured-plan .price-num     { color: white; }
.featured-plan .price-features li { color: rgba(255,255,255,0.75); }
.featured-plan .price-features li.no { color: rgba(255,255,255,0.25); }
.featured-plan .price-features .fa-check { color: #4ade80; }
.featured-plan .price-features .fa-times { color: rgba(255,255,255,0.15); }

.pop-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: white;
  font-size: 0.7rem; font-weight: 700;
  padding: 5px 16px; border-radius: var(--radius-xs);
  white-space: nowrap;
}

.price-plan    { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.price-tagline { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 22px; line-height: 1.5; }
.price-amount  { display: flex; align-items: flex-start; gap: 3px; margin-bottom: 28px; }
.price-amount sup { font-size: 0.88rem; font-weight: 700; color: var(--gray-500); margin-top: 8px; }
.price-amount sub { font-size: 0.8rem; color: var(--gray-400); align-self: flex-end; margin-bottom: 4px; }
.price-num    { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; transition: var(--transition); }
.price-custom { font-size: 2.2rem; font-weight: 800; color: var(--navy); }

.price-features { margin-bottom: 28px; display: flex; flex-direction: column; gap: 9px; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--gray-600);
}
.price-features li.no { color: var(--gray-300); }
.price-features .fa-check { color: var(--green-dark); width: 14px; }
.price-features .fa-times { color: var(--gray-200); width: 14px; }

/* ════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════ */
.testimonials-section { padding: 60px 0; background: var(--white); }

.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-pale); transform: translateY(-3px); }

.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; color: #f59e0b; font-size: 0.82rem; }
.testi-text {
  font-size: 0.88rem; color: var(--gray-600); line-height: 1.75;
  margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.82rem; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 2px; }
.testi-author span   { font-size: 0.75rem; color: var(--gray-400); line-height: 1.4; }

/* ════════════════════════════════════════
   BLOG
════════════════════════════════════════ */
.blog-section { padding: 60px 0; background: var(--gray-50); }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-pale); transform: translateY(-3px); }
.blog-thumb {
  height: 148px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; color: rgba(255,255,255,0.45);
}
.blog-body { padding: 22px; }
.blog-cat {
  display: inline-block;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  padding: 3px 8px; border-radius: var(--radius-xs);
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; line-height: 1.45; }
.blog-card p  { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 14px; line-height: 1.65; }
.blog-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--gray-400);
  border-top: 1px solid var(--border); padding-top: 12px;
}
.read-more {
  display: flex; align-items: center; gap: 4px;
  color: var(--blue); font-weight: 600; font-size: 0.8rem;
  transition: var(--transition);
}
.read-more:hover { gap: 8px; }

/* ════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════ */
.cta-section {
  background: var(--navy);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,78,216,0.18) 0%, transparent 70%);
  border-radius: 50%; top: -200px; left: -100px;
  pointer-events: none;
}

.cta-flex { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }

.cta-left { color: white; padding-top: 16px; }
.cta-left h2 { color: white; font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 14px; }
.cta-left p  { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 24px; }

.cta-bullets { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.cta-bullets li {
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.75); font-size: 0.88rem;
}
.cta-bullets .fa-check-circle { color: #4ade80; }

.cta-contact-info { display: flex; flex-direction: column; gap: 7px; }
.cta-contact-info a {
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.55); font-size: 0.85rem;
  transition: var(--transition);
}
.cta-contact-info a:hover { color: white; }
.cta-contact-info i { color: #93c5fd; width: 14px; }

/* Form Panel */
.cta-right {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(148,163,184,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.form-switcher {
  display: flex; background: rgba(0,0,0,0.2); padding: 5px; gap: 4px;
}
.fsw {
  flex: 1; padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.fsw.active { background: white; color: var(--navy); }
.fsw:not(.active):hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.08); }

.cta-form { display: none; padding: 24px; }
.cta-form.active { display: block; }
.cta-form h3 { color: white; margin-bottom: 18px; font-size: 1.1rem; }

.form-group { margin-bottom: 12px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: white; font-size: 0.85rem;
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group select { color: rgba(255,255,255,0.65); }
.form-group select option { background: var(--navy); color: white; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(147,197,253,0.5);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.2);
}
.form-note {
  text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.4);
  margin-top: 9px; display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════ */
.contact-section { padding: 60px 0; background: var(--white); }

.contact-flex { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }

.contact-info-col { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 40px; height: 40px;
  background: var(--blue-light); color: var(--blue);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; flex-shrink: 0;
}
.contact-info-item strong {
  display: block; font-size: 0.72rem; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px;
}
.contact-info-item a,
.contact-info-item span { color: var(--navy); font-weight: 500; font-size: 0.9rem; line-height: 1.65; }
.contact-info-item a:hover { color: var(--blue); }

.contact-form-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form-card .form-group { margin-bottom: 14px; }
.contact-form-card .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text); font-size: 0.88rem;
  transition: var(--transition);
}
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: var(--gray-400); }
.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

.contact-map {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 360px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.55);
}

.footer-flex {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-text { color: white; font-size: 1.1rem; }
.footer-brand-col p {
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
  line-height: 1.7; margin-bottom: 18px;
}

.footer-socials { display: flex; gap: 8px; margin-bottom: 20px; }
.footer-socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 0.82rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--blue); border-color: var(--blue); color: white; transform: translateY(-2px); }

.footer-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-badges span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xs);
  padding: 3px 9px;
  font-size: 0.68rem; color: rgba(255,255,255,0.45); font-weight: 600;
}

.footer-links-col h4 {
  color: rgba(255,255,255,0.85); font-size: 0.82rem; font-weight: 700;
  margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links-col a {
  color: rgba(255,255,255,0.45); font-size: 0.82rem; transition: var(--transition);
}
.footer-links-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
  text-align: center;
  display: flex; flex-direction: column; gap: 5px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-bottom a:hover { color: white; }

/* ════════════════════════════════════════
   MODAL
════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  z-index: 9999;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: white; border-radius: var(--radius);
  padding: 44px 36px; text-align: center;
  max-width: 400px; width: 90%;
  animation: modal-in 0.28s cubic-bezier(0.34,1.56,0.64,1);
  border: 1px solid var(--border);
}
@keyframes modal-in { from{transform:scale(0.85);opacity:0} to{transform:scale(1);opacity:1} }
.modal-check {
  width: 64px; height: 64px;
  background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 1.6rem; color: white;
}
.modal-box h3 { color: var(--navy); margin-bottom: 8px; }
.modal-box p  { color: var(--gray-500); margin-bottom: 24px; font-size: 0.9rem; }

/* ════════════════════════════════════════
   SCROLL TO TOP
════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--blue); color: white;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
  opacity: 0; transform: translateY(16px);
  transition: var(--transition); z-index: 999;
}
.scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,115,232,0.4); }

/* ════════════════════════════════════════
   SKIP LINK (Accessibility)
════════════════════════════════════════ */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--blue); color: white;
  padding: 10px 20px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; font-size: 0.88rem; z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ════════════════════════════════════════
   ANALYTICS METRICS SECTION
════════════════════════════════════════ */
.metrics-section {
  padding: 60px 0;
  background: var(--white);
}

.metrics-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}

.metrics-left { display: flex; flex-direction: column; gap: 16px; }

.metric-card-lg {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: var(--transition);
}
.metric-card-lg:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-pale); transform: translateY(-2px); }

.metric-card-lg .mc-label {
  font-size: 0.75rem; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.mc-dot { width: 8px; height: 8px; border-radius: 50%; }
.metric-card-lg .mc-value {
  font-size: 2.2rem; font-weight: 800; color: var(--navy);
  line-height: 1; margin-bottom: 8px;
}
.mc-row { display: flex; align-items: center; justify-content: space-between; }
.mc-trend {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.78rem; font-weight: 700; padding: 3px 8px;
  border-radius: 4px;
}
.mc-trend.up   { background: var(--green-light); color: var(--green-dark); }
.mc-trend.down { background: var(--red-light);   color: var(--red); }
.mc-sub { font-size: 0.78rem; color: var(--gray-400); }

.sparkline-wrap { height: 40px; overflow: hidden; }
.sparkline-wrap svg { width: 100%; height: 40px; }

.metrics-right {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.metrics-right .panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.panel-head h3 { font-size: 1rem; color: var(--navy); }
.panel-head span { font-size: 0.75rem; color: var(--gray-400); }

/* Donut Chart */
.donut-chart-wrap {
  display: flex; align-items: center; gap: 28px; margin-bottom: 24px;
}
.donut-svg-area { position: relative; flex-shrink: 0; }
.donut-svg-area svg { width: 140px; height: 140px; }
.donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.donut-center strong { font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.donut-center span   { font-size: 0.68rem; color: var(--gray-400); }

.donut-legend { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dl-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  background: var(--white);
  border: 1px solid var(--border);
}
.dl-color { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.dl-name  { font-size: 0.78rem; color: var(--gray-600); flex: 1; }
.dl-pct   { font-size: 0.82rem; font-weight: 700; color: var(--navy); }

/* Mini metric row below donut */
.mini-metrics-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mini-metric {
  text-align: center; padding: 12px 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mini-metric strong { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.mini-metric span { font-size: 0.68rem; color: var(--gray-400); }

/* Area chart in analytics tab */
.pw-chart-double {
  display: grid; grid-template-columns: 1fr 200px; gap: 24px;
  align-items: start;
}
.pw-donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pw-donut-wrap svg { width: 120px; height: 120px; }
.pw-donut-legend { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.pw-dl-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--gray-600);
}
.pw-dl-item strong { margin-left: auto; font-weight: 700; color: var(--navy); }
.pw-dl-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .features-grid   { grid-template-columns: repeat(2,1fr); }
  .why-grid        { grid-template-columns: repeat(2,1fr); }
  .industries-grid { grid-template-columns: repeat(3,1fr); }
  .pricing-grid    { grid-template-columns: repeat(3,1fr); }
  .testi-grid      { grid-template-columns: repeat(2,1fr); }
  .blog-grid       { grid-template-columns: repeat(2,1fr); }
  .footer-flex     { grid-template-columns: 1fr 1fr; }
  .metrics-hero-grid { grid-template-columns: 1fr; }
  .pw-chart-double { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-container  { grid-template-columns: 1fr; gap: 40px; }
  .hero-right      { display: none; }
  .hero-left       { text-align: center; }
  .hero-cta        { justify-content: center; }
  .hero-stats      { justify-content: center; }
  .hero            { min-height: auto; padding-top: 110px; padding-bottom: 72px; }
  .hero-subtitle   { margin-left: auto; margin-right: auto; }

  .ai-flex         { grid-template-columns: 1fr; gap: 44px; }
  .cta-flex        { grid-template-columns: 1fr; gap: 40px; }
  .contact-flex    { grid-template-columns: 1fr; }
  .crm-kanban      { grid-template-columns: repeat(2,1fr); }
  .fin-summary     { grid-template-columns: repeat(2,1fr); }
  .pw-kpis         { grid-template-columns: repeat(2,1fr); }
  .pw-chart-row    { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(15,23,42,0.97);
    padding: 18px 20px; gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .navbar.scrolled .nav-menu.open { background: rgba(255,255,255,0.98); }
  .navbar.scrolled .nav-link      { color: var(--gray-700); }

  .features-grid   { grid-template-columns: 1fr; }
  .why-grid        { grid-template-columns: 1fr; }
  .pricing-grid    { grid-template-columns: 1fr; }
  .testi-grid      { grid-template-columns: 1fr; }
  .blog-grid       { grid-template-columns: 1fr; }
  .footer-flex     { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2,1fr); }
  .form-row-2      { grid-template-columns: 1fr; }
  .crm-kanban      { grid-template-columns: 1fr 1fr; }
  .pw-kpis         { grid-template-columns: 1fr 1fr; }
  .preview-tabs    { flex-wrap: wrap; border-bottom: none; gap: 6px; }
  .ptab            { border: 1px solid var(--border); border-radius: var(--radius-xs); border-bottom: none; margin-bottom: 0; }
  .ptab.active     { background: var(--blue); color: white; border-color: var(--blue); }
}

@media (max-width: 480px) {
  .container       { padding: 0 16px; }
  .hero-cta        { flex-direction: column; align-items: stretch; }
  .btn-xl          { justify-content: center; }
  .hero-stats      { flex-direction: column; gap: 14px; }
  .stat-sep        { width: 48px; height: 1px; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.55rem; }
}

/* ═══ FAQ SECTION ═══ */
.faq-section { padding: 96px 0; background: var(--gray-50); }
.faq-grid    { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: 0 4px 24px rgba(26,115,232,0.08); border-color: #c7d9f8; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary h3 { color: var(--blue); }

.faq-item > p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  margin: 0;
}
.faq-item > p a { color: var(--blue); }

@media (max-width: 768px) {
  .faq-item summary { padding: 16px 18px; }
  .faq-item > p     { padding: 0 18px 16px; }
}

/* ═══ AOS ═══ */
[data-aos] { transition-duration: 500ms !important; }

/* ═══ Scrollbar ═══ */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
