/* ClickifyTech — Light 3D modern theme (soft depth + glass + gradient accents) */
:root {
  --color-bg: #f5f7fd;
  --color-bg-deep: #eef1fa;
  --color-surface: #ffffff;
  --color-surface-solid: #ffffff;
  --color-surface-alt: #f8faff;
  --color-text: #101630;
  --color-text-muted: #5a6478;
  --color-primary: #6d4ef0;
  --color-primary-dark: #5b3de0;
  --color-accent: #0aa6d4;
  --color-magenta: #d946ef;
  --gradient-brand: linear-gradient(135deg, #0aa6d4 0%, #6d4ef0 50%, #d946ef 100%);
  --gradient-btn: linear-gradient(135deg, #08b0dd, #6d4ef0);
  --color-border: rgba(16, 22, 48, 0.08);
  --color-border-strong: rgba(16, 22, 48, 0.14);
  --color-success: #0c9d6e;
  --color-error: #dc2626;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(23, 30, 65, 0.06), 0 2px 6px rgba(23, 30, 65, 0.04);
  --shadow-md: 0 10px 30px rgba(23, 30, 65, 0.1), 0 2px 8px rgba(23, 30, 65, 0.05);
  --shadow-lg: 0 30px 70px rgba(23, 30, 65, 0.14), 0 8px 20px rgba(23, 30, 65, 0.06);
  --glow-primary: 0 14px 40px rgba(109, 78, 240, 0.18);
  --glow-accent: 0 14px 40px rgba(10, 166, 212, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-h: 72px;
  --container: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ——— Sitewide ambient 3D backdrop (light) ——— */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 12% -10%, rgba(109, 78, 240, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 45% at 92% 8%, rgba(10, 166, 212, 0.09), transparent 60%),
    radial-gradient(ellipse 55% 45% at 50% 112%, rgba(217, 70, 239, 0.07), transparent 60%),
    var(--color-bg);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16, 22, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 48, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
h1, h2, h3, h4 { line-height: 1.2; margin-top: 0; color: var(--color-text); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: absolute; left: -9999px; z-index: 9999;
  padding: 0.75rem 1rem; background: var(--color-primary-dark); color: #fff;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; position: relative; }
.section-compact { padding: 3.5rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(109, 78, 240, 0.045), rgba(10, 166, 212, 0.03));
  border-block: 1px solid var(--color-border);
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header .badge { margin-bottom: 0.75rem; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.section-header p { color: var(--color-text-muted); font-size: 1.1rem; }

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  background: linear-gradient(135deg, rgba(10, 166, 212, 0.1), rgba(109, 78, 240, 0.12));
  border: 1px solid rgba(109, 78, 240, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-family: inherit; font-size: 0.95rem; font-weight: 600;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--gradient-btn); color: #fff; border-color: transparent;
  box-shadow: 0 8px 24px rgba(109, 78, 240, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0894ba, #5b3de0); color: #fff;
  border-color: transparent; transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(109, 78, 240, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.7); color: var(--color-text);
  border-color: var(--color-border-strong); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: #fff; color: var(--color-primary-dark);
  border-color: var(--color-primary); box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header — floating glass bar */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 40px rgba(23, 30, 65, 0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 1rem;
}
.logo {
  display: flex; align-items: center; text-decoration: none;
}
.logo:hover { opacity: 0.92; }
.logo-img { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
.header-cta span {
  display: inline;
}

.header-cta {
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem; font-weight: 600; font-size: 0.9rem;
  color: var(--color-text); background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border-strong); border-radius: 999px;
  box-shadow: var(--shadow-sm); white-space: nowrap;
  backdrop-filter: blur(8px);
}
.header-cta:hover { border-color: var(--color-primary); color: var(--color-primary-dark); box-shadow: var(--glow-primary); }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: none; background: transparent; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: var(--color-text);
  border-radius: 2px; transition: var(--transition);
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ''; position: absolute; left: 0;
}
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

.main-nav { display: none; }
.nav-list { display: flex; flex-direction: column; gap: 0; }
.nav-link {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.75rem 0; font-weight: 500; color: var(--color-text);
  background: none; border: none; font-family: inherit; font-size: 1rem; cursor: pointer; width: 100%;
}
.nav-item.is-active > .nav-link,
.nav-link.is-active,
.dropdown a.is-active { color: var(--color-primary); }
.has-dropdown .dropdown {
  display: none; padding-left: 1rem; margin-bottom: 0.5rem;
}
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.5rem 0; font-size: 0.9rem; color: var(--color-text-muted);
}
.dropdown a:hover { color: var(--color-primary); }
.chevron { transition: transform var(--transition); }
.has-dropdown.is-open .chevron { transform: rotate(180deg); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .main-nav {
    display: block; position: static; background: none; border: none;
    padding: 0; box-shadow: none;
  }
  .nav-list { flex-direction: row; align-items: center; gap: 0.25rem; }
  .nav-link { padding: 0.5rem 0.75rem; font-size: 0.88rem; width: auto; border-radius: 8px; }
  .nav-link:hover { background: rgba(109, 78, 240, 0.07); }
  .has-dropdown { position: relative; }
  .has-dropdown .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 280px;
    padding: 0.75rem; background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--color-border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg), var(--glow-primary); display: none; margin: 0;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: block; }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown a { padding: 0.5rem 0.75rem; border-radius: 8px; }
  .dropdown a:hover { background: rgba(109, 78, 240, 0.08); color: var(--color-primary-dark); }
}

/* Hero — Home */
.hero {
  position: relative; overflow: hidden;
  padding: 5rem 0 7rem;
}
.hero-grid {
  display: grid; gap: 3rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem;
}
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-primary);
}
.hero-tagline { font-size: 1.15rem; color: var(--color-text-muted); max-width: 520px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border);
}
.stat strong {
  display: block; font-size: 2rem; font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 0.85rem; color: var(--color-text-muted); }
.hero-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-primary); aspect-ratio: 4/3;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; padding: 0.75rem 1rem; background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius); box-shadow: var(--shadow-md); font-size: 0.85rem; font-weight: 600;
}
.hero-float-1 { top: 1rem; right: 1rem; color: var(--color-success); }
.hero-float-2 { bottom: 1rem; left: 1rem; }

@media (min-width: 900px) {
  .hero { padding: 6rem 0 8rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* Cards — white with layered 3D depth */
.card-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.service-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service-card-body { padding: 1.5rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.service-card a.card-link {
  font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--color-primary);
}

/* Why us */
.why-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.why-card {
  padding: 2rem; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.why-card .icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(10, 166, 212, 0.12), rgba(109, 78, 240, 0.14));
  color: var(--color-primary);
  border: 1px solid rgba(109, 78, 240, 0.2);
  border-radius: 12px; margin-bottom: 1rem; font-size: 1.5rem;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }

/* Portfolio */
.portfolio-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.portfolio-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; background: linear-gradient(transparent 30%, rgba(16, 22, 48, 0.85));
  color: #fff;
}
.portfolio-overlay h3 { color: #fff; margin-bottom: 0.25rem; }
.portfolio-overlay span { font-size: 0.85rem; opacity: 0.9; }

/* Testimonials */
.testimonial-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.testimonial-card {
  padding: 2rem; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.testimonial-card blockquote { margin: 0 0 1rem; font-style: italic; color: var(--color-text-muted); }
.testimonial-card p { color: var(--color-text-muted); }
.testimonial-card cite { font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.testimonial-card cite strong { display: block; }
.testimonial-card cite span { display: block; font-weight: 400; color: var(--color-text-muted); font-size: 0.85rem; }
.stars { color: #f59e0b; letter-spacing: 0.08em; margin-bottom: 0.75rem; font-size: 0.95rem; }

/* Page hero */
.page-hero {
  padding: 3.5rem 0; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 20% 0%, rgba(109, 78, 240, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 80% at 85% 20%, rgba(10, 166, 212, 0.1), transparent 60%),
    linear-gradient(180deg, #fdfdff 0%, rgba(253, 253, 255, 0) 100%);
  border-bottom: 1px solid var(--color-border);
}
.hero-mesh {
  background:
    radial-gradient(ellipse 50% 80% at 15% 10%, rgba(217, 70, 239, 0.1), transparent 60%),
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(109, 78, 240, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(10, 166, 212, 0.12), transparent 60%);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0.75rem 0; letter-spacing: -0.02em; }
.lead { font-size: 1.15rem; color: var(--color-text-muted); max-width: 640px; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem;
  color: var(--color-text-muted); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }

.service-hero-grid {
  display: grid; gap: 2rem; align-items: center;
}
.service-hero--photo {
  background:
    radial-gradient(ellipse 60% 90% at 15% 0%, rgba(109, 78, 240, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 80% at 85% 30%, rgba(10, 166, 212, 0.08), transparent 60%);
}

.service-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-primary);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: var(--color-surface);
}

.service-hero-image img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .service-hero-grid { grid-template-columns: 1fr 1fr; }
}

.content-grid {
  display: grid; gap: 3rem;
}
@media (min-width: 900px) {
  .content-grid { grid-template-columns: 1fr 320px; }
}
.feature-list { margin: 1rem 0 2rem; }
.feature-list li {
  position: relative; padding: 0.6rem 0 0.6rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
}
.feature-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--color-success); font-weight: 700;
}
.sidebar-card {
  padding: 1.5rem; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card.muted { background: var(--color-surface-alt); }
.sidebar-card h3, .sidebar-card h4 { font-size: 1rem; margin-bottom: 1rem; }
.check-list li {
  position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; font-size: 0.9rem;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--color-success); font-weight: 700;
}

.cta-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 3rem; background: var(--gradient-brand);
  border-radius: var(--radius-lg); color: #fff;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(109, 78, 240, 0.3);
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 80% 0%, rgba(255, 255, 255, 0.2), transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-banner .btn-primary,
.cta-banner .cta-banner-btn {
  background: #fff;
  color: #5b21b6;
  border-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  position: relative;
}
.cta-banner .btn-primary:hover,
.cta-banner .cta-banner-btn:hover {
  background: #f8fafc;
  color: #4c1d95;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Icons (used on About, services, etc.) */
.icon-svg {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  display: block;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Trust strip (About page) */
.trust-strip {
  padding: 2.5rem 0;
  background: rgba(255, 255, 255, 0.6);
  border-block: 1px solid var(--color-border);
}

.trust-strip-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .trust-strip-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.trust-item .icon-svg {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
  margin-top: 0.1rem;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.trust-item span {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Partners / tech logos */
.partners-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--color-border);
}

.partners-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin: 0 0 1.75rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
}

.partners-logos img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.partners-logos img:hover {
  opacity: 1;
  filter: grayscale(0);
}

.partners-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 100%;
}
@media (min-width: 540px) {
  .partners-tech-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .partners-tech-grid { grid-template-columns: repeat(6, 1fr); }
}
.partners-tech-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.partners-tech-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--glow-accent);
  border-color: rgba(10, 166, 212, 0.35);
}
.partners-tech-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.partners-tech-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Market pills */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.industry-pill {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.industry-pill:hover {
  border-color: rgba(109, 78, 240, 0.4);
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

/* About page */
.page-hero--about {
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(ellipse 60% 90% at 20% 0%, rgba(109, 78, 240, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 80% at 85% 20%, rgba(10, 166, 212, 0.1), transparent 60%);
  border-bottom: 1px solid var(--color-border);
}

.page-about .about-grid h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.page-about .about-grid p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.page-about .check-list {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.page-about .check-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
}

.page-about .check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.page-about .cta-banner {
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .page-about .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .page-about .cta-banner .btn-primary {
    width: 100%;
    text-align: center;
  }
}

.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-primary);
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.team-card {
  text-align: center; padding: 1.5rem; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.team-card img {
  width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem;
  border: 2px solid rgba(109, 78, 240, 0.3);
}
.team-card h4 { margin-bottom: 0.25rem; }
.team-card span { font-size: 0.85rem; color: var(--color-text-muted); }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form {
  padding: 2rem; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.75rem 1rem; font-family: inherit; font-size: 1rem;
  border: 1px solid var(--color-border-strong); border-radius: 10px;
  background: #fdfdff; color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(90, 100, 120, 0.55); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(109, 78, 240, 0.18);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.alert {
  padding: 1rem 1.25rem; border-radius: 10px; margin-bottom: 1.5rem; font-size: 0.95rem;
}
.alert-success { background: rgba(12, 157, 110, 0.1); color: #047857; border: 1px solid rgba(12, 157, 110, 0.3); }
.alert-error { background: rgba(220, 38, 38, 0.08); color: #b91c1c; border: 1px solid rgba(220, 38, 38, 0.3); }
.contact-info-card {
  padding: 2rem; background: var(--color-surface-alt);
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.contact-info-card li {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem;
}
.contact-info-card strong { display: block; margin-bottom: 0.25rem; }

/* Homepage content block — header/footer stay global */
#main-content > .hp {
  display: block;
  width: 100%;
}

/* Footer — light with gradient top edge */
.site-footer {
  background: linear-gradient(180deg, #fdfdff 0%, #f1f3fb 100%);
  color: var(--color-text-muted);
  padding: 4rem 0 0;
  margin-top: 0;
  border-top: 1px solid var(--color-border);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: min(70%, 800px); height: 2px;
  background: linear-gradient(90deg, transparent, rgba(109, 78, 240, 0.55), rgba(10, 166, 212, 0.55), transparent);
}
.site-footer .container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.footer-grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  width: 100%;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: minmax(220px, 1.25fr) repeat(4, minmax(140px, 1fr));
    gap: 2rem 2.25rem;
  }
}
@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(150px, 1fr));
    gap: 2.5rem 2.5rem;
  }
}
.site-footer .logo-img { filter: none !important; }
.footer-contact a {
  word-break: break-word;
}
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 320px; }
.logo-footer .logo-text { color: var(--color-text); }
.site-footer h3 { color: var(--color-text); font-size: 0.95rem; margin-bottom: 1rem; }
.site-footer .footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: block;
  padding: 0.35rem 0;
  transition: color var(--transition), transform var(--transition);
}
.site-footer .footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}
.footer-bottom {
  padding: 1.5rem 0; border-top: 1px solid var(--color-border);
  font-size: 0.85rem; text-align: center;
}

.whatsapp-float {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 90;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; background: #25d366; color: #fff;
  border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4); text-decoration: none;
}
.whatsapp-float:hover { color: #fff; background: #20bd5a; }

/* Legal pages */
.legal-content {
  max-width: 780px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.legal-content h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { color: var(--color-text-muted); }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.4rem; }

/* Timeline — growth journey */
.timeline { position: relative; padding-left: 2rem; border-left: 2px solid rgba(109, 78, 240, 0.25); }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -2rem; top: 0.25rem;
  width: 12px; height: 12px; margin-left: -7px;
  background: var(--gradient-brand); border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 12px rgba(109, 78, 240, 0.45);
}
.timeline-item h3 { font-size: 1.1rem; }
.timeline-item .year { font-weight: 700; color: var(--color-primary); font-size: 0.85rem; }

/* Service pages — extended content */
.service-benefits-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .service-benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-benefit-card {
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.service-benefit-card h4 { font-size: 1rem; margin: 0 0 0.5rem; }
.service-benefit-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; }
.service-ideal-list {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}
@media (min-width: 640px) {
  .service-ideal-list { grid-template-columns: repeat(2, 1fr); }
}
.service-ideal-list li {
  padding: 0.65rem 1rem 0.65rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  position: relative;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.service-ideal-list li::before {
  content: '→';
  position: absolute;
  left: 0.75rem;
  color: var(--color-accent);
  font-weight: 700;
}
.section-title-left { text-align: left; margin-bottom: 1.5rem; }
.service-faq { max-width: 720px; }
.service-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.service-faq-item summary::-webkit-details-marker { display: none; }
.service-faq-item p {
  padding: 0 1.25rem 1rem;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.service-faq-item summary::after {
  content: '+';
  float: right;
  font-weight: 700;
  color: var(--color-accent);
  transition: transform var(--transition);
}
.service-faq-item[open] summary::after {
  content: '−';
}

/* Related services */
.related-services-intro {
  color: var(--color-text-muted);
  margin: -0.5rem 0 1.75rem;
  max-width: 640px;
}
.related-services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .related-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .related-services-grid { grid-template-columns: repeat(4, 1fr); }
}
.related-service-card {
  display: block;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.related-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--glow-primary);
  border-color: rgba(109, 78, 240, 0.35);
  color: inherit;
}
.related-service-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}
.related-service-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.related-service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}
.related-services-list li { margin-bottom: 0.35rem; }
.related-services-list a {
  font-size: 0.9rem;
  color: var(--color-primary);
  display: block;
  padding: 0.35rem 0;
  transition: color var(--transition), padding-left var(--transition);
}
.related-services-list a:hover {
  color: var(--color-primary-dark);
  padding-left: 0.35rem;
}
.sidebar-related h4 { margin-bottom: 0.75rem; }

/* Sitewide hover polish — 3D lift + soft glow */
.service-benefit-card,
.sidebar-card,
.contact-info-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-benefit-card:hover,
.sidebar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--glow-primary);
  border-color: rgba(109, 78, 240, 0.3);
}
.service-faq-item {
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-faq-item:hover {
  border-color: rgba(109, 78, 240, 0.35);
}
.service-faq-item[open] {
  box-shadow: var(--shadow-sm), var(--glow-primary);
  border-color: rgba(109, 78, 240, 0.3);
}

.service-faq-item summary:focus-visible,
.hp-faq-item summary:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-link:hover,
.nav-dropdown-trigger:hover {
  color: var(--color-primary);
}
.dropdown a {
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.dropdown a:hover {
  background: rgba(109, 78, 240, 0.08);
  padding-left: 1.35rem;
}
.card:hover,
.service-card:hover,
.why-card:hover,
.testimonial-card:hover,
.team-card:hover,
.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--glow-primary);
  border-color: rgba(109, 78, 240, 0.3);
}
.card,
.service-card,
.why-card,
.testimonial-card,
.team-card,
.trust-item {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* ——— Sitewide 3D effects layer ——— */

/* Scroll-reveal (tagged by theme-3d.js) */
.t3d-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.t3d-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pointer-tracked 3D tilt (driven by theme-3d.js) */
.t3d-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.t3d-tilt.is-tilting {
  transition: box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: reduce), (max-width: 959px) {
  .t3d-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .t3d-tilt { transform: none !important; }
}
