/* ================================================================
   KUBIT'S — Design System & Global Styles
   ================================================================ */

/* ── TOKENS ──────────────────────────────────────────── */
:root {
  /* Primary */
  --blue:       #2B5BA8;
  --blue-b:     #1878F1;
  --blue-d:     #0F2B4E;
  --blue-light: #E8F1FD;

  /* Accent */
  --orange:     #FF6F00;
  --amber:      #FE9F02;
  --orange-light: #FFF3E6;

  /* Neutrals */
  --text:       #333333;
  --text-secondary: #333333;
  --muted:      #555555;
  --subtle:     #919191;
  --border:     #E5E7EB;
  --bg:         #F5F5F5;
  --bg-alt:     #F5F5F5;
  --white:      #FFFFFF;

  /* Semantic */
  --success:    #10B981;
  --error:      #EF4444;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-md:  0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-xl:  0 25px 50px -12px rgba(0,0,0,.15);

  /* Radii */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --duration: .3s;

  /* Typography Scale */
  --step--1: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --step-2:  clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
  --step-3:  clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  --step-4:  clamp(2.25rem, 1.8rem + 2.25vw, 3.5rem);
  --step-5:  clamp(2.75rem, 2rem + 3.75vw, 5rem);

  /* Spacing (8pt grid) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
}

/* ── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--step-0);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Body text links get underlines; nav/button/footer links do not */
p a, .contact-detail a, .story-text a {
  text-decoration: underline;
  text-decoration-color: var(--blue-b);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--duration) var(--ease);
}
p a:hover, .contact-detail a:hover, .story-text a:hover {
  text-decoration-color: var(--orange);
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── GLOBAL FOCUS & ACTIVE STATES ────────────────────── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
a:active, button:active { opacity: .85; }
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.btn:active { transform: translateY(0); opacity: .9; }
.nav-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.nav-cta-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nav-cta-btn:active { transform: translateY(0); box-shadow: 0 1px 4px rgba(255,111,0,.3); }
.nav-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-submit:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.form-submit:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(21,117,239,.3); }
.srv-card:focus-visible, .stat-card:focus-visible, .why-pillar:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 2px;
}

/* ── UTILITIES ───────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-6); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.2;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 600; }
p { max-width: 65ch; }
.section-header p, .cta-content p { margin-inline: auto; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229,231,235,.6);
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo svg { width: 38px; height: 38px; min-width: 38px; min-height: 38px; transition: transform var(--duration) var(--ease); }
.nav-logo:hover svg { transform: rotate(-6deg) scale(1.05); }
.nav-logo-text {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-b) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link {
  position: relative;
  padding: 8px 16px; border-radius: var(--r-sm);
  font-size: .925rem; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-b);
  background: rgba(21,117,239,.06);
}
.nav-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: var(--r-full);
  font-size: .875rem; font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, #e86500 100%);
  box-shadow: 0 2px 8px rgba(255,111,0,.3);
  transition: all var(--duration) var(--ease);
}
.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,111,0,.35);
}
.nav-cta-btn svg { width: 14px; height: 14px; }

/* Mobile toggle */
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  transition: background var(--duration) var(--ease);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--bg); }
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px;
  position: relative;
  transition: all var(--duration) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-full);
  font-family: 'Albert Sans', sans-serif; font-weight: 500; font-size: .875rem;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-b) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(21,117,239,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(21,117,239,.35); }

.btn-secondary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,111,0,.3);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,111,0,.35); }

.btn-outline {
  background: transparent;
  color: var(--blue-b);
  border: 1.5px solid var(--blue-b);
}
.btn-outline:hover { background: rgba(21,117,239,.06); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--blue-d);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.16); }

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ── SECTION COMMON ──────────────────────────────────── */
.section { padding: var(--space-8) 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--blue-d); }

.section-header { text-align: center; margin-bottom: 30px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(2.1rem, 1.7rem + 1.5vw, 3rem);
}
.section-tag-blue {
  color: var(--blue-b);
  background: var(--blue-light);
}
.section-tag-orange {
  color: var(--orange);
  background: var(--orange-light);
}
.section-header p {
  font-size: 1rem; color: var(--muted);
  max-width: 620px; margin: 16px auto 0; line-height: 1.5;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 0;
}
.hero .container {
  max-width: 1440px;
  padding: 0 20px;
}
.hero-banner {
  background: url("./bgimage.jfif") center/cover no-repeat;
  border-radius: var(--r-2xl);
  padding: 80px;
  position: relative;
  overflow: hidden;
}

/* Animated mesh overlay */
/* Neural network canvas */
#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cpath d='M0,200 Q200,80 480,180 Q700,280 960,140 Q1080,80 1200,110' stroke='rgba(255,255,255,0.12)' stroke-width='1.5' fill='none'/%3E%3Cpath d='M0,260 Q280,140 560,240 Q840,330 1200,190' stroke='rgba(255,255,255,0.08)' stroke-width='1' fill='none'/%3E%3Cpath d='M0,140 Q320,60 600,150 Q820,230 1200,100' stroke='rgba(255,255,255,0.06)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: var(--r-full);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  font-size: .75rem; font-weight: 600; color: #fff;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #fff;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title {
  font-family: 'Albert Sans', sans-serif;
  font-size: var(--step-5);
  font-weight: 400; color: #fff;
  letter-spacing: -.02em; line-height: 1.15;
  margin-bottom: var(--space-6);
}
.hero-desc {
  font-size: var(--step-0); color: rgba(255,255,255,.9);
  line-height: 1.65; margin-bottom: var(--space-8);
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── LOGO STRIP (Trusted By) ────────────────────────── */
.logo-strip { padding: 24px 0; }
.logo-strip-label {
  font-size: .75rem; font-weight: 600; color: var(--subtle);
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center; margin-bottom: 28px;
}
.logo-strip-row {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.logo-strip-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--white);
  font-size: .85rem; font-weight: 600; color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
}
.logo-strip-item:hover {
  border-color: var(--blue-b);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.logo-strip-item .icon { font-size: 1.3rem; }

/* ── SERVICE CARDS ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-grid-five {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.services-grid-five > .srv-card {
  grid-column: span 2;
}
.services-grid-five > .srv-card:nth-last-child(2) {
  grid-column: 2 / span 2;
}
.services-grid-five > .srv-card:last-child {
  grid-column: 4 / span 2;
}
.srv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.srv-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue-b));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.srv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,111,0,.10), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(21,117,239,.10), transparent 45%),
    linear-gradient(135deg, rgba(255,111,0,.05), rgba(21,117,239,.05));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.srv-card:hover {
  border-color: rgba(21,117,239,.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.srv-card:hover::before { transform: scaleX(1); }
.srv-card:hover::after { opacity: 1; }

.srv-icon {
  width: 88px; height: 88px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: 22px;
}
.srv-icon svg {
  width: 38px; height: 38px;
}
.srv-icon-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}
.srv-icon-blue { background: rgba(21,117,239,.08); }
.srv-icon-orange { background: rgba(255,111,0,.08); }
.srv-icon-amber { background: rgba(254,159,2,.08); }

.srv-card h3 {
  font-size: 1.05rem; font-weight: 600;
  margin-bottom: 10px;
}
.srv-card p {
  font-size: .95rem; color: var(--muted);
  line-height: 1.75;
}

.problem-icon{
  width: 85px;
  height: 85px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 16px;
}

.client-icon-img{
  width: 72px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto 14px;
}

/* ── TEAM SECTION ────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}
.team-photo-contain {
  object-fit: contain;
  object-position: center bottom;
  background: #d8d4d6;
}
.team-avatar {
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.team-avatar svg {
  opacity: .3;
}
.team-avatar-initial {
  font-family: 'Albert Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  opacity: .4;
}
.team-body {
  padding: 24px;
}
.team-name {
  font-size: var(--step-1);
  margin-bottom: 4px;
}
.team-role {
  font-size: var(--step--1);
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 12px;
  max-width: none;
}
.team-bio {
  color: var(--muted);
  font-size: var(--step--1);
  line-height: 1.6;
  max-width: none;
}

/* ── PRODUCT SECTION ─────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.product-phone-wrap {
  display: flex; justify-content: center;
  align-items: center; position: relative;
}
.phone-glow {
  position: absolute;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,117,239,.1) 0%, transparent 70%);
  pointer-events: none;
}

/* iPhone shell */
.iphone {
  position: relative; z-index: 2;
  width: 270px; height: 555px;
  background: #1A1A1C; border-radius: 48px;
  border: 1.5px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 0 8px #111214,
    0 0 0 9.5px rgba(180,190,210,.15),
    0 50px 100px rgba(0,0,0,.2),
    0 20px 50px rgba(15,43,78,.1);
  overflow: hidden;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(2deg) rotateX(-1deg) translateY(-8px); }
}
.iphone-island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px; background: #000; border-radius: 100px; z-index: 10;
}
.iphone-screen { position: absolute; inset: 0; border-radius: 48px; overflow: hidden; }

/* Phone screen animations */
.ph-screen { position: absolute; inset: 0; opacity: 0; }

.ph-splash {
  background: linear-gradient(155deg, #050E22 0%, #091832 55%, #050E22 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: phSplash 16s infinite;
}
@keyframes phSplash { 0%{opacity:0} 3%{opacity:1} 28%{opacity:1} 34%{opacity:0} 100%{opacity:0} }

.ph-orb { position: absolute; border-radius: 50%; filter: blur(65px); }
.ph-orb1 { width: 190px; height: 190px; background: #FF6F00; opacity: .2; top: -15px; left: -35px; }
.ph-orb2 { width: 150px; height: 150px; background: #1878F1; opacity: .22; bottom: 25px; right: -25px; }

.ph-logo-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 17px;
  animation: fadeUp .7s .2s both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.ph-logo-icon {
  width: 70px; height: 70px; border-radius: 19px;
  background: linear-gradient(135deg, #1878F1, #4168B4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 44px rgba(21,117,239,.42);
}
.ph-logo-icon svg { width: 40px; height: 40px; }
.ph-brand {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.5rem; font-weight: 800; color: #fff;
  letter-spacing: -.02em; text-align: center;
}
.ph-brand small {
  display: block; font-size: .56rem; font-weight: 400;
  color: rgba(255,255,255,.42); letter-spacing: .14em;
  text-transform: uppercase; margin-top: 3px;
}
.ph-tagline {
  position: relative; z-index: 1; margin-top: 52px;
  font-size: .65rem; color: rgba(255,255,255,.38);
  letter-spacing: .1em; text-transform: uppercase;
  animation: fadeUp .7s .5s both;
}
.ph-loader {
  position: relative; z-index: 1;
  width: 42px; height: 2px; background: rgba(255,255,255,.1);
  border-radius: 2px; margin-top: 13px; overflow: hidden;
  animation: fadeUp .7s .7s both;
}
.ph-loader::after {
  content: ''; position: absolute; left: -100%; top: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, #FF6F00, #1878F1);
  border-radius: 2px;
  animation: phLoad 2.5s 1s ease-in-out forwards;
}
@keyframes phLoad { to { left: 0; } }

/* Login screen */
.ph-login {
  background: #0C1829;
  display: flex; flex-direction: column; padding: 65px 21px 26px;
  animation: phLogin 16s infinite;
}
@keyframes phLogin { 0%{opacity:0} 34%{opacity:0} 39%{opacity:1} 62%{opacity:1} 68%{opacity:0} 100%{opacity:0} }
.ph-lg-logo { display: flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 16px; }
.ph-lg-icon { width: 29px; height: 29px; border-radius: 8px; background: linear-gradient(135deg,#1878F1,#4168B4); display: flex; align-items: center; justify-content: center; }
.ph-lg-icon svg { width: 17px; height: 17px; }
.ph-lg-name { font-family: 'Albert Sans', sans-serif; font-size: .9rem; font-weight: 700; color: #fff; }
.ph-lg-title { font-family: 'Albert Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; text-align: center; margin-bottom: 3px; }
.ph-lg-sub { font-size: .62rem; color: rgba(255,255,255,.38); text-align: center; margin-bottom: 22px; }
.ph-field-label { font-size: .56rem; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.ph-field { width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 9px; padding: 9px 12px; font-size: .71rem; color: rgba(255,255,255,.78); font-family: 'Albert Sans', sans-serif; margin-bottom: 11px; }
.ph-field.active { border-color: rgba(21,117,239,.42); }
.ph-btn { width: 100%; background: linear-gradient(135deg,#FF6F00,#FE9F02); color: #fff; border: none; border-radius: 10px; padding: 11px; font-size: .78rem; font-weight: 700; font-family: 'Albert Sans', sans-serif; box-shadow: 0 7px 22px rgba(255,111,0,.28); cursor: pointer; margin-bottom: 13px; }
.ph-divider { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.ph-divider::before, .ph-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }
.ph-divider span { font-size: .56rem; color: rgba(255,255,255,.3); }
.ph-faceid { display: flex; align-items: center; justify-content: center; gap: 7px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: 9px; padding: 9px; color: rgba(255,255,255,.52); font-size: .68rem; }
.ph-faceid svg { width: 15px; height: 15px; }

/* Dashboard screen */
.ph-dash {
  background: #060F20; overflow: hidden;
  animation: phDash 16s infinite;
}
@keyframes phDash { 0%{opacity:0} 68%{opacity:0} 73%{opacity:1} 100%{opacity:1} }
.ph-dash-scroll { position: absolute; inset: 0; overflow: hidden; animation: phScroll 16s infinite; }
@keyframes phScroll { 0%,72%{transform:translateY(0)} 80%{transform:translateY(-185px)} 93%{transform:translateY(-185px)} 100%{transform:translateY(0)} }
.ph-dash-inner { padding: 50px 13px 18px; }
.ph-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.ph-greet { font-size: .58rem; color: rgba(255,255,255,.38); }
.ph-name { font-family: 'Albert Sans', sans-serif; font-size: .85rem; font-weight: 700; color: #fff; }
.ph-avatar { width: 29px; height: 29px; border-radius: 50%; background: linear-gradient(135deg,#FF6F00,#FE9F02); display: flex; align-items: center; justify-content: center; font-family: 'Albert Sans', sans-serif; font-size: .62rem; font-weight: 700; color: #fff; }
.ph-score-card { background: linear-gradient(135deg,#0D2045,#102A5A); border: 1px solid rgba(21,117,239,.2); border-radius: 14px; padding: 13px; display: flex; align-items: center; gap: 13px; margin-bottom: 11px; position: relative; overflow: hidden; }
.ph-score-card::after { content: ''; position: absolute; top: -18px; right: -18px; width: 90px; height: 90px; border-radius: 50%; background: rgba(21,117,239,.07); }
.ph-ring { position: relative; width: 61px; height: 61px; flex-shrink: 0; }
.ph-ring svg { width: 61px; height: 61px; transform: rotate(-90deg); }
.ph-ring-track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 4; }
.ph-ring-fill { fill: none; stroke: url(#phGrad); stroke-width: 4; stroke-dasharray: 164; stroke-dashoffset: 21; stroke-linecap: round; }
.ph-ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ph-ring-num { font-family: 'Albert Sans', sans-serif; font-size: .95rem; font-weight: 800; color: #fff; line-height: 1; }
.ph-ring-of { font-size: .38rem; color: rgba(255,255,255,.38); }
.ph-score-lbl { font-size: .56rem; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .07em; }
.ph-score-val { font-family: 'Albert Sans', sans-serif; font-size: .95rem; font-weight: 700; color: #fff; margin: 2px 0; }
.ph-score-chg { font-size: .58rem; color: #4ADE80; }

.ph-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 11px; }
.ph-metric { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 10px; }
.ph-metric-icon { font-size: .88rem; margin-bottom: 4px; }
.ph-metric-val { font-family: 'Albert Sans', sans-serif; font-size: .9rem; font-weight: 700; color: #fff; }
.ph-metric-unit { font-size: .5rem; color: rgba(255,255,255,.38); font-weight: 400; }
.ph-metric-name { font-size: .53rem; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }
.ph-metric-bar { height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.ph-metric-fill { height: 100%; border-radius: 2px; }

.ph-sec { font-family: 'Albert Sans', sans-serif; font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.ph-ai-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px; padding: 10px 12px; display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.ph-ai-icon { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .75rem; flex-shrink: 0; }
.ph-ai-title { font-size: .62rem; font-weight: 600; color: rgba(255,255,255,.88); margin-bottom: 1px; }
.ph-ai-desc { font-size: .54rem; color: rgba(255,255,255,.38); line-height: 1.5; }
.ph-proto { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.ph-check { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .5rem; flex-shrink: 0; }
.ph-check.done { background: rgba(74,222,128,.15); color: #4ADE80; }
.ph-check.todo { background: rgba(255,255,255,.06); color: rgba(255,255,255,.28); }
.ph-proto-name { font-size: .62rem; color: rgba(255,255,255,.78); flex: 1; }
.ph-proto-time { font-size: .54rem; color: rgba(255,255,255,.32); }

/* Product text */
.prod-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: var(--r-full);
  background: var(--orange-light);
  border: 1px solid rgba(255,111,0,.2);
  font-size: .75rem; font-weight: 600; color: var(--orange);
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.prod-heading {
  margin-bottom: 18px;
}
.prod-heading .accent { color: var(--blue-b); }
.prod-desc {
  font-size: 1.02rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px;
}
.prod-features { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.prod-feat { display: flex; gap: 14px; align-items: flex-start; }
.prod-feat-icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.prod-feat h4 { font-size: 1rem; margin-bottom: 4px; }
.prod-feat p { font-size: .92rem; color: var(--muted); line-height: 1.7; }

.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-full);
  background: var(--bg); border: 1px solid var(--border);
  font-size: .75rem; font-weight: 600; color: var(--text-secondary);
}
.trust-dot { width: 7px; height: 7px; border-radius: 50%; }

/* ── WHY US / STATS ──────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.why-pillars { display: flex; flex-direction: column; gap: 16px; }
.why-pillar {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}
.why-pillar:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.why-pillar h4 { font-size: 1rem; margin-bottom: 5px; }
.why-pillar p { font-size: .92rem; color: var(--muted); line-height: 1.7; }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--duration) var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-b);
}
.stat-num {
  font-family: 'Albert Sans', sans-serif;
  font-size: 2.2rem; font-weight: 700;
  letter-spacing: -.03em; margin-bottom: 6px;
}
.stat-num-orange { color: var(--orange); }
.stat-num-blue { color: var(--blue-b); }
.stat-label { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-q {
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: transform .25s var(--ease);
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform .2s;
  flex-shrink: 0;
}
details[open] .faq-q::after { content: '−'; }
.faq-q::-webkit-details-marker { display: none; }
.faq-a { padding: 0 0 18px; }
.faq-a p { font-size: .95rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.faq-a a { color: var(--blue-bright); text-decoration: underline; }

/* FAQ hover "move" */
.faq-item:hover .faq-q {
  transform: translateX(8px);
}
.faq-item:hover .faq-q::after {
  transform: translateY(-1px) rotate(90deg);
}

/* ── CONTACT FORM ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p {
  font-size: 1.02rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px;
}
.contact-detail {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail h4 { font-size: .95rem; margin-bottom: 2px; }
.contact-detail p { font-size: .92rem; color: var(--muted); }
.contact-detail a { color: var(--blue-b); font-weight: 500; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .9rem;
  transition: all var(--duration) var(--ease);
}
.form-input:focus-visible, .form-textarea:focus-visible {
  border-color: var(--blue-b);
  box-shadow: 0 0 0 3px rgba(21,117,239,.1);
  background: var(--white);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--blue-b);
  box-shadow: 0 0 0 3px rgba(21,117,239,.1);
  background: var(--white);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--subtle);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input.error, .form-textarea.error { border-color: var(--error); }
.form-error { font-size: .75rem; color: var(--error); margin-top: 4px; display: none; }
.form-error.show { display: block; }

.form-submit {
  width: 100%;
  padding: 14px 28px; border-radius: var(--r-full);
  font-family: 'Albert Sans', sans-serif; font-weight: 500; font-size: .875rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-b) 0%, var(--blue) 100%);
  box-shadow: 0 4px 14px rgba(21,117,239,.3);
  transition: all var(--duration) var(--ease);
  border: none; cursor: pointer;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21,117,239,.35);
}
.form-submit:disabled {
  opacity: .6; cursor: not-allowed; transform: none;
}
.form-success {
  display: none; text-align: center; padding: 32px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(16,185,129,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 16px;
}
.form-success h3 { color: var(--success); margin-bottom: 8px; }
.form-success p { font-size: .9rem; color: var(--muted); }

/* ── CTA BANNER ──────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(97.8deg, #FF6F00 0%, #FE9F02 18%, #1878F1 100%);
  padding: var(--space-24) 0;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,.04) 0%, transparent 50%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
  text-align: center;
}
.cta-inner h2 { color: #fff; margin-bottom: 16px; }
.cta-inner p {
  color: rgba(255,255,255,.85); font-size: 1rem;
  line-height: 1.7; margin-bottom: 36px;
}
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 900px; margin: 0 auto;
}
.cta-audience-card {
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  transform-origin: center center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cta-audience-card:hover {
  border-color: rgba(255,255,255,.35) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  animation: cta-card-wiggle .36s ease-in-out 1;
}
@keyframes cta-card-wiggle {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-4px) rotate(-0.6deg) scale(1.015); }
  50% { transform: translateY(-2px) rotate(0.6deg) scale(1.02); }
  75% { transform: translateY(-4px) rotate(-0.3deg) scale(1.015); }
  100% { transform: translateY(-3px) rotate(0deg) scale(1.02); }
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--blue-d); padding: 64px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p {
  font-size: .85rem; color: rgba(255,255,255,.5);
  line-height: 1.7; margin-top: 16px; max-width: 280px;
}
.footer-col h4 {
  font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.7);
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col a {
  display: block; font-size: .85rem;
  color: rgba(255,255,255,.5); margin-bottom: 12px;
  transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: .78rem; color: rgba(255,255,255,.35);
  transition: color var(--duration) var(--ease);
}
.footer-legal a:hover { color: rgba(255,255,255,.7); }

.footer-logo-wrap { display: flex; align-items: center; gap: 10px; }
.footer-logo-wrap svg { width: 34px; height: 34px; }
.footer-logo-wrap span {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.15rem; font-weight: 700; color: #fff;
}

/* ── ABOUT PAGE SPECIFIC ─────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 0;
}
.page-hero .container {
  max-width: 1440px;
  padding: 0 20px;
}
.page-hero-banner {
  background: url("Icons/Icons/About-Us.png") center/cover no-repeat;
  border-radius: var(--r-2xl);
  padding: 72px 80px;
  position: relative; overflow: hidden;
}

.services-hero-banner {
  /* cover ki wajah se zoom-in/crop ho raha tha; width fit karke zoom-out */
  background: url("Icons/Icons/Services.png") center/100% auto no-repeat;
}
.services-hero-banner::before {
  /* services hero me overlay thoda light, taaki fade kam ho */
  background: rgba(0,0,0,.10) !important;
}
.page-hero-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.18);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 650px; }
.page-hero-eyebrow {
  font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.65);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.page-hero-title {
  font-family: 'Albert Sans', sans-serif;
  font-size: var(--step-4);
  font-weight: 400; color: #fff;
  letter-spacing: -.02em; line-height: 1.2;
  margin-bottom: var(--space-6);
}
.page-hero-desc {
  font-size: 1rem; color: rgba(255,255,255,.82);
  line-height: 1.75; max-width: 560px;
}

/* Story section */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.story-text p {
  font-size: 1rem; color: var(--muted); line-height: 1.85; margin-bottom: 16px;
}
.story-stats { display: flex; flex-direction: column; gap: 14px; }
.story-stat-row {
  display: flex; gap: 16px; align-items: center;
  padding: 22px 26px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.story-stat-row:hover {
  transform: translateX(6px);
  border-color: rgba(21,117,239,.25);
  background: var(--white);
  box-shadow: var(--shadow);
}
.story-stat-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.story-stat-val {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1.6rem; font-weight: 400;
  background: linear-gradient(135deg, var(--orange), var(--blue-b));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.story-stat-desc { font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* Credentials */
.creds-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.cred-item {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--border);
  flex: 1; min-width: 240px;
  transition: all var(--duration) var(--ease);
}
.cred-item:hover {
  border-color: rgba(21,117,239,.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cred-icon { font-size: 1.3rem; }
.cred-name { font-family: 'Albert Sans', sans-serif; font-size: .95rem; font-weight: 700; }
.cred-sub { font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* Founders */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: all .4s var(--ease);
}
.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.fc-photo {
  width: 100%; height: 340px;
  object-fit: cover; display: block;
}
.fc-photo-sandeep { object-position: center 35%; }
.fc-photo-gaurav { object-position: center 25%; }
.fc-body { padding: 28px 32px 0; }
.fc-bar { width: 40px; height: 3px; border-radius: 2px; margin-bottom: 16px; }
.fc-bar-blue { background: linear-gradient(90deg, var(--blue-b), var(--blue)); }
.fc-bar-orange { background: linear-gradient(90deg, var(--orange), var(--amber)); }
.fc-orgs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.fc-org {
  font-size: .75rem; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  background: var(--bg); color: var(--muted);
  border: 1px solid var(--border); letter-spacing: .04em;
}
.fc-role { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.fc-role-blue { color: var(--blue-b); }
.fc-role-orange { color: var(--orange); }
.fc-name { font-family: 'Albert Sans', sans-serif; font-size: 1.35rem; font-weight: 600; letter-spacing: -.025em; margin-bottom: 3px; }
.fc-loc { font-size: .85rem; color: var(--subtle); margin-bottom: 20px; }
.fc-bio { font-size: .94rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; display: flex; flex-direction: column; gap: 11px; }
.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.fc-tag {
  font-size: .78rem; font-weight: 600;
  padding: 4px 12px; border-radius: var(--r-full);
  border: 1px solid;
}
.fc-tag-blue { color: var(--blue-b); border-color: rgba(21,117,239,.2); background: rgba(21,117,239,.05); }
.fc-tag-orange { color: var(--orange); border-color: rgba(255,111,0,.2); background: rgba(255,111,0,.05); }
.fc-foot { background: var(--bg); padding: 22px 36px; border-top: 1px solid var(--border); }
.fc-quote {
  font-style: italic; font-size: .92rem; color: var(--muted);
  line-height: 1.7; padding-left: 14px; border-left: 3px solid; font-weight: 300;
}
.fc-quote-blue { border-color: var(--blue-b); }
.fc-quote-orange { border-color: var(--orange); }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.values-text p { font-size: 1rem; color: var(--muted); line-height: 1.85; margin-top: 12px; }
.values-list { display: flex; flex-direction: column; gap: 12px; }
.value-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.value-item:hover {
  border-color: rgba(21,117,239,.2);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 38px; height: 38px; border-radius: 10px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.value-item h4 { font-size: .95rem; margin-bottom: 4px; }
.value-item p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ── REVEAL ANIMATION ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ── RESPONSIVE ──────────────────────────────────────── */

/* Large desktop: ≥ 1280px */
@media (min-width: 1280px) {
  .container { padding: 0 var(--space-8); }
  .section { padding: var(--space-24) 0; }
}

/* Desktop: 1024–1279px */
@media (max-width: 1279px) {
  .section { padding: var(--space-16) 0; }
}

/* Tablet + small desktop */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-five { grid-template-columns: repeat(2, 1fr); }
  .services-grid-five > .srv-card,
  .services-grid-five > .srv-card:nth-last-child(2),
  .services-grid-five > .srv-card:last-child { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* Tablet: 768–1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .container { padding: 0 var(--space-8); }
  .section { padding: var(--space-12) 0; }
}

/* Mobile: < 768px */
@media (max-width: 768px) {
  /* Fix horizontal overflow */
  .hero, .section, .cta-banner, .footer { overflow-x: hidden; }

  /* Nav — ensure hamburger is visible */
  .nav { padding: 0 16px; max-width: 100vw; overflow: visible; }
  .nav-logo { flex-shrink: 0; }
  .nav-logo svg { width: 32px; height: 32px; min-width: 32px; min-height: 32px; flex-shrink: 0; }
  .nav-logo-text { font-size: 1.1rem; white-space: nowrap; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
    z-index: 300;
  }
  .nav-menu.open .nav-link { padding: 12px 16px; width: 100%; }
  .nav-menu.open .nav-cta-btn { width: 100%; justify-content: center; margin-top: 8px; }
  .nav-toggle { display: flex; flex-shrink: 0; }

  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-12) 0; }

  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero-banner { padding: 40px 20px; border-radius: var(--r-lg); min-height: auto; }
  .hero-split { flex-direction: column; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Single-column grids centered */
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-photo { height: 240px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-phone-wrap { order: -1; margin-bottom: 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .founders-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-form-card { padding: 24px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .page-hero-banner { padding: 40px 20px; border-radius: var(--r-lg); }

  .section-header { margin-bottom: 36px; }

  .cta-banner { padding: var(--space-12) 0; }
  .cta-grid { grid-template-columns: 1fr; max-width: 400px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Phone mockup scaling */
  .iphone { width: 230px; height: 472px; border-radius: 40px; }
  .iphone-screen { border-radius: 40px; }
  .phone-glow { width: 280px; height: 280px; }

  /* BioHarmony inline mockup */
  .iphone-mockup-wrap { flex: 0 0 auto !important; width: 100%; }
  .iphone-mockup { max-width: 100%; width: 230px !important; height: 460px !important; margin: 0 auto; }

  .fc-body { padding: 24px 20px 0; }
  .fc-foot { padding: 18px 20px; }
  .fc-photo { height: 220px; }
  .fc-name { font-size: 1.15rem; }

  .logo-strip { padding: 32px 0; }
  .logo-strip-row { gap: 10px; justify-content: center; }
  .logo-strip-item { font-size: .78rem; padding: 10px 16px; }

  .stat-card { padding: 20px; }
  .stat-num { font-size: 1.8rem; }

  /* Cards full width on mobile */
  .srv-card, .sol-card, .why-card, .hybrid-card, .market-card, .prob-stat, .pipe-step {
    width: 100%;
  }

  /* Services page */
  .hybrid-grid { grid-template-columns: 1fr; }
  .hybrid-card { padding: 28px; }
  .why-cards-grid { grid-template-columns: 1fr; }
  .proc-steps { flex-direction: column; gap: 28px; align-items: center; }
  .proc-steps::before { display: none; }
  .proc-step { max-width: 280px; }

  /* Products page */
  .sol-grid { grid-template-columns: 1fr; }
  .pipe-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; gap: 24px; }
  .arch-panel { padding: 20px; }
  .market-grid { grid-template-columns: 1fr; }
  .prob-stats { grid-template-columns: 1fr; }
}

/* ── SERVICES PAGE ────────────────────────────────────── */
.hybrid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hybrid-card {
  border-radius: var(--r-xl); padding: 40px;
  position: relative; overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.hybrid-card:hover { transform: translateY(-4px); }
.hybrid-card-blue {
  background: linear-gradient(135deg, #EBF2FF 0%, #F0F7FF 100%);
  border: 1.5px solid rgba(21,117,239,.2);
}
.hybrid-card-orange {
  background: linear-gradient(135deg, #FFF3E8 0%, #FFF8F0 100%);
  border: 1.5px solid rgba(255,111,0,.18);
}
.hc-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-full);
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px;
}
.hc-label-blue { color: var(--blue-b); background: rgba(21,117,239,.1); }
.hc-label-orange { color: var(--orange); background: rgba(255,111,0,.1); }
.hc-title { font-family: 'Albert Sans', sans-serif; font-size: 1.5rem; font-weight: 400; letter-spacing: -.025em; margin-bottom: 12px; }
.hc-title-blue { color: var(--blue-d); }
.hc-title-orange { color: var(--orange); }
.hc-desc { font-size: .96rem; line-height: 1.8; color: var(--muted); margin-bottom: 22px; }
.hc-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.hc-item { display: flex; gap: 9px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.hc-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; margin-top: 1px;
}
.hc-dot-blue { background: rgba(21,117,239,.12); color: var(--blue-b); }
.hc-dot-orange { background: rgba(255,111,0,.12); color: var(--orange); }
.hc-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Albert Sans', sans-serif; font-size: .92rem; font-weight: 700;
  transition: gap .2s var(--ease);
}
.hc-link:hover { gap: 11px; }
.hc-link-blue { color: var(--blue-b); }
.hc-link-orange { color: var(--orange); }

/* Service cards extended */
.srv-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.srv-pill {
  font-size: .75rem; font-weight: 600;
  padding: 3px 10px; border-radius: var(--r-full);
  background: var(--bg); border: 1px solid var(--border); color: var(--muted);
}

/* Process */
.proc-steps {
  display: flex; gap: 0; position: relative; margin-top: 48px;
}
.proc-steps::before {
  content: ''; position: absolute; top: 24px; left: 24px; right: 24px;
  height: 2px; background: linear-gradient(90deg, var(--orange), var(--blue-b)); z-index: 0;
}
.proc-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; flex: 1; position: relative; z-index: 1;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.proc-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Albert Sans', sans-serif; font-size: 1rem; font-weight: 800;
  color: #fff; margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.proc-num-1 { background: var(--orange); }
.proc-num-2 { background: #D08020; }
.proc-num-3 { background: #9870B0; }
.proc-num-4 { background: var(--blue-b); }
.proc-step h4 { font-size: .95rem; margin-bottom: 5px; }
.proc-step p { font-size: .86rem; color: var(--muted); line-height: 1.65; max-width: 150px; margin: 0 auto; }
.proc-step:hover {
  transform: translateY(-8px) scale(1.03);
  z-index: 2;
}
.proc-step:hover .proc-num {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

/* Why cards */
.why-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.why-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  transition: all var(--duration) var(--ease);
}
.why-card:hover {
  border-color: rgba(21,117,239,.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-card-icon { font-size: 1.5rem; margin-bottom: 12px; }
.why-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.why-card p { font-size: .92rem; color: var(--muted); line-height: 1.75; }

/* ── PRODUCTS PAGE ───────────────────────────────────── */
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-badge-item {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-full);
  padding: 5px 14px; font-size: .8rem; font-weight: 600; color: #fff;
}

/* Problem stats */
.prob-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prob-stat {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  transition: all var(--duration) var(--ease);
}
.prob-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md); border-color: var(--blue-b);
}
.prob-stat-num {
  font-family: 'Albert Sans', sans-serif; font-size: 1.9rem; font-weight: 400;
  letter-spacing: -.03em; margin-bottom: 5px;
}

/* Solution cards */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  position: relative; overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.sol-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.sol-card-purple::before { background: linear-gradient(90deg, #6B3FE7, #00C8B4); }
.sol-card-orange::before { background: linear-gradient(90deg, var(--orange), var(--amber)); }
.sol-card-green::before { background: linear-gradient(90deg, #00A896, #4ADE80); }
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg); border-color: transparent;
}
.sol-card-icon { font-size: 1.6rem; margin-bottom: 16px; }
.sol-card h3 { font-size: 1.02rem; margin-bottom: 9px; }
.sol-card p { font-size: .92rem; color: var(--muted); line-height: 1.75; }

/* Pipeline steps */
.pipe-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pipe-step {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
  position: relative; overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.pipe-step:hover {
  border-color: rgba(21,117,239,.25);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pipe-step-num {
  font-family: 'Albert Sans', sans-serif; font-size: 2.2rem; font-weight: 700;
  color: rgba(21,117,239,.08); position: absolute; top: 12px; right: 16px; line-height: 1;
}
.pipe-step-icon { font-size: 1.3rem; margin-bottom: 12px; }
.pipe-step h4 { font-size: .92rem; margin-bottom: 6px; }
.pipe-step p { font-size: .84rem; color: var(--muted); line-height: 1.65; }

/* Tech stack */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tech-list { display: flex; flex-direction: column; gap: 12px; }
.tech-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; border-radius: var(--r-md);
  background: var(--bg); border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.tech-item:hover { border-color: rgba(21,117,239,.25); background: var(--white); }
.tech-item-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.tech-item h4 { font-size: .95rem; margin-bottom: 2px; }
.tech-item p { font-size: .84rem; color: var(--muted); }

/* Arch diagram */
.arch-panel {
  background: linear-gradient(135deg, #050E22, #0D1E40);
  border-radius: var(--r-xl); padding: 32px; color: #fff;
}
.arch-title {
  font-family: 'Albert Sans', sans-serif; font-size: .7rem; font-weight: 700;
  color: rgba(255,255,255,.7); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 20px;
}
.ms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ms-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px; padding: 10px 13px; font-size: .72rem;
}
.ms-name {
  font-family: 'Albert Sans', sans-serif; font-weight: 700;
  color: #fff; margin-bottom: 2px;
}
.ms-tech { font-size: .63rem; color: rgba(255,255,255,.4); }
.ms-dot {
  width: 7px; height: 7px; border-radius: 50%;
  display: inline-block; margin-right: 5px;
}
.dot-green { background: #4ADE80; }
.dot-blue { background: #1878F1; }
.dot-orange { background: #FF6F00; }
.dot-teal { background: #00C8B4; }

.arch-legend {
  margin-top: 14px; font-size: .64rem; color: rgba(255,255,255,.3);
  display: flex; gap: 16px; flex-wrap: wrap;
}

/* Market grid */
.market-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.market-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.market-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg); border-color: var(--blue-b);
}
.market-val {
  font-family: 'Albert Sans', sans-serif; font-size: 2.2rem; font-weight: 400;
  margin-bottom: 6px;
}
.market-label { font-size: .9rem; color: var(--muted); line-height: 1.55; }

/* Color modifiers */
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue-b); }
.text-teal { color: #00A896; }

@media (max-width: 480px) {
  .container { padding: 0 var(--space-3); }
  .section { padding: var(--space-8) 0; }

  .nav { padding: 0 12px; }
  .nav-logo svg { width: 28px; height: 28px; min-width: 28px; min-height: 28px; }
  .nav-logo-text { font-size: 1rem; }
  .nav-logo { gap: 6px; flex-shrink: 0; }

  .hero-banner { padding: 24px 14px; }
  .hero-title { margin-bottom: 14px; font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-desc { margin-bottom: 24px; font-size: .9rem; }
  .hero-badge { font-size: .65rem; padding: 5px 12px; margin-bottom: 16px; }

  .page-hero-banner { padding: 28px 14px; }

  .stats-grid { grid-template-columns: 1fr; }
  .creds-grid { flex-direction: column; }
  .logo-strip-row { gap: 8px; }
  .logo-strip-item { font-size: .72rem; padding: 8px 10px; gap: 6px; }
  .ms-grid { grid-template-columns: 1fr; }

  .iphone { width: 200px; height: 410px; border-radius: 36px; }
  .iphone-screen { border-radius: 36px; }
  .phone-glow { width: 220px; height: 220px; }
  .iphone-mockup { width: 200px !important; height: 400px !important; }

  .contact-form-card { padding: 16px; }
  .cta-banner { padding: var(--space-8) 0; }

  .srv-card { padding: 20px; }
  .hybrid-card { padding: 18px; }

  .fc-photo { height: 180px; }
  .fc-body { padding: 20px 16px 0; }
  .fc-foot { padding: 16px; }

  .trust-row { gap: 6px; flex-wrap: wrap; justify-content: center; }
  .trust-pill { font-size: .7rem; padding: 5px 10px; }

  .hero-actions .btn { font-size: .8rem; padding: 12px 20px; }
  .cta-actions .btn { max-width: 100%; }

  /* Service card text fixes */
  .srv-card { padding: 20px; word-wrap: break-word; overflow-wrap: break-word; }
  .srv-card h3 { font-size: .95rem; }
  .srv-card p { font-size: .85rem; line-height: 1.6; }
  .srv-pills { gap: 4px; }
  .srv-pill { font-size: .68rem; padding: 3px 8px; }

  /* Hybrid cards */
  .hybrid-card { padding: 18px; }
  .hc-title { font-size: 1.2rem; }
  .hc-desc { font-size: .85rem; line-height: 1.65; }
  .hc-item { font-size: .82rem; }

  /* Why cards */
  .why-card { padding: 20px; }
  .why-card h4 { font-size: .92rem; }
  .why-card p { font-size: .82rem; }

  /* Process steps */
  .proc-step p { max-width: 100%; font-size: .82rem; }

  /* General text overflow prevention */
  .container, .srv-card, .hybrid-card, .why-card, .sol-card,
  .market-card, .prob-stat, .pipe-step, .contact-form-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
  }
}

/* ── REDUCED MOTION ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
