/* ConsulShivTech — shared stylesheet */

:root {
  --navy: #0B1F3A;
  --navy-light: #13294F;
  --indigo: #6D28D9;
  --indigo-light: #8B5CF6;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FB;
  --charcoal: #1F2937;
  --gray-500: #6B7280;
  --gray-200: #E5E7EB;
  --white: #FFFFFF;
  --radius: 10px;
  --max-width: 1180px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 1px 3px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.10);
  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

/* Thin branded scrollbar instead of the default OS scrollbar */
html { scrollbar-width: thin; scrollbar-color: var(--indigo-light) var(--bg-alt); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--indigo-light); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--indigo); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--charcoal); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 14px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #E4E9F2; }
@media (max-width: 700px) { .section { padding: 56px 0; } }
@media (max-width: 480px) { .container { padding: 0 18px; } }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #C4CEE0; }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--indigo);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #5B21B6; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline:hover { border-color: var(--navy); background: var(--bg-alt); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--indigo); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--indigo); text-decoration: none; }
.nav-links a.active { color: var(--indigo); }
/* CTA lives once in .nav-right on desktop; the copy inside .nav-links is mobile-menu-only (see media query) */
.nav-links li:last-child { display: none; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; width: 100%; border-top: 1px solid var(--gray-200); }
  .nav-right .btn { display: none; }
  .nav-links li:last-child { display: list-item; }
  .nav-links .btn { margin: 16px 24px; }
}

/* Hero */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy p.lead {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 480px;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

.hero-graphic {
  position: relative;
  height: 420px;
}
.hero-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  right: 10%;
  top: 10%;
  background: radial-gradient(circle, rgba(109,40,217,0.16) 0%, rgba(109,40,217,0) 70%);
  border-radius: 50%;
  filter: blur(4px);
  animation: blob-pulse 7s ease-in-out infinite;
}
@keyframes blob-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}
.mockup {
  position: absolute;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease, transform 900ms ease;
}
.mockup.in-view { opacity: 1; transform: translateY(0); }
.mockup-laptop { left: 6%; top: 18%; width: 62%; animation: float-a 6s ease-in-out infinite; }
.mockup-phone { right: 6%; bottom: 6%; width: 26%; animation: float-b 5s ease-in-out infinite; }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Stroke "draw-on" effect for the outlined mockup shapes — uses pathLength="1" on the SVG elements so dasharray/dashoffset are always 0-1, regardless of actual path length */
.mockup .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.mockup.in-view .draw {
  animation: draw-line 1.3s ease forwards;
}
.mockup-laptop.in-view .draw { animation-delay: 0.1s; }
.mockup-phone.in-view .draw { animation-delay: 0.5s; }
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .mockup-laptop, .mockup-phone { animation: none; }
  .mockup { transition: opacity 400ms ease; transform: none; }
  .mockup .draw { animation: none; stroke-dashoffset: 0; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
}

/* Trust bar */
.trust-bar { padding: 40px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.trust-label { text-align: center; font-size: 0.85rem; color: var(--gray-500); margin-bottom: 24px; font-weight: 600; letter-spacing: 0.03em; }
.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.logo-placeholder {
  flex: 1;
  min-width: 120px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  filter: grayscale(1);
  opacity: 0.75;
  transition: opacity var(--transition), filter var(--transition);
}
.logo-placeholder:hover { opacity: 1; filter: grayscale(0.3); }
.logo-placeholder .mark { width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition), padding var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(109, 40, 217, 0.1);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--charcoal);
  font-size: 0.95rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--indigo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Process steps */
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 960px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }
.process-step { padding-top: 16px; border-top: 3px solid var(--indigo); }
.process-num { font-size: 0.85rem; font-weight: 700; color: var(--indigo); letter-spacing: 0.05em; }

/* Stats */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-tile { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--white); display: block; }
.stat-label { font-size: 0.9rem; color: #C4CEE0; }
@media (max-width: 480px) {
  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: 0.8rem; }
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, #1B3A6B 100%);
  border-radius: 16px;
  padding: 56px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #C4CEE0; }

/* Footer */
.site-footer { background: var(--navy); color: #C4CEE0; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; row-gap: 32px; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.site-footer .logo { color: var(--white); }
.site-footer p { color: #C4CEE0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #C4CEE0; font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #8CA0C4;
}

/* Page header (interior pages) — navy, matches home hero treatment */
.page-hero { padding: 64px 0 56px; background: var(--navy); }
.page-hero .eyebrow { margin-bottom: 10px; color: #A78BFA; }
.page-hero h1 { color: var(--white); }
.page-hero p.lead { font-size: 1.1rem; color: #C4CEE0; max-width: 640px; }

/* Team */
.team-card { text-align: left; }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--navy));
  margin-bottom: 18px;
}
.role-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(109,40,217,0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Portfolio */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--gray-200);
  padding: 4px 10px;
  border-radius: 999px;
}
.note-box {
  background: var(--bg-alt);
  border-left: 3px solid var(--indigo);
  padding: 18px 24px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 40px;
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%236D28D9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--indigo);
}
.form-status { margin-top: 16px; font-size: 0.92rem; display: none; }
.form-status.visible { display: block; }
.form-status.success { color: #047857; }
.form-status.error { color: #B91C1C; }

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-side-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}
.contact-side-card h3 { margin-bottom: 8px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 300ms ease; transform: none; opacity: 1; }
}

/* ===== v2 redesign additions ===== */

/* Logo mark */
.logo-mark { display: inline-flex; vertical-align: -6px; margin-right: 8px; }

/* Eyebrow pill (home hero) */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(109, 40, 217, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #C4B5FD;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Button arrow */
.btn-arrow { display: inline-block; transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Process — 4-step, navy, connected */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.process-card .num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--indigo-light); margin-bottom: 10px; }
.process-card h3 { color: var(--white); }
.process-card p { color: #C4CEE0; font-size: 0.92rem; margin-bottom: 0; }
@media (min-width: 961px) {
  .process-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 32px;
    right: -22px;
    color: #8B5CF6;
    font-size: 1.1rem;
    z-index: 1;
  }
}

/* Services page — included card */
.service-icon-num { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.service-icon-num .service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(109, 40, 217, 0.1); color: var(--indigo);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-icon-num .service-num { font-size: 2rem; font-weight: 800; color: var(--gray-200); }
.service-tagline { color: var(--indigo); font-weight: 600; margin-bottom: 12px; }

.included-card { background: var(--navy); border-radius: var(--radius); padding: 36px; }
.included-card .label {
  display: block; color: #A78BFA; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px;
}
.included-list { list-style: none; margin: 0; padding: 0; }
.included-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: #E4E9F2; font-size: 0.94rem; }
.included-list li:last-child { margin-bottom: 0; }
.included-list li svg { flex-shrink: 0; margin-top: 2px; color: #8B5CF6; }
.included-list li svg circle { fill: rgba(139, 92, 246, 0.18); stroke-width: 1.6; }
.included-list li svg path { stroke-width: 2.2; }

/* Portfolio filter + grid */
.filter-row { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-pill {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--gray-200);
  background: var(--white); color: var(--charcoal); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.filter-pill:hover { border-color: var(--indigo); color: var(--indigo); }
.filter-pill.active { background: var(--indigo); color: var(--white); border-color: var(--indigo); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.portfolio-thumb { position: relative; height: 170px; overflow: hidden; background: var(--bg-alt); }
.portfolio-thumb svg { width: 100%; height: 100%; display: block; }
.thumb-tag {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white);
}
.thumb-tag.web { background: #6D28D9; }
.thumb-tag.mobile { background: #2563EB; }
.thumb-tag.branding { background: #059669; }
.portfolio-body { padding: 24px; }
.portfolio-meta { display: flex; gap: 14px; font-size: 0.8rem; color: var(--gray-500); margin-bottom: 10px; flex-wrap: wrap; }
.portfolio-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg-alt);
  border-radius: 8px; padding: 14px 6px; margin: 16px 0; text-align: center;
}
.stat-num-sm { display: block; font-weight: 800; color: var(--indigo); font-size: 1.05rem; }
.stat-label-sm { font-size: 0.65rem; color: var(--gray-500); line-height: 1.3; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.portfolio-tags .tag { font-size: 0.66rem; }

/* Stats band — solid indigo (About) */
.stats-solid { background: var(--indigo); padding: 48px 0; }
.stats-solid .stat-band .stat-num { color: var(--white); }
.stats-solid .stat-band .stat-label { color: rgba(255, 255, 255, 0.85); }

/* Values — dark cards */
.value-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.10); border-radius: var(--radius); padding: 28px; }
.value-card .icon-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.4);
  display: flex; align-items: center; justify-content: center; color: var(--white); margin-bottom: 16px;
}
.value-card .icon-circle svg { stroke-width: 2.4; }
.value-card h3 { color: var(--white); }
.value-card p { color: #C4CEE0; margin-bottom: 0; font-size: 0.92rem; }

/* Team v2 */
.team-card-v2 { display: flex; gap: 20px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px; }
@media (max-width: 480px) {
  .card { padding: 24px; }
  .team-card-v2 { flex-direction: column; padding: 24px; }
}

/* Hub diagram: full SVG diagram on wider screens, simple no-scroll icon grid on narrow ones */
.hub-mobile-grid { display: none; }
@media (max-width: 700px) {
  .hub-diagram { display: none; }
  .hub-mobile-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    max-width: 420px; margin: 0 auto;
  }
  .hub-mobile-grid > div {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px; padding: 16px; color: #E4E9F2; font-weight: 600; font-size: 0.95rem;
  }
  .hub-mobile-icon {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: rgba(139,92,246,0.15); color: #C4B5FD;
    display: flex; align-items: center; justify-content: center;
  }
}
.team-avatar-lg {
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--indigo), var(--navy));
}
.team-card-v2 .role-tag { margin-bottom: 6px; }
.role-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.role-pills .tag { font-size: 0.66rem; }

/* Contact sidebar v2 */
.contact-info-card { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-alt); border-radius: 10px; padding: 18px 20px; margin-bottom: 14px; }
.contact-info-card .icon-circle-sm {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: rgba(109, 40, 217, 0.1); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-card .label-sm { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 2px; }
.contact-info-card .value-sm { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.contact-highlight {
  background: var(--indigo); color: var(--white); border-radius: 10px; padding: 18px 20px;
  display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 0.92rem;
}
.contact-highlight svg { flex-shrink: 0; margin-top: 2px; }

/* Footer availability pill */
.footer-availability {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: rgba(109, 40, 217, 0.16); border: 1px solid rgba(139, 92, 246, 0.3);
  color: #C4B5FD; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
}
.footer-availability .dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; }

/* Rings graphic (home CTA) */
.rings-wrap { position: relative; display: flex; justify-content: center; }
.rings-wrap::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(109,40,217,0.14) 0%, rgba(109,40,217,0) 70%);
  border-radius: 50%;
  z-index: 0;
}
.rings-graphic { display: block; margin: 0 auto; max-width: 100%; height: auto; position: relative; z-index: 1; }

/* Richer "AI SaaS" glow background for hero/hub sections */
.glow-bg {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}
.glow-bg::before,
.glow-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.glow-bg::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(139,92,246,0.35) 0%, rgba(139,92,246,0) 70%);
  top: -160px; right: -120px;
}
.glow-bg::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(59,130,246,0.22) 0%, rgba(59,130,246,0) 70%);
  bottom: -140px; left: -100px;
}
.glow-bg > .container { position: relative; z-index: 1; }

/* Floating icon badges near the hero graphic */
.hero-badge {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.hero-badge.in-view { opacity: 1; transform: translateY(0); }
.hero-badge-code { background: linear-gradient(135deg, #6D28D9, #4C1D95); top: 6%; left: 34%; animation: float-a 5.5s ease-in-out infinite; }
.hero-badge-chart { background: linear-gradient(135deg, #2563EB, #1D4ED8); top: 2%; right: 4%; animation: float-b 6.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-badge-code, .hero-badge-chart { animation: none; } }

/* Home service card graphic header */
.card-graphic {
  width: 100%; height: 92px; border-radius: 10px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.card-graphic svg { position: relative; z-index: 1; }

/* Chat widget */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 200; font-family: inherit; }
.chat-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--indigo); color: var(--white); font-size: 1.4rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
.chat-toggle:hover { transform: scale(1.06); }
.chat-panel {
  position: absolute; right: 0; bottom: 72px; width: 340px; max-width: calc(100vw - 40px);
  height: 440px; max-height: 70vh; background: var(--white); border-radius: 14px;
  box-shadow: var(--shadow-md); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(0.98); pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}
.chat-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-header {
  background: var(--navy); color: var(--white); padding: 14px 16px; font-weight: 700; font-size: 0.92rem;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-close { background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 0 4px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.chat-msg { max-width: 85%; padding: 9px 13px; border-radius: 12px; font-size: 0.88rem; line-height: 1.45; }
.chat-msg-user { align-self: flex-end; background: var(--indigo); color: var(--white); border-bottom-right-radius: 3px; }
.chat-msg-assistant { align-self: flex-start; background: var(--white); border: 1px solid var(--gray-200); color: var(--charcoal); border-bottom-left-radius: 3px; }
.chat-msg-pending { opacity: 0.6; font-style: italic; }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--gray-200); background: var(--white); }
.chat-input-row input {
  flex: 1; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 0.88rem; font-family: inherit;
}
.chat-input-row input:focus { outline: none; border-color: var(--indigo); }
.chat-input-row button {
  background: var(--indigo); color: var(--white); border: none; border-radius: 8px;
  padding: 0 16px; font-weight: 600; font-size: 0.85rem; cursor: pointer;
}
.chat-input-row button:disabled { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 480px) {
  .chat-panel { right: -4px; width: calc(100vw - 32px); }
}

/* Hero decorative dots */
.hero-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #8B5CF6; opacity: 0.7; animation: dot-drift 4.5s ease-in-out infinite; }
.hero-dot-1 { top: 6%; right: 16%; }
.hero-dot-2 { bottom: 22%; left: 2%; width: 6px; height: 6px; animation-duration: 5.5s; animation-delay: 0.6s; }
.hero-dot-3 { top: 46%; right: 2%; width: 5px; height: 5px; animation-duration: 6.2s; animation-delay: 1.2s; }
@keyframes dot-drift {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50% { transform: translate(6px, -8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dot { animation: none; }
}
