/* ==========================================================================
   Infovatives — Brand Design System
   New brand palette: deep navy ink + coral-orange accent (replaces legacy
   lime-green/black WordPress theme). Fonts: Outfit (display) + Inter (body).
   ========================================================================== */

:root {
  /* Brand colors — matched to the Infovatives logo (cyan-to-violet mark) */
  --ink: #0b1020;          /* deep navy — primary dark background */
  --surface: #1f2937;      /* slate — cards/panels on dark */
  --surface-2: #29344a;    /* elevated panels on dark */
  --line-dark: rgba(255, 255, 255, 0.08);

  --accent: #7c4dff;       /* violet — primary CTA / highlight */
  --accent-2: #00d4ff;     /* cyan — secondary accent / gradient partner */
  --accent-hover: #9270ff;
  --accent-dark: #6a3ae0;
  --accent-soft: rgba(124, 77, 255, 0.12);
  --gradient-brand: linear-gradient(135deg, var(--accent-2), var(--accent));

  --paper: #f2f4f7;        /* light gray section background */
  --paper-alt: #ffffff;
  --line-light: rgba(11, 16, 32, 0.08);

  --text-on-dark: #eef0f6;
  --text-on-dark-muted: #9aa1b4;
  --text-on-light: #12141f;
  --text-on-light-muted: #5a6072;

  /* Type */
  --font-display: "Outfit", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 50px rgba(11, 15, 26, 0.12);
  --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: inherit;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

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

section { padding: 96px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--surface { background: var(--surface); color: var(--text-on-dark); }
.section--paper { background: var(--paper); color: var(--text-on-light); }
.section--white { background: var(--paper-alt); color: var(--text-on-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--text-on-light-muted); }
.section--dark .muted, .section--surface .muted { color: var(--text-on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gradient-brand);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(124, 77, 255, 0.35);
}
.btn--primary:hover { filter: brightness(1.08); }

.btn--outline-dark {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-on-dark);
}
.btn--outline-dark:hover { border-color: var(--accent); color: var(--accent); }

.btn--outline-light {
  border-color: var(--line-light);
  color: var(--text-on-light);
}
.btn--outline-light:hover { border-color: var(--accent); color: var(--accent-dark); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  height: 38px;
  width: auto;
  display: block;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-text .c1 { color: var(--accent-2); }
.logo-text .c2 { color: var(--accent); }
.site-footer .logo-icon { height: 44px; }
.site-footer .logo-text { font-size: 1.55rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text-on-dark); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 28px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { font-size: 1.2rem; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(124, 77, 255, 0.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(0, 212, 255, 0.14), transparent 40%),
    var(--ink);
  color: var(--text-on-dark);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 span { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--text-on-dark-muted); max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.pillars {
  display: grid;
  gap: 4px;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line-dark);
}
.pillar:last-child { border-bottom: none; }
.pillar-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-name { font-family: var(--font-display); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 76px 0 56px;
  text-align: center;
}
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-top: 10px;
}
.breadcrumb a { color: var(--text-on-dark-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--accent); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper-alt);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card ul { margin-top: 16px; display: grid; gap: 10px; }
.card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-on-light-muted);
}
.card ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}
.card .btn { margin-top: 20px; }

.card--dark {
  background: var(--surface);
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}
.card--dark .card-icon { background: rgba(124, 77, 255, 0.18); color: var(--accent-2); }
.card--dark ul li { color: var(--text-on-dark-muted); }

/* ---------- About teaser / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.stat-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.stat-mini {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.stat-mini strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-dark);
}
.stat-mini span { font-size: 0.85rem; color: var(--text-on-light-muted); }

.visual-panel {
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 25% 20%, rgba(0, 212, 255, 0.45), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(124, 77, 255, 0.45), transparent 50%),
    linear-gradient(145deg, var(--surface-2), var(--ink));
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.visual-panel .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.visual-panel .panel-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-panel .panel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 16, 32, 0.92) 0%, rgba(11, 16, 32, 0.15) 45%, transparent 65%);
  pointer-events: none;
}
.visual-panel .badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(11, 15, 26, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--text-on-dark);
}

/* ---------- Value props / why choose ---------- */
.value-list { display: grid; gap: 20px; }
.value-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--paper-alt);
  border: 1px solid var(--line-light);
  color: var(--text-on-light);
}
.value-item .muted { color: var(--text-on-light-muted); }
.value-item--dark {
  background: var(--surface);
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}
.value-item--dark .muted { color: var(--text-on-dark-muted); }
.value-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: 64px 0;
}
.stats-band .grid--4 { text-align: center; }
.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--paper-alt);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-on-light);
}
.faq-q .icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: "";
  position: absolute;
  background: var(--text-on-light);
}
.faq-q .icon::before { width: 10px; height: 1.5px; }
.faq-q .icon::after { width: 1.5px; height: 10px; }
.faq-item.is-open .faq-q .icon { transform: rotate(45deg); border-color: var(--accent); }
.faq-item.is-open .faq-q { color: var(--accent-dark); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  padding: 0 24px 22px;
  color: var(--text-on-light-muted);
  margin: 0;
}
.faq-item.is-open .faq-a { max-height: 240px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--ink); margin-bottom: 6px; }
.cta-band p { color: rgba(11,16,32,0.75); margin: 0; }
.cta-band .btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.cta-band .btn--primary:hover { background: var(--surface-2); filter: none; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line-dark);
}
.contact-info-item .card-icon { margin-bottom: 0; }
.contact-info-item strong { display: block; font-family: var(--font-display); }
.contact-info-item a, .contact-info-item span.value { color: var(--text-on-dark-muted); }
.contact-info-item a:hover { color: var(--accent); }

.form-card {
  background: var(--paper-alt);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--text-on-light);
}
.form-card .muted { color: var(--text-on-light-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; color: var(--text-on-light-muted); }
.field input, .field textarea {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--text-on-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field.full { grid-column: 1 / -1; }
.form-note { font-size: 0.85rem; color: var(--text-on-light-muted); margin-top: 14px; }
.form-status { font-size: 0.9rem; margin-top: 14px; min-height: 1.2em; }
.form-status.is-success { color: var(--accent-dark); }
.form-status.is-error { color: #d43d3d; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  font-family: var(--font-display);
  color: var(--text-on-dark);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { display: grid; gap: 12px; }
.footer-grid a { transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { max-width: 320px; }
.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.social-row a.icon-linkedin { background: #0A66C2; border-color: #0A66C2; color: #fff; }
.social-row a.icon-linkedin:hover { background: #004182; border-color: #004182; color: #fff; }

.newsletter-form { display: flex; gap: 0; margin-top: 4px; }
.newsletter-form input {
  flex: 1;
  border: 1px solid var(--line-dark);
  border-right: none;
  background: var(--surface);
  color: var(--text-on-dark);
  padding: 12px 16px;
  border-radius: 999px 0 0 999px;
  font-size: 0.9rem;
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-form button {
  border: none;
  background: var(--gradient-brand);
  color: var(--ink);
  padding: 0 20px;
  border-radius: 0 999px 999px 0;
  font-weight: 700;
  font-family: var(--font-display);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: reveal-in 0.6s ease both; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
}
