/* =====================================================
   ACCREDIX — Website Styles
   ===================================================== */

/* --- Variables ---------------------------------------- */
:root {
  --primary:       #1565C0;
  --primary-dark:  #0D47A1;
  --primary-light: #42A5F5;
  --accent:        #FF8F00;
  --dark:          #0D1B2A;
  --dark-mid:      #122338;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --bg:            #ffffff;
  --bg-gray:       #F5F7FA;
  --border:        #e5e7eb;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-blue:   0 12px 40px rgba(21, 101, 192, 0.18);
  --font:          'Avenir Next', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --transition:    0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

[data-aos] {
  transition-duration: 920ms !important;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform, opacity;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 34px, 0);
}
[data-aos="fade-down"] {
  transform: translate3d(0, -28px, 0);
}
[data-aos="fade-left"] {
  transform: translate3d(34px, 0, 0);
}
[data-aos="fade-right"] {
  transform: translate3d(-34px, 0, 0);
}
[data-aos="zoom-in"] {
  transform: scale(0.96);
}

[data-aos].aos-animate {
  transform: translate3d(0, 0, 0) scale(1);
}

/* --- Utility ------------------------------------------ */
.section-padding  { padding: 100px 0; }
.section--gray    { background: var(--bg-gray); }
.section--dark    { background: var(--dark); }

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header { margin-bottom: 12px; }

.section-tag {
  display: inline-block;
  background: #E3F2FD;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-tag--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================================================
   NAVBAR
   ===================================================== */
#mainNav {
  padding: 22px 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
  padding: 12px 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff !important;
  transition: color var(--transition);
}
#mainNav.scrolled .navbar-brand { color: var(--primary) !important; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}
#mainNav.scrolled .brand-mark img {
  filter: brightness(0) drop-shadow(0 8px 18px rgba(0,0,0,0.12));
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: #fff !important; background: rgba(255,255,255,0.1); }
.nav-link.active { color: #fff !important; background: rgba(255,255,255,0.16); }

#mainNav.scrolled .nav-link { color: var(--text-muted) !important; }
#mainNav.scrolled .nav-link:hover { color: var(--primary) !important; background: #EEF4FF; }
#mainNav.scrolled .nav-link.active { color: var(--primary) !important; background: #EEF4FF; }

/* Hamburger */
.navbar-toggler { border-color: rgba(255,255,255,0.4); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
#mainNav.scrolled .navbar-toggler { border-color: rgba(0,0,0,0.2); }
#mainNav.scrolled .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280%2C0%2C0%2C0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* =====================================================
   HERO
   ===================================================== */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0d2144 35%, #1565C0 100%);
}

/* Dot grid overlay */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

/* Ambient glow blobs */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow--left {
  width: 500px; height: 500px;
  left: -150px; top: -100px;
  background: rgba(21, 101, 192, 0.45);
}
.hero-glow--right {
  width: 400px; height: 400px;
  right: -100px; bottom: 0px;
  background: rgba(66, 165, 245, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 100px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  padding: 9px 22px;
  border-radius: 100px;
  margin-bottom: 30px;
}
.hero-logo {
  width: min(380px, 78vw);
  margin: 0 auto 12px;
  padding: 0;
  filter: drop-shadow(0 26px 48px rgba(0,0,0,0.34));
}
.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin: 0 auto 38px;
  line-height: 1.75;
}

.btn-hero-primary,
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  padding: 14px 32px;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(21, 101, 192, 0.45);
  margin-right: 14px;
}
.btn-hero-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(21, 101, 192, 0.55);
}

.btn-hero-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  z-index: 2;
  animation: heroScroll 2.2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll:hover { color: rgba(255,255,255,0.7); }

.hero-product {
  max-width: 1040px;
  margin: 10px auto 0;
  padding: 0 16px;
}

.product-shell {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.product-sidebar {
  background: rgba(5, 16, 35, 0.58);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 34px;
}

.product-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.product-dot--active {
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255, 143, 0, 0.16);
}

.product-panel {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(66,165,245,0.18), transparent 32%),
    rgba(255, 255, 255, 0.92);
}

.product-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--dark);
}
.product-topbar span {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.product-topbar strong {
  font-size: 0.78rem;
  color: #166534;
  background: #DCFCE7;
  padding: 8px 12px;
  border-radius: 999px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
}
.product-card {
  min-height: 128px;
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 18px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.product-card--wide {
  grid-row: span 2;
}
.product-card--accent {
  background: linear-gradient(135deg, #0D47A1, #1565C0);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.product-watermark {
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: 120px;
  opacity: 0.08;
  filter: brightness(0) invert(1);
}
.product-card--accent small,
.product-card--accent strong,
.product-card--accent p {
  position: relative;
}
.product-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.product-card--accent small,
.product-card--accent p { color: rgba(255,255,255,0.72); }
.product-card strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}

.pipeline-mini {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.pipeline-mini span {
  height: 10px;
  border-radius: 999px;
  background: #E5E7EB;
}
.pipeline-mini span.done { background: #22C55E; }
.pipeline-mini span.active {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 143, 0, 0.14);
}

@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* =====================================================
   STATS
   ===================================================== */
.stats-strip {
  margin-top: -54px;
  position: relative;
  z-index: 4;
  padding: 0 0 42px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  min-height: 132px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.12);
}
.stat-card strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}
.stat-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* =====================================================
   PROBLEM CARDS
   ===================================================== */
.problem-card {
  border-radius: var(--radius);
  padding: 44px 40px;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-blue);
}

.problem-card--blue {
  background: linear-gradient(140deg, #EEF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
}
.problem-card--red {
  background: linear-gradient(140deg, #FFF5F5 0%, #FEE2E2 100%);
  border: 1px solid #FECACA;
}

.problem-card__icon {
  font-size: 2.4rem;
  margin-bottom: 22px;
}
.problem-card--blue .problem-card__icon { color: var(--primary); }
.problem-card--red  .problem-card__icon { color: #C62828; }

.problem-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.problem-list {
  list-style: none;
  padding: 0;
}
.problem-list li {
  padding: 11px 0 11px 26px;
  position: relative;
  font-size: 0.93rem;
  color: #374151;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.55;
}
.problem-list li:last-child { border-bottom: none; }
.problem-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: 700;
  opacity: 0.5;
}

/* =====================================================
   PRODUCT OUTCOME
   ===================================================== */
.outcome-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin-bottom: 20px;
}
.outcome-copy {
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 24px;
}
.outcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.outcome-board {
  border-radius: 28px;
  background: var(--dark);
  padding: 24px;
  box-shadow: 0 28px 80px rgba(13, 27, 42, 0.22);
  overflow: hidden;
  position: relative;
}
.outcome-board::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -120px;
  background: radial-gradient(circle, rgba(66,165,245,0.32), transparent 68%);
}
.outcome-board__header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  margin-bottom: 18px;
}
.outcome-board__header span {
  font-weight: 900;
  letter-spacing: -0.02em;
}
.outcome-board__header strong {
  font-size: 0.78rem;
  color: #BFDBFE;
  font-weight: 700;
}
.outcome-lanes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.outcome-lane {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
}
.outcome-lane i {
  color: var(--primary-light);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.outcome-lane h5 {
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.outcome-lane p {
  color: rgba(255,255,255,0.58);
  font-size: 0.8rem;
  line-height: 1.62;
  margin: 0;
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-blue);
  border-color: var(--primary-light);
}

.feature-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 22px;
  background: var(--icon-bg);
  color: var(--icon-color);
}

.feature-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin: 0;
}

/* =====================================================
   VIDEO EMBED
   ===================================================== */
.video-wrapper {
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
  aspect-ratio: 16 / 9;
}
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* =====================================================
   WORKFLOW
   ===================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.workflow-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.workflow-step:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
}

.workflow-step__num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary-light);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.workflow-step__icon {
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 14px;
}
.workflow-step h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.workflow-step p {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.55;
}

/* =====================================================
   ARCHITECTURE
   ===================================================== */
.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-layer {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  border-radius: 12px;
  transition: transform var(--transition);
  cursor: default;
}
.arch-layer:hover { transform: translateX(8px); }

.arch-layer span {
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
}
.arch-inline-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 8px;
}
.arch-layer small {
  font-size: 0.76rem;
  margin-top: 5px;
  padding-left: 26px;
  opacity: 0.75;
}

.arch-layer--1 { background: #DBEAFE; color: #1565C0; }
.arch-layer--2 { background: #DCFCE7; color: #166534; }
.arch-layer--3 { background: #FEF3C7; color: #92400E; }
.arch-layer--4 { background: #F3E8FF; color: #6B21A8; }

.arch-feature {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 100%;
  min-height: 178px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.arch-feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.arch-feature > i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #EEF4FF;
  font-size: 1.25rem;
  color: var(--primary);
}
.arch-feature h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.arch-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.62;
}

/* =====================================================
   TEAM
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-card {
  text-align: center;
  padding: 36px 20px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-blue);
}

.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0 auto 18px;
  overflow: hidden;
  position: relative;
}
/* Show initials via pseudo-element so image overlay works */
.team-avatar::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-card h5 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}
.team-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--dark);
  padding: 64px 0 44px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}
.footer-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  margin: 0;
}

/* =====================================================
   TECH STACK LOGO GRID
   ===================================================== */
.techstack-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(116px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.techstack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 22px 18px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 132px;
}
.techstack-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.techstack-item img,
.techstack-item > i,
.techstack-glyph {
  width: 44px;
  height: 44px;
}
.techstack-item > i,
.techstack-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
}
.techstack-glyph {
  border-radius: 12px;
  background: #E3F2FD;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.techstack-item img {
  object-fit: contain;
}
.techstack-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* =====================================================
   BEFORE / AFTER
   ===================================================== */
.ba-table {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.ba-header {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  background: var(--dark);
}
.ba-header .ba-col-label { border: none; }
.ba-col {
  padding: 16px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ba-col--before {
  background: rgba(239,68,68,0.15);
  color: #FCA5A5;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.ba-col--after {
  background: rgba(34,197,94,0.15);
  color: #86EFAC;
  border-left: 1px solid rgba(255,255,255,0.07);
}

.ba-row {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  border-top: 1px solid var(--border);
  background: #fff;
  transition: background var(--transition);
}
.ba-row:hover { background: #F8FAFF; }

.ba-col-label {
  padding: 18px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-gray);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.ba-col-label i { color: var(--primary); }

.ba-row .ba-col {
  padding: 18px 24px;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  display: flex;
  align-items: center;
  line-height: 1.5;
}
.ba-row .ba-col--before {
  color: #B91C1C;
  background: #FFF5F5;
  border-left: 1px solid #FEE2E2;
}
.ba-row .ba-col--after {
  color: #166534;
  background: #F0FDF4;
  border-left: 1px solid #BBF7D0;
}

/* =====================================================
   TECH BADGES
   ===================================================== */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.tech-badge--react     { background: #E3F2FD; color: #0277BD; }
.tech-badge--redux     { background: #EDE7F6; color: #4527A0; }
.tech-badge--mui       { background: #E3F2FD; color: #1565C0; }
.tech-badge--php       { background: #EDE7F6; color: #512DA8; }
.tech-badge--nextcloud { background: #E8F5E9; color: #2E7D32; }
.tech-badge--mysql     { background: #FFF3E0; color: #E65100; }
.tech-badge--pdf       { background: #FCE4EC; color: #C62828; }
.tech-badge--framer    { background: #F3E5F5; color: #6A1B9A; }

/* =====================================================
   TEAM (updated)
   ===================================================== */
.team-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.team-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EEF4FF;
  color: var(--primary);
  font-size: 0.8rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.team-contact:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.team-advisor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  font-size: 0.98rem;
  color: var(--text-muted);
}
.team-advisor span {
  font-weight: 700;
  color: var(--primary);
}
.team-advisor a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #EEF4FF;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 26px rgba(21,101,192,0.12);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.team-advisor a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,143,0,0.22), transparent 28%),
    linear-gradient(135deg, #0A1628 0%, #0D2144 50%, #1565C0 100%);
}
.contact-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px;
  border-radius: 28px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 30px 90px rgba(0,0,0,0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.contact-card h2 {
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.contact-card p {
  color: rgba(255,255,255,0.66);
  line-height: 1.75;
  margin: 0;
  max-width: 700px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1199px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .section-padding  { padding: 72px 0; }
  .product-grid     { grid-template-columns: 1fr 1fr; }
  .product-card--wide { grid-column: span 2; grid-row: auto; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .techstack-logos  { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .contact-card     { grid-template-columns: 1fr; }
  .workflow-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .hero-content               { padding-top: 116px; padding-bottom: 86px; }
  .product-shell              { grid-template-columns: 1fr; }
  .product-sidebar            { display: none; }
  .product-panel              { padding: 20px; }
  .product-topbar             { align-items: flex-start; flex-direction: column; }
  .arch-feature               { min-height: auto; }
  .techstack-logos            { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .outcome-lanes              { grid-template-columns: 1fr; }
  .outcome-board__header      { flex-direction: column; }
  .workflow-grid              { grid-template-columns: repeat(2, 1fr); }
  .team-grid                  { grid-template-columns: repeat(2, 1fr); }
  .problem-card               { padding: 32px 24px; }
  .ba-header,
  .ba-row                     { grid-template-columns: 1fr; }
  .ba-col-label               { border-right: none; border-bottom: 1px solid var(--border); background: #EEF4FF; }
  .ba-header .ba-col-label    { display: none; }
}

@media (max-width: 575px) {
  .section-padding  { padding: 56px 0; }
  .hero-title       { font-size: 3.2rem; }
  .hero-cta         { display: flex; flex-direction: column; gap: 12px; align-items: center; }
  .btn-hero-primary { margin-right: 0 !important; width: 100%; max-width: 280px; }
  .btn-hero-outline { width: 100%; max-width: 280px; }
  .hero-product     { padding: 0; }
  .product-grid     { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: auto; }
  .stats-strip      { margin-top: -32px; }
  .stats-grid       { grid-template-columns: 1fr; }
  .techstack-logos  { grid-template-columns: 1fr; }
  .contact-card     { padding: 28px; }
  .section-header h2 { font-size: 1.65rem; }
  .workflow-grid    { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .arch-stack       { gap: 6px; }
}
