/* Cleaned CSS: duplicate selectors merged; last property wins. */

:root {
  --primary: #1E3A8A;
  --primary-dark: #0F2A5F;
  --primary-light: #3B5CBD;
  --accent: #1D9BF0;
  --accent-light: #CBE8FF;
  --background: #F5F7FA;
  --surface: #FFFFFF;
  --surface-shadow: rgba(0,0,0,0.06);
  --text-main: #1B1C1F;
  --text-secondary: #4A4B4F;
  --text-light: #6D6F76;
  --radius: 24px;
  --transition: .25s ease;
  --font-size: 16px;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

* {
  font-family: 'Heebo', 'Inter', sans-serif;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top right, rgba(203,232,255,0.35), transparent 28rem), linear-gradient(180deg, #ffffff 0%, #f8fbff 55%, #ffffff 100%);
}

h1, h2, h3 {
  margin: 0 0 1rem;
  font-weight: var(--fw-bold);
}

h1 {
  font-size: 2.8rem;
  color: var(--primary);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-top: 4rem;
  margin-bottom: 2rem;
  color: #071528;
}

h3 {
  font-size: 1.3rem;
  font-weight: var(--fw-semibold);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

.wrap {
  margin: 0 auto;
  padding: 1.2rem;
  max-width: 1200px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}

nav a {
  margin-left: 1rem;
  font-weight: var(--fw-medium);
  color: var(--text-main);
  padding: .4rem .6rem;
  border-radius: 6px;
}

nav a:hover {
  background: var(--accent-light);
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 5px 16px rgba(0,0,0,0.12);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary-dark);
}

.cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.card {

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.82),
      rgba(248,251,255,0.92)
    );

  border: 1px solid rgba(15,42,95,0.05);

  border-radius: 20px;

  padding: 1.8rem;

  box-shadow:
    0 10px 30px rgba(15,42,95,0.05);

  backdrop-filter: blur(10px);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.card:hover {

  transform: translateY(-3px);

  box-shadow:
    0 18px 45px rgba(15,42,95,0.08);

  border-color:
    rgba(29,155,240,0.12);
}

main section {
  margin-top: 5rem;
}

.card img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  border: 1px solid rgba(15,42,95,0.05);
  box-shadow:
    0 10px 24px rgba(15,42,95,0.06);
  margin-bottom: 1.2rem;
  display: block;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.card p {
  color: var(--text-light);
  flex-grow: 1;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: var(--surface);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px var(--surface-shadow);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

li::before {
  content: "✔";
  color: var(--primary);
  font-weight: var(--fw-bold);
}

footer {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.menu-right a {
  margin-left: 1.2rem;
  font-weight: 500;
}

.header-align {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  direction: rtl;
}

.menu {
  display: flex;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  mix-blend-mode: multiply;
}

#projects {
  margin-top: 6rem;
}

#about {
  margin-top: 6rem;
}

.project-img {
  width: 90%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 2rem auto;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

#overview .wrap > p {
  max-width: 820px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 2;
  color: #425066;
  font-weight: 500;
}

html[data-theme="dark"] #overview .wrap > p {
  color: var(--ink-soft);
}

@media (max-width: 600px) {
  .project-img {
    border-radius: 12px;
    margin: 1.5rem auto;
    max-width: 100%;
  }
}

.usp {
  padding: 2.5rem 1rem 1rem;
  text-align: center;
}

.usp-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1E3A8A;
  margin: 0 auto;
  line-height: 1.9;
  max-width: 850px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.logo-card {
  height: 100px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 42, 95, 0.06);
  box-shadow: 0 8px 30px rgba(15,42,95,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 42, 95, 0.12);
}

.logo-card img {
  max-height: 55px;
  object-fit: contain;
  opacity: 0.78;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
  max-width: 130px;
}

.logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
}

#why {
  margin-top: 2.5rem;
}

.why-section {
  padding: 5rem 1rem;
  background: transparent;
  text-align: right;
}

.why-section .wrap {
  margin: 0 auto;
  max-width: 1200px;
}

.why-section h2 {
  text-align: center;
}

.why-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 1.8rem;
  width: 100%;
}

.why-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border-radius: 20px;
  min-height: 144px;
  padding: 1.7rem 1.9rem;
  border: 1px solid rgba(15, 42, 95, 0.06);
  box-shadow: 0 8px 30px rgba(15,42,95,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  transition: transform .25s ease, box-shadow .25s ease;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(15, 42, 95, 0.12);
}

.why-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 0.7rem;
  color: #071528;
  font-weight: 800;
}

.why-card p {
  margin: 0;
  color: #4A4B4F;
  font-size: 1.02rem;
  line-height: 1.8;
}

@media (max-width: 800px) {
  .why-section {
    padding: 3.5rem 1rem;
  }

  .why-section h2 {
    font-size: clamp(2.5rem, 11vw, 3.7rem);
    margin-bottom: 2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 130px;
    padding: 1.6rem;
  }
}

.final-cta {
  margin-top: 6rem;
  padding: 0 1rem 5rem;
  text-align: center;
}

.final-cta-box {
  max-width: 920px;
  padding: 3rem 2rem;
  border-radius: 28px;

  background:
    radial-gradient(circle at top right, rgba(29,155,240,0.10), transparent 26rem),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,251,255,0.96));

  border: 1px solid rgba(15,42,95,0.06);

  box-shadow:
    0 18px 55px rgba(15,42,95,0.07);
}

.cta-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: #1E3A8A;
  font-size: 0.95rem;
  font-weight: 800;
}

.final-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  color: #071528;
  letter-spacing: -0.03em;
}

.final-cta p {
  max-width: 680px;
  margin: 0 auto 1.8rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: #425066;
}

.final-cta .cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.final-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  min-width: 180px;
  padding: 0 1.7rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: none;
}

.final-cta .btn-light {
  background: #1E3A8A;
  color: #fff;
}

.final-cta .btn-ghost {
  background: rgba(29,155,240,0.08);
  color: #1E3A8A;
  border: 1px solid rgba(29,155,240,0.16);
}
.hero {
  padding: 2.4rem 1rem 2rem;
  background: transparent;
  box-shadow: none;margin-top: 0 !important;
}

.hero-inner::before {

  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  background:
    radial-gradient(
      circle,
      rgba(29,155,240,0.14),
      transparent 70%
    );

  top: -180px;
  right: -120px;

  pointer-events: none;
}

.hero-inner {

  background:
    radial-gradient(
      circle at top left,
      rgba(29,155,240,0.12),
      transparent 22rem
    ),

    radial-gradient(
      circle at bottom right,
      rgba(59,92,189,0.08),
      transparent 20rem
    ),

    linear-gradient(
      180deg,
      rgba(255,255,255,0.98),
      rgba(248,251,255,0.94)
    );

  border: 1px solid rgba(15,42,95,0.06);
  position: relative;
  overflow: hidden;
  color: #071528;
  box-shadow:
  0 18px 50px rgba(15,42,95,0.08),
  inset 0 1px 0 rgba(255,255,255,0.85);
  padding: 2.6rem 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: #DDF0FF;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
  font-size: 0.95rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  border-bottom:
    1px solid rgba(15,42,95,0.05);
}

.menu a {
  font-weight: 800;
  color: #071528;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}

.menu a:hover {
  background: #DDF0FF;
  color: var(--primary);
}

.hero h1 {
  opacity: 1 !important;
  margin: 0 auto 1.35rem;
  color: #071528 !important;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.12;
  max-width: 820px;
}

.hero .lead {
  opacity: 1 !important;
  margin: 0 auto 2rem;
  color: #425066 !important;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.9;
  margin-bottom: 1.8rem;
  max-width: 860px;
}

.logo-strip {
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
  padding: 2rem 3rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,42,95,0.05);
  box-shadow: 0 15px 45px rgba(15,42,95,0.05);
}

.logo-strip img {
  max-height: 75px;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
  max-width: 230px;
}

.logo-strip img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.clients {
  padding: 4rem 1rem 2rem;
  margin-top: 5rem;
  text-align: center;
}

.clients h2 {
  margin-top: 0;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 2.2rem;
  color: #071528;
  font-weight: 800;
}

.clients-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
  padding: 2.4rem 3rem;
  border-radius: 34px;
  background: linear-gradient( 180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.64) );
  backdrop-filter: blur(14px);
  border: 1px solid rgba(15,42,95,0.05);
  box-shadow: 0 25px 70px rgba(15,42,95,0.07);
  position: relative;
  overflow: hidden;
}

.clients-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient( circle at top right, rgba(29,155,240,0.10), transparent 30% );
  pointer-events: none;
}

.clients-panel img {
  position: relative;
  z-index: 1;
  max-height: 78px;
  object-fit: contain;
  opacity: 0.72;
  transition: transform .25s ease, opacity .25s ease, filter .25s ease;
  max-width: 220px;
}

.clients-panel img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-3px);
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 56px;
  padding: 0 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  box-sizing: border-box;
}

.btn-light {

  background: #1E3A8A;
  color: white;
  border: none;
}

.btn-light:hover {
  background: #DDF0FF;
  color: #0F2A5F;
  transform: translateY(-3px);
}

.btn-ghost {
  background: rgba(29,155,240,0.08);
  color: #1E3A8A;
  border: 1px solid rgba(29,155,240,0.16);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  transform: translateY(-3px);
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  header {
    position: static;
  }

  .header-align {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
  }

  .menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu a {
    font-size: 1.1rem;
    padding: .4rem 0;
  }

  .brand img {
    height: 42px;
  }

  .final-cta {
    padding: 3.5rem 1rem 4.5rem;
  }

  .final-cta .wrap {
    padding: 3rem 1.4rem;
    border-radius: 26px;
  }

  .final-cta h2 {
    font-size: clamp(2.6rem, 13vw, 3.8rem);
  }

  .final-cta p {
    font-size: 1.08rem;
  }

  .final-cta .btn {
    width: 100%;
  }

  .clients-panel {
    gap: 2rem;
    padding: 2rem 1.4rem;
  }

  .clients-panel img {
    max-width: 160px;
  }

  .hero {
    padding: 2.4rem 1rem 2rem;
    border-radius: 0 0 34px 34px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .hero .btn {
    width: 100%;
    max-width: 290px;
  }
}
#about {
  margin-top: 6rem;
  text-align: center;
}
#about h2 {

  font-size:
    clamp(2.6rem, 4vw, 4rem);

  margin-bottom: 1.2rem;

  color: #071528;

  letter-spacing: -0.03em;
}

#about p {

  max-width: 900px;

  margin: 0 auto;

  font-size: 1.12rem;

  line-height: 2.1;

  color: #425066;

  font-weight: 400;
}
#about h2::after {

  content: "";

  display: block;

  width: 54px;

  height: 4px;

  margin: 0.9rem auto 0;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #1E3A8A,
      #5EA8FF
    );
}
.about-text {

  max-width: 760px;

  margin: 0 auto;

  font-size: 1.08rem;

  line-height: 2;

  color: #425066;
}
#why h2,
#projects h2 {
    text-align: center;
}

.section-about {
  margin-top: 6rem;
  text-align: center;
}

.section-about h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 1.2rem;
  color: #071528;
  letter-spacing: -0.03em;
}

.section-about h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #1E3A8A, #5EA8FF);
}

.section-about p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.12rem;
  line-height: 2.1;
  color: #425066;
  font-weight: 400;
}

html[data-theme="dark"] .section-about h2 { color: var(--ink-strong); }
html[data-theme="dark"] .section-about p  { color: var(--ink-soft); }
html[data-theme="dark"] .section-about h2::after {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ============================================================
   Dark Mode — keeps the same light/airy graphical language,
   just inverted: navy base, soft glass surfaces, cyan accents.
   Toggled via <html data-theme="dark">.
   ============================================================ */

:root {
  --ink-strong: #071528;
  --ink-soft:   #425066;
  --ink-muted:  #4A4B4F;
  --panel:      rgba(255,255,255,0.96);
  --panel-soft: rgba(255,255,255,0.78);
  --panel-glass-a: rgba(255,255,255,0.82);
  --panel-glass-b: rgba(248,251,255,0.92);
  --panel-strip:   rgba(255,255,255,0.55);
  --panel-clients-a: rgba(255,255,255,0.82);
  --panel-clients-b: rgba(255,255,255,0.64);
  --header-bg:  rgba(255,255,255,0.72);
  --hero-a:     rgba(255,255,255,0.98);
  --hero-b:     rgba(248,251,255,0.94);
  --cta-a:      rgba(255,255,255,0.92);
  --cta-b:      rgba(248,251,255,0.96);
  --hairline:   rgba(15,42,95,0.06);
  --hairline-strong: rgba(15,42,95,0.05);
  --shadow-soft:   0 18px 50px rgba(15,42,95,0.08);
  --shadow-card:   0 10px 30px rgba(15,42,95,0.05);
  --shadow-hover:  0 24px 60px rgba(15,42,95,0.12);
  --body-grad-a: rgba(203,232,255,0.35);
  --body-grad-b: #ffffff;
  --body-grad-c: #f8fbff;
  --halo-a:     rgba(29,155,240,0.14);
  --halo-b:     rgba(29,155,240,0.12);
  --halo-c:     rgba(59,92,189,0.08);
  --halo-cta:   rgba(29,155,240,0.10);
  --btn-light-bg: #1E3A8A;
  --btn-light-fg: #fff;
  --btn-light-hover-bg: #DDF0FF;
  --btn-light-hover-fg: #0F2A5F;
  --btn-ghost-bg: rgba(29,155,240,0.08);
  --btn-ghost-fg: #1E3A8A;
  --btn-ghost-bd: rgba(29,155,240,0.16);
  --menu-hover-bg: #DDF0FF;
  --img-blend: multiply;
  --logo-opacity: 0.78;
  --strip-logo-opacity: 0.65;
  --clients-logo-opacity: 0.72;
}

html[data-theme="dark"] {
  --primary: #6FA8FF;
  --primary-dark: #3B5CBD;
  --primary-light: #8FC0FF;
  --accent: #4FB6FF;
  --accent-light: rgba(79,182,255,0.18);
  --background: #0B1220;
  --surface: #131A2A;
  --surface-shadow: rgba(0,0,0,0.5);
  --text-main: #E6EDF7;
  --text-secondary: #B6C2D6;
  --text-light: #8C99B0;

  --ink-strong: #ECF2FB;
  --ink-soft:   #B6C2D6;
  --ink-muted:  #8C99B0;

  --panel:      rgba(22,30,48,0.78);
  --panel-soft: rgba(22,30,48,0.62);
  --panel-glass-a: rgba(22,30,48,0.72);
  --panel-glass-b: rgba(16,22,38,0.82);
  --panel-strip:   rgba(22,30,48,0.55);
  --panel-clients-a: rgba(22,30,48,0.70);
  --panel-clients-b: rgba(16,22,38,0.60);

  --header-bg:  rgba(11,18,32,0.72);
  --hero-a:     rgba(22,30,48,0.85);
  --hero-b:     rgba(16,22,38,0.80);
  --cta-a:      rgba(22,30,48,0.82);
  --cta-b:      rgba(16,22,38,0.88);

  --hairline:   rgba(255,255,255,0.08);
  --hairline-strong: rgba(255,255,255,0.06);

  --shadow-soft:   0 18px 50px rgba(0,0,0,0.45);
  --shadow-card:   0 10px 30px rgba(0,0,0,0.40);
  --shadow-hover:  0 24px 60px rgba(0,0,0,0.55);

  --body-grad-a: rgba(29,155,240,0.10);
  --body-grad-b: #0B1220;
  --body-grad-c: #0E1628;

  --halo-a:     rgba(79,182,255,0.16);
  --halo-b:     rgba(79,182,255,0.14);
  --halo-c:     rgba(59,92,189,0.18);
  --halo-cta:   rgba(79,182,255,0.14);

  --btn-light-bg: #4FB6FF;
  --btn-light-fg: #0B1220;
  --btn-light-hover-bg: #8FC0FF;
  --btn-light-hover-fg: #0B1220;
  --btn-ghost-bg: rgba(79,182,255,0.12);
  --btn-ghost-fg: #CFE6FF;
  --btn-ghost-bd: rgba(79,182,255,0.28);

  --menu-hover-bg: rgba(79,182,255,0.16);

  --img-blend: normal;
  --logo-opacity: 0.92;
  --strip-logo-opacity: 0.85;
  --clients-logo-opacity: 0.9;

  color-scheme: dark;
}

/* Re-route the previously hard-coded colors through the variables
   so the same graphic language reads correctly in dark mode. */
body {
  background:
    radial-gradient(circle at top right, var(--body-grad-a), transparent 28rem),
    linear-gradient(180deg, var(--body-grad-b) 0%, var(--body-grad-c) 55%, var(--body-grad-b) 100%);
  color: var(--text-main);
}

h2 { color: var(--ink-strong); }
p  { color: var(--ink-soft); }

nav a { color: var(--ink-strong); }

.card {
  background: linear-gradient(180deg, var(--panel-glass-a), var(--panel-glass-b));
  border-color: var(--hairline);
  box-shadow: var(--shadow-card);
}
.card:hover { box-shadow: var(--shadow-hover); }
.card img   { border-color: var(--hairline); }

.logo-card {
  background: var(--panel-soft);
  border-color: var(--hairline);
  box-shadow: var(--shadow-card);
}
.logo-card:hover { box-shadow: var(--shadow-hover); }
.logo-card img   { opacity: var(--logo-opacity); }

.why-section { background: transparent; }
.why-card {
  background: var(--panel) !important;
  border-color: var(--hairline);
  box-shadow: var(--shadow-card);
}
.why-card:hover { box-shadow: var(--shadow-hover); }
.why-card h3    { color: var(--ink-strong); }
.why-card p     { color: var(--ink-soft); }

.final-cta h2 { color: var(--ink-strong); }
.final-cta p  { color: var(--ink-soft); }
.final-cta-box {
  background:
    radial-gradient(circle at top right, var(--halo-cta), transparent 26rem),
    linear-gradient(180deg, var(--cta-a), var(--cta-b));
  border-color: var(--hairline);
  box-shadow: var(--shadow-soft);
}
.cta-kicker     { color: var(--primary); }
.final-cta .btn-light { background: var(--btn-light-bg); color: var(--btn-light-fg); }
.final-cta .btn-ghost { background: var(--btn-ghost-bg); color: var(--btn-ghost-fg); border-color: var(--btn-ghost-bd); }

.hero-inner {
  background:
    radial-gradient(circle at top left,     var(--halo-b), transparent 22rem),
    radial-gradient(circle at bottom right, var(--halo-c), transparent 20rem),
    linear-gradient(180deg, var(--hero-a), var(--hero-b));
  border-color: var(--hairline);
  color: var(--ink-strong);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-inner::before { background: radial-gradient(circle, var(--halo-a), transparent 70%); }

header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--hairline);
}

.menu a       { color: var(--ink-strong); }
.menu a:hover { background: var(--menu-hover-bg); color: var(--primary); }

.hero h1   { color: var(--ink-strong) !important; }
.hero .lead{ color: var(--ink-soft)   !important; }

.logo-strip {
  background: var(--panel-strip);
  border-color: var(--hairline);
  box-shadow: var(--shadow-card);
}
.logo-strip img { opacity: var(--strip-logo-opacity); }

.clients h2 { color: var(--ink-strong); }
.clients-panel {
  background: linear-gradient(180deg, var(--panel-clients-a), var(--panel-clients-b));
  border-color: var(--hairline);
  box-shadow: var(--shadow-hover);
}
.clients-panel::before { background: radial-gradient(circle at top right, var(--halo-cta), transparent 30%); }
.clients-panel img     { opacity: var(--clients-logo-opacity); }

.btn-light { background: var(--btn-light-bg); color: var(--btn-light-fg); }
.btn-light:hover { background: var(--btn-light-hover-bg); color: var(--btn-light-hover-fg); }
.btn-ghost { background: var(--btn-ghost-bg); color: var(--btn-ghost-fg); border-color: var(--btn-ghost-bd); }

#about h2 { color: var(--ink-strong); }
#about p, .about-text { color: var(--ink-soft); }
#about h2::after { background: linear-gradient(90deg, var(--primary), var(--accent)); }

footer { color: var(--text-secondary); }

.brand img { mix-blend-mode: var(--img-blend); }
html[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
html[data-theme="dark"] .logo-card img,
html[data-theme="dark"] .logo-strip img,
html[data-theme="dark"] .clients-panel img {
  filter: brightness(0) invert(1);
}

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  border: 1px solid var(--hairline);
  background: var(--panel-soft);
  color: var(--ink-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.05rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.theme-toggle:hover { transform: translateY(-2px); color: var(--primary); }
.theme-toggle .sun  { display: none; }
.theme-toggle .moon { display: inline; }
html[data-theme="dark"] .theme-toggle .sun  { display: inline; }
html[data-theme="dark"] .theme-toggle .moon { display: none; }
