/* =============================
   Light Marketing Style (Ref)
   ============================= */
body.light {
  --color-bg: #fbfcfd;
  --color-bg-alt: #f4f7f8;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f5f6;
  --color-border: #dbe2e6;
  --color-text: #0d2530;
  --color-text-muted: #5b6d78;
  --color-accent: #16a5a3; /* aqua teal */
  --color-accent-alt: #35c6c3;
  --color-accent-soft: rgba(22, 165, 163, 0.12);
  --color-accent-amber: #aacd33; /* lime-ish */
  --gradient-accent: linear-gradient(120deg, #16a5a3, #35c6c3 70%, #79ece9);
  background: #fbfcfd;
  color: var(--color-text);
}

body.light header {
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid #e5ecef;
  backdrop-filter: blur(14px);
}
body.light .brand {
  filter: none;
}
body.light nav a {
  color: var(--color-text-muted);
}
body.light nav a:hover,
body.light nav a.active {
  color: var(--color-text);
}
body.light nav a::after {
  background: var(--color-accent);
}
body.light .mobile-toggle {
  background: var(--color-surface-alt);
  border-color: var(--color-border);
  color: var(--color-text);
}
body.light .badge {
  background: #eef6f6;
  color: #0d6968;
  box-shadow: none;
}
body.light .glow {
  display: none;
}

/* Hero panel */
body.light #hero .container {
  position: relative;
}
body.light #hero .hero {
  background: linear-gradient(165deg, #eff6f7 0%, #e4f2f3 70%);
  border: 1px solid #d6e6e8;
  padding: 3rem 2.4rem;
  border-radius: 28px;
  box-shadow: 0 6px 32px -10px rgba(16, 58, 63, 0.15),
    0 2px 4px rgba(0, 0, 0, 0.04);
}
body.light .hero-media img {
  filter: drop-shadow(0 12px 28px rgba(32, 128, 132, 0.18));
}

/* CTA button variant */
.btn.cta {
  --btn-bg: #aacd33;
  --btn-bg-hover: #bce142;
  background: linear-gradient(135deg, #aacd33, #bce142);
  color: #0d2530;
  box-shadow: 0 4px 18px -4px rgba(104, 148, 12, 0.45);
}
.btn.cta:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 26px -6px rgba(104, 148, 12, 0.5);
}

/* Outline in light mode */
body.light .btn.outline {
  background: #ffffff;
  border: 1px solid #d3dee1;
  color: var(--color-text);
}
body.light .btn.outline:hover {
  background: #f1f6f7;
  border-color: var(--color-accent);
}

/* Stats in light */
body.light .stat {
  background: #ffffff;
  border: 1px solid #e2e9ec;
}
body.light .stat::before {
  background: radial-gradient(
    circle at 70% 30%,
    rgba(22, 165, 163, 0.18),
    transparent 65%
  );
  opacity: 1;
}
body.light .stat h3 {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cards */
body.light .faq-item,
body.light .client,
body.light .reasons li {
  background: #ffffff;
  border: 1px solid #e1e9ec;
}
body.light .faq-icon {
  background: #f1f6f7;
  border: 1px solid #d6e2e5;
  color: var(--color-accent);
}
body.light .faq-item.open .faq-icon {
  background: var(--color-accent);
  color: #ffffff;
}

body.light input,
body.light textarea {
  background: #ffffff;
  border: 1px solid #d9e3e6;
  box-shadow: none;
}
body.light input:focus,
body.light textarea:focus {
  box-shadow: 0 0 0 3px rgba(22, 165, 163, 0.25);
}

/* Language buttons */
body.light .lang-btn {
  background: #ffffff;
  border: 1px solid #dbe2e6;
}
body.light .lang-btn.active,
body.light .lang-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

/* Footer light */
body.light footer {
  background: #f4f7f8;
  border-top: 1px solid #dbe2e6;
}
body.light footer small {
  color: #6c7c85;
}

/* Clients subtle desaturation */
body.light .client span {
  color: #7d8c95;
}

/* Utility toggle class (JS can add 'light' to body) */
/* Kurfex Blue Theme Styles */
:root {
  --color-bg: #0f1f3a;
  --color-bg-alt: #152b52;
  --color-accent: #2d72ff;
  --color-accent-alt: #5aa9ff;
  --color-accent-soft: rgba(45, 114, 255, 0.15);
  --color-text: #f5f8ff;
  --color-text-muted: #b9c7e3;
  --color-border: #23406f;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 26px;
  --transition: 0.25s cubic-bezier(0.4, 0.1, 0.2, 1);
  --max-width: 1180px;
  --shadow-sm: 0 4px 10px -2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 30px -4px rgba(0, 0, 0, 0.45);
  --gradient-accent: linear-gradient(135deg, #2d72ff, #5aa9ff 65%, #8bc6ff);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
    "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at 25% 15%, #1c335d 0%, #0f1f3a 70%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 600;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* Layout utility */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.4rem;
}
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
}
.section.dark {
  background: var(--color-bg-alt);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(15, 31, 58, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.9rem 0;
}
.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
}
nav a {
  position: relative;
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  padding: 0.35rem 0.2rem;
  transition: var(--transition);
}
nav a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
nav a:hover,
nav a.active {
  color: var(--color-text);
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gradient-accent);
  transition: var(--transition);
  border-radius: 2px;
}
nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Mobile nav */
.mobile-toggle {
  display: none;
  background: var(--color-accent);
  border: none;
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.mobile-toggle:hover {
  background: var(--color-accent-alt);
}

@media (max-width: 840px) {
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 31, 58, 0.97);
    border-bottom: 1px solid var(--color-border);
    transform-origin: top;
    transform: scaleY(0);
    transition: var(--transition);
  }
  nav.open {
    transform: scaleY(1);
  }
  nav ul {
    flex-direction: column;
    padding: 1rem 1.4rem 1.4rem;
  }
  nav a {
    padding: 0.7rem 0;
  }
  .mobile-toggle {
    display: inline-block;
  }
}

/* Hero */
.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.hero-text p {
  font-size: 1.05rem;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-accent-soft);
  color: var(--color-accent-alt);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(2px);
}
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: screen;
  background: radial-gradient(
      circle at 60% 40%,
      rgba(45, 114, 255, 0.35),
      transparent 60%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(90, 169, 255, 0.25),
      transparent 65%
    );
}

/* Buttons */
.btn {
  --btn-bg: var(--color-accent);
  --btn-bg-hover: var(--color-accent-alt);
  --btn-color: #fff;
  background: var(--btn-bg);
  color: var(--btn-color);
  border: none;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}
.btn.outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.btn.outline:hover {
  background: var(--color-accent-soft);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.3rem 1.1rem 1rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(45, 114, 255, 0.25),
    transparent 60%
  );
  opacity: 0.8;
}
.stat h3 {
  font-size: 2rem;
  margin: 0 0 0.4rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Why Us */
.reasons {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.reasons li {
  list-style: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  position: relative;
  padding-left: 2.5rem;
}
.reasons li::before {
  content: "✓";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* FAQ */
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1rem 1rem 1rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-question span {
  flex: 1;
  text-align: left;
}
.faq-question:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-accent);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
  padding: 0 1.1rem;
}
.faq-item.open .faq-answer {
  padding-bottom: 1rem;
}
.faq-answer p {
  margin: 0.6rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
  align-items: center;
}
.client {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  position: relative;
  overflow: hidden;
}
.client::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(45, 114, 255, 0.16),
    transparent 70%
  );
}
.client span {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--color-text-muted);
}
.client:hover {
  border-color: var(--color-accent-alt);
  box-shadow: 0 0 0 1px var(--color-accent-alt);
}

/* Contact */
form {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
input,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  color: var(--color-text);
  font: inherit;
  resize: vertical;
  min-height: 52px;
}
textarea {
  min-height: 160px;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}
.success-msg {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-accent-alt);
  display: none;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.6rem;
}
.lang-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-transform: uppercase;
}
.lang-btn.active,
.lang-btn:hover {
  color: #fff;
  background: var(--gradient-accent);
  border-color: transparent;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c1a32;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;
}
footer small {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Utility */
.center {
  text-align: center;
}
.fade-in {
  animation: fadeIn 0.9s ease forwards;
  opacity: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive specifics */
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* =============================================================
   Restyle Overrides: Neutral / Teal Accent Theme (Reduced Blue)
   ============================================================= */
:root {
  /* Neutral surfaces */
  --color-bg: #111417;
  --color-bg-alt: #181d22;
  --color-surface: #1f252b;
  --color-surface-alt: #262e36;

  /* Accents (teal + optional amber micro accent) */
  --color-accent: #1fa2a0;
  --color-accent-alt: #36c2bf;
  --color-accent-soft: rgba(31, 162, 160, 0.16);
  --color-accent-amber: #e2b562;

  /* Typography */
  --color-text: #f2f5f7;
  --color-text-muted: #9aa4b0;

  /* Border */
  --color-border: #2d363e;
  --gradient-accent: linear-gradient(135deg, #1fa2a0, #36c2bf 70%, #6be6e3);
}

body {
  background: linear-gradient(180deg, #13171b 0%, #0f1214 100%) fixed;
}
header {
  background: rgba(20, 25, 29, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
nav a::after {
  background: var(--color-accent);
}
.mobile-toggle {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.85rem;
}
.mobile-toggle:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
}

.badge {
  background: linear-gradient(145deg, #272f35, #20262b);
  color: var(--color-accent-amber);
  font-size: 0.68rem;
  letter-spacing: 0.6px;
}
.glow {
  background: radial-gradient(
      circle at 35% 20%,
      rgba(31, 162, 160, 0.25),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 75%,
      rgba(54, 194, 191, 0.18),
      transparent 65%
    );
  opacity: 0.32;
  mix-blend-mode: overlay;
}

.btn {
  background: linear-gradient(
    145deg,
    var(--color-accent),
    var(--color-accent-alt)
  );
  box-shadow: 0 4px 18px -4px rgba(0, 0, 0, 0.55);
}
.btn:hover {
  filter: brightness(1.08) saturate(1.05);
}
.btn.outline {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.btn.outline:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-accent);
}

.stat {
  background: linear-gradient(145deg, #1e2429, #20282f);
  border: 1px solid #2a333a;
}
.stat::before {
  background: radial-gradient(
    circle at 78% 28%,
    rgba(54, 194, 191, 0.25),
    transparent 65%
  );
  opacity: 0.55;
}

.reasons li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.faq-icon {
  border-radius: 6px;
  background: linear-gradient(145deg, #2b343a, #1e252a);
  border: 1px solid #2e383f;
  color: var(--color-accent);
}
.faq-item.open .faq-icon {
  background: var(--color-accent);
  color: #0d1214;
}

.client {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.client::before {
  background: radial-gradient(
    circle at 72% 32%,
    rgba(54, 194, 191, 0.18),
    transparent 68%
  );
  opacity: 0.55;
}
.client:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

input,
textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25) inset;
}
input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(31, 162, 160, 0.25);
}

.lang-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 0.7rem;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
}

footer {
  background: #14181c;
  border-top: 1px solid var(--color-border);
}
