/* ═══════════════════════════════════════════════════════════════
   PECAN – Premium Design System
   #4f81c2 · #41bcda · #555555 · #ffffff
═══════════════════════════════════════════════════════════════ */

:root {
  --blue:          #4f81c2;
  --cyan:          #41bcda;
  --gray:          #555555;
  --white:         #ffffff;
  --light:         #eef5fc;
  --dark:          #0f2347;
  --gradient:      linear-gradient(135deg, #4f81c2 0%, #41bcda 100%);
  --gradient-r:    linear-gradient(135deg, #41bcda 0%, #4f81c2 100%);
  --ease-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-premium:  cubic-bezier(0.23, 1, 0.32, 1);
  --ease-back:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Base ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--gray); }
*, *::before, *::after { box-sizing: border-box; }

/* ── Custom Cursor ────────────────────────────────────────── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], select, input, textarea, label { cursor: none; }
}

#cursor-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 99999;
  transition: width 0.2s, height 0.2s, background 0.3s, opacity 0.3s;
  will-change: transform;
}
#cursor-ring {
  width: 38px; height: 38px;
  border: 2px solid rgba(79,129,194,0.45);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 99998;
  transition: width 0.35s var(--ease-expo),
              height 0.35s var(--ease-expo),
              border-color 0.35s,
              background 0.35s,
              opacity 0.3s;
  will-change: transform;
}
#cursor-ring.hovered {
  width: 56px; height: 56px;
  border-color: rgba(65,188,218,0.6);
  background: rgba(65,188,218,0.07);
}
#cursor-ring.pressed {
  width: 28px; height: 28px;
  background: rgba(79,129,194,0.12);
  border-color: rgba(79,129,194,0.7);
}
@media (pointer: coarse), (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ── Scroll Progress ──────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--gradient);
  z-index: 10000;
  transition: width 0.08s linear;
  border-radius: 0 3px 3px 0;
}
#scroll-progress::after {
  content: '';
  position: absolute; right: -1px; top: -2px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #41bcda;
  box-shadow: 0 0 10px 2px rgba(65,188,218,0.7);
}

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
  transition: background 0.45s ease,
              box-shadow 0.45s ease,
              padding 0.4s var(--ease-expo),
              backdrop-filter 0.4s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 32px rgba(79,129,194,0.12);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* ── Logo ─────────────────────────────────────────────────── */
.logo-link {
  text-decoration: none;
  transition: opacity 0.3s;
}
.logo-link:hover { opacity: 1; }

.logo-img-wrap {
  position: relative;
  width: 112px; height: 112px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-glow-bg {
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65,188,218,0.3) 0%, transparent 70%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-expo);
}
.logo-link:hover .logo-glow-bg {
  opacity: 1; transform: scale(1.2);
}
.logo-orbit-ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: rgba(65,188,218,0.9);
  border-right-color: rgba(79,129,194,0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.logo-link:hover .logo-orbit-ring {
  opacity: 1;
  animation: orbit-spin 1.8s linear infinite;
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.logo-img {
  height: 102px;
  width: auto;
  object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.18));
  transition: transform 0.5s var(--ease-expo),
              height 0.4s var(--ease-expo),
              filter 0.4s ease;
}
/* Shrink logo when navbar is scrolled (frosted) */
#navbar.scrolled .logo-img-wrap { width: 78px; height: 78px; }
#navbar.scrolled .logo-img { height: 70px; }
@media (max-width: 640px) {
  .logo-img-wrap { width: 88px; height: 88px; }
  .logo-img { height: 80px; }
}
.logo-link:hover .logo-img {
  transform: scale(1.1) rotate(-4deg);
  filter: drop-shadow(0 0 18px rgba(65,188,218,0.65))
          drop-shadow(0 4px 14px rgba(0,0,0,0.22))
          brightness(1.06);
}
.logo-fallback {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.3);
}
.logo-text-block { user-select: none; }
.logo-company-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: 0.18em;
  line-height: 1;
  color: white;
  transition: all 0.4s ease;
  position: relative;
}
#navbar.scrolled .logo-company-name { color: #1a3661; }

.logo-link:hover .logo-company-name {
  background: linear-gradient(90deg, #fff 0%, #41bcda 40%, #fff 80%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 1.6s linear infinite;
}
#navbar.scrolled .logo-link:hover .logo-company-name {
  background: linear-gradient(90deg, #4f81c2 0%, #41bcda 40%, #4f81c2 80%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 1.6s linear infinite;
}

@keyframes text-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.logo-tagline-text {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.58);
  margin-top: 5px;
  line-height: 1;
  transition: color 0.4s ease, letter-spacing 0.4s var(--ease-expo);
}
#navbar.scrolled .logo-tagline-text { color: rgba(26,54,97,0.55); }
.logo-link:hover .logo-tagline-text {
  color: rgba(65,188,218,0.95);
  letter-spacing: 0.28em;
}

/* ── Nav Links ────────────────────────────────────────────── */
.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.25s;
  text-decoration: none;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2.5px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.38s var(--ease-expo), left 0.38s var(--ease-expo);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; left: 0; }

/* Mobile menu */
#mobile-menu {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.48s var(--ease-expo), opacity 0.35s ease;
}
#mobile-menu.open { max-height: 460px; opacity: 1; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  background: var(--gradient);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center;
  transition: transform 0.35s var(--ease-premium),
              box-shadow 0.35s ease;
  text-decoration: none;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-r);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(79,129,194,0.4),
              0 4px 12px rgba(65,188,218,0.25);
}
.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex; align-items: center;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-premium);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Pulse CTA */
@keyframes btn-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79,129,194,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(79,129,194,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,129,194,0); }
}
.btn-pulse { animation: btn-pulse 2.8s ease-out infinite; }

/* ── Reveal System (3D Perspective) ──────────────────────── */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  will-change: transform, opacity, filter;
}
.reveal {
  opacity: 0;
  transform: perspective(1200px) translateY(52px) rotateX(7deg);
  filter: blur(7px);
  transition: opacity  0.9s var(--ease-expo),
              transform 0.9s var(--ease-expo),
              filter   0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: perspective(1200px) translateY(0) rotateX(0);
  filter: blur(0);
}
.reveal-left {
  opacity: 0;
  transform: perspective(1200px) translateX(-60px) rotateY(8deg);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo), filter 0.7s ease;
}
.reveal-left.visible {
  opacity: 1; transform: perspective(1200px) translateX(0) rotateY(0); filter: blur(0);
}
.reveal-right {
  opacity: 0;
  transform: perspective(1200px) translateX(60px) rotateY(-8deg);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo), filter 0.7s ease;
}
.reveal-right.visible {
  opacity: 1; transform: perspective(1200px) translateX(0) rotateY(0); filter: blur(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.87) translateY(20px);
  filter: blur(6px);
  transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo), filter 0.65s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.26s; }
.delay-4 { transition-delay: 0.36s; }
.delay-5 { transition-delay: 0.46s; }

/* ── Word-by-word text reveal ─────────────────────────────── */
.word-wrap { overflow: hidden; display: inline-block; }
.word {
  display: inline-block;
  transform: translateY(115%) skewY(3deg);
  opacity: 0;
  transition: transform 0.7s var(--ease-expo), opacity 0.5s ease;
}
.text-reveal-active .word { transform: translateY(0) skewY(0); opacity: 1; }

/* ── 3D Card Tilt ─────────────────────────────────────────── */
.card-hover {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.4s ease, transform 0.6s var(--ease-expo);
  position: relative;
}
.card-hover::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.12) 0%,
    transparent 50%,
    rgba(0,0,0,0.04) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: inherit;
}
.card-hover:hover::after { opacity: 1; }
.card-hover:hover {
  box-shadow: 0 24px 56px rgba(79,129,194,0.18),
              0 8px 20px rgba(65,188,218,0.1);
}

/* ── Gradient border glow on hover ───────────────────────── */
.glow-border {
  position: relative;
}
.glow-border::before {
  content: '';
  position: absolute; inset: -1.5px;
  border-radius: inherit;
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}
.glow-border:hover::before { opacity: 0.5; }

/* ── Icon box ─────────────────────────────────────────────── */
.icon-box {
  transition: background 0.38s var(--ease-expo),
              transform  0.38s var(--ease-back),
              box-shadow 0.38s ease;
}
.card-hover:hover .icon-box {
  background: var(--gradient) !important;
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 0 8px 20px rgba(79,129,194,0.3);
}
.card-hover:hover .icon-box svg { color: #fff !important; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-bg {
  background: linear-gradient(140deg,
    #091829 0%, #132a50 25%,
    #1e4080 55%, #3a6bb5 78%,
    #41bcda 100%);
  background-size: 300% 300%;
  animation: hero-gradient-shift 12s ease infinite;
}
@keyframes hero-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 72% 38%,
    rgba(65,188,218,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Floating hero shapes */
@keyframes float-a { 0%,100%{transform:translateY(0) rotate(0deg)} 40%{transform:translateY(-20px) rotate(8deg)} 70%{transform:translateY(-10px) rotate(-4deg)} }
@keyframes float-b { 0%,100%{transform:translateY(0) rotate(0deg)} 55%{transform:translateY(-28px) rotate(14deg)} }
@keyframes float-c { 0%,100%{transform:translateY(0) rotate(0deg)} 35%{transform:translateY(-14px) rotate(-8deg)} 75%{transform:translateY(-22px) rotate(6deg)} }
@keyframes float-d { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-16px) scale(1.05)} }

.float-a { animation: float-a 8s ease-in-out infinite; }
.float-b { animation: float-b 11s ease-in-out infinite; }
.float-c { animation: float-c 7s ease-in-out infinite; }
.float-d { animation: float-d 9s ease-in-out infinite; }

/* ── Hero glass cards ─────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: background 0.3s ease, transform 0.4s var(--ease-expo),
              box-shadow 0.4s ease;
}
.glass-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

/* ── Typewriter ───────────────────────────────────────────── */
.typewriter::after {
  content: '|';
  color: #41bcda;
  animation: blink 0.8s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Wave dividers ────────────────────────────────────────── */
.wave svg { display: block; }

/* ── Tag chip ─────────────────────────────────────────────── */
.tag { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.tag-blue  { background: #e8f0fa; color: #3a6bb5; }
.tag-cyan  { background: #e0f7fc; color: #1b9fc2; }
.tag-green { background: #e6f7ef; color: #1a7a44; }

/* ── Blog card ────────────────────────────────────────────── */
.blog-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; transition: transform 0.55s var(--ease-expo); }
.blog-card:hover .blog-img { transform: scale(1.07); }

/* ── Industry card ────────────────────────────────────────── */
.industry-card {
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease, border-color 0.3s;
  border: 2px solid transparent;
}
.industry-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 18px 44px rgba(65,188,218,0.22);
  border-color: var(--cyan);
}

/* ── Gradient text ────────────────────────────────────────── */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Form fields ──────────────────────────────────────────── */
.form-field {
  border: 1.5px solid #dce6f2;
  border-radius: 12px;
  background: #f8fbff;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.28s, box-shadow 0.28s, background 0.28s, transform 0.25s var(--ease-premium);
}
.form-field:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79,129,194,0.13);
  transform: translateY(-2px);
}
.form-field.error { border-color: #e05252; box-shadow: 0 0 0 4px rgba(224,82,82,0.1); }

/* ── Stats counter ────────────────────────────────────────── */
.stat-num { font-variant-numeric: tabular-nums; }

/* ── Service progress bar ─────────────────────────────────── */
.progress-fill {
  height: 6px; border-radius: 3px;
  background: var(--gradient);
  width: 0;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(79,129,194,0.3);
}

/* ── WhatsApp float ───────────────────────────────────────── */
.whatsapp-float { animation: wp-pulse 2.8s ease-out infinite; }
@keyframes wp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Back to top ──────────────────────────────────────────── */
#back-top {
  opacity: 0; pointer-events: none;
  transform: translateY(12px) scale(0.8);
  transition: all 0.45s var(--ease-expo);
}
#back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
#back-top:hover { transform: translateY(-4px) scale(1.12) !important; }

/* ── Footer ───────────────────────────────────────────────── */
.footer-bg {
  background: linear-gradient(175deg, #0f2347 0%, #081629 60%, #050e1a 100%);
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #eef5fc; }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 3px; }

/* ── Section badge ────────────────────────────────────────── */
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,129,194,0.08);
  border: 1px solid rgba(79,129,194,0.2);
  color: var(--blue);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}
.section-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
}

/* ── Underline accent ─────────────────────────────────────── */
.heading-underline {
  position: relative; display: inline-block;
}
.heading-underline::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  width: 60px; height: 4px;
  border-radius: 2px;
  background: var(--gradient);
}

/* ── Magnetic button wrapper ──────────────────────────────── */
.magnetic { display: inline-block; transition: transform 0.4s var(--ease-premium); }

/* ── Section number ───────────────────────────────────────── */
.section-number {
  font-family: 'Playfair Display', serif;
  font-size: 7rem; font-weight: 700; line-height: 1;
  color: rgba(79,129,194,0.07);
  position: absolute; top: -10px; left: -20px;
  pointer-events: none; user-select: none;
}

/* ── Process / How We Work ────────────────────────────────── */
.process-section {
  background: linear-gradient(150deg, #0f2347 0%, #1a3661 45%, #244a82 100%);
}
.process-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}
.process-glow-1 {
  width: 480px; height: 480px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(65,188,218,0.35) 0%, transparent 70%);
}
.process-glow-2 {
  width: 420px; height: 420px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(79,129,194,0.4) 0%, transparent 70%);
}
.process-line {
  position: absolute;
  top: 54px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(65,188,218,0.35) 15%, rgba(65,188,218,0.35) 85%, transparent);
  z-index: 0;
}
.process-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 2.5rem 1.75rem 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-premium),
              border-color 0.4s ease,
              background 0.4s ease,
              box-shadow 0.5s ease;
  z-index: 1;
}
.process-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(65,188,218,0.45);
  box-shadow: 0 24px 50px -12px rgba(0,0,0,0.45);
}
.process-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(65,188,218,0.9), rgba(79,129,194,0.4));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
}
.process-icon {
  position: absolute;
  top: 2.6rem; right: 1.75rem;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #41bcda;
  background: rgba(65,188,218,0.12);
  border: 1px solid rgba(65,188,218,0.25);
  transition: transform 0.5s var(--ease-back), background 0.4s ease;
}
.process-card:hover .process-icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(65,188,218,0.2);
}

/* ── Section badge (light variant on dark bg) ─────────────── */
.section-badge-light {
  background: rgba(65,188,218,0.12) !important;
  border-color: rgba(65,188,218,0.3) !important;
  color: #7fd4ec !important;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 24px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 4px 24px rgba(79,129,194,0.06);
  transition: transform 0.5s var(--ease-premium),
              box-shadow 0.5s ease,
              border-color 0.4s ease;
  overflow: hidden;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px -16px rgba(79,129,194,0.28);
  border-color: rgba(79,129,194,0.3);
}
.testimonial-card-featured {
  background: linear-gradient(150deg, #1a3661 0%, #4f81c2 100%);
  border-color: transparent;
  box-shadow: 0 20px 48px -12px rgba(79,129,194,0.4);
}
.testimonial-card-featured:hover {
  box-shadow: 0 32px 64px -14px rgba(79,129,194,0.5);
}
.testimonial-quote-mark {
  position: absolute;
  top: -10px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(79,129,194,0.08);
  pointer-events: none;
  user-select: none;
}
.testimonial-card-featured .testimonial-quote-mark { color: rgba(255,255,255,0.12); }
.testimonial-stars {
  color: #f5b945;
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, #4f81c2, #41bcda);
}
.testimonial-avatar-light {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ── Hero Professional Image ──────────────────────────────── */
.hero-img-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 4 / 4.4;
  background: linear-gradient(135deg, #1a3661, #41bcda);
}
.hero-img-main {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.hero-img-frame:hover .hero-img-main { transform: scale(1.06); }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,35,71,0.15) 0%, rgba(15,35,71,0.55) 100%);
  pointer-events: none;
}
.hero-img-fallback {
  background: linear-gradient(135deg, #1a3661 0%, #4f81c2 60%, #41bcda 100%) !important;
}
.hero-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 18px 40px -10px rgba(15,35,71,0.4);
  z-index: 3;
}
.hero-float-tl { top: 32px; left: -34px; animation: hero-float-a 5s ease-in-out infinite; }
.hero-float-br { bottom: 36px; right: -30px; animation: hero-float-b 6s ease-in-out infinite; }
@keyframes hero-float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes hero-float-b { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
.hero-float-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-float-badge {
  position: absolute;
  top: -16px; right: 26px;
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  z-index: 3;
}
.hero-float-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #41bcda;
  box-shadow: 0 0 8px 2px rgba(65,188,218,0.8);
  animation: ai-pulse 1.6s ease-in-out infinite;
}

/* ── AI Agent Flagship Banner ─────────────────────────────── */
.ai-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2347 0%, #1a3661 50%, #244a82 100%);
  border: 1px solid rgba(65,188,218,0.2);
  padding: 3rem;
  box-shadow: 0 30px 70px -20px rgba(15,35,71,0.55);
}
.ai-banner-glow {
  position: absolute;
  width: 500px; height: 500px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(65,188,218,0.35) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.ai-banner-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .ai-banner { padding: 2.25rem; }
  .ai-banner-grid { grid-template-columns: 1fr; }
  .ai-banner-visual { display: none; }
}
.ai-badge {
  display: inline-flex; align-items: center;
  gap: 0.4rem;
  background: rgba(65,188,218,0.12);
  border: 1px solid rgba(65,188,218,0.3);
  color: #7fd4ec;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
.ai-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #41bcda;
  box-shadow: 0 0 8px 2px rgba(65,188,218,0.7);
  animation: ai-pulse 1.6s ease-in-out infinite;
}
@keyframes ai-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.4; transform: scale(0.7); }
}
.ai-gradient-text {
  background: linear-gradient(90deg, #41bcda, #7fd4ec);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-feature {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem; font-weight: 500;
}
.ai-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: #1a3661;
  font-weight: 700; font-size: 0.875rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  transition: box-shadow 0.4s ease, transform 0.4s var(--ease-premium);
}
.ai-cta:hover {
  box-shadow: 0 14px 36px -8px rgba(65,188,218,0.6);
  transform: translateY(-2px);
}

/* Flagship highlight pill (Accountant AI × Odoo) */
.ai-highlight-pill {
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(65,188,218,0.3);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  max-width: 100%;
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}
.ai-highlight-pill:hover {
  border-color: rgba(65,188,218,0.6);
  background: rgba(65,188,218,0.08);
  transform: translateX(3px);
}
.ai-highlight-tag {
  flex-shrink: 0;
  font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #0c1d3d;
  background: linear-gradient(135deg, #41bcda, #7fd4ec);
  padding: 0.28rem 0.6rem;
  border-radius: 7px;
}
.ai-highlight-text { color: rgba(255,255,255,0.75); font-size: 0.82rem; line-height: 1.4; }
.ai-highlight-text strong { color: #fff; }
.odoo-inline {
  font-weight: 800; color: #c79ab8; letter-spacing: -0.02em;
}
.ai-highlight-arrow { color: #41bcda; flex-shrink: 0; margin-left: auto; }

/* AI orb visual */
.ai-banner-visual { display: flex; align-items: center; justify-content: center; }
.ai-orb {
  position: relative;
  width: 230px; height: 230px;
  display: flex; align-items: center; justify-content: center;
}
.ai-orb-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(65,188,218,0.3);
}
.ai-orb-ring-1 { inset: 0; animation: ai-spin 14s linear infinite; }
.ai-orb-ring-2 { inset: 34px; border-color: rgba(127,212,236,0.25); animation: ai-spin 9s linear infinite reverse; }
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-orb-core {
  position: relative; z-index: 2;
  width: 110px; height: 110px;
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #4f81c2, #41bcda);
  box-shadow: 0 0 40px rgba(65,188,218,0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  animation: ai-float 4s ease-in-out infinite;
}
@keyframes ai-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.ai-node {
  position: absolute; z-index: 3;
  width: 12px; height: 12px; border-radius: 50%;
  background: #41bcda;
  box-shadow: 0 0 12px 2px rgba(65,188,218,0.7);
}
.ai-node-1 { top: 6px; left: 50%; animation: ai-pulse 2s ease-in-out infinite; }
.ai-node-2 { bottom: 18px; right: 22px; animation: ai-pulse 2s ease-in-out infinite 0.5s; }
.ai-node-3 { bottom: 18px; left: 22px; animation: ai-pulse 2s ease-in-out infinite 1s; }
.ai-node-4 { top: 50%; right: 4px; width: 9px; height: 9px; animation: ai-pulse 2s ease-in-out infinite 1.5s; }

/* ── Accountant AI Agent × Odoo ───────────────────────────── */
.accountant-ai-section {
  background: linear-gradient(155deg, #0c1d3d 0%, #16305a 50%, #1f3f72 100%);
}
.acc-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none; opacity: 0.55;
}
.acc-glow-1 {
  width: 520px; height: 520px; top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(65,188,218,0.4) 0%, transparent 70%);
}
.acc-glow-2 {
  width: 480px; height: 480px; bottom: -180px; right: -120px;
  background: radial-gradient(circle, rgba(135,90,123,0.45) 0%, transparent 70%);
}

/* Integration flow */
.ai-flow {
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.ai-flow-step {
  position: relative;
  flex: 1 1 180px; max-width: 230px;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  padding: 2rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease-premium), border-color 0.4s ease, background 0.4s ease;
}
.ai-flow-step:hover {
  transform: translateY(-8px);
  border-color: rgba(65,188,218,0.4);
  background: rgba(255,255,255,0.07);
}
.ai-flow-step-core { border-color: rgba(65,188,218,0.45); background: rgba(65,188,218,0.08); }
.ai-flow-step-odoo { border-color: rgba(135,90,123,0.5); background: rgba(135,90,123,0.12); }
.ai-flow-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.1rem;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #41bcda;
  background: rgba(65,188,218,0.12);
  border: 1px solid rgba(65,188,218,0.25);
}
.ai-flow-icon-core {
  color: #fff;
  background: linear-gradient(135deg, #4f81c2, #41bcda);
  border-color: transparent;
  box-shadow: 0 0 30px rgba(65,188,218,0.5);
}
.ai-flow-icon-odoo {
  background: linear-gradient(135deg, #875A7B, #b07ca0);
  border-color: transparent;
  box-shadow: 0 0 26px rgba(135,90,123,0.5);
}
.odoo-mark {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.ai-flow-label { color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.ai-flow-sub { color: rgba(255,255,255,0.5); font-size: 0.78rem; line-height: 1.5; }
.ai-flow-pulse {
  position: absolute; inset: -1px;
  border-radius: 22px;
  border: 1px solid rgba(65,188,218,0.5);
  animation: acc-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes acc-pulse-ring {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}
/* Animated arrow between steps */
.ai-flow-arrow {
  display: flex; align-items: center; justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 0 0.35rem;
}
.ai-flow-arrow span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(65,188,218,0.7);
  animation: acc-arrow 1.5s ease-in-out infinite;
}
.ai-flow-arrow span:nth-child(2) { animation-delay: 0.2s; }
.ai-flow-arrow span:nth-child(3) { animation-delay: 0.4s; }
@keyframes acc-arrow {
  0%,100% { opacity: 0.25; transform: scale(0.8); }
  50%     { opacity: 1; transform: scale(1.15); }
}
@media (max-width: 860px) {
  .ai-flow-arrow { transform: rotate(90deg); padding: 0.3rem 0; }
  .ai-flow-step { flex-basis: 100%; max-width: 320px; }
}

/* Capability cards */
.acc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.5s var(--ease-premium), border-color 0.4s ease, background 0.4s ease, box-shadow 0.5s ease;
}
.acc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(65,188,218,0.4);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 22px 46px -14px rgba(0,0,0,0.45);
}
.acc-card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: #41bcda;
  background: rgba(65,188,218,0.12);
  border: 1px solid rgba(65,188,218,0.25);
  margin-bottom: 1.1rem;
}

/* ── Clients Marquee ──────────────────────────────────────── */
.clients-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  flex-shrink: 0;
}
.client-logo-item img {
  height: 115px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: opacity(0.85);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.client-logo-item img:hover {
  filter: opacity(1) drop-shadow(0 4px 12px rgba(79,129,194,0.25));
  transform: scale(1.08);
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Arabic / RTL ─────────────────────────────────────────── */
body.rtl-lang {
  font-family: 'Cairo', 'Inter', sans-serif;
  direction: rtl;
}
body.rtl-lang h1,
body.rtl-lang h2,
body.rtl-lang h3,
body.rtl-lang h4,
body.rtl-lang h5,
body.rtl-lang .ai-gradient-text,
body.rtl-lang .odoo-mark {
  font-family: 'Tajawal', 'Cairo', sans-serif !important;
}
/* keep brand wordmarks & emails LTR */
body.rtl-lang .odoo-inline,
body.rtl-lang .odoo-mark,
body.rtl-lang a[href^="mailto:"],
body.rtl-lang a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
/* flip the chevron arrows so they point with reading direction */
body.rtl-lang .btn-primary svg,
body.rtl-lang .ai-cta svg,
body.rtl-lang .ai-highlight-arrow,
body.rtl-lang .nav-cta-arrow {
  transform: scaleX(-1);
}
/* nav underline reads from the right */
body.rtl-lang .nav-link::after { left: auto; right: 0; }

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .hero-bg { animation: none; }
  #cursor-dot, #cursor-ring { display: none; }
  body { cursor: auto; }
}
