/* =========================================
   BRAIN10 – DESIGN SYSTEM
   Aesthetic: Modern Corporate Precision
   Colors: Deep Navy + Electric Blue + White
   ========================================= */

:root {
  /* ── Brand colors extracted from Brain10 presentation ── */
  --brand-blue:   #1565C0;   /* primary brand blue (header/hero background) */
  --brand-blue-2: #1976D2;   /* slightly lighter blue for gradients           */
  --brand-blue-3: #2196F3;   /* bright accent blue for hovers / highlights    */
  --brand-blue-light: #E3F2FD; /* very light blue for backgrounds             */

  /* Logo stripe colors */
  --stripe-green:  #4CAF50;
  --stripe-teal:   #26A69A;
  --stripe-orange: #FF7043;

  /* Neutrals */
  --navy:       #0D1B2A;
  --navy-mid:   #0f2044;
  --blue:       var(--brand-blue);
  --blue-bright:var(--brand-blue-3);
  --blue-light: var(--brand-blue-light);
  --accent:     #FF7043;     /* orange from logo stripe */
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --text:       #1e293b;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:  0 20px 50px rgba(0,0,0,.15);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Heebo', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- UTILITY ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-label.light {
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.15);
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: 56px;
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  max-width: calc(100vw - 48px);
  transition: opacity var(--transition), transform var(--transition);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-text { font-size: .9rem; line-height: 1.4; flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--blue);
  color: white;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: var(--blue-bright); }
.btn-cookie-decline {
  color: var(--gray-400);
  padding: 8px 16px;
  font-size: .85rem;
  transition: color var(--transition);
}
.btn-cookie-decline:hover { color: white; }

/* =========================================
   HEADER
   ========================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,0);
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 20px 0;
}
#header.scrolled {
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  padding: 12px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo-mark span { color: rgba(255,255,255,.7); }
.logo-mark strong { color: var(--blue-bright); }
.logo-mark-footer { font-size: 1.25rem; }

.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  font-weight: 500;
}
.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,.1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-btn {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 14px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 100px;
  transition: all var(--transition);
  letter-spacing: .05em;
}
.lang-btn:hover {
  color: white;
  border-color: rgba(255,255,255,.7);
}
.nav-cta {
  background: var(--blue);
  color: white;
  padding: 9px 22px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--blue-bright); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  background: var(--navy);
  padding: 16px 24px 24px;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,.85);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .95rem;
  transition: background var(--transition);
}
.mobile-menu a:hover { background: rgba(255,255,255,.1); color: white; }
.mobile-menu.open { display: block; }

/* =========================================
   HERO
   ========================================= */
#hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #1976D2 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,106,245,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,106,245,.08) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.blob-1 {
  width: 500px; height: 500px;
  background: rgba(26,106,245,.2);
  top: -100px; right: -100px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: rgba(245,158,11,.1);
  bottom: -50px; left: 10%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.35);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInDown .6s ease both;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInDown .6s .1s ease both;
}
.hero-headline em {
  font-style: normal;
  color: var(--blue-bright);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeInDown .6s .2s ease both;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
  animation: fadeInDown .6s .3s ease both;
}
.btn-primary {
  background: var(--blue);
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(26,106,245,.4);
}
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26,106,245,.5); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,.4);
  padding: 12px 30px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,.08); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInDown .6s .4s ease both;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
}
.stat span { font-size: .8rem; color: rgba(255,255,255,.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.hero-scroll-indicator span {
  display: block;
  width: 20px;
  height: 30px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 10px;
  position: relative;
}
.hero-scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scroll-dot 1.5s ease infinite;
}

/* =========================================
   ABOUT
   ========================================= */
.section-about {
  padding: 100px 0;
  background: var(--gray-50);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.25;
}
.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-values {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.value-icon { font-size: 1.4rem; flex-shrink: 0; }
.value-item strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.value-item span { font-size: .8rem; color: var(--gray-600); }

/* Lifecycle diagram */
.lifecycle-diagram {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  position: sticky;
  top: 100px;
}
.lifecycle-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.lifecycle-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.lc-step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lc-dot {
  width: 16px; height: 16px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--blue-bright);
}
.lc-label { font-size: .72rem; font-weight: 700; color: var(--navy); text-align: center; max-width: 80px; }
.lc-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); min-width: 30px; margin-bottom: 24px; }

.lifecycle-phases { display: flex; flex-direction: column; gap: 14px; }
.phase {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border-right: 3px solid var(--blue);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.phase.visible { opacity: 1; transform: translateX(0); }
.phase-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.phase p { font-size: .85rem; color: var(--gray-600); line-height: 1.4; }

/* =========================================
   PRODUCT
   ========================================= */
.section-product {
  padding: 100px 0;
  background: white;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.feature-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); background: white; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card.feature-highlight {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  color: white;
}
.feature-card.feature-highlight::before { background: linear-gradient(90deg, var(--accent), #f97316); }
.feature-card.feature-highlight h3 { color: white; }
.feature-card.feature-highlight p { color: rgba(255,255,255,.7); }
.feature-icon-wrap {
  font-size: 1.75rem;
  margin-bottom: 14px;
  display: block;
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: .83rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.how-it-works h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 36px;
}
.steps-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 120px;
}
.step-num {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-item p { font-size: .78rem; color: rgba(255,255,255,.75); text-align: center; line-height: 1.4; }
.step-arrow {
  color: rgba(255,255,255,.3);
  font-size: 1.2rem;
  margin-top: 12px;
  flex-shrink: 0;
}

/* =========================================
   CLIENTS
   ========================================= */
.section-clients {
  padding: 100px 0;
  background: var(--gray-50);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.client-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.client-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--blue-bright);
}
.client-icon { font-size: 2.2rem; margin-bottom: 14px; }
.client-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.client-sector {
  font-size: .75rem;
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--blue-light);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
}
.clients-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.sector-tag {
  background: white;
  border: 1.5px solid var(--gray-200);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
}
.sector-tag:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* =========================================
   CONTACT
   ========================================= */
.section-contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,106,245,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,106,245,.06) 1px, transparent 1px);
  background-size: 50px 50px;
}
.contact-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.25;
}
.contact-info > p {
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
}
.detail-icon { font-size: 1.1rem; }

/* Form */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .825rem;
  font-weight: 600;
  color: var(--gray-600);
}
.form-group input,
.form-group textarea {
  font-family: 'Heebo', sans-serif;
  font-size: .9rem;
  color: var(--text);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--gray-50);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(26,106,245,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue);
  color: white;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Heebo', sans-serif;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(26,106,245,.35);
  border: none;
  cursor: pointer;
  width: 100%;
}
.btn-submit:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,106,245,.45); }

.form-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
}
.form-privacy {
  font-size: .75rem;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.5;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #060e1a;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand p { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}
@keyframes scroll-dot {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RTL / LTR HANDLING
   ========================================= */
[dir="rtl"] .phase { border-right: 3px solid var(--blue); border-left: none; }
[dir="ltr"] .phase { border-left: 3px solid var(--blue); border-right: none; }
[dir="ltr"] .step-arrow { transform: none; }
[dir="rtl"] .step-arrow { transform: scaleX(-1); }
[dir="ltr"] .section-sub { margin-left: 0; }
[dir="ltr"] .about-grid { direction: ltr; }
[dir="ltr"] .lifecycle-steps { flex-direction: row; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .lifecycle-diagram { position: static; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 20px; }
  .stat strong { font-size: 1.5rem; }
  .stat-divider { height: 30px; }
  .about-values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps-flow { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  [dir="rtl"] .step-arrow { transform: rotate(90deg); }
  .how-it-works { padding: 32px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .hero-badge { font-size: .7rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
}

/* =========================================
   BRANDING UPDATE — Logo SVG
   ========================================= */
.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}
.logo-mark-footer .logo-svg {
  width: 34px;
  height: 34px;
}
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -.01em;
}
.logo-text strong {
  color: white;
  font-weight: 900;
}
.logo-mark-footer .logo-text {
  font-size: 1.25rem;
}

/* ── Hero badge uses orange (logo stripe color) ── */
.hero-badge {
  background: rgba(255,112,67,.15);
  border-color: rgba(255,112,67,.4);
  color: #FFAB91;
}

/* ── Feature highlight card uses brand blue ── */
.feature-card.feature-highlight {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}

/* ── How it works section uses brand blue ── */
.how-it-works {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}

/* ── Contact section uses brand blue ── */
.section-contact {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 100%);
}
.section-contact::before {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
}

/* ── Footer uses deep brand navy ── */
.footer { background: #0A2240; }

/* ── Scrolled header uses brand blue ── */
#header.scrolled {
  background: rgba(13,71,161,.97);
}

/* ── Section label stripe on lifecycle ── */
.phase { border-right: 3px solid var(--brand-blue-2); }
[dir="ltr"] .phase { border-left: 3px solid var(--brand-blue-2); border-right: none; }

/* ── Primary button uses brand blue ── */
.btn-primary {
  background: var(--brand-blue-2);
  box-shadow: 0 4px 20px rgba(21,101,192,.45);
}
.btn-primary:hover { background: var(--brand-blue-3); }

/* ── Submit button ── */
.btn-submit { background: var(--brand-blue-2); }
.btn-submit:hover { background: var(--brand-blue-3); }

/* ── Nav CTA ── */
.nav-cta { background: var(--brand-blue-2); }
.nav-cta:hover { background: var(--brand-blue-3); }

/* ── Cookie accept button ── */
.btn-cookie-accept { background: var(--brand-blue-2); }
.btn-cookie-accept:hover { background: var(--brand-blue-3); }

/* ── Feature card top border ── */
.feature-card::before {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-3));
}

/* ── Step number circles ── */
.step-num { background: var(--brand-blue-2); }

/* ── Lifecycle dot ── */
.lc-dot {
  background: var(--brand-blue-2);
  box-shadow: 0 0 0 3px var(--brand-blue-3);
}
.lc-line { background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-3)); }

/* ── Section labels ── */
.section-label { color: var(--brand-blue-2); background: var(--brand-blue-light); }
