/* ============================================================
   ACLERIATECH — Redesigned Stylesheet
   Light mode default · Dark mode (dark purple) on toggle
   Typefaces: DM Sans (body) + Fraunces (display)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400;1,9..144,600&display=swap');

/* ---- TOKENS ---- */
:root {
  --accent:        #030413;
  --accent-light:  #030413;
  --accent-dim:    rgba(3,4,19,0.10);
  --accent-border: rgba(3,4,19,0.25);
  --ease: all 0.28s cubic-bezier(0.4,0,0.2,1);
  --r: 14px;
  --r-sm: 8px;
  --r-pill: 100px;
}

/* ========== LIGHT MODE (default) ========== */
[data-theme="light"], :root {
  --bg:         #f4f4f6;
  --bg-2:       #ebebee;
  --bg-3:       #e0e0e5;
  --bg-card:    #ffffff;
  --border:     rgba(0,0,0,0.07);
  --border-md:  rgba(0,0,0,0.13);

  --text-1:     #13111a;
  --text-2:     #4a4858;
  --text-3:     #8a8898;

  /* Navbar & Footer use the logo blue */
  --nav-bg:          #030413;
  --nav-bg-scroll:   #030413;
  --nav-text:        rgba(255,255,255,0.80);
  --nav-text-hover:  #ffffff;
  --nav-active-bg:   rgba(255,255,255,0.15);
  --nav-border:      rgba(255,255,255,0.12);
  --nav-dropdown-bg: #030413;

  --footer-bg:         #030413;
  --footer-text:       rgba(255,255,255,0.75);
  --footer-text-muted: rgba(255,255,255,0.45);
  --footer-heading:    #ffffff;
  --footer-border:     rgba(255,255,255,0.12);
  --footer-social-bg:  rgba(255,255,255,0.12);
  --footer-social-hover: rgba(255,255,255,0.25);

  --shadow-sm: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 70px rgba(0,0,0,0.15);

  /* Dark-purple particle color for hero canvas in light mode */
  --particle-color: rgba(3,4,19,0.45);
  --particle-line:  rgba(3,4,19,0.08);
}

/* ========== DARK MODE (deep dark purple) ========== */
[data-theme="dark"] {
  --accent:        #a78bfa;
  --accent-light:  #c4b5fd;
  --accent-dim:    rgba(167,139,250,0.12);
  --accent-border: rgba(167,139,250,0.28);

  --bg:        #0d0b14;
  --bg-2:      #130f1e;
  --bg-3:      #1a1528;
  --bg-card:   #1e1930;
  --border:    rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.13);

  --text-1:    #f0edf8;
  --text-2:    #b0a8c8;
  --text-3:    #706880;

  --nav-bg:          rgba(13,11,20,0.92);
  --nav-bg-scroll:   rgba(13,11,20,0.97);
  --nav-text:        rgba(176,168,200,1);
  --nav-text-hover:  #f0edf8;
  --nav-active-bg:   rgba(167,139,250,0.12);
  --nav-border:      rgba(255,255,255,0.07);
  --nav-dropdown-bg: #1e1930;

  --footer-bg:         #0d0b14;
  --footer-text:       rgba(176,168,200,0.9);
  --footer-text-muted: rgba(112,104,128,1);
  --footer-heading:    #f0edf8;
  --footer-border:     rgba(255,255,255,0.07);
  --footer-social-bg:  rgba(255,255,255,0.06);
  --footer-social-hover: rgba(167,139,250,0.25);

  --shadow-sm: 0 2px 16px rgba(0,0,0,0.45);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.55);
  --shadow-lg: 0 20px 70px rgba(0,0,0,0.7);

  --particle-color: rgba(167,139,250,0.5);
  --particle-line:  rgba(167,139,250,0.07);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.72;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  line-height: 1.18;
  color: var(--text-1);
  font-weight: 600;
}
.display-serif { font-family: 'Fraunces', serif; font-style: italic; font-weight: 300; }
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.accent-text { color: var(--accent); }

/* ---- NAVBAR ---- */
.navbar-acl {
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--nav-border);
  padding: 0.75rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1050;
}
.navbar-acl.scrolled {
  padding: 0.5rem 0;
  background: var(--nav-bg-scroll);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

/* Logo sizing — bigger and clear */
.navbar-acl .navbar-brand img {
  height: 52px;
  width: auto;
  transition: var(--ease);
}
.navbar-acl.scrolled .navbar-brand img { height: 44px; }

.navbar-brand-text, .footer-brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.brand-accent { color: #f59e0b; }

.navbar-acl .nav-link {
  color: var(--nav-text) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem !important;
  border-radius: var(--r-sm);
  transition: var(--ease);
  letter-spacing: 0.01em;
}
.navbar-acl .nav-link:hover,
.navbar-acl .nav-link.active {
  color: var(--nav-text-hover) !important;
  background: var(--nav-active-bg);
}
.navbar-acl .nav-link.dropdown-toggle.active { color: #ffffff !important; }

/* Dropdown */
.navbar-acl .dropdown-menu {
  background: var(--nav-dropdown-bg);
  border: 1px solid var(--nav-border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
  min-width: 240px;
  margin-top: 0.5rem;
}
[data-theme="dark"] .navbar-acl .dropdown-menu {
  background: var(--bg-card);
  border-color: var(--border-md);
}
.navbar-acl .dropdown-item {
  color: rgba(255,255,255,0.80);
  font-size: 0.88rem;
  border-radius: var(--r-sm);
  padding: 0.55rem 0.8rem;
  transition: var(--ease);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
[data-theme="dark"] .navbar-acl .dropdown-item { color: var(--text-2); }
.navbar-acl .dropdown-item:hover {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}
[data-theme="dark"] .navbar-acl .dropdown-item:hover {
  background: var(--bg-3);
  color: var(--text-1);
}
.navbar-acl .dropdown-item i { color: #f59e0b; font-size: 0.95rem; }
[data-theme="dark"] .navbar-acl .dropdown-item i { color: var(--accent); }
.navbar-acl .dropdown-divider { border-color: var(--nav-border) !important; }

/* Nav CTA */
.btn-nav-cta {
  background: #f59e0b !important;
  color: #13111a !important;
  border-radius: var(--r-pill) !important;
  padding: 0.45rem 1.3rem !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border: none !important;
  transition: var(--ease) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
[data-theme="dark"] .btn-nav-cta {
  background: var(--accent) !important;
  color: #0d0b14 !important;
}
.btn-nav-cta:hover {
  opacity: 0.90;
  transform: translateY(-1px);
  color: #13111a !important;
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
}

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ease);
  font-size: 0.9rem;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.22);
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
}
[data-theme="dark"] .theme-toggle {
  border-color: var(--border-md);
  background: var(--bg-3);
  color: var(--text-2);
}
[data-theme="dark"] .theme-toggle:hover { color: var(--accent); border-color: var(--accent-border); }

/* ---- BUTTONS ---- */
.btn-primary-acl {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary-acl:hover {
  background: var(--accent-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-dim);
}
[data-theme="dark"] .btn-primary-acl { color: #0d0b14; }
[data-theme="dark"] .btn-primary-acl:hover { color: #0d0b14; }

.btn-outline-acl {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border-md);
  border-radius: var(--r-pill);
  padding: 0.85rem 2rem;
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-outline-acl:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-grad {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}
.btn-grad:hover { background: var(--accent-light); transform: translateY(-2px); color: #fff; }

/* ---- HERO ---- */
.hero-section {
  background: var(--bg);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.6;
}
.hero-content { position: relative; z-index: 2; padding: 7rem 0 5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-pill);
  padding: 0.38rem 1rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 300;
  color: var(--text-1);
  line-height: 1.1;
  margin-bottom: 1.6rem;
  letter-spacing: -0.02em;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.82;
}
.hero-btns { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Hero visual */
.hero-visual { position: relative; z-index: 2; }
.hero-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  animation: floatY 6s ease-in-out infinite;
}
.hero-mockup-bar { display: flex; gap: 6px; margin-bottom: 1.2rem; }
.hero-mockup-bar span { width: 10px; height: 10px; border-radius: 50%; }
.hero-mockup-bar span:nth-child(1) { background: #FF5F57; }
.hero-mockup-bar span:nth-child(2) { background: #FEBC2E; }
.hero-mockup-bar span:nth-child(3) { background: #28C840; }
.hero-mockup-code {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 2;
}
.hero-mockup-code .kw { color: var(--accent); }
.hero-mockup-code .str { color: #f59e0b; }
.hero-mockup-code .fn { color: #60A5FA; }
[data-theme="dark"] .hero-mockup-code .kw { color: #a78bfa; }

.hero-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 12px;
  padding: 0.7rem 1.1rem;
  font-size: 0.8rem;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.hero-float-card.card-1 { top: 8%; right: -8%; animation: floatY 5s ease-in-out infinite; }
.hero-float-card.card-2 { bottom: 18%; left: -6%; animation: floatY 5s ease-in-out 2s infinite; }
@keyframes floatY { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }

/* ---- SECTION COMMONS ---- */
.section-pad { padding: 7rem 0; }
.section-pad-sm { padding: 4rem 0; }
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--text-1);
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-sub { font-size: 1rem; color: var(--text-2); max-width: 560px; margin: 0 auto; line-height: 1.82; }

/* ---- CLIENTS ---- */
.clients-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.client-logo {
  display: flex; align-items: center; justify-content: center;
  height: 56px; opacity: 0.35; transition: var(--ease); filter: grayscale(1);
}
.client-logo:hover { opacity: 0.75; filter: none; }
.client-logo span {
  font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--text-1); letter-spacing: -0.02em;
}
.clients-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }

/* ---- SERVICES ---- */
.services-section { background: var(--bg); }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  transition: var(--ease);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
  transition: var(--ease);
}
.service-card:hover .service-icon { background: var(--accent); }
.service-icon i { font-size: 1.3rem; color: var(--accent); transition: var(--ease); }
.service-card:hover .service-icon i { color: #ffffff; }
[data-theme="dark"] .service-card:hover .service-icon i { color: #0d0b14; }
.service-card h4 {
  font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600;
  margin-bottom: 0.6rem; color: var(--text-1);
}
.service-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.8; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  margin-top: 1.2rem; text-decoration: none; transition: var(--ease);
}
.service-link:hover { color: var(--accent-light); gap: 0.7rem; }

/* ---- WHY US ---- */
.why-section { background: var(--bg-2); }
.why-img-placeholder {
  width: 100%; height: 460px;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 5rem; position: relative;
  overflow: hidden;
}

/* ---- ANALYTICS MOCKUP (Why Us) ---- */
.analytics-mockup {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(160deg, #1a1130, #0c0a16);
}
.analytics-mockup-photo {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=900&q=80');
  background-size: cover; background-position: center;
  opacity: 0.5;
}
.analytics-mockup-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,10,22,0.35) 0%, rgba(12,10,22,0.75) 55%, rgba(12,10,22,0.96) 100%);
}
.analytics-mockup-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.analytics-mockup-bar {
  position: absolute; top: 1.4rem; left: 1.6rem; z-index: 3;
  display: flex; gap: 6px;
}
.analytics-mockup-bar span {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.28);
}
.analytics-mockup-title {
  position: absolute; top: 2.9rem; left: 1.6rem; right: 1.6rem; z-index: 3;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.analytics-mockup-chart {
  position: absolute; left: 1.6rem; right: 1.6rem; bottom: 8.4rem; height: 140px; z-index: 3;
}
.analytics-mockup-chart svg { display: block; width: 100%; height: 100%; }
.analytics-mockup-stats {
  position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.6rem; z-index: 3;
  display: flex; gap: 0.7rem;
}
.analytics-stat-pill {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; padding: 0.85rem 0.5rem; text-align: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.analytics-stat-pill .num {
  font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 600;
  color: #ffffff; line-height: 1;
}
.analytics-stat-pill .lbl {
  font-size: 0.65rem; color: rgba(255,255,255,0.6); margin-top: 0.35rem; line-height: 1.3;
}
.why-badge-float {
  position: absolute; bottom: 2rem; right: -1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  min-width: 170px;
}
.why-badge-float .num {
  font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 600;
  color: var(--accent); line-height: 1;
}
.why-badge-float .label { font-size: 0.76rem; color: var(--text-3); margin-top: 0.25rem; }
.feature-item { display: flex; gap: 0.9rem; margin-bottom: 1.4rem; align-items: flex-start; }
.feature-check {
  width: 32px; height: 32px; background: var(--accent-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem;
}
.feature-check i { font-size: 0.8rem; color: var(--accent); }
.feature-item h6 {
  font-family: 'DM Sans', sans-serif; font-size: 0.93rem; font-weight: 600;
  margin-bottom: 0.15rem; color: var(--text-1);
}
.feature-item p { font-size: 0.84rem; color: var(--text-2); margin: 0; line-height: 1.7; }

/* ---- PROCESS ---- */
.process-section { background: var(--bg); }
.process-step { text-align: center; padding: 1.5rem 1rem; }
.process-step-num {
  font-family: 'Fraunces', serif; font-size: 0.72rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 0.9rem; display: block;
}
.process-icon-wrap {
  width: 72px; height: 72px; margin: 0 auto 1.1rem;
  background: var(--bg-card); border: 1px solid var(--border-md);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.process-step:hover .process-icon-wrap {
  background: var(--accent); border-color: transparent; transform: scale(1.06);
}
.process-icon-wrap i { font-size: 1.6rem; color: var(--text-2); transition: var(--ease); }
.process-step:hover .process-icon-wrap i { color: #ffffff; }
[data-theme="dark"] .process-step:hover .process-icon-wrap i { color: #0d0b14; }
.process-step h5 {
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  color: var(--text-1); margin-bottom: 0.4rem;
}
.process-step p { color: var(--text-3); font-size: 0.82rem; line-height: 1.7; }

/* ---- PORTFOLIO ---- */
.portfolio-section { background: var(--bg-2); }
.project-card {
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--border);
  transition: var(--ease); background: var(--bg-card);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: var(--border-md); }
.project-img {
  height: 210px; background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 2.8rem; position: relative; overflow: hidden;
}
.project-img-overlay {
  position: absolute; inset: 0; background: rgba(3,4,19,0.88);
  opacity: 0; transition: var(--ease);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .project-img-overlay { background: rgba(100,70,200,0.88); }
.project-card:hover .project-img-overlay { opacity: 1; }
.project-img-overlay a {
  color: #ffffff; font-size: 1.4rem; text-decoration: none;
  background: rgba(255,255,255,0.2); width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--ease);
}
.project-img-overlay a:hover { background: rgba(255,255,255,0.35); }
.project-body { padding: 1.4rem; }
.project-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); display: inline-block; margin-bottom: 0.6rem;
}
.project-body h5 {
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600;
  margin-bottom: 0.4rem; color: var(--text-1);
}
.project-body p { font-size: 0.84rem; color: var(--text-2); }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--bg); }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem; height: 100%;
  transition: var(--ease); position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-sm); border-color: var(--border-md); }
.testimonial-stars { color: #f59e0b; font-size: 0.82rem; margin-bottom: 1rem; }
[data-theme="dark"] .testimonial-stars { color: var(--accent); }
.testimonial-text {
  font-size: 0.92rem; color: var(--text-2); line-height: 1.85;
  font-style: italic; margin-bottom: 1.5rem;
  font-family: 'Fraunces', serif; font-weight: 300;
}
.testimonial-author { display: flex; align-items: center; gap: 0.8rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; font-weight: 700; font-size: 0.95rem;
}
[data-theme="dark"] .testimonial-avatar { color: #0d0b14; }
.testimonial-name { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.88rem; color: var(--text-1); }
.testimonial-role { font-size: 0.76rem; color: var(--text-3); }
.quote-icon { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: var(--accent); opacity: 0.18; }

/* ---- CTA ---- */
.cta-section {
  background: var(--bg-2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 600px; height: 300px;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 70%); pointer-events: none;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid var(--footer-border);
  transition: background 0.35s ease;
}
.footer-brand { margin-bottom: 1rem; }
.footer-brand img {
  height: 52px;
  width: auto;
  filter: brightness(1.1);
}
.footer p { font-size: 0.86rem; line-height: 1.82; color: var(--footer-text); }
.footer-heading {
  color: var(--footer-heading);
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 600;
  margin-bottom: 1.3rem; letter-spacing: 0.02em;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a {
  color: var(--footer-text); text-decoration: none; font-size: 0.86rem; transition: var(--ease);
}
.footer-links a:hover { color: var(--footer-heading); }
.footer-links i { color: var(--footer-text); }
.footer-divider { border-color: var(--footer-border); margin: 2.5rem 0 1.5rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  color: var(--footer-text);
}
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--footer-border);
  background: var(--footer-social-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--footer-text); text-decoration: none; font-size: 0.85rem; transition: var(--ease);
}
.footer-social a:hover { background: var(--footer-social-hover); color: var(--footer-heading); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--bg-2); padding: 7rem 0 5rem; text-align: center;
  position: relative; overflow: hidden; border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center top, var(--accent-dim) 0%, transparent 60%);
}
.page-hero .breadcrumb { justify-content: center; }
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a { color: var(--text-3); font-size: 0.83rem; text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero h1 { color: var(--text-1); margin-top: 1rem; }

/* ---- ABOUT PAGE ---- */
.about-values .value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem; text-align: center; transition: var(--ease);
}
.about-values .value-card:hover { box-shadow: var(--shadow-sm); border-color: var(--border-md); }
.about-values .value-icon {
  width: 58px; height: 58px; background: var(--accent); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.about-values .value-icon i { color: #ffffff; font-size: 1.5rem; }
[data-theme="dark"] .about-values .value-icon i { color: #0d0b14; }
.team-card {
  text-align: center; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem 1.5rem; transition: var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; font-size: 1.8rem; color: #ffffff; font-weight: 700;
}
[data-theme="dark"] .team-avatar { color: #0d0b14; }
.team-card h5 { font-size: 1rem; font-weight: 600; color: var(--text-1); font-family: 'DM Sans', sans-serif; }
.team-card .role { font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.8rem; }
.team-social { display: flex; justify-content: center; gap: 0.5rem; }
.team-social a {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 0.78rem; text-decoration: none; transition: var(--ease);
}
.team-social a:hover { background: var(--accent); border-color: transparent; color: #ffffff; }
[data-theme="dark"] .team-social a:hover { color: #0d0b14; }

/* ---- CONTACT ---- */
.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.5rem;
}
.form-control-acl, .form-select-acl {
  border: 1.5px solid var(--border-md); border-radius: var(--r-sm);
  padding: 0.75rem 1rem; font-size: 0.9rem; color: var(--text-1);
  background: var(--bg); transition: var(--ease); width: 100%; outline: none;
  font-family: 'DM Sans', sans-serif; appearance: none;
}
.form-control-acl::placeholder { color: var(--text-3); }
.form-control-acl:focus, .form-select-acl:focus {
  border-color: var(--accent); background: var(--bg);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-label-acl {
  font-size: 0.83rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 0.4rem; display: block;
}
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.5rem; height: 100%;
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; background: var(--accent); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon i { color: #ffffff; font-size: 1rem; }
[data-theme="dark"] .contact-info-icon i { color: #0d0b14; }
.contact-info-item h6 {
  color: var(--accent); font-size: 0.76rem; font-weight: 600; margin-bottom: 0.15rem;
  text-transform: uppercase; letter-spacing: 0.1em; font-family: 'DM Sans', sans-serif;
}
.contact-info-item p { color: var(--text-2); font-size: 0.88rem; margin: 0; }

/* ---- SERVICE DETAIL ---- */
.service-detail-feature { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1rem; }
.service-detail-feature i { color: var(--accent); margin-top: 0.2rem; }

/* ---- PRICING ---- */
.pricing-section { background: var(--bg-2); }
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.5rem; height: 100%; transition: var(--ease);
  position: relative; overflow: hidden;
}
.pricing-card.featured { background: var(--bg-3); border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.pricing-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
}
.pricing-card:hover:not(.featured) { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--border-md); }
.pricing-badge {
  display: inline-block; background: var(--accent); color: #ffffff;
  font-size: 0.7rem; font-weight: 700; padding: 0.22rem 0.8rem;
  border-radius: var(--r-pill); margin-bottom: 1rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
[data-theme="dark"] .pricing-badge { color: #0d0b14; }
.pricing-name { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.5rem; }
.pricing-price {
  font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 600;
  line-height: 1; margin-bottom: 0.2rem; color: var(--text-1); letter-spacing: -0.02em;
}
.pricing-price.accent-price { color: var(--accent); }
.pricing-period { font-size: 0.8rem; color: var(--text-3); margin-bottom: 1.5rem; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 2rem; }
.pricing-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.86rem; color: var(--text-2); padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li i { color: var(--accent); font-size: 0.82rem; }

/* ---- FAQ ---- */
.faq-section { background: var(--bg); }
.accordion-acl .accordion-item {
  border: 1px solid var(--border) !important; border-radius: var(--r-sm) !important;
  margin-bottom: 0.7rem; overflow: hidden; background: var(--bg-card);
}
.accordion-acl .accordion-button {
  background: var(--bg-card); color: var(--text-1); font-weight: 600;
  font-size: 0.93rem; font-family: 'DM Sans', sans-serif;
  box-shadow: none !important; padding: 1.2rem 1.5rem;
}
.accordion-acl .accordion-button:not(.collapsed) { background: var(--bg-card); color: var(--accent); }
.accordion-acl .accordion-button::after { opacity: 0.5; }
[data-theme="dark"] .accordion-acl .accordion-button::after { filter: invert(1); }
.accordion-acl .accordion-body {
  font-size: 0.88rem; color: var(--text-2); line-height: 1.82;
  background: var(--bg-card); padding: 0 1.5rem 1.3rem;
}

/* ---- BLOG ---- */
.blog-section { background: var(--bg-2); }
.blog-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.blog-card-link:hover { text-decoration: none; color: inherit; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; transition: var(--ease); height: 100%;
}
.blog-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); border-color: var(--border-md); }
.blog-img { height: 195px; background: var(--bg-3); display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 2.8rem; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-body { padding: 1.4rem; background: var(--bg-card); position: relative; z-index: 1; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.76rem; color: var(--text-3); margin-bottom: 0.7rem; }
.blog-meta span { display: flex; align-items: center; gap: 0.3rem; }
.blog-body h5 {
  font-family: 'DM Sans', sans-serif; font-size: 0.98rem; font-weight: 600;
  color: var(--text-1); margin-bottom: 0.4rem; line-height: 1.5;
}
.blog-body p { font-size: 0.84rem; color: var(--text-2); }
.blog-tag {
  font-size: 0.7rem; font-weight: 600; color: var(--accent);
  display: inline-block; margin-bottom: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---- MODAL THEME ---- */
.modal-content {
  background: var(--bg-card);
  color: var(--text-1);
  border: 1px solid var(--border-md);
  box-shadow: var(--shadow-lg);
}

/* ---- BACK TO TOP ---- */
#backToTop {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; background: var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #ffffff; text-decoration: none; font-size: 0.95rem;
  opacity: 0; pointer-events: none; transition: var(--ease); z-index: 999;
}
[data-theme="dark"] #backToTop { color: #0d0b14; }
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { transform: translateY(-3px); }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

/* Pulse glow on accent elements in dark mode */
[data-theme="dark"] .hero-badge {
  animation: purpleGlow 3s ease-in-out infinite;
}
@keyframes purpleGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
  50% { box-shadow: 0 0 18px 3px rgba(167,139,250,0.18); }
}

/* Shimmer on service cards in dark mode */
[data-theme="dark"] .service-card:hover {
  box-shadow: 0 4px 30px rgba(167,139,250,0.15);
}

/* Dark mode accent divider */
[data-theme="dark"] .accent-divider { background: var(--accent); }

/* ---- DIVIDER LINE ---- */
.accent-divider {
  display: block; width: 40px; height: 2px;
  background: var(--accent); border-radius: 2px; margin: 1rem 0 1.5rem;
  transition: background 0.35s ease;
}
.accent-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .hero-title { font-size: 2.8rem; }
  .hero-visual { margin-top: 3rem; }
  /* Mobile nav on blue bg */
  .navbar-acl .navbar-collapse { background: var(--nav-bg); padding: 1rem; border-radius: 0 0 12px 12px; margin-top: 0.5rem; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2.3rem; }
  .section-pad { padding: 5rem 0; }
  .hero-stats { gap: 1.5rem; }
  .contact-info-card { margin-top: 2rem; }
  .why-badge-float { right: 0; }
  .hero-float-card.card-1 { right: 0; }
  .hero-float-card.card-2 { left: 0; }
}

/* ---- FORM MESSAGE (AJAX) ---- */
.form-msg {
  padding: 0.85rem 1.2rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-msg--success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #16a34a;
}
[data-theme="dark"] .form-msg--success {
  background: rgba(34,197,94,0.08);
  color: #4ade80;
}
.form-msg--error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  color: #dc2626;
}
[data-theme="dark"] .form-msg--error { color: #f87171; }

/* ============================================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ============================================================ */

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem 2rem;
  margin-bottom: 1.5rem;
  transition: var(--ease);
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.legal-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.legal-heading {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-1);
  margin: 0;
}

.legal-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  margin-bottom: 0.75rem;
}
.legal-item:last-of-type { margin-bottom: 0; }

.legal-item > i {
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.legal-list {
  padding-left: 1.25rem;
  color: var(--text-2);
  line-height: 2;
  font-size: 0.92rem;
}
.legal-list li { margin-bottom: 0.25rem; }

.legal-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  padding: 1.25rem;
}
.legal-highlight > i {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.legal-highlight p {
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.8;
  margin: 0;
}

.legal-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.legal-also-read {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-also-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-1);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  transition: var(--ease);
}
.legal-also-link:hover {
  color: var(--accent);
  border-color: var(--accent-border);
  transform: translateX(4px);
}
.legal-also-link > i:first-child {
  font-size: 1.1rem;
  color: var(--accent);
}

@media (max-width: 576px) {
  .legal-card { padding: 1.5rem 1.25rem; }
  .legal-section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ============================================================
   ALL-IN-ONE PLATFORM HUB  (home page, above "Why Acleriatech")
   Works in both [data-theme="light"] and [data-theme="dark"]
   ============================================================ */

.hub-section {
  padding: 2.25rem 0 6rem;
}

/* Wider than the standard Bootstrap .container so the diagram
   has room to breathe on large screens. */
.hub-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Framed panel that grounds the diagram visually */
.hub-stage {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}

/* SVG connector layer sits behind the nodes */
.hub-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hub-flow-path {
  stroke: var(--accent);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 7 7;
  opacity: 0.8;
  animation: hubDashFlow 1.3s linear infinite;
}
.hub-flow-out { stroke-width: 2.5; opacity: 0.9; }
@keyframes hubDashFlow {
  to { stroke-dashoffset: -28; }
}

/* Nodes, hub, and device are positioned via CSS custom
   properties (--x / --y) set inline per-item in the Blade file,
   so they line up exactly with the SVG connector endpoints. */
.hub-node,
.hub-center,
.hub-device {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hub-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 118px;
}
.hub-node span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.25;
}
.hub-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.hub-icon i { font-size: 1.3rem; color: var(--accent); }
.hub-node:hover .hub-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.hub-node:hover .hub-icon i { color: #fff; }
[data-theme="dark"] .hub-node:hover .hub-icon i { color: #0d0b14; }

/* Center brand hub */
.hub-center { width: 128px; height: 128px; }
.hub-logo-box {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  background: #030413;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 8px;
}
.hub-logo-box img { width: 82px; height: auto; }
.hub-ping {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: hubPing 2.6s ease-out infinite;
}
.hub-ping-2 { animation-delay: 1.3s; }
@keyframes hubPing {
  0%   { transform: scale(0.85); opacity: 0.55; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Right: device / dashboard mockup */
.hub-device { width: min(340px, 34vw); }
@media (min-width: 992px) { .hub-device { width: 340px; } }
.hub-device > .hub-device-topbar,
.hub-device > .hub-device-body { pointer-events: auto; }
.hub-device {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--ease);
}
.hub-device:hover { box-shadow: var(--shadow-lg); }
.hub-device-topbar {
  display: flex;
  gap: 6px;
  padding: 0.65rem 0.9rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.hub-device-topbar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-md);
}
.hub-device-topbar span:first-child { background: #f87171; }
.hub-device-topbar span:nth-child(2) { background: #fbbf24; }
.hub-device-topbar span:nth-child(3) { background: #4ade80; }
.hub-device-body { display: flex; }
.hub-device-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.9rem 0.6rem;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
}
.hub-device-nav span {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  font-size: 0.82rem;
}
.hub-device-nav span.active { background: var(--accent); color: #fff; }
[data-theme="dark"] .hub-device-nav span.active { color: #0d0b14; }
.hub-device-main { flex: 1; padding: 0.9rem 1rem; min-width: 0; }
.hub-device-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.hub-device-row small {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin-bottom: 0.15rem;
  white-space: nowrap;
}
.hub-device-row strong { font-size: 0.72rem; color: var(--text-1); font-family: 'DM Sans', sans-serif; white-space: nowrap; }
.hub-device-row strong.ok { color: #22c55e; }
.hub-device-chart { color: var(--accent); height: 46px; margin-bottom: 0.75rem; }
.hub-device-chart svg { width: 100%; height: 100%; }
.hub-device-list { display: flex; flex-direction: column; gap: 0.5rem; }
.hub-device-list div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--text-2);
}
.hub-device-list i { color: var(--accent); font-size: 0.85rem; flex-shrink: 0; }

/* ---- Responsive: stack the hub vertically, hide connector lines ---- */
@media (max-width: 991px) {
  .hub-stage {
    aspect-ratio: auto !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem 1.5rem;
    padding: 2rem 1.25rem;
  }
  .hub-connectors { display: none; }
  .hub-node, .hub-center, .hub-device {
    position: static;
    transform: none;
  }
  .hub-center, .hub-device { flex-basis: 100%; display: flex; justify-content: center; }
  .hub-device { width: 100%; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hub-node { width: 92px; }
  .hub-icon { width: 50px; height: 50px; }
  .hub-device-nav { padding: 0.7rem 0.4rem; gap: 0.6rem; }
  .hub-device-nav span { width: 24px; height: 24px; font-size: 0.72rem; }
  .hub-device-main { padding: 0.75rem 0.6rem; }
  .hub-device-row strong { font-size: 0.66rem; }
}

/* ============================================================
   PAGE ILLUSTRATIONS  (About / Career / Contact / Services)
   Original CSS + Bootstrap Icons artwork — no external images,
   fully theme-adaptive via CSS variables, subtle motion only.
   ============================================================ */

.intro-illus-section { overflow: hidden; }

.page-illus {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.illus-blob {
  position: absolute;
  inset: 9%;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: linear-gradient(135deg, var(--accent-dim), var(--bg-2) 70%);
  border: 1px solid var(--accent-border);
  animation: illusMorph 9s ease-in-out infinite;
}
@keyframes illusMorph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  50%      { border-radius: 58% 42% 37% 63% / 54% 61% 39% 46%; }
}
.illus-orbit {
  position: absolute;
  inset: -4%;
  border: 1.5px dashed var(--accent-border);
  border-radius: 50%;
  animation: illusSpin 16s linear infinite;
}
.illus-dot {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-dim);
}
@keyframes illusSpin { to { transform: rotate(360deg); } }

.illus-core {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illus-core i {
  font-size: 5.5rem;
  color: var(--accent);
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.18));
  animation: illusFloatCore 5s ease-in-out infinite;
}
@keyframes illusFloatCore {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.illus-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  animation: illusFloatChip 5.5s ease-in-out infinite;
}
.illus-chip i { color: var(--accent); font-size: 0.95rem; }
.illus-chip-1 { top: 6%; left: -8%; animation-delay: 0s; }
.illus-chip-2 { bottom: 8%; right: -10%; animation-delay: 1.6s; }
@keyframes illusFloatChip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 991px) {
  .page-illus { max-width: 300px; margin-top: 2.5rem; }
  .illus-chip-1 { left: 0%; }
  .illus-chip-2 { right: 0%; }
}
@media (max-width: 420px) {
  .illus-core i { font-size: 4.3rem; }
  .illus-chip { font-size: 0.68rem; padding: 0.45rem 0.7rem; }
}

/* ============================================================
   SOCIAL LINKS (for use in page content, e.g. Contact info card)
   Unlike .footer-social — which is hardwired for the always-dark
   footer — this follows the page theme so it stays visible in
   both light and dark mode.
   ============================================================ */
.social-links { display: flex; gap: 0.6rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); text-decoration: none; font-size: 0.85rem;
  transition: var(--ease);
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
[data-theme="dark"] .social-links a:hover { color: #0d0b14; }

/* ============================================================
   FIT TABLE  ("Which Service Fits Your Project" — Home page)
   ============================================================ */
.fit-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.fit-table th {
  background: var(--bg-2);
  color: var(--text-1);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.fit-table td {
  padding: 1rem 1.25rem;
  color: var(--text-2);
  font-size: 0.89rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.fit-table tbody tr:last-child td { border-bottom: none; }
.fit-table td strong { color: var(--accent); font-weight: 600; }
.fit-table tbody tr { transition: var(--ease); }
.fit-table tbody tr:hover { background: var(--bg-2); }
.table-responsive { border-radius: var(--r); }

/* ============================================================
   WHAT WE DO — fact cards (Home page, below the intro paragraph)
   ============================================================ */
.what-fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem 1.75rem;
  height: 100%;
  text-align: center;
  transition: var(--ease);
}
.what-fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.what-fact-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.1rem;
  border-radius: 14px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.what-fact-icon i { font-size: 1.35rem; color: var(--accent); }
.what-fact-num {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.5rem;
}
.what-fact-card p {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}