/* ═══════════════════════════════════════════════
   COMPONENTS.CSS — Vecteur Labs UI Component Library
   ═══════════════════════════════════════════════ */

/* ─── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background-color: #3b5ce5;
  color: #fff;
  border-color: #3b5ce5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 110, 247, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-secondary:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

/* ─── Cards ────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* ─── Badges ───────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.badge-productivity {
  background-color: var(--color-highlight);
  color: var(--color-dark);
}
.badge-devtools {
  background-color: var(--color-muted);
  color: #fff;
}
.badge-sme {
  background-color: var(--color-primary);
  color: #fff;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.platform-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  background-color: var(--color-light);
  color: var(--color-muted);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ─── Section Headings ─────────────────────────── */
.section-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-subheading {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .section-heading {
    font-size: 1.75rem;
  }
  .section-subheading {
    font-size: 1rem;
  }
}

/* ─── Site Header / Navigation ─────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background-color: transparent;
}
.site-header.scrolled {
  background-color: var(--color-primary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  padding: 0.75rem 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}
.nav-logo-text {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-base);
  position: relative;
}
.nav-link:hover {
  color: #fff;
}
.nav-link[aria-current="page"] {
  color: var(--color-highlight);
  font-weight: 600;
}
.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-highlight);
  border-radius: 1px;
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background-color: var(--color-primary);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.mobile-menu li {
  margin-bottom: 0.5rem;
}
.mobile-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color var(--transition-base);
}
.mobile-menu a:hover {
  color: var(--color-highlight);
}

/* ─── Footer ───────────────────────────────────── */
.site-footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--color-muted);
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}
.footer-links a:hover {
  color: var(--color-highlight);
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.footer-social a {
  color: var(--color-muted);
  transition: color var(--transition-base);
}
.footer-social a:hover {
  color: var(--color-highlight);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Hero ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #1A1F5E, #2a3080, #4F6EF7, #1A1F5E);
  background-size: 400% 400%;
  z-index: 0;
}
.hero-content {
  max-width: 800px;
  text-align: center;
  z-index: 1;
  position: relative;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero {
    min-height: 80vh;
  }
}

/* Page Hero (inner pages) */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero .hero-content {
  z-index: 1;
}
.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2rem;
  }
}

/* ─── Stats Bar ────────────────────────────────── */
.stats-bar {
  background-color: var(--color-dark);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-highlight);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: var(--color-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: 2.25rem;
  }
}

/* ─── Testimonials ─────────────────────────────── */
.testimonials-section {
  padding: 5rem 0;
}
.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  scrollbar-width: thin;
}
.testimonial-card {
  scroll-snap-align: start;
  min-width: 350px;
  max-width: 400px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.testimonial-quote {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  position: relative;
}
.testimonial-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-accent);
  position: absolute;
  top: -1rem;
  left: -0.25rem;
  opacity: 0.3;
  font-family: Georgia, serif;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.9375rem;
}
.testimonial-role {
  color: var(--color-muted);
  font-size: 0.8125rem;
  margin-top: 0.125rem;
}

@media (max-width: 640px) {
  .testimonial-card {
    min-width: 280px;
  }
}

/* ─── Timeline ─────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 3rem;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-highlight));
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-highlight);
  border: 3px solid var(--color-light);
  transform: translateX(-7px);
}
.timeline-date {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.timeline-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.timeline-content {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ─── Accordion ────────────────────────────────── */
.accordion {
  border-radius: 12px;
  overflow: hidden;
}
.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  text-align: left;
  transition: background-color var(--transition-base);
}
.accordion-trigger:hover {
  background-color: rgba(0, 0, 0, 0.02);
}
.accordion-trigger .chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--color-muted);
}
.accordion-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ─── Forms ────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-dark);
  font-size: 0.9375rem;
}
.form-label span {
  color: #e53e3e;
}
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-dark);
  background-color: #fff;
  transition: all var(--transition-base);
  box-sizing: border-box;
}
.form-input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.2);
}
.form-input.error {
  border-color: #e53e3e;
}
.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2);
}
.form-error {
  color: #e53e3e;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
  line-height: 1.4;
}
.form-error.visible {
  display: block;
}
.form-success {
  color: var(--color-highlight);
  font-size: 0.8125rem;
  margin-top: 0.375rem;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892B0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}
.form-checkbox a {
  color: var(--color-accent);
  text-decoration: underline;
}

.form-status {
  margin-top: 1.5rem;
}

/* ─── Alerts ───────────────────────────────────── */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.alert-info {
  background-color: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e40af;
}

/* ─── Breadcrumbs ──────────────────────────────── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 1rem 0;
}
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
}
.breadcrumbs a:hover {
  color: var(--color-highlight);
}
.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
}
.breadcrumbs [aria-current="page"] {
  color: var(--color-highlight);
}

/* Inner page breadcrumbs (inside main content) */
.main-breadcrumbs {
  color: var(--color-muted);
}
.main-breadcrumbs a {
  color: var(--color-accent);
}
.main-breadcrumbs .separator {
  color: var(--color-muted);
}

/* ─── Blog ─────────────────────────────────────── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-header {
  padding: 2rem 1.5rem 0;
}
.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.blog-card h3 a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color var(--transition-base);
}
.blog-card h3 a:hover {
  color: var(--color-accent);
}
.blog-card p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.blog-meta {
  display: flex;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.8125rem;
  flex-wrap: wrap;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-featured {
  margin-bottom: 3rem;
}
.blog-featured .blog-card {
  display: grid;
  grid-template-columns: 1fr;
}
.blog-featured .blog-card-body {
  padding: 2rem;
}
.blog-featured h3 {
  font-size: 1.5rem;
}

.blog-sidebar {
  position: sticky;
  top: 6rem;
}
.blog-sidebar section {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.blog-sidebar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark);
}
.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-sidebar li {
  margin-bottom: 0.625rem;
}
.blog-sidebar a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-base);
}
.blog-sidebar a:hover {
  color: var(--color-accent);
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
}

/* ─── Team ─────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
  padding: 2rem;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
}
.team-name {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
}
.team-role {
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.team-bio {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ─── Values Grid ──────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-card {
  text-align: center;
  padding: 2rem;
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--color-accent);
}
.value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}
.value-card p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ─── Process Flow ─────────────────────────────── */
.process-flow {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 2rem 0;
}
.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 160px;
  padding: 0 1rem;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), var(--color-highlight));
  z-index: 0;
}
.process-step:last-child::after {
  display: none;
}
.process-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.process-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 0.5rem;
  color: var(--color-muted);
}
.process-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}
.process-desc {
  color: var(--color-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* ─── Tech Stack ───────────────────────────────── */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.tech-badge {
  padding: 0.5rem 1.25rem;
  background-color: var(--color-light);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-dark);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-base);
}
.tech-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* ─── Platform Matrix Table ────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.platform-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.platform-table th {
  background-color: var(--color-primary);
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}
.platform-table th:not(:first-child) {
  text-align: center;
}
.platform-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--color-dark);
}
.platform-table td:not(:first-child) {
  text-align: center;
}
.platform-table tr:hover {
  background-color: var(--color-light);
}
.platform-table tr:last-child td {
  border-bottom: none;
}
.check-yes {
  color: var(--color-highlight);
  font-weight: 700;
  font-size: 1.125rem;
}
.check-no {
  color: var(--color-muted);
}

/* ─── Newsletter ───────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  padding: 3rem;
  border-radius: 16px;
  margin: 3rem 0;
  text-align: center;
  color: #fff;
}
.newsletter-section h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.newsletter-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.75rem;
}
.newsletter-input {
  flex: 1;
}
@media (max-width: 640px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ─── Map Placeholder ──────────────────────────── */
.map-placeholder {
  height: 300px;
  background-color: var(--color-light);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-muted);
  border: 2px dashed rgba(0, 0, 0, 0.1);
}
.map-placeholder a {
  color: var(--color-accent);
  font-weight: 500;
}

/* ─── CTA Banner ───────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), #2a3080, var(--color-accent));
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  border-radius: 24px;
  margin: 2rem 0;
}
.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-banner p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .cta-banner {
    padding: 3rem 1.5rem;
    border-radius: 16px;
  }
  .cta-banner h2 {
    font-size: 1.75rem;
  }
}

/* ─── Product Filters ──────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}
.filter-tab:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}
.filter-tab.active {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.product-card {
  display: flex;
  flex-direction: column;
}
.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
  color: var(--color-dark);
}
.product-card p {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  flex: 1;
}
.product-card .btn {
  align-self: flex-start;
  margin-top: 1rem;
}
.product-card.hidden {
  display: none;
}

/* ─── Pricing Teaser ───────────────────────────── */
.pricing-teaser {
  text-align: center;
  background-color: var(--color-light);
  padding: 4rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.pricing-teaser h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1rem;
}
.pricing-teaser p {
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* ─── Contact Info Grid ────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.contact-info-item {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.contact-info-item svg {
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.contact-info-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}
.contact-info-item p {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Service Icon ─────────────────────────────── */
.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--color-accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

/* ─── 404 Error Page ───────────────────────────── */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
}
.error-illustration {
  max-width: 300px;
  margin: 0 auto 2rem;
}
.error-title {
  font-size: 6rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.error-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1rem;
}
.error-message {
  color: var(--color-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.error-search {
  max-width: 400px;
  margin: 0 auto 2rem;
}
.search-wrapper {
  display: flex;
  gap: 0.5rem;
}
.search-wrapper input {
  flex: 1;
}
.error-nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.error-links p {
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

/* ─── Section Spacing ──────────────────────────── */
.section {
  padding: 5rem 0;
}
.section-light {
  background-color: var(--color-light);
}
.section-dark {
  background-color: var(--color-dark);
  color: #fff;
}

/* ─── Legal pages ──────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}
.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.legal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.legal-content p,
.legal-content li {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content .legal-notice {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: #856404;
}
.legal-content .last-updated {
  color: var(--color-muted);
  font-size: 0.875rem;
  font-style: italic;
  margin-bottom: 2rem;
}

/* ─── Back to Top Button ───────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 110, 247, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 110, 247, 0.4);
}

/* ─── Language Switcher ────────────────────────── */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.2rem;
  margin-left: 0.75rem;
  flex-shrink: 0;
}
.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition-base);
  line-height: 1;
}
.lang-switch a {
  color: rgba(255, 255, 255, 0.6);
}
.lang-switch a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.lang-switch .lang-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
/* Mobile menu language switcher */
.mobile-lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.mobile-lang-switch a,
.mobile-lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--transition-base);
}
.mobile-lang-switch a {
  color: rgba(255, 255, 255, 0.6);
}
.mobile-lang-switch a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.mobile-lang-switch .lang-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
@media (max-width: 1024px) {
  .lang-switch {
    display: none;
  }
}
