/* =========================================================
   NeuralVault — custom.css
   Loaded LAST on every page. All design-spec overrides here.
   NO var(), NO !important, px units only.
   ========================================================= */

/* --- Web Fonts (Inter) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/0QI6MX1D_JOuGQbT0gvTJPa787weuxJBkq0.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/0QI6MX1D_JOuGQbT0gvTJPa787weuxI9kq1umA.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/0QI6MX1D_JOuGQbT0gvTJPa787weuxIvkq1umA.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/0QI6MX1D_JOuGQbT0gvTJPa787weuxJFkq1umA.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/0QI6MX1D_JOuGQbT0gvTJPa787weuxJMkq1umA.woff2') format('woff2');
}

/* --- Base Reset & Body --- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: #CBD5E1;
  background-color: #070D1A;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #F1F5F9;
  margin-top: 0;
}

h2 { font-size: 46px; }
h3 { font-size: 26px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }
p  { font-size: 17px; line-height: 1.7; }

a {
  color: #6366F1;
  text-decoration: none;
}
a:hover {
  color: #4F52D9;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Site Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header.nav-transparent {
  background: transparent;
}

.site-header.nav-transparent .nav-logo,
.site-header.nav-transparent .nav-links a {
  color: #FFFFFF;
}

.site-header.scrolled,
.site-header.nav-solid {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .nav-logo,
.site-header.scrolled .nav-links a,
.site-header.nav-solid .nav-logo,
.site-header.nav-solid .nav-links a {
  color: #E2E8F0;
}

.site-header .nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}

.site-header .nav-logo span {
  color: #6366F1;
}

.site-header .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.site-header .nav-links a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  outline: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: #6366F1;
}

.site-header .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

.site-header .nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #E2E8F0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Homepage Hero (Split Layout B) --- */
#hero {
  margin-top: 64px;
  height: calc(100vh - 64px);
  min-height: 600px;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: #070D1A;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818CF8;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-headline {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #F1F5F9;
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: 19px;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: #6366F1;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.btn-primary:hover {
  background: #4F52D9;
  color: #FFFFFF;
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #6366F1;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  border: 2px solid #6366F1;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
  line-height: 1;
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366F1;
  text-decoration: none;
}

.btn-form-submit {
  display: block;
  width: 100%;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.btn-form-submit:hover {
  background: #6366F1;
  color: #FFFFFF;
}

/* --- Stats Bar --- */
.stats-bar {
  background: #0D1528;
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-value {
  font-size: 40px;
  font-weight: 800;
  color: #F1F5F9;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 15px;
  color: #94A3B8;
  font-weight: 500;
}

/* --- Section Common --- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6366F1;
  margin-bottom: 12px;
}

/* --- Features Section (light bg) --- */
.features-section {
  background: #F0F4FA;
  padding: 96px 0;
}

.features-section .section-header h2 {
  color: #0F172A;
}

.features-section .section-header p {
  color: #64748B;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-card .feature-icon i {
  font-size: 20px;
  color: #6366F1;
}

.feature-card h4 {
  color: #0F172A;
  margin-bottom: 12px;
  font-size: 18px;
}

.feature-card p {
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

/* --- How It Works (dark bg) --- */
.how-it-works {
  background: #070D1A;
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step-item {
  text-align: center;
  padding: 24px;
}

.step-number-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-number-wrap i {
  font-size: 22px;
  color: #6366F1;
}

.step-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: #F1F5F9;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 15px;
  color: #94A3B8;
  margin-bottom: 0;
}

/* --- Product Demo (zigzag, light bg) --- */
.product-demo {
  background: #F0F4FA;
  padding: 96px 0;
}

.product-demo .section-header h2 {
  color: #0F172A;
}

.product-demo .section-header p {
  color: #64748B;
}

.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.demo-row:last-child {
  margin-bottom: 0;
}

.demo-row.reverse .demo-image {
  order: 2;
}

.demo-row.reverse .demo-text {
  order: 1;
}

.demo-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demo-text h3 {
  color: #0F172A;
  font-size: 28px;
  margin-bottom: 16px;
}

.demo-text p {
  color: #334155;
  font-size: 17px;
  margin-bottom: 24px;
}

/* --- Pricing Teaser (dark bg) --- */
.pricing-section {
  background: #0D1528;
  padding: 96px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #111D35;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease;
}

.pricing-card.featured {
  border: 2px solid #6366F1;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #6366F1;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card .plan-name {
  font-size: 20px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 8px;
}

.pricing-card .plan-price {
  font-size: 38px;
  font-weight: 800;
  color: #F1F5F9;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  line-height: 1;
}

.pricing-card .plan-price span {
  font-size: 16px;
  font-weight: 500;
  color: #94A3B8;
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 28px;
  min-height: 40px;
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.pricing-card .plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #CBD5E1;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card .plan-features li:last-child {
  border-bottom: none;
}

.pricing-card .plan-features li i {
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-card .plan-features li .fa-check {
  color: #6366F1;
}

.pricing-card .plan-features li .fa-times {
  color: #475569;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #4F52D9 0%, #6366F1 50%, #818CF8 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 40px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: #4F52D9;
}

.cta-banner .btn-primary:hover {
  background: #F1F5F9;
  color: #4F52D9;
}

/* --- Sub-Page Hero --- */
.page-hero {
  height: 55vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero.dark-hero {
  background: radial-gradient(ellipse at 20% 60%, rgba(99, 102, 241, 0.15) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 30%, rgba(129, 140, 248, 0.09) 0%, transparent 50%),
              #050B1A;
  padding-top: 64px;
}

.page-hero.dark-hero h1 {
  font-size: 42px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.page-hero.dark-hero p {
  font-size: 18px;
  color: #94A3B8;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Site Footer --- */
.site-footer {
  background: #050B14;
  padding: 72px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.site-footer .footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #F1F5F9;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}

.site-footer .footer-logo span {
  color: #6366F1;
}

.site-footer .footer-brand p {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 20px;
}

.site-footer .footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 12px;
}

.site-footer .footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-footer .footer-social a:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #6366F1;
}

.site-footer .footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #F1F5F9;
  margin-bottom: 20px;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col ul li {
  margin-bottom: 10px;
}

.site-footer .footer-col ul a {
  font-size: 14px;
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-col ul a:hover {
  color: #6366F1;
}

.site-footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #94A3B8;
}

.site-footer .footer-contact-item i {
  color: #6366F1;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer .footer-bottom p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.site-footer .footer-bottom a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-bottom a:hover {
  color: #6366F1;
}

/* --- Cookie Banner --- */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0D1528;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  z-index: 9999;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

#cookie-banner p {
  margin: 0;
  font-size: 14px;
  color: #94A3B8;
}

#cookie-banner p a {
  color: #6366F1;
}

.cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

#cookie-accept {
  background: #6366F1;
  color: #FFFFFF;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#cookie-accept:hover {
  background: #4F52D9;
}

#cookie-decline {
  background: transparent;
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#cookie-decline:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* --- About Page --- */
.mission-section {
  background: #070D1A;
  padding: 96px 0;
  text-align: center;
}

.mission-section h2 {
  font-size: 46px;
  color: #F1F5F9;
  max-width: 720px;
  margin: 0 auto 24px;
}

.mission-section p {
  font-size: 18px;
  color: #CBD5E1;
  max-width: 640px;
  margin: 0 auto;
}

.about-stats {
  background: #0D1528;
  padding: 64px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.about-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: #F1F5F9;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 14px;
  color: #94A3B8;
  font-weight: 500;
}

.values-section {
  background: #F0F4FA;
  padding: 96px 0;
}

.values-section .section-header h2 {
  color: #0F172A;
}

.values-section .section-header p {
  color: #64748B;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.value-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-icon i {
  font-size: 24px;
  color: #6366F1;
}

.value-card h4 {
  color: #0F172A;
  font-size: 19px;
  margin-bottom: 12px;
}

.value-card p {
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* --- Team Page --- */
.team-section {
  background: #F0F4FA;
  padding: 96px 0;
}

.ceo-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.ceo-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #6366F1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.ceo-info h3 {
  color: #0F172A;
  font-size: 26px;
  margin-bottom: 4px;
}

.ceo-title {
  font-size: 15px;
  font-weight: 600;
  color: #6366F1;
  margin-bottom: 12px;
}

.ceo-bio {
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.team-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0D1528;
  border: 2px solid #6366F1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.team-card h4 {
  color: #0F172A;
  margin-bottom: 4px;
  font-size: 18px;
}

.team-card .member-title {
  font-size: 14px;
  font-weight: 600;
  color: #6366F1;
  margin-bottom: 12px;
}

.team-card .member-bio {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* --- Contact Page --- */
.contact-cards-section {
  background: #070D1A;
  padding: 80px 0;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  background: #0D1528;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-card-icon i {
  font-size: 20px;
  color: #6366F1;
}

.contact-card h4 {
  color: #F1F5F9;
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-card p {
  color: #94A3B8;
  font-size: 15px;
  margin: 0;
}

.contact-form-section {
  background: #F0F4FA;
  padding: 96px 0;
}

.contact-form-section h2 {
  color: #0F172A;
  text-align: center;
  margin-bottom: 48px;
}

.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #0F172A;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- Product Page --- */
.core-capabilities {
  background: #F0F4FA;
  padding: 96px 0;
}

.core-capabilities .section-header h2 {
  color: #0F172A;
}

.core-capabilities .section-header p {
  color: #64748B;
}

.architecture-section {
  background: #070D1A;
  padding: 96px 0;
}

.architecture-section .section-header h2 {
  color: #F1F5F9;
}

.architecture-section .section-header p {
  color: #94A3B8;
}

.architecture-image {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
}

.architecture-image img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.architecture-desc {
  max-width: 800px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 16px;
  color: #94A3B8;
}

.integrations-section {
  background: #F0F4FA;
  padding: 96px 0;
}

.integrations-section .section-header h2 {
  color: #0F172A;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.integration-item {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.integration-item i {
  font-size: 28px;
  color: #6366F1;
}

.integration-item span {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
}

.tech-specs-section {
  background: #0D1528;
  padding: 96px 0;
}

.tech-specs-section h2 {
  color: #F1F5F9;
  text-align: center;
  margin-bottom: 48px;
}

.tech-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tech-specs-table th {
  background: rgba(255, 255, 255, 0.05);
  color: #F1F5F9;
  font-weight: 600;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-specs-table td {
  padding: 14px 20px;
  color: #CBD5E1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-specs-table tr:last-child td {
  border-bottom: none;
}

/* --- Pricing Page --- */
.pricing-full-section {
  background: #0D1528;
  padding: 96px 0;
}

.faq-section {
  background: #F0F4FA;
  padding: 96px 0;
}

.faq-section h2 {
  color: #0F172A;
  text-align: center;
  margin-bottom: 48px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: #0F172A;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question i {
  font-size: 14px;
  color: #6366F1;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 16px;
  color: #334155;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- Blog Listing --- */
.blog-listing {
  background: #F0F4FA;
  padding: 96px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.blog-card-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6366F1;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 12px;
}

.blog-card h4 {
  color: #0F172A;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  flex: 1;
}

.blog-card-date {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 0;
}

.blog-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* --- Legal Pages --- */
.legal-content {
  background: #F0F4FA;
  padding: 80px 0 96px;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 56px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-body h2 {
  font-size: 26px;
  color: #0F172A;
  margin-bottom: 12px;
  margin-top: 40px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 15px;
  color: #334155;
  line-height: 1.75;
}

.legal-body ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-body ul li {
  font-size: 15px;
  color: #334155;
  margin-bottom: 6px;
  line-height: 1.65;
}

.legal-date {
  font-size: 14px;
  color: #94A3B8;
  margin-bottom: 32px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 20px 24px;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header .nav-links.open {
    display: flex;
  }

  .site-header .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header .nav-links li:last-child {
    border-bottom: none;
  }

  .site-header .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: #E2E8F0;
  }

  .site-header .nav-toggle {
    display: flex;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-headline {
    font-size: 42px;
  }

  h2 { font-size: 34px; }

  .features-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .demo-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-row.reverse .demo-image {
    order: 0;
  }

  .demo-row.reverse .demo-text {
    order: 0;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ceo-card {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .values-grid,
  .team-grid,
  .blog-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: 34px;
  }

  .page-hero.dark-hero h1 {
    font-size: 32px;
  }

  .legal-body {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* === Related Articles (3-col, square images) === */
.related-articles { padding: 60px 0 80px; margin-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.related-articles h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.related-card-body { padding: 12px 16px 16px; }
.related-card-body h3 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 0 0 6px; }
.related-card-body .related-date { font-size: 12px; color: #94A3B8; }

/* === Prev/Next Nav (2-col) === */
.article-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.08); }
.article-nav a { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s; }
.article-nav a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-decoration: none; }
.article-nav .article-nav-next { text-align: right; justify-content: flex-end; }
.article-nav img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.article-nav h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 4px 0 0; }
.article-nav span { font-size: 12px; color: #94A3B8; }

/* === Related Articles Fix === */
.related-card img { width: 100%; height: 180px; object-fit: cover; display: block; aspect-ratio: auto; }
.related-card-body h3 { color: #E2E8F0; }
.related-card-body .related-date { color: #94A3B8; }
.related-card { background: #1E293B; border-color: rgba(255,255,255,0.1); }

/* === Logo size control in nav === */
.site-header .nav-logo img,
.site-nav .nav-logo img,
.site-nav__logo img {
  height: 28px;
  width: auto;
  max-height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}
.site-header .nav-logo,
.site-nav .nav-logo,
.site-nav__logo {
  display: flex;
  align-items: center;
  height: 64px;
  white-space: nowrap;
}

/* === Universal Blog Grid (auto-adaptive) === */
/* Works with Bootstrap row+col OR custom blog-grid class */
.blog-grid,
#blog .row,
.blog-section .row,
section[id*="blog"] .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  float: none !important;
}
.blog-grid > *,
#blog .row > *,
.blog-section .row > *,
section[id*="blog"] .row > * {
  max-width: 100% !important;
  width: auto !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
}
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.blog-card-body,
.blog-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card p,
.blog-card .card-text {
  flex: 1;
}
.blog-card .read-more,
.blog-card a:last-child {
  margin-top: auto;
}
@media(max-width:992px) {
  .blog-grid,
  #blog .row,
  .blog-section .row,
  section[id*="blog"] .row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media(max-width:576px) {
  .blog-grid,
  #blog .row,
  .blog-section .row,
  section[id*="blog"] .row {
    grid-template-columns: 1fr !important;
  }
}

/* === Blog Article Full-Width Images === */
.blog-img-full {
  text-align: center;
  margin: 32px auto;
  max-width: 100%;
}
.blog-img-full img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
