/* ============ Reset & Base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #102A56;
  --navy-light: #1a3d73;
  --purple: #087FF5;
  --purple-light: #4fa8ff;
  --pink: #087FF5;
  --blue: #087FF5;
  --accent: #087FF5;
  --orange: #343A40;
  --gray-text: #5b6474;
  --light-bg: #f5f7fa;
  --white: #ffffff;
  --border: #e2e6ec;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --body-bg: #ffffff;
  --body-text: #343A40;
  --card-bg: #ffffff;
}

body.dark {
  --body-bg: #0a1120;
  --body-text: #e5e7f0;
  --light-bg: #0f1830;
  --card-bg: #111b34;
  --border: #22304f;
  --gray-text: #9ca3c0;
  --white: #111b34;
  --navy: #060d1c;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--body-bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
  cursor: default;
  -webkit-tap-highlight-color: rgba(8, 127, 245, 0.15);
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--body-text); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Accessibility: visible focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--purple-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; top: -60px; left: 10px; background: var(--purple); color: #fff;
  padding: 10px 18px; border-radius: 8px; z-index: 10000; font-weight: 600; transition: top 0.3s;
}
.skip-link:focus { top: 10px; }

#preloader {
  position: fixed; inset: 0; background: #060d1c; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--white);
  background: linear-gradient(135deg, var(--purple-light), var(--accent), #ffffff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem; letter-spacing: 2px;
}
.loader-logo span { color: var(--purple); -webkit-text-fill-color: var(--purple); }

/* Prysmora Technologies brand logo */
.brand-logo-image {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.footer-logo-image {
  width: 220px;
  height: 72px;
  object-position: left center;
}
.loader-logo-image {
  width: 280px;
  max-width: 70vw;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}
.loader-bar { width: 220px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.loader-progress { width: 0%; height: 100%; background: linear-gradient(90deg, var(--navy), var(--purple), var(--accent)); animation: loading 1.6s ease forwards; }
@keyframes loading { to { width: 100%; } }

#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: linear-gradient(90deg, var(--navy), var(--purple)); z-index: 999; transition: width 0.1s; }

#cursorGlow {
  position: fixed; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8,127,245,0.15), transparent 70%);
  pointer-events: none; z-index: 5; transform: translate(-50%, -50%); transition: opacity 0.3s; display: none;
}
@media (min-width: 1024px) { #cursorGlow { display: block; } }

.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 900px; margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2); padding: 1.4rem 1.8rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  z-index: 800; transform: translateY(150%); opacity: 0; transition: transform 0.5s ease, opacity 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-content { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 260px; }
.cookie-content i { font-size: 1.6rem; color: var(--purple); flex-shrink: 0; }
.cookie-content p { font-size: 0.88rem; color: var(--gray-text); margin: 0; }
.cookie-content a { color: var(--purple); font-weight: 600; }
.cookie-actions { display: flex; gap: 0.8rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn { padding: 0.6rem 1.2rem !important; font-size: 0.85rem; }

/* Cookie Preferences Modal */
.cookie-pref-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1rem; }
.cookie-pref-item { display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; padding: 1rem; border: 1px solid var(--border); border-radius: 12px; }
.cookie-pref-item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.cookie-pref-item p { font-size: 0.82rem; color: var(--gray-text); margin: 0; }
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background-color: #ccc; border-radius: 30px; transition: 0.3s; }
.toggle-slider::before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; border-radius: 50%; transition: 0.3s; }
.toggle-switch input:checked + .toggle-slider { background: linear-gradient(135deg, var(--navy), var(--purple)); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch.disabled-toggle { opacity: 0.6; cursor: not-allowed; }

.navbar { position: sticky; top: 0; z-index: 200; background: var(--body-bg); box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: box-shadow 0.3s, background 0.4s; }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: nowrap; }
/* ===== PRYSMORA PROFESSIONAL BRAND HEADER ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 270px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 50px;
  object-fit: contain;
  display: block;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.brand-wordmark strong {
  font-family: var(--font-display);
  font-size: 1.48rem;
  letter-spacing: 2px;
  color: #102A56;
  font-weight: 700;
}
.brand-wordmark small {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 4px;
  color: #087FF5;
  font-weight: 700;
}
.footer-brand .brand-wordmark strong { color: #fff; }
.footer-brand .brand-wordmark small { color: #4fa8ff; }
.footer-brand .brand-mark-wrap { width: 52px; height: 58px; }
.footer-brand .brand-mark { width: 48px; height: 54px; }
@media (max-width: 768px) {
  .brand { min-width: 0; gap: 7px; }
  .brand-mark-wrap { width: 40px; height: 44px; }
  .brand-mark { width: 37px; height: 43px; }
  .brand-wordmark strong { font-size: 1.12rem; letter-spacing: 1.4px; }
  .brand-wordmark small { font-size: 0.53rem; letter-spacing: 2.6px; }
}
@media (max-width: 480px) {
  .brand-wordmark strong { font-size: 0.98rem; }
  .brand-wordmark small { font-size: 0.46rem; letter-spacing: 2px; }
}

.logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--body-text); display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0; }
.logo-icon { background: linear-gradient(135deg, var(--navy), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo span { background: linear-gradient(135deg, var(--navy), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; font-size: 0.88rem; margin-left: 4px; align-self: flex-end; }
.nav-links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: nowrap; white-space: nowrap; }
.nav-links a { font-weight: 500; color: var(--body-text); position: relative; transition: color 0.3s; font-size: 0.9rem; }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: linear-gradient(135deg, var(--navy), var(--purple)); transition: width 0.3s; }
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active-link { color: var(--purple); }
.nav-links a.active-link::after { width: 100%; }
.nav-cta { background: linear-gradient(135deg, var(--navy), var(--purple)); color: var(--white) !important; padding: 0.6rem 1.3rem; border-radius: 30px; font-weight: 600; }
.nav-cta::after { display: none; }
.nav-cta:hover { opacity: 0.9; color: var(--white) !important; }
#themeToggle { background: var(--light-bg); border: 1px solid var(--border); color: var(--body-text); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 0.95rem; transition: all 0.3s; flex-shrink: 0; }
#themeToggle:hover { background: linear-gradient(135deg, var(--navy), var(--purple)); color: var(--white); border-color: transparent; }
.hamburger { display: none; font-size: 1.6rem; cursor: pointer; color: var(--body-text); flex-shrink: 0; }

.hero { position: relative; min-height: 94vh; min-height: 94dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: radial-gradient(circle at 20% 20%, #16386e 0%, var(--navy) 45%, #060d1c 100%); color: var(--white); padding: 5rem 2rem 0; overflow: hidden; }
#particleCanvas { position: absolute; inset: 0; z-index: 1; }
.hero-grid { 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: 40px 40px; z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(8,127,245,0.35), transparent 60%), radial-gradient(circle at 10% 80%, rgba(16,42,86,0.45), transparent 60%); z-index: 1; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; z-index: 1; }
.blob1 { width: 400px; height: 400px; background: var(--purple); top: -100px; left: -100px; animation: float 8s ease-in-out infinite; }
.blob2 { width: 350px; height: 350px; background: var(--navy-light); bottom: -80px; right: -80px; animation: float 10s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(30px) translateX(20px); } }
.hero-content { position: relative; max-width: 880px; z-index: 2; color: #ffffff; }
.hero-tag { display: inline-block; background: rgba(8,127,245,0.18); border: 1px solid rgba(79,168,255,0.4); color: var(--purple-light); letter-spacing: 1px; font-weight: 600; font-size: 0.85rem; padding: 6px 18px; border-radius: 30px; margin-bottom: 1.4rem; }
.hero h1 { font-family: var(--font-display); font-size: 3rem; color: #ffffff; line-height: 1.25; margin-bottom: 1.2rem; min-height: 3.8rem; }
#typedText { background: linear-gradient(135deg, #ffffff, var(--purple-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.cursor-blink { color: var(--purple-light); animation: blink 0.8s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-desc { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 2.2rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem;}
.btn { display: inline-block; padding: 0.9rem 2.2rem; border-radius: 30px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; }
.btn-primary { background: linear-gradient(135deg, var(--navy), var(--purple)); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(8,127,245,0.4); }
.btn-outline { border-color: #ffffff; color: #ffffff; }
.btn-outline:hover { background: #ffffff; color: var(--navy); transform: translateY(-3px); }
.btn-white { background: #ffffff; color: var(--navy); border: none; font-family: var(--font-body); }
.btn-white:hover { background: var(--navy); color: #ffffff; transform: translateY(-3px); }
.btn-outline-dark { border-color: var(--body-text); color: var(--body-text); }
.btn-outline-dark:hover { background: var(--body-text); color: var(--body-bg); transform: translateY(-3px); }

.glass { background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); }

.stats-bar { position: relative; z-index: 2; width: 100%; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: space-around; padding: 2rem 1rem; border-radius: 20px; }
.stat { text-align: center; padding: 0.5rem 1rem; }
.stat h3 { font-size: 2.4rem; font-family: var(--font-display); background: linear-gradient(135deg, var(--purple-light), #ffffff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline; }
.stat .stat-plus { font-size: 1.2rem; color: var(--purple-light); }
.stat p { color: #cbd5e1; font-size: 0.95rem; margin-top: 4px; }

.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.alt-bg { background: var(--light-bg); max-width: 100%; transition: background 0.4s; }
.alt-bg > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-header { text-align: center; max-width: 750px; margin: 0 auto 3rem; }
.tag { background: linear-gradient(135deg, var(--navy), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 0.6rem; }
.section-header h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 1rem; }
.section-text { color: var(--gray-text); }

.mission-vision { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.8rem; }
.mv-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 2.2rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.mv-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(8,127,245,0.12); }
.mv-card i { font-size: 2rem; color: var(--purple); margin-bottom: 1rem; }
.mv-card p { color: var(--gray-text); margin-top: 0.6rem; font-size: 0.95rem; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.8rem; }
.product-card { background: var(--card-bg); border-radius: 18px; padding: 0 0 2.2rem; border: 1px solid var(--border); position: relative; transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 25px 40px rgba(8,127,245,0.15); }
.product-mockup { width: 100%; height: 170px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); background: var(--light-bg); }
.product-card > .product-icon, .product-card > h3, .product-card > p, .product-card > .product-features, .product-card > .product-link { margin-left: 2.2rem; margin-right: 2.2rem; }
.product-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: linear-gradient(135deg, var(--navy), var(--purple)); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.product-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-top: 1.4rem; margin-bottom: 1.2rem; font-size: 1.6rem; color: #ffffff; }
.icon-purple { background: linear-gradient(135deg, #102A56, #087FF5); }
.icon-blue { background: linear-gradient(135deg, #087FF5, #4fa8ff); }
.icon-pink { background: linear-gradient(135deg, #343A40, #087FF5); }
.icon-orange { background: linear-gradient(135deg, #343A40, #5b6474); }
.product-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.product-card p { color: var(--gray-text); font-size: 0.92rem; margin-bottom: 1rem; }
.product-features { margin-bottom: 1.4rem; }
.product-features li { font-size: 0.88rem; color: var(--gray-text); margin-bottom: 0.5rem; }
.product-features i { color: var(--purple); margin-right: 8px; }
.product-link { font-weight: 600; color: var(--purple); font-size: 0.9rem; background: none; border: none; cursor: pointer; padding: 0; font-family: var(--font-body); }
.product-link i { margin-left: 6px; transition: transform 0.3s; }
.product-link:hover i { transform: translateX(4px); }

.features-section { background: linear-gradient(160deg, var(--navy), #0a1c3d); border-radius: 24px; max-width: 1150px; color: #ffffff; }
.features-section .tag { -webkit-text-fill-color: var(--purple-light); background: none; }
.features-section .section-header h2 { color: #ffffff; }
.features-section .section-text { color: #cbd5e1; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.feature-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; transition: transform 0.3s, background 0.3s; }
.feature-item:hover { transform: translateY(-8px); background: rgba(255,255,255,0.09); }
.feature-icon { width: 54px; height: 54px; background: linear-gradient(135deg, var(--purple), #4fa8ff); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.3rem; color: #fff; }
.feature-item h4 { color: #fff; margin-bottom: 0.5rem; }
.feature-item p { color: #a5adc9; font-size: 0.9rem; }

.cards { display: grid; gap: 1.8rem; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service-card { background: var(--card-bg); border-radius: 14px; padding: 2.2rem; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px rgba(8,127,245,0.1); border-color: var(--purple-light); }
.icon-box { width: 56px; height: 56px; background: linear-gradient(135deg, var(--navy), var(--purple)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.icon-box i { color: #ffffff; font-size: 1.4rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--gray-text); font-size: 0.95rem; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.why-item { text-align: center; padding: 1.5rem; transition: transform 0.3s; }
.why-item:hover { transform: translateY(-6px); }
.why-item i { font-size: 1.8rem; color: #ffffff; background: linear-gradient(135deg, var(--navy), var(--purple)); width: 60px; height: 60px; line-height: 60px; border-radius: 50%; margin-bottom: 1rem; display: inline-block; }
.why-item h4 { margin-bottom: 0.5rem; }
.why-item p { color: var(--gray-text); font-size: 0.9rem; }

/* Industries - Professional Redesign */
.industries-section .section-text { max-width: 640px; margin-left: auto; margin-right: auto; }
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.8rem; }
.industry-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 2.4rem 1.8rem; text-align: center; transition: all 0.35s ease; position: relative; overflow: hidden; }
.industry-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(135deg, var(--navy), var(--purple)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.industry-item:hover::before { transform: scaleX(1); }
.industry-item:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(8,127,245,0.15); border-color: transparent; }
.industry-icon-wrap { width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 50%; background: linear-gradient(135deg, rgba(16,42,86,0.08), rgba(8,127,245,0.1)); display: flex; align-items: center; justify-content: center; transition: all 0.35s ease; }
.industry-item:hover .industry-icon-wrap { background: linear-gradient(135deg, var(--navy), var(--purple)); }
.industry-icon-wrap i { font-size: 1.7rem; color: var(--purple); transition: color 0.35s ease; }
.industry-item:hover .industry-icon-wrap i { color: #ffffff; }
.industry-item h4 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--body-text); }
.industry-item p { font-size: 0.88rem; color: var(--gray-text); line-height: 1.6; margin: 0; }

.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.timeline-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.5rem; text-align: center; transition: transform 0.3s; }
.timeline-item:hover { transform: translateY(-8px); border-color: var(--purple-light); }
.timeline-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #ffffff; background: linear-gradient(135deg, var(--navy), var(--purple)); width: 50px; height: 50px; line-height: 50px; border-radius: 50%; margin: 0 auto 1rem; }
.timeline-item p { color: var(--gray-text); font-size: 0.9rem; }

/* ===== Pricing Section ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.pricing-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; padding: 2.4rem 2rem; text-align: center; position: relative; transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(8,127,245,0.12); }
.pricing-card.featured { border: 2px solid var(--purple); transform: scale(1.03); background: linear-gradient(180deg, rgba(8,127,245,0.04), var(--card-bg) 30%); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 16px; border-radius: 20px; white-space: nowrap; }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.pricing-desc { color: var(--gray-text); font-size: 0.88rem; margin-bottom: 1.4rem; }
.price { margin-bottom: 1.6rem; }
.price-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--purple); }
.pricing-features { text-align: left; margin-bottom: 2rem; flex: 1; }
.pricing-features li { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 0.7rem; display: flex; align-items: flex-start; gap: 8px; }
.pricing-features i { color: var(--purple); margin-top: 3px; flex-shrink: 0; }
.pricing-btn { width: 100%; text-align: center; }
.pricing-footnote { text-align: center; color: var(--gray-text); font-size: 0.88rem; margin-top: 2.2rem; }
.pricing-footnote a { color: var(--purple); font-weight: 600; }

.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.portfolio-card { background: var(--card-bg); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px rgba(0,0,0,0.1); }
.portfolio-img { height: 190px; background-size: cover; background-position: center; background-color: var(--light-bg); }
.img1 { background-image: url('portfolio_banking.png'); }
.img2 { background-image: url('portfolio_healthcare.png'); }
.img3 { background-image: url('portfolio_ecommerce.png'); }
.portfolio-body { padding: 1.5rem; }
.portfolio-tag { display: inline-block; background: rgba(8,127,245,0.1); color: var(--purple); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 0.8rem; }
.portfolio-body h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.portfolio-body p { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 0.8rem; }

.case-study-box { max-width: 640px; }
.case-study-box h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 0.8rem 0 0.4rem; }
.cs-meta { color: var(--gray-text); font-size: 0.85rem; margin-bottom: 1.5rem; }
.cs-heading { color: var(--purple); font-size: 1rem; margin-top: 1.3rem; margin-bottom: 0.5rem; }
.cs-text { color: var(--gray-text); font-size: 0.95rem; line-height: 1.7; }
.cs-results { margin: 0.5rem 0 0 1.1rem; }
.cs-results li { color: var(--gray-text); font-size: 0.92rem; margin-bottom: 0.5rem; list-style: disc; }
.cs-results li strong { color: var(--body-text); }
.cs-cta { margin-top: 1.8rem; display: inline-block; }
.article-body { margin-top: 1rem; }
.article-body p { margin-bottom: 1rem; }
.article-body h4 { color: var(--body-text); font-size: 1.02rem; margin: 1.2rem 0 0.5rem; }

.blog-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.blog-card { background: var(--card-bg); border-radius: 14px; overflow: hidden; border: 1px solid var(--border); transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px rgba(0,0,0,0.1); }
.blog-img { height: 180px; background-size: cover; background-position: center; background-color: var(--light-bg); }
.blogimg1 { background-image: url('blog_ai.png'); }
.blogimg2 { background-image: url('blog_cloud.png'); }
.blogimg3 { background-image: url('blog_security.png'); }
.blog-body { padding: 1.5rem; }
.blog-category { display: inline-block; background: rgba(8,127,245,0.1); color: var(--purple); font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; line-height: 1.4; }
.blog-body p { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 1rem; }

.testimonial-section { background: var(--navy); text-align: center; max-width: 100%; color: #ffffff; }
.testimonial-section .section-header .tag { -webkit-text-fill-color: var(--purple-light); background: none; }
.testimonial-section .section-header h2 { color: #ffffff; }
.testimonial-slider { max-width: 700px; margin: 0 auto; position: relative; min-height: 150px; }
.testimonial { display: none; animation: fadeIn 0.6s ease; }
.testimonial.active { display: block; }
.testimonial p { font-size: 1.2rem; font-style: italic; color: #e2e8f0; margin-bottom: 1.2rem; }
.testimonial h4 { color: var(--purple-light); font-size: 1rem; font-weight: 600; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 2rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background 0.3s; }
.dot.active { background: var(--purple-light); }

.clients-strip { padding: 3rem 2rem; text-align: center; }
.clients-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; margin-top: 1rem; }
.clients-logos span { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #94a3b8; letter-spacing: 1px; transition: color 0.3s; }
.clients-logos span:hover { color: var(--purple); }

/* ===== FAQ Section ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: var(--purple-light); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 1.6rem; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; color: var(--body-text); }
.faq-question i { color: var(--purple); transition: transform 0.3s; flex-shrink: 0; }
.faq-question[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 1.6rem; }
.faq-answer p { color: var(--gray-text); font-size: 0.92rem; line-height: 1.7; padding-bottom: 1.3rem; }
.faq-item.open .faq-answer { max-height: 800px; }

.careers-section { background: linear-gradient(135deg, var(--navy), var(--purple)); border-radius: 20px; max-width: 1100px; text-align: center; color: #ffffff; padding: 4rem 2rem; }
.careers-content h2 { color: #ffffff; margin-bottom: 1rem; }
.careers-content p { max-width: 550px; margin: 0 auto 2rem; color: #dce7f5; }
.careers-content button { border: none; cursor: pointer; }

.modal-overlay { position: fixed; inset: 0; background: rgba(6,13,28,0.7); backdrop-filter: blur(4px); z-index: 900; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-overlay.open { display: flex; animation: fadeIn 0.3s ease; }
.modal-box { background: var(--card-bg); border-radius: 20px; max-width: 600px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 2.5rem; position: relative; animation: chatOpen 0.3s ease; border: 1px solid var(--border); }
.modal-close { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--light-bg); border: 1px solid var(--border); color: var(--body-text); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; transition: all 0.3s; }
.modal-close:hover { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; border-color: transparent; }
.modal-box h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.6rem; padding-right: 2rem; }
.modal-box #applyRoleName { background: linear-gradient(135deg, var(--navy), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.modal-subtext { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 1.8rem; }

.job-list { display: flex; flex-direction: column; gap: 1rem; }
.job-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem 1.4rem; flex-wrap: wrap; transition: border-color 0.3s; }
.job-item:hover { border-color: var(--purple-light); }
.job-info h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.job-tags { font-size: 0.8rem; color: var(--gray-text); }
.job-tags i { color: var(--purple); margin-right: 3px; }
.apply-btn { padding: 0.6rem 1.4rem !important; font-size: 0.85rem; white-space: nowrap; }

.apply-form { padding: 0; border: none; }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; max-width: 1100px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item i { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #ffffff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-item p { color: var(--gray-text); font-size: 0.9rem; }
.map-embed { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-top: 0.5rem; }

.contact-form { background: var(--card-bg); padding: 2.2rem; border-radius: 16px; display: flex; flex-direction: column; gap: 1rem; border: 1px solid var(--border); }
.form-row { display: flex; gap: 1rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.9rem; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.3s; background: var(--body-bg); color: var(--body-text); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--purple); }
.form-success { display: none; color: #16a34a; font-weight: 600; text-align: center; }
.form-success.show { display: block; }

.footer { background: var(--navy); color: #cbd5e1; padding: 4rem 2rem 0; }
.footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .logo { color: #ffffff; }
.footer .logo span { -webkit-text-fill-color: var(--purple-light); background: none; }
.footer-col p { font-size: 0.9rem; color: #94a3b8; margin-top: 0.8rem; line-height: 1.7; }
.footer-col h4 { color: #ffffff; margin-bottom: 1.2rem; font-size: 1.05rem; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: #94a3b8; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--purple-light); }
.newsletter-form { display: flex; margin-top: 1rem; }
.newsletter-form input { flex: 1; padding: 0.8rem; border: none; border-radius: 8px 0 0 8px; font-family: var(--font-body); }
.newsletter-form button { background: linear-gradient(135deg, var(--navy), var(--purple)); border: none; color: #ffffff; padding: 0 1.2rem; border-radius: 0 8px 8px 0; cursor: pointer; transition: opacity 0.3s; }
.newsletter-form button:hover { opacity: 0.85; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.5rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: #94a3b8; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #94a3b8; transition: color 0.3s; }
.footer-legal a:hover { color: var(--purple-light); }

#backToTop { position: fixed; bottom: 30px; right: 100px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--purple)); color: #ffffff; border: none; cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 8px 20px rgba(8,127,245,0.4); transition: transform 0.3s; z-index: 300; }
#backToTop:hover { transform: translateY(-4px); }
#backToTop.show { display: flex; }

:where(.js) [data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
:where(.js) [data-aos].aos-visible { opacity: 1; transform: translateY(0); }

#chatWidget { position: fixed; bottom: 25px; right: 25px; z-index: 400; font-family: var(--font-body); }
.chat-toggle-btn { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; border: none; font-size: 1.5rem; cursor: pointer; box-shadow: 0 10px 25px rgba(8,127,245,0.5); position: relative; transition: transform 0.3s; }
.chat-toggle-btn:hover { transform: scale(1.08); }
.chat-ping { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; background: #22c55e; border-radius: 50%; border: 2px solid #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.chat-window { position: absolute; bottom: 80px; right: 0; width: 340px; max-height: 480px; background: var(--card-bg); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--border); animation: chatOpen 0.3s ease; }
.chat-window.open { display: flex; }
@keyframes chatOpen { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.chat-header { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 38px; height: 38px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.chat-header-info h4 { color: #fff; font-size: 0.95rem; margin: 0; }
.chat-status { font-size: 0.75rem; color: #cfe4ff; display: flex; align-items: center; gap: 5px; }
.dot-online { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; display: inline-block; }
#closeChat { background: none; border: none; color: #fff; font-size: 1rem; cursor: pointer; }
.chat-body { flex: 1; padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; max-height: 260px; background: var(--light-bg); }
.chat-msg { padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; max-width: 85%; line-height: 1.5; }
.chat-msg.bot { background: var(--card-bg); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--body-text); }
.chat-msg.user { background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0.6rem 1rem; background: var(--light-bg); }
.quick-btn { background: var(--card-bg); border: 1px solid var(--border); color: var(--purple); font-size: 0.78rem; padding: 6px 12px; border-radius: 20px; cursor: pointer; transition: all 0.2s; }
.quick-btn:hover { background: var(--purple); color: #fff; }
.chat-input-row { display: flex; padding: 0.8rem; border-top: 1px solid var(--border); background: var(--card-bg); }
.chat-input-row input { flex: 1; border: 1px solid var(--border); border-radius: 20px; padding: 8px 14px; font-size: 0.85rem; outline: none; background: var(--body-bg); color: var(--body-text); }
.chat-input-row button { background: linear-gradient(135deg, var(--navy), var(--purple)); border: none; color: #fff; width: 36px; height: 36px; border-radius: 50%; margin-left: 8px; cursor: pointer; }

.legal-page { max-width: 850px; padding-top: 4rem; padding-bottom: 4rem; }
.legal-page h1 { font-family: var(--font-display); font-size: 2.4rem; margin-bottom: 0.5rem; }
.legal-updated { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.8rem; color: var(--purple); }
.legal-page p { color: var(--gray-text); margin-bottom: 1rem; line-height: 1.8; }
.legal-page a { color: var(--purple); font-weight: 600; }
.legal-list { margin: 0 0 1rem 1.2rem; }
.legal-list li { color: var(--gray-text); margin-bottom: 0.6rem; line-height: 1.7; list-style: disc; }

/* ============================================================
   SOCIAL ICONS (LinkedIn / Instagram / X / Facebook) - Footer
   ============================================================ */
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icons a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 16px; transition: all 0.3s ease; text-decoration: none; }
.social-icons a:hover { background: linear-gradient(135deg, #4fa8ff, #087ff5); transform: translateY(-3px); color: #fff; }
body.dark .social-icons a { background: rgba(255, 255, 255, 0.06); }

/* ============================================================
   FULL RESPONSIVE SYSTEM — Mobile / Tablet / Laptop / Desktop
   ============================================================ */

@media (max-width: 1150px) {
  .nav-links { position: fixed; top: 0; right: -100%; width: 260px; height: 100vh; height: 100dvh; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 5rem 2rem; gap: 1.5rem; transition: right 0.4s ease; z-index: 500; white-space: normal; overflow-y: auto; }
  .nav-links.active { right: 0; }
  .nav-links a { color: #ffffff; font-size: 1rem; }
  .nav-cta { margin-top: 1rem; }
  .hamburger { display: block; z-index: 600; }
  .hero h1 { font-size: 2.7rem; }
}

@media (max-width: 1024px) {
  .section { padding: 4rem 1.8rem; }
  .hero { padding: 4rem 1.5rem 0; min-height: auto; }
  .hero h1 { font-size: 2.4rem; min-height: auto; }
  .hero-desc { font-size: 1.05rem; }
  .stats-bar { gap: 1rem; padding: 1.5rem 1rem; }
  .stat h3 { font-size: 2rem; }
  .features-section, .careers-section { border-radius: 18px; }
  .modal-box { padding: 2rem; }
  .pricing-card.featured { transform: scale(1); }
}

@media (max-width: 900px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mission-vision, .products-grid, .features-grid, .services-grid, .why-grid,
  .industries-grid, .timeline, .portfolio-grid, .blog-grid, .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  }
  .section-header h2 { font-size: 1.9rem; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0.9rem 1.2rem; }
  .brand-logo-image { width: 165px; height: 50px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-tag { font-size: 0.78rem; padding: 5px 14px; }
  .hero-desc { font-size: 1rem; }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); display: grid; }
  .stat { padding: 0.8rem 0.5rem; }
  .section-header h2 { font-size: 1.7rem; }
  .form-row { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.8rem; }
  .chat-window { width: 90vw; right: -10px; max-height: 70vh; }
  #backToTop { right: 20px; bottom: 95px; width: 42px; height: 42px; }
  .legal-page { padding-left: 1.5rem; padding-right: 1.5rem; }
  .job-item { flex-direction: column; align-items: flex-start; }
  .apply-btn { width: 100%; }
  .cookie-banner { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; padding: 1.2rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
  .modal-box { padding: 1.8rem 1.4rem; max-height: 90vh; }
  .contact-form { padding: 1.6rem; }
  .clients-logos { gap: 1.8rem; }
  .clients-logos span { font-size: 1.05rem; }
  .pricing-card.featured { transform: none; }
  .cookie-pref-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0.8rem 1rem; gap: 0.7rem; }
  .brand-logo-image { width: 145px; height: 46px; }
  #themeToggle { width: 34px; height: 34px; font-size: 0.85rem; }
  .hero { padding: 3.2rem 1rem 0; }
  .hero-tag { font-size: 0.7rem; padding: 5px 12px; margin-bottom: 1rem; }
  .hero h1 { font-size: 1.65rem; line-height: 1.3; }
  .hero-desc { font-size: 0.92rem; margin-bottom: 1.6rem; }
  .btn { padding: 0.75rem 1.6rem; font-size: 0.9rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; padding: 1.2rem 0.6rem; border-radius: 14px; }
  .stat h3 { font-size: 1.6rem; }
  .stat p { font-size: 0.8rem; }
  .section { padding: 3rem 1.2rem; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.4rem; }
  .tag { font-size: 0.75rem; }
  .mv-card, .service-card, .industry-item, .timeline-item, .pricing-card { padding: 1.6rem 1.3rem; }
  .product-card > .product-icon, .product-card > h3, .product-card > p, .product-card > .product-features, .product-card > .product-link { margin-left: 1.4rem; margin-right: 1.4rem; }
  .why-item i { width: 50px; height: 50px; line-height: 50px; font-size: 1.4rem; }
  .careers-section { padding: 2.6rem 1.4rem; }
  .careers-content h2 { font-size: 1.5rem; }
  .modal-box { padding: 1.5rem 1.1rem; border-radius: 16px; }
  .modal-box h2 { font-size: 1.3rem; }
  .job-tags { font-size: 0.75rem; display: block; margin-top: 0.3rem; }
  .contact-form { padding: 1.3rem; }
  .info-item i { width: 38px; height: 38px; font-size: 0.9rem; }
  .footer { padding: 3rem 1.2rem 0; }
  .footer-col h4 { font-size: 0.98rem; margin-bottom: 0.9rem; }
  .newsletter-form input { font-size: 0.85rem; padding: 0.7rem; }
  #chatWidget { bottom: 16px; right: 16px; }
  .chat-toggle-btn { width: 54px; height: 54px; font-size: 1.3rem; }
  .chat-window { width: 92vw; bottom: 70px; right: -6px; }
  .chat-body { max-height: 42vh; }
  #backToTop { right: 16px; bottom: 82px; width: 40px; height: 40px; font-size: 0.95rem; }
  .social-icons a { width: 36px; height: 36px; font-size: 14px; }
  .clients-logos { gap: 1.2rem; }
  .clients-logos span { font-size: 0.9rem; }
  .faq-question { padding: 1.1rem 1.2rem; font-size: 0.9rem; }
  .faq-answer { padding: 0 1.2rem; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 1.45rem; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 1.25rem; }
  .btn { width: 100%; text-align: center; }
}

.brand-mark-svg { width: 100%; height: 100%; display: block; }

/* Professional Prysmora inline logo - no external image dependency */
.brand-mark-wrap { background: transparent; overflow: visible; display: flex; align-items: center; justify-content: center; }
.brand-mark-svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   PRYSMORA TECHNOLOGIES — REAL LOGO OVERRIDES
   Uses the uploaded PRYSMORA logo image.
   ============================================================ */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.brand-logo-image {
  width: 205px;
  height: 78px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  line-height: 0;
}

.footer-logo-image {
  width: 230px;
  height: 145px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px;
}

@media (max-width: 768px) {
  .brand-logo-image {
    width: 170px;
    height: 66px;
  }

  .footer-logo-image {
    width: 205px;
    height: 130px;
  }
}

@media (max-width: 480px) {
  .brand-logo-image {
    width: 145px;
    height: 58px;
  }
}

/* ============================================================
   EXTRA ANIMATIONS
   ============================================================ */

/* Hero entrance */
:where(.js) .hero-content > * { opacity: 0; }
body.page-loaded .hero-content > * { animation: heroIn 0.9s cubic-bezier(.2,.7,.2,1) both; }
body.page-loaded .hero-content > *:nth-child(1) { animation-delay: 0.1s; }
body.page-loaded .hero-content > *:nth-child(2) { animation-delay: 0.3s; }
body.page-loaded .hero-content > *:nth-child(3) { animation-delay: 0.5s; }
body.page-loaded .hero-content > *:nth-child(4) { animation-delay: 0.7s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* Shimmer on typing text */
#typedText { background-size: 200% auto; animation: shimmer 5s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }

/* Different reveal styles */
:where(.js) [data-aos="zoom"]  { transform: scale(0.92); }
:where(.js) [data-aos="left"]  { transform: translateX(-50px); }
:where(.js) [data-aos="right"] { transform: translateX(50px); }

/* Heading underline */
.section-header h2::after {
  content: ''; display: block; width: 0; height: 3px; margin: 0.8rem auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--purple));
  transition: width 0.8s ease 0.3s;
}
.section-header.aos-visible h2::after { width: 70px; }
.features-section .section-header h2::after,
.testimonial-section .section-header h2::after { background: var(--purple-light); }

/* Button shine */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn:hover::before { animation: shine 0.8s ease; }
@keyframes shine { to { left: 125%; } }

/* Image zoom on hover */
.portfolio-img, .blog-img { transition: transform 0.6s ease; }
.portfolio-card:hover .portfolio-img,
.blog-card:hover .blog-img { transform: scale(1.06); }

/* Icon bounce */
.feature-icon, .why-item i, .mv-card i, .timeline-num {
  transition: transform 0.4s cubic-bezier(.3,1.6,.5,1);
}
.feature-item:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }
.why-item:hover i, .mv-card:hover i { transform: translateY(-4px) scale(1.12); }
.timeline-item:hover .timeline-num { transform: scale(1.15); }

/* Client logos marquee */
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-logos.marquee {
  flex-wrap: nowrap; width: max-content; gap: 0; justify-content: flex-start;
  animation: marquee 40s linear infinite;
}
.clients-logos.marquee span { padding: 0 2rem; white-space: nowrap; }
.clients-logos.marquee:hover { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PRODUCTS / SERVICES / INDUSTRIES — NEW DESIGN
   ============================================================ */

/* ---------- Shared card look ---------- */
.prod-card, .svc-card, .ind-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: opacity 0.7s ease, transform 0.5s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.prod-card:hover, .svc-card:hover, .ind-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(16, 42, 86, 0.12);
}

/* ---------- Products: filter tabs ---------- */
.prod-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin: -1rem auto 2.5rem;
}
.prod-filter {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  padding: 0.6rem 1.3rem; border-radius: 30px; cursor: pointer;
  border: 1px solid var(--border); background: var(--card-bg); color: var(--body-text);
  transition: all 0.3s ease;
}
.prod-filter:hover { border-color: var(--purple); color: var(--purple); }
.prod-filter.active {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px rgba(8, 127, 245, 0.25);
}

/* ---------- Products: cards ---------- */
.prod-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.prod-card { display: flex; flex-direction: column; padding: 1.8rem 1.6rem; flex: 0 1 calc(25% - 1.125rem); }
.prod-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--purple), var(--purple-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.prod-card:hover { border-color: transparent; }
.prod-card:hover::before { transform: scaleX(1); }
.prod-card.is-hidden { display: none; }
.prod-card.prod-pop { animation: prodPop 0.45s ease backwards; }
@keyframes prodPop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.prod-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.prod-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  box-shadow: 0 10px 20px rgba(8, 127, 245, 0.25);
  transition: transform 0.4s cubic-bezier(.3, 1.6, .5, 1);
}
.prod-card:hover .prod-icon { transform: rotate(-6deg) scale(1.08); }
.prod-cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--purple); background: rgba(8, 127, 245, 0.1);
  padding: 5px 11px; border-radius: 20px; white-space: nowrap;
}
.prod-brand {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 3px; color: var(--gray-text); margin-bottom: 0.1rem;
}
.prod-card h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 0.6rem; }
.prod-desc { color: var(--gray-text); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.2rem; }
.prod-features { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.6rem; }
.prod-features li {
  font-size: 0.74rem; font-weight: 500; color: var(--body-text);
  background: var(--light-bg); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 8px;
}
.prod-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--purple);
}
.prod-link i { transition: transform 0.3s; }
.prod-link:hover i { transform: translateX(5px); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.svc-card { padding: 2rem 1.7rem; }
.svc-card:hover { border-color: var(--purple-light); }
.svc-num {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.2px var(--border);
  transition: -webkit-text-stroke-color 0.35s ease;
}
.svc-card:hover .svc-num { -webkit-text-stroke-color: var(--purple-light); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--purple); background: rgba(8, 127, 245, 0.1);
  margin-bottom: 1.3rem; transition: all 0.35s ease;
}
.svc-card:hover .svc-icon {
  background: linear-gradient(135deg, var(--navy), var(--purple));
  color: #fff; transform: scale(1.06);
}
.svc-card h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 0.6rem; }
.svc-card p { color: var(--gray-text); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
.svc-points li {
  position: relative; padding-left: 1.3rem; margin-bottom: 0.4rem;
  font-size: 0.84rem; color: var(--body-text);
}
.svc-points li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--purple);
}

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.ind-card { padding: 2rem 1.7rem; }
.ind-card::after {
  content: ''; position: absolute; right: -40px; bottom: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 127, 245, 0.14), transparent 70%);
  transition: transform 0.5s ease; pointer-events: none;
}
.ind-card:hover { border-color: transparent; }
.ind-card:hover::after { transform: scale(2.4); }
.ind-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff; margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  transition: transform 0.4s cubic-bezier(.3, 1.6, .5, 1);
}
.ind-card:hover .ind-icon { transform: scale(1.1); }
.ind-card h4 { font-size: 1.02rem; line-height: 1.35; margin-bottom: 0.5rem; }
.ind-card p { position: relative; z-index: 1; color: var(--gray-text); font-size: 0.87rem; line-height: 1.6; }

/* ---------- Call-to-action cards ---------- */
.svc-cta, .ind-cta {
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(145deg, #102A56, #087FF5);
  border-color: transparent;
}
.svc-cta:hover, .ind-cta:hover { border-color: transparent; }
.ind-cta::after { display: none; }
.svc-cta h3, .ind-cta h4 { color: #fff; font-family: var(--font-display); font-size: 1.35rem; }
.svc-cta p, .ind-cta p { color: #dce7f5; margin-bottom: 1.3rem; }
.cta-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: #fff; color: #102A56; font-weight: 600; font-size: 0.86rem;
  padding: 0.7rem 1.3rem; border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-link:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.cta-link i { transition: transform 0.3s; }
.cta-link:hover i { transform: translateX(4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card { flex-basis: calc(50% - 0.75rem); }
}
@media (max-width: 600px) {
  .svc-grid, .ind-grid { grid-template-columns: 1fr; }
  .prod-card { flex-basis: 100%; }
  .prod-filters { gap: 0.4rem; margin-top: -0.5rem; }
  .prod-filter { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .prod-card, .svc-card, .ind-card { padding: 1.6rem 1.4rem; }
}

/* ============================================================
   RESPECT "REDUCE MOTION" SETTING (keep this at the very end)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
  :where(.js) .hero-content > * { opacity: 1; }
  :where(.js) [data-aos] { opacity: 1; transform: none; }
}

/* ============================================================
   HEADER + LOGO (final version — light & dark mode)
   ============================================================ */
.nav-inner { max-width: 1240px; padding: 0.85rem 2rem; gap: 1.6rem; }
.navbar nav { margin-left: auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; line-height: 1; flex-shrink: 0; }
.brand-mark-img { width: auto; height: 46px; display: block; }
.brand-mark-dark { display: none; }
body.dark .brand-mark-light { display: none; }
body.dark .brand-mark-dark { display: block; }

.brand-text { display: flex; flex-direction: column; gap: 6px; }
.brand-text strong {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: 3px; line-height: 1; color: #102A56; transition: color 0.4s;
}
.brand-text small {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-size: 0.58rem; font-weight: 600;
  letter-spacing: 3px; line-height: 1; color: #087FF5;
}
.brand-text small::before, .brand-text small::after {
  content: ''; flex: 1; min-width: 8px; height: 1px; background: currentColor; opacity: 0.6;
}
body.dark .brand-text strong { color: #ffffff; }
body.dark .brand-text small { color: #4fa8ff; }

/* Button text always white (was invisible in dark mode) */
.btn-primary, .nav-cta, .nav-cta:hover { color: #ffffff !important; }

/* Footer logo: white version on navy, no white box */
.footer-logo-image {
  width: 200px; height: auto; background: none; padding: 0; border-radius: 0;
}

/* Section links stop below the sticky header */
section[id] { scroll-margin-top: 80px; }

@media (max-width: 768px) {
  .nav-inner { padding: 0.75rem 1.2rem; }
  .brand-mark-img { height: 40px; }
  .brand-text strong { font-size: 1.15rem; letter-spacing: 2.4px; }
  .brand-text small { font-size: 0.5rem; letter-spacing: 2.4px; }
  .footer-logo-image { width: 180px; }
}
@media (max-width: 400px) {
  .brand { gap: 9px; }
  .brand-mark-img { height: 34px; }
  .brand-text strong { font-size: 1rem; letter-spacing: 2px; }
  .brand-text small { font-size: 0.45rem; letter-spacing: 2px; }
}

/* ============================================================
   HEADER LAYOUT (final): logo left | menu centre | actions right
   ============================================================ */
.navbar { border-bottom: 1px solid var(--border); box-shadow: none; }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(16, 42, 86, 0.08); }

.nav-inner {
  max-width: 1280px; height: 76px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
}
.brand { justify-self: start; }
.main-nav { margin: 0; justify-self: center; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 0.75rem; }

/* Menu links */
.nav-links { gap: 2rem; }
.nav-links a { font-size: 0.92rem; font-weight: 500; padding: 0.4rem 0; }
.nav-links a::after { bottom: -2px; border-radius: 2px; }
.menu-cta { display: none; }

/* Theme button + Get Started: same height, lined up */
#themeToggle {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border);
}
.header-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 1.3rem;
  border-radius: 30px; font-size: 0.9rem; font-weight: 600; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, #102A56, #087FF5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.header-cta i { font-size: 0.8rem; transition: transform 0.3s; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(8, 127, 245, 0.35); color: #fff; }
.header-cta:hover i { transform: translateX(3px); }
.hamburger {
  width: 40px; height: 40px; display: none; align-items: center; justify-content: center;
  font-size: 1.3rem; border-radius: 10px;
}

/* Laptop: slightly tighter menu */
@media (max-width: 1280px) {
  .nav-links { gap: 1.4rem; }
  .nav-links a { font-size: 0.88rem; }
}

/* Tablet & mobile: slide-in menu */
@media (max-width: 1150px) {
  .nav-inner { grid-template-columns: 1fr auto; height: 70px; padding: 0 1.5rem; }
  .main-nav { position: absolute; }
  .nav-links { gap: 1.4rem; padding: 6rem 2rem 2rem; }
  .nav-links a { font-size: 1rem; padding: 0.2rem 0; }
  .hamburger { display: inline-flex; }
}

@media (max-width: 600px) {
  .nav-inner { padding: 0 1rem; height: 64px; gap: 0.8rem; }
  .header-cta { display: none; }
  .menu-cta { display: block; margin-top: 0.5rem; }
  .header-actions { gap: 0.4rem; }
  #themeToggle { width: 36px; height: 36px; }
}

/* Mobile menu: keep the menu button above the open menu */
@media (max-width: 1150px) {
  .hamburger { position: relative; z-index: 600; }
  .nav-links.active ~ * , .navbar:has(.nav-links.active) .hamburger { color: #ffffff; }
  .menu-cta .nav-cta { display: inline-block; padding: 0.7rem 1.6rem; }
}

/* ============================================================
   EXTRA ANIMATIONS — FULL WEBSITE
   ============================================================ */

/* 1. Header slides down on load + hides on scroll down */
.navbar {
  animation: navDown 0.8s cubic-bezier(.2,.7,.2,1) 0.9s backwards;
  transition: transform 0.35s ease, box-shadow 0.3s, background 0.4s;
}
.navbar.nav-hidden { transform: translateY(-100%); }
@keyframes navDown { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Logo icon turns slightly on hover */
.brand-mark-img { transition: transform 0.5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .brand-mark-img { transform: rotate(-10deg) scale(1.06); }

/* 2. Hero parallax (moves with mouse) */
.hero-blob, .hero-grid { transition: translate 0.4s ease-out; }
.blob1 { translate: calc(var(--mx, 0) * 60px) calc(var(--my, 0) * 60px); }
.blob2 { translate: calc(var(--mx, 0) * -50px) calc(var(--my, 0) * -50px); }
.hero-grid { translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 14px); }

/* Scroll-down mouse icon */
.hero-buttons { margin-bottom: 2rem; }
.scroll-cue {
  display: block; width: 24px; height: 38px; margin: 0 auto 2.2rem;
  border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 14px; position: relative;
}
.scroll-cue span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #4fa8ff; animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}
body.page-loaded .hero-content > *:nth-child(5) { animation-delay: 0.9s; }

/* 3. Numbers glow when they finish counting */
.stat.counted h3 { animation: countGlow 1.4s ease; }
@keyframes countGlow {
  0% { filter: drop-shadow(0 0 0 rgba(79, 168, 255, 0)); }
  35% { filter: drop-shadow(0 0 14px rgba(79, 168, 255, 0.95)); }
  100% { filter: drop-shadow(0 0 0 rgba(79, 168, 255, 0)); }
}

/* 4. Section headings: words appear one by one */
.section-header h2 .w {
  display: inline-block; opacity: 0; transform: translateY(0.6em);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i) * 70ms + 0.1s);
}
.section-header.aos-visible h2 .w { opacity: 1; transform: none; }

/* 5. Spotlight glow inside cards */
.spot:not(.svc-cta):not(.ind-cta):hover {
  background-image: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(8, 127, 245, 0.09), transparent 45%);
}
.feature-item.spot:hover {
  background-image: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(79, 168, 255, 0.16), transparent 45%);
}
.why-item.spot { border-radius: 16px; }

/* 6. Product feature tags pop in one by one */
.prod-card.aos-visible .prod-features li { animation: tagPop 0.45s cubic-bezier(.3,1.5,.5,1) backwards; }
.prod-card.aos-visible .prod-features li:nth-child(1) { animation-delay: 0.45s; }
.prod-card.aos-visible .prod-features li:nth-child(2) { animation-delay: 0.52s; }
.prod-card.aos-visible .prod-features li:nth-child(3) { animation-delay: 0.59s; }
.prod-card.aos-visible .prod-features li:nth-child(4) { animation-delay: 0.66s; }
.prod-card.aos-visible .prod-features li:nth-child(5) { animation-delay: 0.73s; }
.prod-card.aos-visible .prod-features li:nth-child(6) { animation-delay: 0.80s; }
.prod-card.aos-visible .prod-features li:nth-child(7) { animation-delay: 0.87s; }
@keyframes tagPop { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: none; } }

/* Services: bullet points slide in */
:where(.js) .svc-card .svc-points li { opacity: 0; transform: translateX(-10px); transition: opacity 0.5s ease, transform 0.5s ease; }
:where(.js) .svc-card.aos-visible .svc-points li { opacity: 1; transform: none; }
.svc-card.aos-visible .svc-points li:nth-child(1) { transition-delay: 0.45s; }
.svc-card.aos-visible .svc-points li:nth-child(2) { transition-delay: 0.55s; }
.svc-card.aos-visible .svc-points li:nth-child(3) { transition-delay: 0.65s; }

/* 7. Process: connecting line draws across the steps */
.timeline { position: relative; }
@media (min-width: 1100px) {
  .timeline::before {
    content: ''; position: absolute; left: 8%; right: 8%; top: calc(2rem + 25px); height: 2px; z-index: 0;
    background: linear-gradient(90deg, var(--navy), var(--purple), var(--purple-light));
    transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.6,.1,.2,1) 0.3s;
  }
  .timeline.drawn::before { transform: scaleX(1); }
  .timeline-item { position: relative; z-index: 1; }
}
.timeline-item.aos-visible .timeline-num { animation: numPop 0.8s cubic-bezier(.3,1.6,.5,1) backwards; }
.timeline-item:nth-child(1).aos-visible .timeline-num { animation-delay: 0.3s; }
.timeline-item:nth-child(2).aos-visible .timeline-num { animation-delay: 0.6s; }
.timeline-item:nth-child(3).aos-visible .timeline-num { animation-delay: 0.9s; }
.timeline-item:nth-child(4).aos-visible .timeline-num { animation-delay: 1.2s; }
.timeline-item:nth-child(5).aos-visible .timeline-num { animation-delay: 1.5s; }
@keyframes numPop {
  from { transform: scale(0.3); box-shadow: 0 0 0 0 rgba(8, 127, 245, 0.6); }
  60% { box-shadow: 0 0 0 14px rgba(8, 127, 245, 0); }
  to { transform: none; }
}

/* 8. Magnetic buttons: smooth follow */
.hero-buttons .btn, .header-cta, .careers-content .btn { transition: all 0.3s, translate 0.25s ease-out; }

/* 9. Ripple on click */
.header-cta, .prod-filter, .cta-link, .nav-cta { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255, 255, 255, 0.45); transform: scale(0);
  animation: ripple 0.65s ease-out forwards;
}
.prod-filter .ripple { background: rgba(8, 127, 245, 0.25); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* 10. Back-to-top progress ring */
#backToTop { overflow: visible; }
#backToTop .progress-ring {
  position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px);
  transform: rotate(-90deg); pointer-events: none;
}
#backToTop .progress-ring circle {
  fill: none; stroke: #4fa8ff; stroke-width: 2.5; stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
}

/* 11. Smooth circle reveal when switching light / dark mode */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Phones: hide scroll icon */
@media (max-width: 768px) {
  .scroll-cue { display: none; }
  .hero-buttons { margin-bottom: 3rem; }
}

/* Reduce-motion: show everything without movement */
@media (prefers-reduced-motion: reduce) {
  .section-header h2 .w, :where(.js) .svc-card .svc-points li { opacity: 1; transform: none; }
  .navbar { animation: none; }
}

/* Fix: clean gradient edge on primary buttons */
.btn-primary { background-origin: border-box; }

/* ============================================================
   HERO BACKGROUND VIDEO
   ============================================================ */
.hero { background-color: #060d1c; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; pointer-events: none;
}
.hero-grid { display: none; }              /* the video already has a grid */
#particleCanvas { opacity: 0.55; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(6, 13, 28, 0.55) 0%, rgba(6, 13, 28, 0.2) 45%, rgba(6, 13, 28, 0.65) 100%),
    radial-gradient(circle at 80% 20%, rgba(8, 127, 245, 0.25), transparent 60%);
}
.hero-blob { opacity: 0.3; }

/* ============================================================
   HERO NUMBERS — connected network style (matches the video)
   ============================================================ */
.stats-bar.stats-network {
  max-width: 920px; padding: 0 1rem 3.2rem; margin-top: 0.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: none; border: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  position: relative;
}
/* Connecting line + moving data pulse */
.stats-network::before {
  content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 32px; height: 2px;
  background: linear-gradient(90deg, rgba(79,168,255,0.15), rgba(79,168,255,0.6), rgba(79,168,255,0.15));
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.6,.1,.2,1) 0.4s;
}
.stats-network.aos-visible::before { transform: scaleX(1); }
.stats-network::after {
  content: ''; position: absolute; top: 29px; left: 12.5%; width: 8px; height: 8px; border-radius: 50%;
  background: #cfe6ff; box-shadow: 0 0 12px 4px rgba(79,168,255,0.8);
  opacity: 0; animation: dataPulse 3.2s ease-in-out 2s infinite;
}
@keyframes dataPulse {
  0% { left: 12.5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(87.5% - 8px); opacity: 0; }
}

.stats-network .stat { padding: 0; text-align: center; position: relative; z-index: 1; }

/* Glowing node (circle with icon) */
.stat-node {
  position: relative; width: 64px; height: 64px; margin: 0 auto 0.9rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 30, 64, 0.92); border: 2px solid #4fa8ff; color: #d6e8ff; font-size: 1.35rem;
  box-shadow: 0 0 22px rgba(79, 168, 255, 0.45), inset 0 0 12px rgba(79, 168, 255, 0.25);
  transition: transform 0.4s cubic-bezier(.3,1.6,.5,1), box-shadow 0.4s ease;
}
.stat-ring {
  position: absolute; inset: -9px; border-radius: 50%; border: 1px solid rgba(79, 168, 255, 0.5);
  animation: ringBeat 2.6s ease-in-out infinite;
}
.stat:nth-child(2) .stat-ring { animation-delay: 0.6s; }
.stat:nth-child(3) .stat-ring { animation-delay: 1.2s; }
.stat:nth-child(4) .stat-ring { animation-delay: 1.8s; }
@keyframes ringBeat {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.12); opacity: 0.9; }
}
.stat:hover .stat-node { transform: scale(1.1); box-shadow: 0 0 34px rgba(79, 168, 255, 0.75), inset 0 0 14px rgba(79, 168, 255, 0.35); }

/* Nodes pop in one by one */
.stats-network.aos-visible .stat-node { animation: nodeIn 0.7s cubic-bezier(.3,1.6,.5,1) backwards; }
.stats-network.aos-visible .stat:nth-child(1) .stat-node { animation-delay: 0.2s; }
.stats-network.aos-visible .stat:nth-child(2) .stat-node { animation-delay: 0.5s; }
.stats-network.aos-visible .stat:nth-child(3) .stat-node { animation-delay: 0.8s; }
.stats-network.aos-visible .stat:nth-child(4) .stat-node { animation-delay: 1.1s; }
@keyframes nodeIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Numbers + labels */
.stat-num { display: flex; align-items: flex-start; justify-content: center; line-height: 1; }
.stat-num .counter {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #4fa8ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-num .stat-plus { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #4fa8ff; margin-left: 2px; }
.stats-network .stat p {
  margin-top: 0.45rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: #a9c8ee;
}
.stat.counted .stat-num { animation: countGlow 1.4s ease; }

@media (max-width: 768px) {
  .stats-bar.stats-network { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; padding-bottom: 2.5rem; }
  .stats-network::before, .stats-network::after { display: none; }
  .stat-node { width: 54px; height: 54px; font-size: 1.1rem; }
  .stat-num .counter { font-size: 2rem; }
  .stats-network .stat p { font-size: 0.68rem; letter-spacing: 1px; }
}

/* ============================================================
   HEADER — compact pill menu (desktop)
   ============================================================ */
@media (min-width: 1151px) {
  .nav-inner { max-width: 1200px; height: 72px; }
  .main-nav .nav-links {
    gap: 2px; padding: 5px;
    background: var(--light-bg); border: 1px solid var(--border); border-radius: 40px;
  }
  .main-nav .nav-links a {
    display: block; padding: 0.5rem 1.05rem; border-radius: 30px;
    font-size: 0.9rem; font-weight: 500; color: var(--body-text);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  }
  .main-nav .nav-links a::after { display: none; }
  .main-nav .nav-links a:hover { background: var(--card-bg); color: var(--purple); }
  .main-nav .nav-links a.active-link {
    background: var(--card-bg); color: var(--purple); font-weight: 600;
    box-shadow: 0 2px 10px rgba(16, 42, 86, 0.1);
  }
  body.dark .main-nav .nav-links a.active-link,
  body.dark .main-nav .nav-links a:hover { background: #1a2a4d; color: #4fa8ff; }
  .header-actions { gap: 0.6rem; }
}
@media (min-width: 1151px) and (max-width: 1280px) {
  .main-nav .nav-links a { padding: 0.5rem 0.8rem; font-size: 0.86rem; }
}

/* Header: tighter spacing between logo, menu and buttons */
@media (min-width: 1151px) {
  .nav-inner {
    display: flex; justify-content: center; align-items: center;
    gap: 2.75rem; max-width: 1200px;
  }
  .brand, .main-nav, .header-actions { justify-self: auto; }
  .navbar .main-nav { margin: 0; }
}
@media (min-width: 1151px) and (max-width: 1280px) {
  .nav-inner { gap: 1.75rem; }
}

/* ============================================================
   BLOG — cards + article reader
   ============================================================ */
.blog-card { display: flex; flex-direction: column; }
.blog-body { display: flex; flex-direction: column; flex: 1; }
.blog-body .article-btn { margin-top: auto; align-self: flex-start; }
.blog-top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.8rem; }
.blog-top .blog-category { margin-bottom: 0; }
.blog-read { font-size: 0.78rem; color: var(--gray-text); white-space: nowrap; }
.blog-read i { margin-right: 4px; }

#articleModal .modal-box { max-width: 760px; }
.article-meta { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 1.2rem !important; }
.article-body h4 { color: var(--purple); font-size: 1.05rem; margin: 1.6rem 0 0.5rem; }
.article-body ul { margin: 0 0 1rem 1.2rem; }
.article-body li { list-style: disc; margin-bottom: 0.45rem; color: var(--gray-text); line-height: 1.7; }
.article-body strong { color: var(--body-text); }
.article-body code {
  font-family: 'SFMono-Regular', Consolas, monospace; font-size: 0.85em;
  background: var(--light-bg); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px;
  color: var(--body-text);
}

/* ============================================================
   PRODUCT LIVE PREVIEWS (mini animated screens on each card)
   ============================================================ */
.pv {
  height: 134px; margin-bottom: 1.3rem; border-radius: 12px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, #0b1b3a, #102A56);
  border: 1px solid rgba(79, 168, 255, 0.25);
  box-shadow: inset 0 0 30px rgba(8, 127, 245, 0.15);
  font-family: var(--font-body);
}
.pv-bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid rgba(79, 168, 255, 0.15); }
.pv-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.pv-bar span { margin-left: auto; font-size: 0.6rem; font-weight: 700; letter-spacing: 1px; color: #7fb6f5; }
.pv-body { position: relative; height: 111px; padding: 11px 12px; color: #cfe4ff; font-size: 0.6rem; }
.pv .ln { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.prod-card:not(.aos-visible) .pv * { animation-play-state: paused; }

/* HireFlow: match bars */
.hf-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 3px 5px; border-radius: 6px; }
.hf-row .av { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #4fa8ff, #087FF5); flex-shrink: 0; }
.hf-row .ln { width: 44px; flex-shrink: 0; }
.hf-row .mb { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hf-row .mb b { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, #087FF5, #4fa8ff); transform-origin: left; animation: pvFill 4.5s ease-in-out var(--d) infinite; }
.hf-row em { font-style: normal; font-weight: 700; color: #4fa8ff; width: 26px; text-align: right; }
.hf-row.top { animation: pvHighlight 4.5s ease-in-out infinite; }
@keyframes pvFill { 0% { transform: scaleX(0); } 40%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes pvHighlight { 0%, 40% { background: transparent; } 50%, 85% { background: rgba(79, 168, 255, 0.16); } 100% { background: transparent; } }

/* SupportDesk: tickets get resolved */
.sd-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sd-row .tid { font-weight: 700; color: #7fb6f5; width: 32px; }
.sd-row .ln { flex: 1; }
.sd-row .st { position: relative; width: 60px; height: 15px; flex-shrink: 0; }
.sd-row .st span { position: absolute; inset: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.5px; }
.s-open { background: rgba(245, 158, 11, 0.18); color: #fbbf24; animation: pvSwapA 5s ease var(--d) infinite; }
.s-done { background: rgba(34, 197, 94, 0.18); color: #4ade80; opacity: 0; animation: pvSwapB 5s ease var(--d) infinite; }
@keyframes pvSwapA { 0%, 35% { opacity: 1; } 45%, 88% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pvSwapB { 0%, 35% { opacity: 0; } 45%, 88% { opacity: 1; } 100% { opacity: 0; } }
.sd-sla { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; letter-spacing: 1px; color: #4ade80; }
.sd-sla span { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; }

/* CampusPro: attendance grid */
.cp-label { font-weight: 700; letter-spacing: 1px; color: #7fb6f5; margin-bottom: 8px; }
.cp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cp-grid span { height: 14px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); animation: pvDot 5s ease calc(var(--i) * 0.08s) infinite; }
.cp-grid span.x { animation-name: pvDotAbsent; }
@keyframes pvDot { 0%, 5% { background: rgba(255, 255, 255, 0.08); } 15%, 85% { background: #4ade80; } 100% { background: rgba(255, 255, 255, 0.08); } }
@keyframes pvDotAbsent { 0%, 5% { background: rgba(255, 255, 255, 0.08); } 15%, 85% { background: rgba(248, 113, 113, 0.6); } 100% { background: rgba(255, 255, 255, 0.08); } }

/* InterviewAI: question, answer, score ring */
.pv-ia { display: flex; gap: 10px; align-items: center; }
.ia-chat { flex: 1; }
.ia-q { display: inline-block; padding: 5px 8px; border-radius: 8px 8px 8px 2px; background: rgba(79, 168, 255, 0.18); color: #dbeafe; font-weight: 600; margin-bottom: 8px; animation: pvPop 5s ease infinite; }
.ia-a { padding: 7px 8px; border-radius: 8px 8px 2px 8px; background: rgba(255, 255, 255, 0.07); animation: pvPop 5s ease 0.6s infinite backwards; }
.ia-a span { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); margin: 3px 0; }
.ia-a span:nth-child(2) { width: 80%; } .ia-a span:nth-child(3) { width: 55%; }
@keyframes pvPop { 0% { opacity: 0; transform: translateY(6px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ia-score { position: relative; width: 62px; height: 62px; flex-shrink: 0; text-align: center; }
.ia-score svg { width: 62px; height: 62px; transform: rotate(-90deg); }
.ia-score circle { fill: none; stroke-width: 4; }
.ia-score .bg { stroke: rgba(255, 255, 255, 0.1); }
.ia-score .fg { stroke: #4fa8ff; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; animation: pvRing 5s ease 1s infinite; }
@keyframes pvRing { 0% { stroke-dashoffset: 113; } 35%, 88% { stroke-dashoffset: 17; } 100% { stroke-dashoffset: 113; } }
.ia-score strong { position: absolute; top: 17px; left: 0; right: 0; font-size: 0.85rem; color: #fff; }
.ia-score small { position: absolute; top: 34px; left: 0; right: 0; font-size: 0.45rem; letter-spacing: 1px; color: #7fb6f5; }

/* StaffHub: utilization bars */
.sh-bars { display: flex; align-items: flex-end; gap: 10px; height: 68px; padding: 0 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.sh-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #4fa8ff, #087FF5); transform-origin: bottom; animation: pvGrow 4.5s ease-in-out var(--d) infinite; }
@keyframes pvGrow { 0% { transform: scaleY(0.1); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0.1); } }
.sh-label { margin-top: 7px; font-weight: 700; letter-spacing: 1px; color: #7fb6f5; text-align: center; }

/* DataBridge: Oracle -> PostgreSQL */
.db-flow { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.db-box { padding: 7px 6px; border-radius: 6px; font-weight: 700; font-size: 0.55rem; letter-spacing: 0.5px; background: rgba(248, 113, 113, 0.15); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.3); }
.db-box.pg { background: rgba(79, 168, 255, 0.15); color: #93c5fd; border-color: rgba(79, 168, 255, 0.35); }
.db-pipe { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.12); position: relative; }
.db-pipe i { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #4fa8ff; box-shadow: 0 0 6px #4fa8ff; animation: pvFlow 1.6s linear infinite; }
.db-pipe i:nth-child(2) { animation-delay: 0.53s; } .db-pipe i:nth-child(3) { animation-delay: 1.06s; }
@keyframes pvFlow { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 6px); opacity: 0; } }
.db-progress { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.db-progress b { display: block; height: 100%; background: linear-gradient(90deg, #087FF5, #4ade80); transform-origin: left; animation: pvFill 5s ease-in-out infinite; }
.db-ok { margin-top: 8px; font-weight: 700; letter-spacing: 1px; color: #4ade80; animation: pvOk 5s ease infinite; }
@keyframes pvOk { 0%, 38% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* Insight: chart draws itself */
.in-chart { width: 100%; height: 66px; display: block; }
.in-chart .line { fill: none; stroke: #4fa8ff; stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: pvDraw 5s ease-in-out infinite; vector-effect: non-scaling-stroke; }
.in-chart .area { fill: rgba(79, 168, 255, 0.15); animation: pvOk 5s ease infinite; }
@keyframes pvDraw { 0% { stroke-dashoffset: 260; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 260; } }
.in-kpis { display: flex; gap: 6px; margin-top: 8px; }
.in-kpis span { flex: 1; text-align: center; padding: 4px 0; border-radius: 5px; background: rgba(255, 255, 255, 0.07); font-weight: 700; letter-spacing: 0.5px; color: #93c5fd; }
.in-kpis b { color: #4ade80; }

/* CRM: deal moves through the pipeline */
.crm-cols { display: flex; gap: 8px; height: 100%; }
.crm-col { flex: 1; border-radius: 6px; background: rgba(255, 255, 255, 0.05); padding: 6px; }
.crm-col em { display: block; font-style: normal; font-weight: 700; font-size: 0.5rem; letter-spacing: 1px; color: #7fb6f5; margin-bottom: 6px; }
.crm-col span { display: block; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); margin-bottom: 5px; }
.crm-col span.won { background: rgba(34, 197, 94, 0.35); }
.crm-move {
  position: absolute; top: 58px; left: 18px; width: calc((100% - 24px - 16px) / 3 - 12px); height: 16px; border-radius: 4px;
  background: linear-gradient(90deg, #087FF5, #4fa8ff); box-shadow: 0 4px 12px rgba(8, 127, 245, 0.5);
  animation: pvMove 6s ease-in-out infinite;
}
@keyframes pvMove {
  0%, 12% { transform: translateX(0); background: linear-gradient(90deg, #087FF5, #4fa8ff); }
  35%, 50% { transform: translateX(calc(100% + 20px)); }
  73%, 90% { transform: translateX(calc(200% + 40px)); background: linear-gradient(90deg, #16a34a, #4ade80); }
  100% { transform: translateX(0); opacity: 0; }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed; right: 29px; bottom: 100px; z-index: 401;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; font-size: 1.75rem;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waIn 0.6s cubic-bezier(.3,1.6,.5,1) 2.2s backwards;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6); color: #fff; }
.wa-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: waPulse 2.2s ease-out infinite; pointer-events: none;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes waIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wa-label {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--card-bg); color: var(--body-text); border: 1px solid var(--border);
  font-size: 0.82rem; font-weight: 600; white-space: nowrap; padding: 0.45rem 0.9rem; border-radius: 20px;
  box-shadow: 0 6px 18px rgba(16, 42, 86, 0.15);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
}
.wa-float:hover .wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
.wa-inline { color: #16a34a !important; font-weight: 600; }
.info-item .fa-whatsapp { background: linear-gradient(135deg, #128C7E, #25D366) !important; }

@media (max-width: 768px) {
  .wa-float { right: 20px; bottom: 92px; width: 50px; height: 50px; font-size: 1.6rem; }
  .wa-label { display: none; }
  #backToTop { right: auto; left: 20px; bottom: 25px; }
}
@media (max-width: 480px) {
  .wa-float { right: 18px; bottom: 82px; width: 48px; height: 48px; }
  #backToTop { left: 16px; bottom: 18px; }
}

/* ============================================================
   LEADERSHIP SECTION
   ============================================================ */
.leader-card {
  max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: center;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; padding: 1.6rem;
  box-shadow: 0 20px 50px rgba(16, 42, 86, 0.08);
  transition: opacity 0.7s ease, transform 0.5s ease, box-shadow 0.35s ease;
}
.leader-card:hover { box-shadow: 0 26px 60px rgba(8, 127, 245, 0.14); }
.leader-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 5 / 6; }
.leader-photo::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px; pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(79, 168, 255, 0.35);
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.leader-card:hover .leader-photo img { transform: scale(1.04); }
.leader-info { padding-right: 1rem; }
.leader-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--purple); background: rgba(8, 127, 245, 0.1); padding: 5px 12px; border-radius: 20px; margin-bottom: 0.9rem;
}
.leader-info h3 { font-family: var(--font-display); font-size: 2rem; line-height: 1.2; margin-bottom: 0.3rem; }
.leader-role { color: var(--purple); font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; }
.leader-bio { color: var(--gray-text); line-height: 1.75; margin-bottom: 1.4rem; }
.leader-links { display: flex; gap: 0.6rem; }
.leader-link {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--purple); transition: all 0.3s ease;
}
.leader-link:hover { background: linear-gradient(135deg, #102A56, #087FF5); color: #fff; border-color: transparent; transform: translateY(-3px); }
.leader-link[hidden] { display: none; }

@media (max-width: 768px) {
  .leader-card { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; padding: 1.3rem; }
  .leader-photo { max-width: 260px; margin: 0 auto; }
  .leader-info { padding-right: 0; }
  .leader-info h3 { font-size: 1.6rem; }
  .leader-links { justify-content: center; }
}


/* ============================================================
   FINAL ADDITIONS (accessibility, spam trap, phones & tablets)
   ============================================================ */

/* Text for screen readers / search engines only */
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap;
}

/* Invisible spam-trap field (people never see it, bots fill it) */
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
  overflow: hidden; pointer-events: none;
}

/* Newsletter message */
.newsletter-msg { display: none; margin-top: 0.7rem; font-size: 0.85rem; line-height: 1.5; color: #4ade80; }
.newsletter-msg.show { display: block; }
.newsletter-msg.is-error { color: #fca5a5; }

/* Tap-to-call / tap-to-email links */
.info-item p a { color: inherit; transition: color 0.25s ease; }
.info-item p a:hover { color: var(--purple); }
.info-item p a.wa-inline:hover { color: #15803d !important; }

/* If a script problem ever happens, never leave the page invisible */
html.no-reveal [data-aos],
html.no-reveal .hero-content > *,
html.no-reveal .svc-card .svc-points li,
html.no-reveal .section-header h2 .w { opacity: 1 !important; transform: none !important; }

/* Phones & tablets: no "stuck" hover lift after a tap */
@media (hover: none) {
  .prod-card:hover, .svc-card:hover, .ind-card:hover, .mv-card:hover,
  .feature-item:hover, .timeline-item:hover, .why-item:hover, .blog-card:hover { transform: none; }
}

/* iPhone notch / home-bar safe areas for the floating buttons */
@supports (padding: env(safe-area-inset-bottom)) {
  #chatWidget { bottom: calc(25px + env(safe-area-inset-bottom)); right: calc(25px + env(safe-area-inset-right)); }
  .wa-float { bottom: calc(100px + env(safe-area-inset-bottom)); right: calc(29px + env(safe-area-inset-right)); }
  #backToTop { bottom: calc(30px + env(safe-area-inset-bottom)); }
  .cookie-banner { bottom: calc(20px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: env(safe-area-inset-bottom); }
  @media (max-width: 768px) {
    .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); right: calc(20px + env(safe-area-inset-right)); }
    #backToTop { bottom: calc(25px + env(safe-area-inset-bottom)); left: calc(20px + env(safe-area-inset-left)); }
    #chatWidget { bottom: calc(25px + env(safe-area-inset-bottom)); }
    .cookie-banner { bottom: calc(12px + env(safe-area-inset-bottom)); }
  }
  @media (max-width: 480px) {
    .wa-float { bottom: calc(82px + env(safe-area-inset-bottom)); right: calc(18px + env(safe-area-inset-right)); }
    #backToTop { bottom: calc(18px + env(safe-area-inset-bottom)); left: calc(16px + env(safe-area-inset-left)); }
    #chatWidget { bottom: calc(16px + env(safe-area-inset-bottom)); right: calc(16px + env(safe-area-inset-right)); }
  }
}

/* Never let the loading screen get stuck (slow connection / script problem) */
#preloader { animation: preloaderFailsafe 0.01s 8s forwards; }
@keyframes preloaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* Stop the contact form from pushing the page wider on tablets (e.g. iPad landscape) */
.contact-wrapper > * { min-width: 0; }
.form-row > * { min-width: 0; }
.contact-form input, .contact-form textarea { min-width: 0; max-width: 100%; }

/* Slide-in animations must never create sideways scrolling (iPhone / iPad Safari) */
main > section, .footer { overflow-x: clip; }


/* Contact form: Send + Clear buttons */
.form-actions { display: flex; gap: 12px; align-items: stretch; }
.form-actions .btn-primary { flex: 1 1 auto; min-width: 0; }
.btn-clear { flex: 0 0 auto; background: transparent; color: var(--navy); border: 2px solid var(--navy); cursor: pointer; }
.btn-clear:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
body.dark .btn-clear { color: #fff; border-color: rgba(255,255,255,0.5); }
body.dark .btn-clear:hover { background: rgba(255,255,255,0.15); }
@media (max-width: 420px) { .form-actions { flex-direction: column; } }

/* Reset button: small and simple */
.form-actions { align-items: center; }
.form-actions .btn-clear { padding: 8px 18px; font-size: 0.85rem; border-width: 1.5px; border-radius: 999px; box-shadow: none; }
.form-actions .btn-clear:hover { transform: none; box-shadow: none; }
@media (max-width: 420px) { .form-actions { align-items: stretch; } }

/* Resume upload field */
.file-field { display: block; padding: 12px 16px; border: 1px dashed rgba(16,42,86,0.35); border-radius: 12px; background: rgba(8,127,245,0.04); cursor: pointer; }
.file-field .file-label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.file-field .file-label small { font-weight: 400; opacity: 0.7; margin-left: 6px; }
.file-field input[type="file"] { width: 100%; max-width: 100%; min-width: 0; padding: 6px 0; border: 0; background: transparent; font-size: 0.9rem; cursor: pointer; }
body.dark .file-field { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.05); }

/* In-form messages (replace browser pop-ups) */
.form-msg { display: none; margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; text-align: center; font-weight: 600; font-size: 0.92rem; line-height: 1.4; color: #166534; background: rgba(22,163,74,0.12); }
.form-msg.show { display: block; }
.form-msg.is-error { color: #b91c1c; background: rgba(220,38,38,0.10); }
body.dark .form-msg { color: #86efac; background: rgba(34,197,94,0.15); }
body.dark .form-msg.is-error { color: #fca5a5; background: rgba(239,68,68,0.15); }