/* ============================================================
   LEONIDAR — Main Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --accent:        #0ABDE3;
  --accent-2:      #00C9A7;
  --gradient:      linear-gradient(135deg, #0ABDE3 0%, #00C9A7 100%);
  --gradient-text: linear-gradient(135deg, #0ABDE3, #00C9A7);

  --dark:          #0A0A0A;
  --dark-2:        #111111;
  --dark-card:     #181818;

  --light:         #FFFFFF;
  --light-2:       #F8F9FA;
  --light-3:       #F0F1EE;

  --text:          #1A1A1A;
  --text-muted:    #6B7280;
  --text-light:    #F5F5F5;
  --text-muted-dk: rgba(255,255,255,0.55);

  --border:        rgba(0,0,0,0.08);
  --border-dk:     rgba(255,255,255,0.08);

  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --shadow:        0 2px 20px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg:     0 20px 80px rgba(0,0,0,0.14);

  --max-w:         1140px;
  --nav-h:         72px;
  --ease:          cubic-bezier(0.4,0,0.2,1);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { line-height: 1.75; }

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.label-dark { color: var(--accent-2); }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header p { color: var(--text-muted); font-size: 1.0625rem; margin-top: 16px; }
.section-header.left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(10,189,227,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10,189,227,0.35);
}
.btn-ghost {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-ghost-light {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
}
.btn-lg { padding: 17px 36px; font-size: 1rem; border-radius: 10px; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.35s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav.hidden { transform: translateY(-100%); }
.nav.dark-bg { --nav-text: rgba(255,255,255,0.9); }
.nav.scrolled { --nav-text: var(--text); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.nav__logo img { height: 38px; width: auto; }
.nav__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nav-text, var(--text));
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a:hover { color: var(--accent); }

.nav__cta { margin-left: 8px; }

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

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  padding: 24px 32px 32px;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  gap: 0;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--accent); }
.nav__mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 900px 700px at 80% -10%, rgba(10,189,227,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 700px 600px at -10% 90%, rgba(0,201,167,0.10) 0%, transparent 60%),
    #0B0D1A;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
/* Subtle grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
/* Top accent line */
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0.5;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px;
}
.hero__label { margin-bottom: 20px; }
.hero h1 {
  color: var(--text-light);
  max-width: 820px;
  margin-bottom: 24px;
}
.hero__sub {
  color: var(--text-muted-dk);
  font-size: 1.125rem;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dk);
}
.hero__trust-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-dk);
  margin-bottom: 20px;
}
.hero__logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.hero__logos span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.hero__logos span:hover { color: rgba(255,255,255,0.65); }

/* ---------- Brands section ---------- */
.brands {
  padding: 60px 0;
  background: var(--light-2);
  border-bottom: 1px solid var(--border);
}
.brands__label {
  text-align: center;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brands__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.brands__item {
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.brands__item:hover { opacity: 1; }

/* ---------- Problem section ---------- */
.problem {
  background: var(--dark-2);
  padding: 100px 0;
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem__content h2 { color: var(--text-light); margin-bottom: 20px; }
.problem__content p { color: var(--text-muted-dk); font-size: 1.0625rem; margin-bottom: 32px; }
.problem__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.problem__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius);
}
.problem__item-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #E05252;
}
.problem__item p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin: 0; }
.problem__solution {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.solution-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: rgba(10,189,227,0.06);
  border: 1px solid rgba(10,189,227,0.15);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}
.solution-card:hover {
  background: rgba(10,189,227,0.10);
  border-color: rgba(10,189,227,0.3);
}
.solution-card__icon {
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.solution-card__icon svg { width: 18px; height: 18px; }
.solution-card h4 { color: var(--text-light); margin-bottom: 4px; }
.solution-card p { color: var(--text-muted-dk); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ---------- Services ---------- */
.services { background: var(--light); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--light);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(10,189,227,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(10,189,227,0.1), rgba(0,201,167,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 20px; }
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--light-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}
.service-card__link:hover { gap: 10px; }

/* ---------- Metrics ---------- */
.metrics {
  background: var(--gradient);
  padding: 80px 0;
}
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.metric {
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.metric:last-child { border-right: none; }
.metric__number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.metric__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.metric__source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ---------- How it works ---------- */
.process { background: var(--light-2); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.3;
}
.step {
  text-align: center;
  padding: 36px 28px;
}
.step__number {
  width: 56px; height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- Case Studies ---------- */
.cases { background: var(--light); }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  background: var(--light);
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.case-card__header {
  padding: 28px 28px 20px;
  background: var(--light-2);
  border-bottom: 1px solid var(--border);
}
.case-card__company {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.case-card__header h3 { font-size: 1.1rem; }
.case-card__body { padding: 24px 28px; }
.case-card__body p { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 20px; }
.case-card__metrics {
  display: flex;
  gap: 20px;
}
.case-metric { text-align: center; }
.case-metric__value {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.case-metric__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--dark);
  padding: 100px 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 36px;
  background: var(--dark-card);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s;
}
.testimonial-card:hover { border-color: rgba(10,189,227,0.2); }
.testimonial-card__quote {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.testimonial-card p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light);
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted-dk);
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq { background: var(--light-2); }
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
  user-select: none;
}
.faq-item__question:hover { color: var(--accent); }
.faq-item__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  color: var(--text-muted);
}
.faq-item.open .faq-item__icon {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s;
}
.faq-item.open .faq-item__answer { max-height: 300px; }
.faq-item__answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--dark-2);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(10,189,227,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--text-light); max-width: 640px; margin: 0 auto 20px; }
.cta-section p { color: var(--text-muted-dk); font-size: 1.0625rem; max-width: 500px; margin: 0 auto 40px; }
.cta-section__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  padding: 60px 0 32px;
  border-top: 1px solid var(--border-dk);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dk);
  margin-bottom: 32px;
}
.footer__brand img { height: 34px; margin-bottom: 16px; }
.footer__brand p { color: var(--text-muted-dk); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer__col h4 { color: var(--text-light); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a {
  display: block;
  color: var(--text-muted-dk);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer__socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__social {
  width: 36px; height: 36px;
  border: 1px solid var(--border-dk);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-dk);
  transition: all 0.2s;
}
.footer__social:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(10,189,227,0.06);
}
.footer__social svg { width: 16px; height: 16px; }

/* ---------- Language Switcher ---------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-left: 12px;
}
.lang-switcher a {
  color: var(--nav-text, var(--text-muted));
  transition: color 0.2s;
  padding: 2px 4px;
  border-radius: 4px;
}
.lang-switcher a.active { color: var(--accent); }
.lang-switcher a:hover { color: var(--accent); }
.lang-switcher span { color: var(--text-muted-dk); opacity: 0.5; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: var(--dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(10,189,227,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero .label { margin-bottom: 16px; }
.page-hero h1 { color: var(--text-light); margin-bottom: 20px; }
.page-hero p { color: var(--text-muted-dk); font-size: 1.125rem; line-height: 1.8; }

/* ---------- AI page specific ---------- */
.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ai-card {
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--light);
  transition: all 0.25s;
}
.ai-card:hover {
  border-color: rgba(10,189,227,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ai-card__icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(10,189,227,0.1), rgba(0,201,167,0.1));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.ai-card__icon svg { width: 22px; height: 22px; }
.ai-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.ai-card p { color: var(--text-muted); font-size: 0.9rem; }

.agents-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.agent-pill {
  text-align: center;
  padding: 24px 16px;
  background: var(--dark-card);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius);
  transition: all 0.22s;
}
.agent-pill:hover {
  border-color: rgba(10,189,227,0.3);
  background: rgba(10,189,227,0.05);
}
.agent-pill__icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.agent-pill span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--light-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.workflow-step {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.workflow-step:last-child { border-right: none; }
.workflow-step__num {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.workflow-step h4 { margin-bottom: 8px; }
.workflow-step p { font-size: 0.875rem; color: var(--text-muted); }

/* ---------- Marketing page specific ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.result-card {
  padding: 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--light);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.25s;
}
.result-card:hover {
  border-color: rgba(10,189,227,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.result-card__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.result-card__icon svg { width: 22px; height: 22px; }
.result-card h4 { margin-bottom: 6px; }
.result-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(10,189,227,0.15);
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.about-content .label { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.0rem; }
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-stat__number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat__label { font-size: 0.8rem; color: var(--text-muted); }

.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  border-radius: 2px;
  opacity: 0.3;
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px; top: 7px;
  width: 10px; height: 10px;
  background: var(--gradient);
  border-radius: 50%;
  border: 2px solid var(--light);
  box-shadow: 0 0 0 3px rgba(10,189,227,0.2);
}
.timeline-item__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item__company { font-size: 0.9rem; color: var(--text-muted); }

.companies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.company-card {
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--light);
  text-align: center;
  transition: all 0.25s;
}
.company-card:hover {
  border-color: rgba(10,189,227,0.25);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.company-card__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.company-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.company-card__years {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  padding: 3px 10px;
  background: var(--light-2);
  border-radius: 100px;
  color: var(--text-muted);
}

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:first-of-type { border-top: 1px solid var(--border); }
.contact-detail__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(10,189,227,0.1), rgba(0,201,167,0.1));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact-detail__icon svg { width: 18px; height: 18px; }
.contact-detail__label { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail__value { font-weight: 600; font-size: 0.95rem; }

.contact-form {
  background: var(--light-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-form h3 { margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--light);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10,189,227,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- AOS overrides ---------- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid rgba(255,255,255,0.2); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(3) { border-bottom: none; }
  .agents-grid { grid-template-columns: repeat(3, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .workflow-step:nth-child(2) { border-right: none; }
  .workflow-step:nth-child(3) { border-top: 1px solid var(--border); }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { max-width: 400px; }
  .problem__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero__inner { padding: 60px 20px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero__logos { gap: 24px; }

  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  .services__grid { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: 1fr; }
  .process__steps::before { display: none; }
  .cases__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .ai-cards { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-step { border-right: none; border-bottom: 1px solid var(--border); }
  .results-grid { grid-template-columns: 1fr; }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .brands__row { gap: 32px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; gap: 24px; }
}
