/* =========================================================
   AItect.Cloud — brand layer on top of the Zoftcares template (style.css)
   Load after style.css. Only tokens and AItect-specific components live here.
   ========================================================= */

:root {
  --brand-navy: #0B1630;   /* AItect night navy */
  --brand-blue: #2F7BFF;   /* primary */
  --brand-blue-2: #5B9BFF;
  --brand-deep: #1546B8;
  --accent: #16C7B2;       /* teal: "architect" accent */
  --accent-deep: #0E9C8B;
  --line: #E1E6F0;
  --bg-soft: #F4F7FC;
  --shadow: 0 14px 40px rgba(11, 22, 48, .12);
}

/* ---------- Brand mark ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand-navy); }
.brand img { width: 36px; height: 36px; }
.brand-name { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1; }
.brand-name em { font-style: normal; color: var(--brand-blue); }
.brand-by { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); margin-top: 3px; }

/* ---------- Buttons ---------- */
.btn-accent { background: var(--accent); color: #04211D; }
.btn-accent:hover { background: #12B3A0; }
.btn-accent:focus-visible { outline-color: var(--brand-blue); }
.btn-wa { display: inline-flex; }
.btn svg { width: 20px; height: 20px; flex: 0 0 20px; }

/* ---------- Hero ---------- */
.hero-ai {
  position: relative; overflow: hidden; color: #C3CEE6;
  background:
    radial-gradient(700px 420px at 80% 10%, rgba(47, 123, 255, .35), transparent 70%),
    radial-gradient(600px 380px at 10% 95%, rgba(22, 199, 178, .22), transparent 70%),
    linear-gradient(180deg, #0B1630 0%, #0A1229 100%);
}
.hero-ai::before {
  /* faint blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 40% 40%, #000 30%, transparent 80%);
}
.hero-ai .container { position: relative; }
.hero-ai h1 { color: #fff; }
.hero-ai .lead { color: #AFBCD9; }
.hero-ai .hl-accent { color: var(--accent); }
.hero-ai .fineprint { color: #8E9BBB; }
.hero-ai a:not(.btn) { color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: #DDE6FA; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(22, 199, 178, .2); }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 8px; max-width: 560px; }
.option {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 14px;
  background: rgba(255, 255, 255, .04);
}
.option strong { display: block; color: #fff; font-size: .98rem; }
.option span { display: block; font-size: .8rem; color: #9FAED0; line-height: 1.35; margin-top: 4px; }
.option.featured { border-color: var(--accent); background: rgba(22, 199, 178, .1); }
.option.featured strong::after { content: " ★"; color: var(--accent); font-size: .85em; }
.options-note { font-size: .82rem; color: #8E9BBB; margin: 0; }

/* ---------- Form tweaks ---------- */
.form-card { scroll-margin-top: 90px; }
.form-card .muted { margin-bottom: 0; }
.lead-form textarea { min-height: 84px; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus {
  border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(47, 123, 255, .18);
}
.choice:hover span { border-color: var(--brand-blue); }
.choice input:checked + span { border-color: var(--accent); background: #E6FAF7; color: #04211D; box-shadow: inset 0 0 0 1px var(--accent); }
.lead-form label.consent input { accent-color: var(--accent-deep); }
.form-card.highlight { animation: pulse-ai 1.2s ease 1; }
@keyframes pulse-ai { 0% { box-shadow: 0 0 0 0 rgba(22, 199, 178, .6); } 100% { box-shadow: 0 0 0 18px rgba(22, 199, 178, 0); } }
.optional { font-weight: 400; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { background: #0F1D3D; }
.stats strong { color: #fff; }

/* ---------- How it works: steps + chat mock ---------- */
.how-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.steps.steps-v { grid-template-columns: 1fr; gap: 14px; }
.steps.steps-v li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 20px 22px; }
.steps.steps-v li::before { grid-row: span 2; margin: 0; font-size: 1.6rem; color: var(--accent-deep); }
.steps.steps-v h3 { margin: 0 0 4px; }

.phone {
  max-width: 360px; margin: 0 auto; border-radius: 28px; padding: 10px;
  background: #0B1630; box-shadow: var(--shadow);
}
.chat { border-radius: 20px; overflow: hidden; background: #EFE7DD; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #075E54; color: #fff; }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.chat-head strong { display: block; font-size: .92rem; line-height: 1.2; }
.chat-head small { font-size: .75rem; opacity: .8; }
.chat-body { display: grid; gap: 8px; padding: 14px 12px 18px; font-size: .84rem; line-height: 1.4; color: #111B21; }
.msg { max-width: 86%; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg.me { justify-self: end; background: #D9FDD3; }
.msg code { font: 600 .78rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; color: #0E7A6C; }
.msg-buttons { display: grid; gap: 6px; max-width: 86%; }
.msg-buttons span { display: block; text-align: center; padding: 7px; border-radius: 10px; background: #fff; color: #027EB5; font-weight: 600; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.msg-doc { display: flex; align-items: center; gap: 10px; }
.msg-doc b { display: grid; place-items: center; width: 34px; height: 40px; border-radius: 6px; background: #E5484D; color: #fff; font-size: .68rem; }
.chat-caption { text-align: center; font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Audience cards ---------- */
.card-icon { background: linear-gradient(135deg, var(--brand-blue), var(--accent)); }
.card .tag-soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 600; vertical-align: middle; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.audience-grid { grid-template-columns: repeat(4, 1fr); }

/* ---------- Honest-estimate band ---------- */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promise div { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.promise h3 { margin-bottom: 6px; }
.promise p { color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #0B1630, var(--brand-deep)); }

/* ---------- Footer ---------- */
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img.footer-logo { height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .how-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .options { gap: 8px; margin-top: 20px; }
  .option { padding: 10px 8px; text-align: center; }
  .option span { display: none; }
  .hero-ai .lead { font-size: 1.05rem; }
  .stats strong { font-size: 1.15rem; }
  .stats span { font-size: .82rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.15rem; }
  .header-inner .btn-sm { padding: .55rem .9rem; font-size: .85rem; }
}
