/* =========================================================
   DROMEDA — LANDING PAGE SECTIONS
   ========================================================= */
@import url("site.css");

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line-1);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 36px; width: auto; }
.nav__brand b { font-weight: 600; color: var(--navy); letter-spacing: -0.01em; font-size: 17px; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  padding: 8px 14px; border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav__links a.active { color: var(--navy); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 0% 0%, rgba(26,74,104,0.08), transparent 55%),
    radial-gradient(700px circle at 100% 30%, rgba(235,28,36,0.05), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line-1);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(26,74,104,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,74,104,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 600;
  margin: 18px 0 22px;
  text-wrap: balance;
  color: var(--ink-1);
}
.hero h1 .accent { color: var(--red); }
.hero h1 .navy  { color: var(--navy); }
.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hero__stats > div b {
  display: block;
  font-size: 28px; line-height: 1;
  font-weight: 600;
  color: var(--ink-1);
  letter-spacing: -0.025em;
}
.hero__stats > div b .red { color: var(--red); }
.hero__stats > div small {
  display: block; margin-top: 8px;
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Agent M panel ---- */
.agent {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.agent__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-1);
}
.agent__avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  display: grid; place-items: center;
  font: 600 14px/1 var(--font-mono);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.agent__name { font-weight: 600; font-size: 14px; color: var(--ink-1); }
.agent__sub { margin-top: 2px; font: 500 11px/1 var(--font-mono); letter-spacing: 0.06em; color: var(--ink-4); text-transform: uppercase; }
.agent__status {
  margin-left: auto;
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f7a4a;
  display: flex; align-items: center; gap: 6px;
}
.agent__status::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: #1f7a4a; box-shadow: 0 0 8px #1f7a4a;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

.agent__body { padding: 22px; display: grid; gap: 12px; }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.bubble--bot {
  background: var(--bg-soft);
  color: var(--ink-2);
  border: 1px solid var(--line-1);
  border-top-left-radius: 4px;
}
.bubble--user {
  background: var(--navy);
  color: #fff;
  border-top-right-radius: 4px;
  margin-left: auto;
}
.bubble code, .bubble .mono {
  font: 500 12.5px/1 var(--font-mono);
  background: #fff;
  border: 1px solid var(--line-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--navy);
  margin: 0 2px;
}
.bubble--user .mono { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.22); color: #fff; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; vertical-align: middle; }
.typing span { width: 5px; height: 5px; border-radius: 999px; background: var(--ink-5); animation: t 1.2s var(--ease) infinite; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes t { 0%,60%,100%{transform:translateY(0);opacity:0.4} 30%{transform:translateY(-3px);opacity:1} }

.agent__input {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line-1);
  background: var(--bg);
}
.agent__input input {
  flex: 1; appearance: none; border: 0; background: transparent;
  font: 400 14px/1 var(--font-sans); color: var(--ink-1);
  padding: 6px 0;
}
.agent__input input:focus { outline: none; }
.agent__input input::placeholder { color: var(--ink-5); }
.agent__send {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--red); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  font-size: 15px;
  transition: background var(--t-fast) var(--ease);
}
.agent__send:hover { background: var(--red-deep); }

.agent__suggest {
  padding: 0 22px 18px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.agent__suggest button {
  appearance: none;
  background: #fff; border: 1px solid var(--line-2);
  font: 500 12px/1 var(--font-mono);
  padding: 6px 10px; border-radius: var(--r-pill);
  color: var(--ink-3); cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.agent__suggest button:hover { border-color: var(--navy); color: var(--navy); }

/* ============ OEM strip ============ */
.oem {
  padding: 36px 0;
  border-bottom: 1px solid var(--line-1);
  background: var(--bg);
}
.oem__inner {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  justify-content: center;
}
.oem__label {
  font: 500 11px/1 var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-4);
}
.oem__logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.oem-logo {
  font: 600 14px/1 var(--font-sans);
  color: var(--ink-4);
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  padding: 4px 0;
}
.oem-logo:hover { color: var(--navy); opacity: 1; }
.oem-logo i { font-style: normal; font-weight: 400; opacity: 0.6; }

/* ============ SECTION FRAME ============ */
.section { padding: 120px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-ink); color: rgba(255,255,255,0.85); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.78); }
@media (max-width: 880px) { .section { padding: 72px 0; } }

.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__head h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  margin: 16px 0 16px;
  text-wrap: balance;
}
.section__head p { font-size: 18px; color: var(--ink-3); line-height: 1.55; max-width: 60ch; margin: 0 auto; text-wrap: pretty; }
.section--dark .section__head p { color: rgba(255,255,255,0.7); }
.section__head--left p { margin-left: 0; }

/* ============ PRODUCTS GRID ============ */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

.prod {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-1);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid; gap: 18px;
  cursor: pointer;
  transition:
    transform var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
  overflow: hidden;
}
.prod::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(26,74,104,0.08), transparent 55%);
  opacity: 0; transition: opacity var(--t-base) var(--ease);
  pointer-events: none;
}
.prod:hover { transform: translateY(-3px); border-color: var(--navy-line); box-shadow: var(--sh-2); }
.prod:hover::before { opacity: 1; }

.prod__visual {
  position: relative; z-index: 1;
  height: 140px; border-radius: var(--r-md);
  background:
    repeating-linear-gradient(135deg, var(--bg-soft) 0 10px, var(--bg-muted) 10px 20px);
  border: 1px dashed var(--line-2);
  display: grid; place-items: center;
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--ink-5);
  text-transform: uppercase;
}
.prod__cat { position: relative; z-index: 1; font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); }
.prod__title { position: relative; z-index: 1; font-size: 20px; font-weight: 600; color: var(--ink-1); letter-spacing: -0.01em; }
.prod__desc { position: relative; z-index: 1; font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.prod__foot {
  position: relative; z-index: 1;
  padding-top: 14px;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between; align-items: center;
  font: 500 12px/1 var(--font-mono);
}
.prod__foot .skus { color: var(--ink-4); }
.prod__foot .arrow { color: var(--navy); font-size: 14px; }
.prod__speeds { position: relative; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.prod__speeds .chip { font-size: 10px; padding: 3px 7px; }

/* ============ WHY DROMEDA ============ */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 56px; } }
.why-grid p { font-size: 17px; line-height: 1.65; }
.why-grid p + p { margin-top: 18px; }
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.pillar:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }
.pillar__num {
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 18px;
}
.pillar h4 {
  font-size: 18px; font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.012em;
}
.pillar p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.55; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 56px; } }
.about-prose p { font-size: 17px; line-height: 1.65; color: var(--ink-3); }
.about-prose p + p { margin-top: 18px; }

.team { display: grid; gap: 14px; }
.team-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  align-items: center;
}
.team-card__avatar {
  width: 88px; height: 88px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  display: grid; place-items: center;
  color: #fff;
  font: 600 30px/1 var(--font-sans);
  letter-spacing: -0.02em;
}
.team-card__role {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.team-card__name { font-size: 20px; font-weight: 600; color: var(--ink-1); letter-spacing: -0.012em; }
.team-card__bio { margin-top: 8px; font-size: 13px; line-height: 1.55; color: var(--ink-3); }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info { display: grid; gap: 28px; }
.contact-info__item dt {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 6px;
}
.contact-info__item dd { margin: 0; font-size: 16px; color: var(--ink-1); font-weight: 500; }
.contact-info__item dd small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); font-weight: 400; }

.quote {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--sh-2);
}
.quote h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.014em; }
.quote .sub { font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.field input, .field textarea, .field select {
  appearance: none;
  width: 100%;
  font: 400 14.5px/1.4 var(--font-sans);
  color: var(--ink-1);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-5); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,74,104,0.12);
}
.field textarea { min-height: 100px; resize: vertical; line-height: 1.55; }
.quote__foot {
  margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.quote__foot small { font: 500 12px/1.4 var(--font-mono); color: var(--ink-4); }

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
.footer__brand img { height: 60px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 13px; color: rgba(255,255,255,0.6); max-width: 28ch; line-height: 1.6; }
.footer__col h5 {
  font: 500 11px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a {
  font-size: 14px; color: rgba(255,255,255,0.78);
  transition: color var(--t-fast) var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  font: 500 12px/1 var(--font-mono);
  color: rgba(255,255,255,0.45);
}
