/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Dark AI Theme */
  --bg: #0a0a0f;
  --bg-alt: #0f1018;
  --bg-card: #12131a;
  --bg-elevated: #181924;
  --text: #e8e9f0;
  --text-muted: #8b8ea0;
  --text-light: #5c5f73;
  --accent: #00c8ff;
  --accent-dark: #0099cc;
  --accent-glow: rgba(0, 200, 255, 0.15);
  --accent-subtle: rgba(0, 200, 255, 0.08);
  --purple: #7c5cfc;
  --purple-glow: rgba(124, 92, 252, 0.15);
  --border: rgba(255,255,255,0.06);
  --border-mid: rgba(255,255,255,0.10);
  --border-accent: rgba(0, 200, 255, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.4), 0 0 1px rgba(0,200,255,0.1);
  --glow: 0 0 20px rgba(0, 200, 255, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 0 30px rgba(0,200,255,0.03); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600; color: var(--text);
}
.logo-mark {
  width: 22px; height: 22px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0,200,255,0.4));
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #000 !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px !important;
  transition: all 0.15s !important;
  box-shadow: 0 0 12px rgba(0,200,255,0.25);
}
.nav-cta:hover { background: #33d4ff !important; box-shadow: 0 0 20px rgba(0,200,255,0.4) !important; }

.nav--minimal .nav-back {
  font-size: 14px; color: var(--text-muted);
  transition: color 0.15s;
}
.nav--minimal .nav-back:hover { color: var(--text); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: all 0.2s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  border-top: 0.5px solid var(--border);
  background: rgba(10,10,15,0.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 0.65rem 0; font-size: 15px; color: var(--text-muted); border-bottom: 0.5px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-cta { color: var(--accent) !important; font-weight: 500; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #000;
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  transition: all 0.15s;
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
  box-shadow: 0 0 16px rgba(0,200,255,0.2);
}
.btn-primary:hover { background: #33d4ff; transform: translateY(-1px); box-shadow: 0 0 24px rgba(0,200,255,0.35); }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--text-muted);
  padding: 13px 24px; border-radius: var(--radius-sm);
  border: 0.5px solid var(--border-mid);
  font-size: 14px; font-weight: 400;
  transition: all 0.15s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 60px;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,200,255,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(124,92,252,0.03) 0%, transparent 50%);
}
.hero-inner { max-width: 640px; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 1.25rem;
  text-shadow: 0 0 20px rgba(0,200,255,0.3);
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700; line-height: 1.15;
  color: var(--text); margin-bottom: 1.25rem;
}
.hero-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 16px; color: var(--text-muted); max-width: 500px; line-height: 1.75; margin-bottom: 2rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trust-item { font-size: 13px; color: var(--text-muted); }

/* ===== AGENT DIAGRAM ===== */
.hero-visual { padding: 3rem 0 4rem; }
.agent-diagram {
  position: relative; width: 280px; height: 280px;
  margin: 0 auto;
}
.agent-node {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; z-index: 2;
  box-shadow: 0 0 30px rgba(0,200,255,0.3), 0 0 60px rgba(0,200,255,0.1);
}
.node-icon { font-size: 24px; }
.node-label { font-size: 9px; font-weight: 500; color: #fff; letter-spacing: 0.05em; text-transform: uppercase; }

.agent-spoke {
  position: absolute; top: 50%; left: 50%;
  width: 100px; height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(0,200,255,0.1));
  transform-origin: 0 0;
}
.spoke-1  { transform: rotate(-90deg) translateY(-50%); }
.spoke-2  { transform: rotate(-18deg) translateY(-50%); }
.spoke-3  { transform: rotate(54deg) translateY(-50%); }
.spoke-4  { transform: rotate(126deg) translateY(-50%); }
.spoke-5  { transform: rotate(198deg) translateY(-50%); }

.spoke-node {
  position: absolute; right: -36px; top: -28px;
  width: 56px; height: 56px;
  background: var(--bg-card); border: 0.5px solid var(--border-mid);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; box-shadow: var(--shadow);
}
.spoke-node span { font-size: 16px; }
.spoke-node p { font-size: 8px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== STATS BAR ===== */
.stats-bar {
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--bg-alt);
}
.stats-inner { display: flex; align-items: center; justify-content: space-between; padding: 2rem 0; flex-wrap: wrap; gap: 1rem; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; min-width: 120px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 600; color: var(--accent); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); text-align: center; }
.stat-divider { width: 0.5px; height: 40px; background: var(--border-mid); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-elevated); }

.section-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin-bottom: 0.75rem;
}
.section-label--light { color: rgba(0,200,255,0.7); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600; line-height: 1.25;
  margin-bottom: 3rem; color: var(--text);
}
.section-title--light { color: white; }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem;
}
.service-card {
  background: var(--bg-card); border: 0.5px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  position: relative; transition: all 0.2s;
}
.service-card:hover { box-shadow: var(--glow); transform: translateY(-2px); border-color: var(--border-accent); }
.service-card--featured { border-color: var(--accent); box-shadow: 0 0 16px rgba(0,200,255,0.08); }
.featured-badge {
  position: absolute; top: -12px; left: 1.5rem;
  background: var(--accent); color: #000;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,200,255,0.3);
}
.service-icon { font-size: 28px; margin-bottom: 1rem; }
.service-card h3 { font-size: 16px; font-weight: 500; margin-bottom: 0.75rem; color: var(--text); }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.25rem; }
.service-price { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--accent); margin-bottom: 0.75rem; }
.service-link { font-size: 13px; color: var(--accent); font-weight: 500; transition: opacity 0.15s; }
.service-link:hover { opacity: 0.75; }

/* ===== HOW IT WORKS ===== */
.steps-row { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.step-item { flex: 1; min-width: 200px; }
.step-num {
  font-family: 'Playfair Display', serif; font-size: 40px;
  color: rgba(0,200,255,0.2); font-weight: 600; line-height: 1;
  margin-bottom: 0.75rem;
}
.step-item h3 { font-size: 16px; font-weight: 500; margin-bottom: 0.5rem; color: var(--text); }
.step-item p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.step-arrow { font-size: 24px; color: var(--accent); padding-top: 2rem; flex-shrink: 0; }

/* ===== INDUSTRIES ===== */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.industry-card {
  background: var(--bg-card); border: 0.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: all 0.2s;
}
.industry-card:hover { box-shadow: var(--glow); border-color: var(--border-accent); }
.industry-icon { font-size: 28px; margin-bottom: 0.75rem; }
.industry-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 0.5rem; color: var(--text); }
.industry-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ===== DEMO SECTION ===== */
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.demo-desc { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; font-weight: 300; }
.demo-card {
  background: #0d0e15; border: 0.5px solid rgba(0,200,255,0.12);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 30px rgba(0,200,255,0.05);
}
.demo-card-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 0.5px solid rgba(255,255,255,0.06);
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.demo-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:0.4} }
.demo-messages {
  min-height: 160px; max-height: 240px; overflow-y: auto;
  padding: 1rem; display: flex; flex-direction: column; gap: 10px;
}
.demo-msg { font-size: 13px; line-height: 1.6; padding: 10px 12px; border-radius: var(--radius-sm); }
.demo-msg--system { color: rgba(255,255,255,0.35); font-style: italic; }
.demo-msg--user { background: rgba(0,200,255,0.12); color: rgba(255,255,255,0.8); align-self: flex-end; max-width: 90%; }
.demo-msg--ai { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.85); max-width: 95%; white-space: pre-wrap; }
.demo-link {
  display: inline-block; margin-top: 6px; color: var(--accent);
  text-decoration: none; font-weight: 500; transition: color 0.2s;
}
.demo-link:hover { color: #fff; text-decoration: underline; }
.demo-input-row {
  display: flex; gap: 8px; padding: 12px;
  border-top: 0.5px solid rgba(255,255,255,0.06);
}
#demoInput {
  flex: 1; background: rgba(255,255,255,0.04); border: 0.5px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm); padding: 10px 12px;
  font-family: 'DM Sans', sans-serif; font-size: 13px;
  color: rgba(255,255,255,0.8); resize: none;
}
#demoInput:focus { outline: none; border-color: rgba(0,200,255,0.4); }
#demoInput::placeholder { color: rgba(255,255,255,0.2); }
.demo-send {
  background: var(--accent); color: #000; border: none;
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.15s;
  align-self: flex-end;
  box-shadow: 0 0 10px rgba(0,200,255,0.2);
}
.demo-send:hover { background: #33d4ff; box-shadow: 0 0 16px rgba(0,200,255,0.35); }
.demo-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== ABOUT ===== */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-text p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.tag {
  font-size: 12px; padding: 5px 12px; border-radius: 20px;
  background: var(--bg-alt); border: 0.5px solid var(--border-mid);
  color: var(--text-muted);
}
.about-cta-box {
  background: var(--bg-card); border: 0.5px solid var(--border-mid);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
}
.about-cta-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.about-cta-head { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 0.75rem; color: var(--text); }
.about-cta-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

/* ===== LOGO AI BADGE ===== */
.logo-ai {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  background: var(--accent);
  color: #000;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-left: 2px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(0,200,255,0.3);
}
.logo-ai--light { background: var(--accent); color: #000; }

/* ===== NAV PARENT LINK ===== */
.nav-parent {
  font-size: 13px !important;
  color: var(--text-light) !important;
  border-bottom: 0.5px dashed var(--border-mid);
  padding-bottom: 1px;
}
.nav-parent:hover { color: var(--accent) !important; border-color: var(--accent); }

/* ===== BTN GOLD VARIANT — now cyan ===== */
.btn-gold { background: var(--accent) !important; color: #000 !important; }
.btn-gold:hover { background: #33d4ff !important; }

/* ===== INLINE LINK ===== */
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.inline-link:hover { color: #33d4ff; }

/* ===== ABOUT CONTACT ===== */
.about-contact {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 0.5px solid var(--border);
}
.about-contact a {
  font-size: 13px; color: var(--text-muted);
  transition: color 0.15s;
}
.about-contact a:hover { color: var(--accent); }

/* ===== TEAM ROW ===== */
.team-row {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
}
.team-member { text-align: center; flex: 1; min-width: 80px; }
.team-member img {
  width: 64px; height: 64px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border-mid);
  margin-bottom: 8px;
  display: block; margin-left: auto; margin-right: auto;
}
.team-name { font-size: 12px; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.team-role { font-size: 11px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: #050508; padding: 4rem 0 0; border-top: 0.5px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif; font-size: 17px; color: white;
}
.logo-mark--light { background: var(--accent); filter: drop-shadow(0 0 6px rgba(0,200,255,0.4)); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 240px; }
.footer-parent { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-parent a { color: var(--accent); text-decoration: none; }
.footer-parent a:hover { text-decoration: underline; }

.footer-links-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25); margin-bottom: 4px; font-weight: 500;
}
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.15); }

/* ===== ABOUT CTA BOX EXTENDED ===== */
.about-cta-box .btn-primary { width: 100%; justify-content: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 0 40px; }
  .demo-inner, .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-inner { justify-content: center; }
  .stat-divider { display: none; }
  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }
  .section { padding: 60px 0; }
  .footer-links-group { grid-template-columns: 1fr 1fr; }
  .team-row { gap: 0.75rem; }
  .team-member img { width: 52px; height: 52px; }
}
