/* =========================================
   EuroVOX Landing Page — CSS
   EBU Brand Palette
   ========================================= */

/* --- Self-hosted Poppins --- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Self-hosted Crimson Pro (variable) --- */
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/crimson-pro-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/crimson-pro-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Custom Properties --- */
:root {
  --color-primary:      #33394F;
  --color-primary-dark: #292E40;
  --color-secondary:    #680F94;
  --color-accent:       #680F94;
  --color-accent-hover: #520C75;
  --color-accent-light: #0AD4FC;
  --color-dark:         #1F222F;
  --color-light:        #F0ECE6;
  --color-text:         #33394F;
  --color-muted:        #5C6172;
  --color-white:        #ffffff;
  --color-border:       #D6D2CB;

  --font-sans:  'Poppins', 'Century Gothic', Arial, sans-serif;
  --font-serif: 'Crimson Pro', Palatino, 'Palatino Linotype', serif;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 20px rgba(51, 57, 79, 0.10);
  --shadow-lg: 0 8px 40px rgba(51, 57, 79, 0.15);

  --max-width: 1140px;
  --section-pad: 80px 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* offset for sticky nav */
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Visually hidden (accessible labels) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 2px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
}

/* =========================================
   HEADER / NAV
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0,61,165,0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--color-primary); }

.nav-cta { margin-left: 16px; }

.lang-switcher-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 12px;
}
.lang-switcher {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235C6172' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 6px center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 24px 5px 10px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-auto-label {
  font-size: 10px;
  color: var(--color-muted);
  margin-top: 2px;
  opacity: 0.75;
  white-space: nowrap;
}
.lang-switcher:hover,
.lang-switcher:focus {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  outline: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #005bb5 100%);
  color: var(--color-white);
  padding: 100px 24px 80px;
  overflow: hidden;
  position: relative;
}

.hero-mark-watermark {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 420px;
  opacity: 0.12;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}


.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--color-accent-light); }

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 420px;
}

.hero-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  line-height: 1.35;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px;
}

.hero-why-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-why-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--color-accent-light);
  overflow: visible;
}

/* =========================================
   SOCIAL PROOF BAR
   ========================================= */
.social-proof {
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}

.social-proof-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.social-proof-label {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary-dark);
  padding: 0 24px;
}

.logos-track-outer {
  margin-top: 24px;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.logos-scroll-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3rem;
  padding: 1rem 0;
  list-style: none;
  width: max-content;
  animation: infinite-scroll 60s linear infinite;
}


.logos-track-outer:has(.logos-scroll-list:empty) {
  display: none;
}

.logo-item {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.logo-svg {
  height: 32px;
  width: auto;
  display: block;
}

@keyframes infinite-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================
   SECTION TITLES
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}


.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--color-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================
   WHAT IS EUROVOX (Video Section)
   ========================================= */
.about-section {
  padding: var(--section-pad);
  background: var(--color-white);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text .btn { margin-top: 8px; }

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* YouTube façade — poster + play button, no iframe until clicked */
.video-facade .video-poster {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
  opacity: 0.9;
}
.video-play-btn:hover { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }


/* =========================================
   FEATURES
   ========================================= */
.features-section {
  padding: var(--section-pad);
  background: var(--color-light);
}

.features-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}

.feature-icon {
  color: var(--color-primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

.feature-card .feature-stat {
  display: inline-block;
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary);
  background: rgba(80, 122, 197, 0.1);
  border-radius: 20px;
  padding: 4px 12px;
}

/* =========================================
   STATISTICS BANNER
   ========================================= */
.stats-section {
  background: var(--color-dark);
  padding: var(--section-pad);
  color: var(--color-white);
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.stats-inner h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}


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

.stat-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--color-accent-light);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-section {
  padding: var(--section-pad);
  background: var(--color-white);
}

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

.testimonials-track-wrap {
  flex: 1;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 4px 2px;
  margin: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tc-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tc-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.tc-btn:disabled { opacity: 0.25; cursor: default; }

.testimonials-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}

.tc-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

.testimonial-card {
  flex: 0 0 var(--tc-card-w, 340px);
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover { box-shadow: var(--shadow-lg); }

.testimonial-quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--color-secondary);
  opacity: 0.3;
  font-family: Georgia, serif;
  position: absolute;
  pointer-events: none;
}

.testimonial-quote-open {
  top: 16px;
  left: 28px;
}

.testimonial-quote-close {
  bottom: 100px;
  right: 28px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 28px;
  padding-top: 28px;
  font-style: italic;
}

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

.testimonial-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.testimonial-role {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

/* =========================================
   WORKFLOWS
   ========================================= */
.workflows-section {
  padding: var(--section-pad);
  background: var(--color-light);
}

.workflows-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.workflow-flow {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 40px;
}

.workflow-svg-col {
  grid-column: 1;
  grid-row: 1 / 4;
}

.workflow-svg {
  width: 80px;
  height: 600px;
}

.wf-spine {
  stroke: var(--color-border);
  stroke-width: 2;
}

.wf-branch {
  stroke: var(--color-secondary);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 5 4;
}

.wf-node {
  fill: var(--color-primary);
}

.wf-node-text {
  fill: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
  font-family: var(--font-sans);
}

.workflow-text-step {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.workflow-text-step:last-child {
  border-bottom: none;
}

.workflow-step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.workflow-text-step h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.workflow-text-step p {
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .workflow-flow {
    grid-template-columns: 1fr;
  }
  .workflow-svg-col {
    display: none;
  }
  .workflow-text-step {
    min-height: 0;
    padding: 24px 0;
  }
}

/* =========================================
   CONTACT / CTA
   ========================================= */
.contact-section {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
  text-align: center;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  font-size: 15px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}

.contact-form textarea { resize: vertical; min-height: 100px; }

.contact-form .btn-primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
  font-size: 16px;
  padding: 14px 32px;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  /* invert the dark logo to white for the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .hero-inner,
  .about-inner,
  .workflow-step,
  .workflow-step.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .hero-visual { display: none; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  :root { --section-pad: 56px 20px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .lang-switcher-wrap { margin-left: auto; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 24px;
    gap: 20px;
    box-shadow: var(--shadow);
  }

  .features-grid  { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .tc-btn         { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}



@media (prefers-reduced-motion: reduce) {
  .logos-scroll-list { animation-play-state: paused; }
  html { scroll-behavior: auto; }
}

/* =========================================
   LEGAL / DOCUMENT PAGES
   ========================================= */

/* Simple non-sticky header */
.page-header {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 24px;
}
.page-header a {
  display: inline-block;
  line-height: 0;
}
.page-header img {
  height: 36px;
  width: auto;
}

/* Main content area */
.doc-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  line-height: 1.7;
  font-family: var(--font-serif);
  font-size: 17px;
}

.doc-main--wide {
  max-width: 1100px;
}

.doc-main h1,
.doc-main h2,
.doc-main h3 {
  font-family: var(--font-sans);
}

.doc-main p {
  margin-bottom: 0.9rem;
}

.doc-main a {
  color: var(--color-primary);
}
.doc-main a:hover {
  text-decoration: underline;
}

/* Title block */
.doc-title {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--color-primary);
}
.doc-title h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 8px;
}
.doc-title p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Section headings */
.doc-main h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 0.75rem;
}

/* Indented definition-style items */
.def-list {
  margin-bottom: 0.9rem;
}
.def-list p {
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

/* Parties block (DPA preamble) */
.parties {
  margin-bottom: 0.9rem;
}
.parties p {
  padding-left: 1.4rem;
  margin-bottom: 0.2rem;
}

/* Responsibility table (Terms and Conditions, section 4) */
.responsibility-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.2rem;
  font-size: 0.95rem;
}
.responsibility-table th,
.responsibility-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  vertical-align: top;
}
.responsibility-table th {
  background: #f0f4fb;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Document footer */
.doc-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}
.doc-footer a {
  color: var(--color-primary);
  text-decoration: none;
}
.doc-footer a:hover {
  text-decoration: underline;
}
