/* =================================================================
   Datamiind custom.css — loads LAST, overrides template
   NO !important — use specificity via selectors
   ================================================================= */

/* CSS Custom Properties */
:root {
  --accent: #8B5CF6;
  --accent-dark: #6D28D9;
  --accent-light: #A78BFA;
  --bg-primary: #0D0D1A;
  --bg-section: #111128;
  --bg-card: #1A1A2E;
  --text-heading: #F1F5F9;
  --text-body: #CBD5E1;
  --text-secondary: #94A3B8;
  --border-subtle: rgba(139,92,246,0.15);
  --nav-height: 64px;
}

/* =================================================================
   Global resets — override template admin theme
   ================================================================= */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-body);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-heading);
}

p {
  color: var(--text-body);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-light);
}

a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

section {
  min-height: unset;
}

/* Hide template scroll arrows */
.scroll-top, .tm-scroll-top, .back-to-top {
  display: none;
}

/* =================================================================
   Navigation — .site-nav (independent flex pattern)
   ================================================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
}

.site-nav .nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-nav .nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  letter-spacing: -0.5px;
}

.site-nav .nav-logo-text span {
  color: var(--accent);
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-links a {
  display: block;
  padding: 8px 16px;
  color: #1E293B;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
  color: var(--accent);
}

.site-nav .nav-links a.active {
  font-weight: 600;
}

.site-nav .nav-links a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.site-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #1E293B;
  font-size: 20px;
  padding: 8px;
}

@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
  }
  .site-nav .nav-toggle {
    display: block;
  }
  .site-nav .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    gap: 0;
  }
  .site-nav .nav-links.open {
    display: flex;
  }
  .site-nav .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

/* =================================================================
   Hero Section — Style D: Minimal Text-Only
   ================================================================= */
.hero-section {
  position: relative;
  min-height: 92vh;
  background: linear-gradient(135deg, #0D0D1A 0%, #1A0A2E 50%, #0D1433 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(139,92,246,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(109,40,217,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.08);
  top: 10%;
  right: 10%;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.06);
  bottom: 15%;
  left: 5%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 20px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 24px;
}

.hero-content .hero-sub {
  font-size: 18px;
  color: #CBD5E1;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-micro-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-micro-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
  font-size: 14px;
}

.hero-micro-stat i {
  color: var(--accent);
  font-size: 13px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content {
    padding: 60px 20px;
  }
}

/* =================================================================
   Sub-page hero (nav-solid)
   ================================================================= */
body.page-subpage {
  padding-top: var(--nav-height);
}

.page-hero {
  background: linear-gradient(135deg, #0D0D1A 0%, #1A0A2E 50%, #0D1433 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(139,92,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  background: transparent;
  justify-content: center;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb-item {
  color: var(--text-secondary);
  font-size: 14px;
}

.page-hero .breadcrumb-item a {
  color: var(--accent);
}

.page-hero .breadcrumb-item.active {
  color: var(--text-secondary);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-secondary);
}

/* =================================================================
   Button variants
   ================================================================= */
.btn-primary-cta {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary-cta:hover {
  background: var(--accent-dark);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary-cta:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-secondary-cta {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary-cta:hover {
  background: var(--accent);
  color: #FFFFFF;
  text-decoration: none;
}

.btn-secondary-cta:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-submit {
  background: #1E293B;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 14px;
  width: 100%;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: var(--accent);
  color: #1E293B;
}

/* =================================================================
   Stats Bar
   ================================================================= */
.stats-bar {
  background: var(--bg-section);
  padding: 48px 0;
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
}

@media (max-width: 768px) {
  .stat-item {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* =================================================================
   Features Grid
   ================================================================= */
.features-section {
  background: var(--bg-primary);
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.40);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(139,92,246,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 22px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   Platform Demo
   ================================================================= */
.platform-demo-section {
  background: #F0F4FF;
  padding: 80px 0;
}

.platform-demo-section h2 {
  color: #1E293B;
}

.platform-demo-section p {
  color: #475569;
}

.platform-demo-img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  width: 100%;
  height: auto;
}

.demo-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.demo-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: #475569;
  font-size: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.demo-feature-list li:last-child {
  border-bottom: none;
}

.demo-feature-list li i {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

/* =================================================================
   Pricing Teaser (Homepage)
   ================================================================= */
.pricing-teaser-section {
  background: var(--bg-section);
  padding: 80px 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  transition: border-color 0.25s;
}

.pricing-card.recommended {
  border-color: var(--accent);
  position: relative;
}

.pricing-card.recommended::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-card .plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-card .plan-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .plan-price sup {
  font-size: 24px;
  vertical-align: top;
  margin-top: 8px;
}

.pricing-card .plan-price-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-card .plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.pricing-card .plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-card .plan-features li:last-child {
  border-bottom: none;
}

.pricing-card .plan-features li i.fa-check {
  color: var(--accent);
}

.pricing-card .plan-features li i.fa-times {
  color: var(--text-secondary);
}

/* =================================================================
   Testimonials
   ================================================================= */
.testimonials-section {
  background: var(--bg-primary);
  padding: 80px 0;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 36px 32px;
  height: 100%;
  position: relative;
}

.testimonial-quote-mark {
  font-size: 60px;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  margin-bottom: 16px;
  display: block;
}

.testimonial-card blockquote {
  font-size: 16px;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}

.testimonial-attr {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: normal;
}

.testimonial-attr strong {
  color: var(--text-heading);
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

/* =================================================================
   Blog Preview (Homepage)
   ================================================================= */
.blog-preview-section {
  background: #F0F4FF;
  padding: 80px 0;
}

.blog-preview-section .section-header h2 {
  color: #1E293B;
}

.blog-preview-section .section-header p {
  color: #475569;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-card-meta span {
  font-size: 12px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card .read-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.blog-card .read-more:hover {
  color: var(--accent-dark);
}

/* =================================================================
   CTA Banner
   ================================================================= */
.cta-banner-section {
  background: var(--accent);
  padding: 80px 0;
  text-align: center;
}

.cta-banner-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-banner-section p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-email-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cta-email-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-size: 15px;
  outline: none;
  color: #1E293B;
}

.cta-email-form button {
  background: #1E293B;
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cta-email-form button:hover {
  background: var(--accent-dark);
}

/* =================================================================
   Footer — .site-footer
   ================================================================= */
.site-footer {
  background: #080811;
  padding: 64px 0 0;
}

.site-footer .footer-top {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-footer .footer-brand .footer-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  display: inline-block;
  margin-bottom: 12px;
}

.site-footer .footer-brand .footer-logo-text span {
  color: var(--accent);
}

.site-footer .footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.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: var(--text-secondary);
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.site-footer .footer-col h5 {
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  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 li a {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer .footer-col ul li a:hover {
  color: var(--accent);
}

.footer-address {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
}

.footer-address i {
  color: var(--accent);
  margin-right: 6px;
  width: 14px;
}

.site-footer .footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.site-footer .footer-bottom p {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}

/* =================================================================
   Cookie Banner
   ================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A1A2E;
  border-top: 1px solid rgba(139,92,246,0.3);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: var(--text-body);
  font-size: 14px;
  margin: 0;
  flex: 1;
  min-width: 260px;
}

.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner .btn-cookie-accept {
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-banner .btn-cookie-accept:hover {
  background: var(--accent-dark);
}

.cookie-banner .btn-cookie-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.cookie-banner .btn-cookie-close:hover {
  color: var(--text-heading);
}

@media (max-width: 576px) {
  .cookie-banner {
    padding: 16px 20px;
  }
}

/* =================================================================
   About page
   ================================================================= */
body.page-about .founding-section {
  background: #F0F4FF;
  padding: 80px 0;
}

body.page-about .founding-section h2 {
  color: #1E293B;
}

body.page-about .founding-section p {
  color: #475569;
}

body.page-about .founding-img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

body.page-about .mission-section {
  background: var(--bg-primary);
  padding: 80px 0;
  text-align: center;
}

body.page-about .mission-quote {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

body.page-about .timeline-section {
  background: var(--bg-section);
  padding: 80px 0;
}

.timeline-steps {
  display: flex;
  gap: 0;
  position: relative;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border-subtle);
}

.timeline-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.timeline-step-dot {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.timeline-step-dot i {
  color: var(--accent);
  font-size: 20px;
}

.timeline-step .year {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-step h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 14px;
  color: var(--text-secondary);
}

body.page-about .values-section {
  background: #F0F4FF;
  padding: 80px 0;
}

body.page-about .values-section h2 {
  color: #1E293B;
}

.value-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  height: 100%;
}

.value-card .value-icon {
  width: 64px;
  height: 64px;
  background: rgba(139,92,246,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card .value-icon i {
  font-size: 26px;
  color: var(--accent);
}

.value-card h3 {
  color: #1E293B;
  font-size: 20px;
  margin-bottom: 12px;
}

.value-card p {
  color: #475569;
  font-size: 15px;
}

body.page-about .ceo-quote-section {
  background: var(--bg-primary);
  padding: 80px 0;
  text-align: center;
}

.ceo-quote-block {
  max-width: 720px;
  margin: 0 auto;
}

.ceo-quote-block .quote-mark {
  font-size: 80px;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 0.8;
  margin-bottom: 20px;
  display: block;
}

.ceo-quote-block blockquote {
  font-size: 22px;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 24px;
  border: none;
  padding: 0;
}

.ceo-quote-block .attr {
  color: var(--text-secondary);
  font-size: 16px;
}

.ceo-quote-block .attr strong {
  color: var(--text-heading);
}

/* =================================================================
   Team page
   ================================================================= */
body.page-team .team-ceo-card {
  background: var(--bg-card);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  margin-bottom: 40px;
}

.team-initial {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(139,92,246,0.2);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 16px;
}

.team-initial.large {
  width: 100px;
  height: 100px;
  font-size: 36px;
  margin-bottom: 24px;
}

.team-ceo-card h2 {
  font-size: 28px;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.team-ceo-card .role-title {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-ceo-card p {
  color: var(--text-body);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-member-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.team-member-card:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
}

.team-member-card h3 {
  font-size: 20px;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.team-member-card .role-title {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-member-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   Contact page
   ================================================================= */
body.page-contact .contact-section {
  background: #F0F4FF;
  padding: 80px 0;
}

.contact-map {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 12px;
  display: block;
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  height: 100%;
}

.contact-form-card h3 {
  color: #1E293B;
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-form-card .form-group {
  margin-bottom: 20px;
}

.contact-form-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 6px;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 15px;
  color: #1E293B;
  background: #FFFFFF;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.contact-form-card textarea {
  height: 140px;
  resize: vertical;
}

.contact-info-cards {
  margin-top: 48px;
}

.contact-info-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  height: 100%;
}

.contact-info-card .info-icon {
  width: 56px;
  height: 56px;
  background: rgba(139,92,246,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-info-card .info-icon i {
  font-size: 22px;
  color: var(--accent);
}

.contact-info-card h4 {
  color: #1E293B;
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: #475569;
  font-size: 14px;
  margin: 0;
}

/* =================================================================
   Product page
   ================================================================= */
body.page-product .product-overview-section {
  padding: 80px 0;
}

body.page-product .product-feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

body.page-product .product-feature-row.reverse {
  flex-direction: row-reverse;
}

body.page-product .product-feature-row:last-child {
  border-bottom: none;
}

body.page-product .product-feature-img {
  flex: 1;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  width: 100%;
  height: auto;
}

body.page-product .product-feature-text {
  flex: 1;
}

body.page-product .product-feature-text h3 {
  font-size: 28px;
  color: var(--text-heading);
  margin-bottom: 16px;
}

body.page-product .product-feature-text p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.performance-stats-section {
  background: var(--bg-section);
  padding: 80px 0;
}

.perf-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.perf-stat-card .stat-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.perf-stat-card .stat-desc {
  color: var(--text-secondary);
  font-size: 14px;
}

.integrations-section {
  background: var(--bg-primary);
  padding: 80px 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.integration-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: border-color 0.2s;
}

.integration-badge:hover {
  border-color: rgba(139,92,246,0.4);
  color: var(--text-heading);
}

.how-it-works-section {
  background: var(--bg-section);
  padding: 80px 0;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: var(--border-subtle);
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-number i {
  font-size: 26px;
  color: var(--accent);
}

.step-item h3 {
  font-size: 20px;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.step-item p {
  color: var(--text-body);
  font-size: 15px;
}

@media (max-width: 768px) {
  body.page-product .product-feature-row,
  body.page-product .product-feature-row.reverse {
    flex-direction: column;
  }
  .integration-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .steps-row::before {
    display: none;
  }
}

/* =================================================================
   Pricing page (full)
   ================================================================= */
body.page-pricing .pricing-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.pricing-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-grid-3 .pricing-card.recommended {
  transform: scale(1.03);
}

.faq-section {
  background: var(--bg-section);
  padding: 80px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: var(--text-heading);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  transition: transform 0.3s;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-question.open i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.faq-answer.open {
  display: block;
}

@media (max-width: 992px) {
  .pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-grid-3 .pricing-card.recommended {
    transform: none;
  }
}

/* =================================================================
   Blog index
   ================================================================= */
body.page-blog .blog-index-section {
  background: #F0F4FF;
  padding: 80px 0;
}

.blog-grid-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .blog-grid-9 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-grid-9 {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   Blog article
   ================================================================= */
body.page-article {
  background: #F8FAFF;
}

body.page-article .article-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
  display: block;
}

body.page-article .article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

body.page-article .article-meta span {
  font-size: 13px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.page-article article {
  max-width: 780px;
  margin: 0 auto;
}

body.page-article article h1 {
  color: #1E293B;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

body.page-article article h2 {
  color: #1E293B;
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

body.page-article article h3 {
  color: #1E293B;
  font-size: 22px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

body.page-article article p {
  color: #475569;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

body.page-article article ul,
body.page-article article ol {
  color: #475569;
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 24px;
}

body.page-article .article-section {
  background: #F8FAFF;
  padding: 60px 0 80px;
}

.article-nav-footer {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 40px 0;
  margin-top: 60px;
}

.article-nav-footer .prev-next {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.article-nav-link {
  flex: 1;
  background: #F0F4FF;
  border-radius: 10px;
  padding: 20px 24px;
  text-decoration: none;
  transition: background 0.2s;
}

.article-nav-link:hover {
  background: rgba(139,92,246,0.08);
}

.article-nav-link .nav-label {
  font-size: 12px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.article-nav-link .nav-title {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
}

.article-nav-link.prev-link {
  text-align: left;
}

.article-nav-link.next-link {
  text-align: right;
}

.related-articles {
  margin-top: 0;
}

.related-articles h3 {
  font-size: 22px;
  color: #1E293B;
  margin-bottom: 24px;
}

/* =================================================================
   Legal pages
   ================================================================= */
body.page-legal {
  background: #FFFFFF;
}

body.page-legal .legal-section {
  padding: 60px 0 80px;
}

body.page-legal .legal-content {
  max-width: 800px;
  margin: 0 auto;
}

body.page-legal .legal-content h1 {
  color: #1E293B;
  font-size: 36px;
  margin-bottom: 8px;
}

body.page-legal .legal-content .updated-date {
  color: #94A3B8;
  font-size: 14px;
  margin-bottom: 40px;
}

body.page-legal .legal-content h2 {
  color: #1E293B;
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}

body.page-legal .legal-content p {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}

body.page-legal .legal-content ul {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 16px;
}

body.page-legal .site-footer {
  /* footer stays dark on legal pages */
}

/* override body bg for legal */
body.page-legal {
  background: #FFFFFF;
}

body.page-legal .legal-section {
  background: #FFFFFF;
}

/* =================================================================
   Utility classes
   ================================================================= */
.section-dark {
  background: var(--bg-primary);
}

.section-alt {
  background: var(--bg-section);
}

.section-light {
  background: #F0F4FF;
}

.text-accent {
  color: var(--accent);
}

.text-heading {
  color: var(--text-heading);
}

.text-body-color {
  color: var(--text-body);
}

.text-secondary-color {
  color: var(--text-secondary);
}

.py-section {
  padding: 80px 0;
}

.mt-section {
  margin-top: 80px;
}

/* === 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;
}

/* === Performance stat cards equal width === */
.performance-stats-section .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.performance-stats-section .row > div {
  max-width: 100%;
  flex: none;
  width: auto;
  padding: 0;
}
.perf-stat-card {
  text-align: center;
  height: 100%;
}
.perf-stat-card .stat-value {
  font-size: clamp(32px, 4vw, 42px);
}

/* === 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;
}
