/* ==========================================================================
   KPIT TECH (THAILAND) COMPANY LIMITED
   Design System inspired by kyklo.co — 100% Thai Localization
   ========================================================================== */

:root {
  /* Brand & Accent Colors (kyklo.co exact tokens) */
  --purple-primary: #702283;
  --purple-mid: #6E2D8C;
  --purple-magenta: #B35097;
  --purple-dark: #532563;
  --purple-light: #783C8C;
  --yellow-cta: #FFCC00;
  --yellow-cta-hover: #F2C000;
  --bg-canvas: #FFFCF8;
  --bg-white: #FFFFFF;
  --bg-lavender: #F3EBFB;
  --bg-peach: #FFEEE0;
  --navy-accent: #00283D;

  /* Neutrals */
  --text-black: #000000;
  --text-dark: #1E1B24;
  --text-body: #666563;
  --text-muted: #999795;
  --border-neutral: #CCCAC6;
  --border-lavender: #E5D6F5;

  /* Typography */
  --font-display: 'Prompt', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Sarabun', 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii & Shadows */
  --radius-btn: 6px;
  --radius-card: 10px;
  --radius-testimonial: 30px;
  --shadow-header: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  --shadow-assoc: -1.89px 2.33px 10px 0 rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 6px 24px rgba(112, 34, 131, 0.08);
  --shadow-device: 0 18px 44px rgba(24, 10, 36, 0.22);

  /* Layout */
  --container-width: 1120px;
  --header-height: 84px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-canvas);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem 0;
  color: var(--text-black);
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--purple-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--purple-magenta);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
}

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

.text-center { text-align: center; }
.text-purple { color: var(--purple-primary); }
.text-white { color: var(--bg-white); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
  line-height: 1.2;
}

.btn-yellow {
  background-color: var(--yellow-cta);
  color: var(--purple-primary);
  border-color: var(--yellow-cta);
}

.btn-yellow:hover {
  background-color: var(--yellow-cta-hover);
  border-color: var(--yellow-cta-hover);
  color: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(112, 34, 131, 0.18);
}

.btn-purple {
  background-color: var(--purple-primary);
  color: var(--bg-canvas);
  border-color: var(--purple-primary);
}

.btn-purple:hover {
  background-color: var(--bg-canvas);
  color: var(--purple-primary);
  border-color: var(--purple-primary);
}

.btn-outline-purple {
  background-color: transparent;
  color: var(--purple-primary);
  border-color: var(--purple-primary);
}

.btn-outline-purple:hover {
  background-color: var(--purple-primary);
  color: var(--bg-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--bg-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: var(--bg-white);
  color: var(--purple-primary);
  border-color: var(--bg-white);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.88rem;
}

/* ==========================================================================
   Header & Navigation (Sticky, transitions #702283 -> #FFFCF8 on scroll)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: var(--purple-primary);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-light,
.site-header.scrolled {
  background-color: var(--bg-canvas);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bg-white);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-logo-main {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-logo-sub {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 400;
  opacity: 0.88;
  letter-spacing: 0.02em;
}

.site-header.header-light .brand-logo,
.site-header.scrolled .brand-logo {
  color: var(--purple-primary);
}

.site-header.header-light .brand-logo-mark,
.site-header.scrolled .brand-logo-mark {
  background: var(--purple-primary);
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg-white);
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--yellow-cta);
  background-color: rgba(255, 255, 255, 0.08);
}

.site-header.header-light .nav-link,
.site-header.scrolled .nav-link {
  color: var(--text-dark);
}

.site-header.header-light .nav-link:hover,
.site-header.scrolled .nav-link:hover,
.site-header.header-light .nav-link.active,
.site-header.scrolled .nav-link.active {
  color: var(--purple-primary);
  background-color: var(--bg-lavender);
}

.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-chevron,
.nav-item.open .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Panel */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 310px;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 45px rgba(45, 16, 62, 0.16);
  border: 1px solid var(--border-lavender);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 1050;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--text-dark);
  transition: background-color 0.18s ease;
}

.dropdown-link:hover {
  background-color: var(--bg-lavender);
  color: var(--purple-primary);
}

.dropdown-link-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-primary);
  margin-bottom: 2px;
}

.dropdown-link-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.4;
}

.dropdown-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--bg-lavender);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 12px;
}

.dropdown-footer a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-mid);
}

.dropdown-footer a:hover {
  text-decoration: underline;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--bg-white);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

.site-header.header-light .mobile-toggle,
.site-header.scrolled .mobile-toggle {
  color: var(--purple-primary);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-canvas);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--border-lavender);
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-group {
  border-bottom: 1px solid var(--bg-lavender);
  padding: 12px 0;
}

.mobile-nav-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--purple-primary);
  display: block;
  margin-bottom: 6px;
}

.mobile-sublinks {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 12px;
}

.mobile-sublinks a {
  color: var(--text-body);
  font-size: 0.92rem;
  padding: 4px 0;
}

/* ==========================================================================
   Homepage Hero (Exact kyklo.co radial mesh + constellation lines)
   ========================================================================== */
.hero-home {
  position: relative;
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 130px;
  background-color: var(--purple-primary);
  background-image:
    radial-gradient(circle at 2.9% 53.3%, #6E2D8C 0%, 17.5%, transparent 35%),
    radial-gradient(circle at 94.4% 89.6%, #702283 0%, 20%, transparent 40%),
    radial-gradient(circle at 6.5% 88%, rgba(112, 34, 131, 0.99) 0%, 25%, transparent 50%),
    radial-gradient(circle at 2.1% 66.7%, #B35097 0%, 42%, transparent 70%),
    radial-gradient(circle at 53.3% 33.3%, #702283 0%, 42%, transparent 70%),
    radial-gradient(circle at 48.9% 49.5%, #702283 0%, 100%, transparent 100%);
  color: var(--bg-white);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  font-weight: 700;
  color: var(--bg-white);
  line-height: 1.22;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  line-height: 1.75;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-constellation {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 170px;
  pointer-events: none;
  z-index: 1;
}

/* Laptop Mockup in Hero */
.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.laptop-lid {
  background: #171A21;
  border-radius: 16px 16px 4px 4px;
  padding: 14px 14px 18px;
  box-shadow: 0 24px 60px rgba(15, 5, 25, 0.45);
  border: 2px solid #2D323E;
  position: relative;
}

.laptop-camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3F4654;
  margin: 0 auto 8px;
}

.laptop-screen {
  background: #171A21;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.laptop-base {
  height: 16px;
  background: linear-gradient(180deg, #E8EAED 0%, #C5C9D0 75%, #9EA3AC 100%);
  border-radius: 2px 2px 14px 14px;
  width: 108%;
  margin-left: -4%;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.laptop-notch {
  width: 72px;
  height: 5px;
  background: #A9AEB8;
  border-radius: 0 0 6px 6px;
  margin: 0 auto;
}

/* ==========================================================================
   Logo Carousel Bar
   ========================================================================== */
.logo-carousel-section {
  padding: 56px 0;
  background: var(--bg-canvas);
  border-bottom: 1px solid rgba(112, 34, 131, 0.08);
}

.carousel-caption {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.logo-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-lavender);
  background: var(--bg-white);
  color: var(--purple-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--purple-primary);
  color: var(--bg-white);
  border-color: var(--purple-primary);
}

.logo-track-viewport {
  overflow: hidden;
  flex: 1;
}

.logo-track {
  display: flex;
  gap: 28px;
  transition: transform 0.4s ease;
  align-items: center;
}

.partner-logo-pill {
  flex: 0 0 calc(20% - 22.4px);
  min-width: 160px;
  height: 70px;
  background: var(--bg-white);
  border: 1px solid rgba(204, 202, 198, 0.45);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: all 0.25s ease;
}

.partner-logo-pill:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--purple-primary);
  box-shadow: var(--shadow-soft);
}

.partner-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-accent);
  letter-spacing: 0.03em;
}

.partner-logo-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Intro Split Section
   ========================================================================== */
.section-pad {
  padding: 84px 0;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 18px;
}

.section-heading-purple {
  color: var(--purple-primary);
}

.lead-text {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* Device Mockup Compositions (Tablet + Phone over Purple Slab) */
.device-stage {
  position: relative;
  padding: 28px 0;
}

.purple-cubes-bg {
  position: relative;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-magenta) 100%);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.ui-tablet {
  background: #1A1D24;
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow-device);
}

.ui-tablet-screen {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.78rem;
  color: var(--text-dark);
}

.ui-topbar {
  background: var(--purple-primary);
  color: #FFFFFF;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
}

.ui-topbar.red-theme {
  background: #A91D22;
}

.ui-topbar.blue-theme {
  background: #005A9C;
}

.ui-product-body {
  padding: 14px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: start;
}

.ui-product-thumb {
  background: #F6F5F8;
  border: 1px solid #EAE6F0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.ui-sku {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-black);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.ui-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.ui-spec-chip {
  background: var(--bg-lavender);
  color: var(--purple-dark);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.ui-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #EFEFEF;
}

.ui-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--purple-primary);
}

.ui-badge-stock {
  background: #E6F7ED;
  color: #157347;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 600;
}

.ui-phone-overlay {
  position: absolute;
  bottom: -14px;
  left: -18px;
  width: 175px;
  background: #1A1D24;
  border-radius: 22px;
  padding: 7px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  z-index: 3;
}

.ui-phone-overlay.right-side {
  left: auto;
  right: -18px;
}

.ui-phone-screen {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 10px;
  font-size: 0.66rem;
}

.ui-phone-notch {
  width: 48px;
  height: 5px;
  background: #2C303A;
  border-radius: 99px;
  margin: 0 auto 8px;
}

.ui-phone-row {
  padding: 5px 0;
  border-bottom: 1px solid #F0EFF2;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.ui-phone-row strong {
  color: var(--purple-primary);
}

/* ==========================================================================
   4-Column Value Pillars + "Our Offering" Horizontal Rule Divider
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}

.pillar-card {
  text-align: center;
  padding: 20px 14px;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--bg-lavender);
  color: var(--purple-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-primary);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
}

.section-rule-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 12px 0 48px;
}

.section-rule-divider::before,
.section-rule-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border-lavender);
}

.section-rule-divider span {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--purple-primary);
  white-space: nowrap;
}

/* ==========================================================================
   Offering Blocks (For Distributors & For Manufacturers — Bleed Purple Slabs)
   ========================================================================== */
.offering-block {
  padding: 48px 0 72px;
  position: relative;
}

.offering-heading {
  text-align: center;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-black);
  margin-bottom: 44px;
}

.offering-heading a {
  color: inherit;
}

.offering-heading a:hover {
  color: var(--purple-primary);
}

.offering-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.offering-split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.slab-left-wrap,
.slab-right-wrap {
  position: relative;
  padding: 28px 28px 36px;
}

.slab-left-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40vw;
  right: 40%;
  background: var(--purple-primary);
  border-radius: 0 10px 10px 0;
  z-index: 0;
}

.slab-right-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  right: -40vw;
  background: var(--purple-primary);
  border-radius: 10px 0 0 10px;
  z-index: 0;
}

.slab-content {
  position: relative;
  z-index: 2;
}

.slab-left-wrap .ui-tablet {
  margin-left: 78px;
}

.slab-left-wrap .ui-phone-overlay {
  left: -4px;
  bottom: -24px;
  width: 158px;
}

/* Stacked Purple Callout Pills with Dotted Connectors */
.callout-pills {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callout-pill-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dotted-connector {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dotted-connector span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-primary);
}

.callout-pill {
  flex: 1;
  background: var(--purple-primary);
  color: var(--bg-white);
  padding: 18px 24px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 8px 20px rgba(112, 34, 131, 0.16);
  transition: transform 0.2s ease;
}

.callout-pill:hover {
  transform: translateX(4px);
  background: var(--purple-mid);
}

.offering-cta-row {
  text-align: center;
  margin-top: 44px;
}

/* ==========================================================================
   Industry Verticals Banner (#F3EBFB)
   ========================================================================== */
.verticals-band {
  background-color: var(--bg-lavender);
  padding: 72px 0;
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-top: 40px;
}

.vertical-item {
  text-align: center;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-card);
  border: 1px solid rgba(112, 34, 131, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vertical-item:hover {
  transform: translateY(-3px);
  background: var(--bg-white);
  box-shadow: var(--shadow-soft);
}

.vertical-title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--purple-primary);
  margin-bottom: 6px;
}

.vertical-sub {
  font-size: 0.86rem;
  color: var(--text-body);
  margin: 0;
}

/* ==========================================================================
   The KPIT TECH Difference — 5 Alternating Feature Blocks
   ========================================================================== */
.difference-intro {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-row.reverse .feature-media {
  order: 2;
}

.feature-row.reverse .feature-copy {
  order: 1;
}

.feature-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple-magenta);
  margin-bottom: 8px;
}

.feature-title {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 16px;
}

.feature-bullets {
  list-style: none;
  margin: 16px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullets li {
  position: relative;
  padding-left: 26px;
  font-size: 0.98rem;
  color: var(--text-body);
}

.feature-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-primary);
  font-weight: 700;
}

.feature-bullets strong {
  color: var(--text-dark);
}

/* Corner Purple Slab behind Cards */
.purple-corner-card {
  position: relative;
  padding: 20px 0 0 20px;
}

.purple-corner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  height: 78%;
  background: var(--purple-primary);
  border-radius: var(--radius-card);
  z-index: 0;
}

.purple-corner-card.corner-right {
  padding: 20px 20px 0 0;
}

.purple-corner-card.corner-right::before {
  left: auto;
  right: 0;
}

.purple-corner-inner {
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 1px solid #EFEAF4;
}

/* 6x7 Brand Logo Grid inside Feature 1 */
.brand-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 18px;
  background: var(--bg-white);
}

.brand-mini-tile {
  background: #FAF8FC;
  border: 1px solid #EEE7F5;
  border-radius: 6px;
  padding: 9px 6px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Search & SEO Mockup */
.seo-mockup {
  padding: 22px;
}

.seo-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--purple-primary);
  border-radius: 99px;
  padding: 9px 16px;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  background: #FFFCF8;
}

.seo-result-card {
  border: 1px solid #ECE7F2;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #FFFFFF;
}

.seo-result-url {
  font-size: 0.72rem;
  color: #157347;
  margin-bottom: 2px;
}

.seo-result-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #1A0DAB;
  margin-bottom: 4px;
}

/* PIM Diagram Graphic */
.pim-diagram {
  padding: 28px 22px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8FF 100%);
  text-align: center;
}

.pim-hub {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--purple-primary);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(112, 34, 131, 0.3);
  margin: 0 auto 20px;
}

.pim-spokes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pim-spoke {
  background: var(--bg-white);
  border: 1px solid var(--border-lavender);
  border-radius: 8px;
  padding: 10px 8px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--purple-dark);
}

/* ==========================================================================
   Testimonials Band (#702283 + 30px rounded white card)
   ========================================================================== */
.testimonials-band {
  background-color: var(--purple-primary);
  padding: 88px 0;
  color: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: center;
}

.testimonials-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 400;
  color: var(--bg-white);
  line-height: 1.25;
}

.testimonial-card {
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: var(--radius-testimonial);
  padding: 44px 42px 32px;
  box-shadow: 0 20px 50px rgba(24, 6, 36, 0.28);
  position: relative;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.35s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-headline {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--text-black);
  margin-bottom: 16px;
  line-height: 1.45;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 26px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-magenta));
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.96rem;
}

.author-role {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.company-stamp {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-accent);
  border: 1.5px solid #E2DCEB;
  padding: 6px 14px;
  border-radius: 6px;
  background: #FAF8FC;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.t-dot.active {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  transform: scale(1.2);
}

/* ==========================================================================
   Association Memberships (4x2 Shadow Cards)
   ========================================================================== */
.associations-section {
  padding: 76px 0 60px;
  background: var(--bg-canvas);
}

.associations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.assoc-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 22px 16px;
  box-shadow: var(--shadow-assoc);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  transition: transform 0.2s ease;
}

.assoc-card:hover {
  transform: translateY(-3px);
}

.assoc-code {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-accent);
  letter-spacing: 0.04em;
}

.assoc-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Blog Strip & Compliance Badges
   ========================================================================== */
.blog-cta-strip {
  padding: 44px 0;
  text-align: center;
  background: var(--bg-canvas);
}

.compliance-strip {
  padding: 28px 0 64px;
  background: var(--bg-canvas);
}

.compliance-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
  border: 1.5px solid var(--border-lavender);
  border-radius: 10px;
  padding: 12px 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.compliance-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-lavender);
  color: var(--purple-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.compliance-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-accent);
  line-height: 1.2;
}

.compliance-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer (#702283 Solid Purple Band)
   ========================================================================== */
.site-footer {
  background-color: var(--purple-primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1fr 0.95fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-company-info {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.footer-company-info p {
  margin-bottom: 8px;
}

.footer-company-info a {
  color: var(--yellow-cta);
  font-weight: 500;
}

.footer-company-info a:hover {
  text-decoration: underline;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--bg-white);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links button {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--yellow-cta);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--purple-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-circle:hover {
  transform: translateY(-2px);
  background: var(--yellow-cta);
  color: var(--purple-dark);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-trigger-btn {
  background: rgba(255, 255, 255, 0.14);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ==========================================================================
   Subpage Hero & Common Components
   ========================================================================== */
.subpage-hero {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 64px;
  background: linear-gradient(180deg, var(--bg-lavender) 0%, var(--bg-canvas) 100%);
  border-bottom: 1px solid var(--border-lavender);
}

.subpage-hero-purple {
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 72px;
  background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-mid) 60%, var(--purple-magenta) 100%);
  color: var(--bg-white);
}

.subpage-hero-purple h1,
.subpage-hero-purple p {
  color: var(--bg-white);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.subpage-hero-purple .breadcrumb,
.subpage-hero-purple .breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
}

/* KPI Strip */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: -36px auto 56px;
  position: relative;
  z-index: 5;
}

.kpi-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--purple-primary);
}

.kpi-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--purple-primary);
  margin-bottom: 8px;
}

.kpi-label {
  font-size: 0.96rem;
  color: var(--text-body);
  margin: 0;
}

/* Cards Grid */
.cards-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cards-2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.info-card {
  background: var(--bg-white);
  border: 1px solid var(--border-lavender);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-primary);
}

.info-card-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-lavender);
  color: var(--purple-primary);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.info-card h3 {
  font-size: 1.24rem;
  color: var(--purple-primary);
  margin-bottom: 12px;
}

/* Filter Tabs & Search */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.tab-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 99px;
  border: 1.5px solid var(--border-lavender);
  background: var(--bg-white);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--purple-primary);
  color: var(--bg-white);
  border-color: var(--purple-primary);
}

.search-input {
  padding: 11px 18px;
  border: 1.5px solid var(--border-lavender);
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-width: 280px;
  background: var(--bg-white);
  outline: none;
}

.search-input:focus {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(112, 34, 131, 0.12);
}

/* Forms */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-lavender);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #D9D5DF;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-dark);
  background: #FFFCF8;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--purple-primary);
  background: var(--bg-white);
}

select.form-control {
  height: 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  background: #E8F7EE;
  border: 1px solid #8AD4A8;
  color: #145C32;
  padding: 18px 20px;
  border-radius: 10px;
  margin-top: 16px;
  font-weight: 500;
}

.form-success.visible {
  display: block;
}

/* Legal Document Styling */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border-lavender);
  border-radius: 14px;
  padding: 44px 48px;
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  font-size: 1.35rem;
  color: var(--purple-primary);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bg-lavender);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border-lavender);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-lavender);
  color: var(--purple-primary);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ==========================================================================
   Cookie Consent Banner & Preferences Modal
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1.5px solid var(--purple-primary);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 18px 48px rgba(30, 10, 48, 0.25);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner-text {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 10, 38, 0.55);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-backdrop.open {
  display: flex;
}

.cookie-modal {
  background: var(--bg-white);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-lavender);
}

.cookie-switch {
  accent-color: var(--purple-primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav,
  .header-cta .btn {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .intro-split,
  .offering-split,
  .offering-split.reverse,
  .feature-row,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy {
    order: initial;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .verticals-grid,
  .cards-3-grid,
  .kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .associations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .slab-left-wrap::before,
  .slab-right-wrap::before {
    left: 0;
    right: 0;
    border-radius: 10px;
  }
}

@media (max-width: 680px) {
  .pillars-grid,
  .verticals-grid,
  .cards-3-grid,
  .cards-2-grid,
  .kpi-strip,
  .form-grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ui-phone-overlay {
    display: none;
  }

  .slab-left-wrap .ui-tablet {
    margin-left: 0;
  }

  .brand-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .legal-content {
    padding: 28px 20px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .testimonial-card {
    padding: 28px 22px;
  }
}
