/*
Theme Name: AVCA Autonomous Agents
Theme URI: https://avca.com
Author: AVCA
Description: A modern WordPress theme for AVCA — Autonomous Virtual Cognitive Agents, an AI agents and automation business.
Version: 1.1.0
License: GPL-2.0-or-later
Text Domain: avca
*/

:root {
  --bg: #07111f;
  --bg-2: #0d1b2f;
  --panel: rgba(255,255,255,0.07);
  --panel-strong: rgba(255,255,255,0.12);
  --text: #f5f8ff;
  --muted: #b7c3d7;
  --brand: #69e7ff;
  --brand-2: #8b5cf6;
  --accent: #41f1b6;
  --border: rgba(255,255,255,0.14);
  --shadow: 0 30px 80px rgba(0,0,0,.35);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(105,231,255,.18), transparent 35%), radial-gradient(circle at top right, rgba(139,92,246,.22), transparent 33%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7,17,31,.75);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #06101d; font-weight: 900;
  box-shadow: 0 12px 30px rgba(105,231,255,.22);
}
.logo span small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .14em; font-weight: 600; }
.menu { display: flex; align-items: center; gap: 26px; color: var(--muted); font-weight: 600; }
.menu a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #04111c; font-weight: 800;
  box-shadow: 0 18px 40px rgba(65,241,182,.18);
}
.btn.secondary { background: transparent; border: 1px solid var(--border); color: var(--text); box-shadow: none; }

.hero { padding: 96px 0 70px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; }
h1 { font-size: clamp(44px, 7vw, 82px); line-height: .95; margin: 18px 0 22px; letter-spacing: -.06em; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.metric { padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: var(--panel); }
.metric strong { display: block; font-size: 28px; color: var(--brand); }
.metric span { color: var(--muted); font-size: 13px; }

.agent-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.agent-card:before {
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(105,231,255,.22), transparent 35%);
}
.agent-screen { position: relative; border-radius: 26px; background: #08111e; border: 1px solid var(--border); padding: 22px; }
.pulse { width: 86px; height: 86px; margin: 8px auto 24px; border-radius: 50%; background: radial-gradient(circle, var(--brand), var(--brand-2)); box-shadow: 0 0 0 16px rgba(105,231,255,.08), 0 0 80px rgba(105,231,255,.35); }
.line { height: 12px; border-radius: 999px; background: rgba(255,255,255,.12); margin: 12px 0; }
.line:nth-child(3) { width: 82%; } .line:nth-child(4) { width: 65%; } .line:nth-child(5) { width: 91%; }
.task { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px; margin-top: 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); color: var(--muted); }
.task b { color: var(--text); }
.status { color: var(--accent); font-weight: 800; font-size: 12px; }

.section { padding: 78px 0; }
.section-title { max-width: 760px; margin-bottom: 34px; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; margin: 8px 0 12px; letter-spacing: -.04em; }
.section-title p { color: var(--muted); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); min-height: 260px; }
.card:hover { background: var(--panel-strong); transform: translateY(-2px); transition: .2s ease; }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(105,231,255,.12); color: var(--brand); font-size: 24px; margin-bottom: 18px; }
.card h3 { margin: 0 0 10px; font-size: 22px; }
.card p, .card li { color: var(--muted); }
ul.clean { padding-left: 20px; margin-bottom: 0; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { counter-increment: step; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.step:before { content: "0" counter(step); display: inline-flex; width: 44px; height: 44px; border-radius: 14px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #07111f; font-weight: 900; margin-bottom: 16px; }
.step p { color: var(--muted); }

.band { padding: 42px; border-radius: 34px; background: linear-gradient(135deg, rgba(105,231,255,.16), rgba(139,92,246,.18)); border: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.band p { color: var(--muted); margin: 0; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; }
.form { padding: 28px; border: 1px solid var(--border); border-radius: 30px; background: var(--panel); }
.form label { display: block; font-weight: 700; margin: 14px 0 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 14px 15px; border-radius: 14px; border: 1px solid var(--border); background: rgba(0,0,0,.22); color: var(--text); font: inherit; }
.form textarea { min-height: 130px; }
.form button { border: 0; margin-top: 18px; cursor: pointer; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--border); color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .contact, .band { grid-template-columns: 1fr; }
  .cards, .process, .metrics { grid-template-columns: 1fr; }
  .menu { display: none; }
  .hero { padding-top: 60px; }
}


/* Contact Form 7 AVCA styling */
.contact-form-7-wrap .wpcf7-form { margin: 0; }
.contact-form-7-wrap .wpcf7 p { margin: 0 0 14px; }
.contact-form-7-wrap .wpcf7 label { display: block; font-weight: 700; margin: 14px 0 6px; }
.contact-form-7-wrap .wpcf7 input,
.contact-form-7-wrap .wpcf7 textarea,
.contact-form-7-wrap .wpcf7 select {
  width: 100%;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.22);
  color: var(--text);
  font: inherit;
}
.contact-form-7-wrap .wpcf7 textarea { min-height: 150px; }
.contact-form-7-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #04111c;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(65,241,182,.18);
}
.contact-form-7-wrap .wpcf7-response-output {
  border-radius: 14px;
  color: var(--text);
}
.form-recommendations {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,.05);
}
.form-recommendations h3 { margin-top: 0; }
.form-recommendations li { color: var(--muted); }
.floating-demo-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #04111c;
  font-weight: 900;
  box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 18px 40px rgba(65,241,182,.18);
}
.floating-demo-btn:hover { transform: translateY(-2px); transition: .2s ease; }
@media (max-width: 900px) {
  .floating-demo-btn { right: 16px; bottom: 16px; padding: 12px 16px; }
}
