/* ============ CSS Reset & Base ============ */
*,
*::before,
*::after { box-sizing: border-box; }
:root {
  --bg: #0d0f14;           /* dark background */
  --surface: #121622;
  --card: #141a29;
  --text: #e8eef5;
  --muted: #a4afbf;
  --primary: #13b0ff;
  --primary-600: #0894db;
  --accent: #6bffe3;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --ring: rgba(19,176,255,.5);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-1: 0 10px 30px rgba(0,0,0,.25);
  --shadow-2: 0 12px 50px rgba(0,0,0,.35);

  --container: 1200px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 24px;
}

.team-card {
    background: var(--card);
    border: 1px solid rgba(127,127,127,.18);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: transform .2s ease;
}

.team-card:hover {
    transform: translateY(-4px);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.team-content {
    padding: 20px;
}

.team-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin: 4px 0 14px;
}

.team-bio {
    color: var(--muted);
    margin-bottom: 16px;
    min-height: 100px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(10,102,194,.1);
    border: 1px solid rgba(10,102,194,.3);
    color: #0A66C2;
    font-weight: 600;
    font-size: .88rem;
    text-decoration: none;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.linkedin-btn:hover {
    background: rgba(10,102,194,.18);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10,102,194,.2);
}
.linkedin-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

/* ===== Team page group headers ===== */
.team-group { margin-bottom: 72px; }
.team-group:last-child { margin-bottom: 0; }
.team-group-header { text-align: center; margin-bottom: 32px; }
.team-group-header h2 { font-size: clamp(1.4rem, 1.6vw + 1rem, 1.9rem); margin: 0 0 6px; }
.team-group-header p { margin: 0; color: var(--muted); }
.team-eyebrow {
  display: inline-flex; align-items: center; padding: 6px 12px; margin-bottom: 10px;
  border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--primary); background: rgba(19,176,255,.1); border: 1px solid rgba(19,176,255,.25);
}
.team-page-intro { max-width: 680px; margin: 0 auto; text-align: center; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b0e14 0%, #0a0c12 100%);
  line-height: 1.6;
}

/* Light theme */
.theme-light {
  --bg: #f7fbff;
  --surface: #ffffff;
  --card: #ffffff;
  --text: #1a2433;
  --muted: #5b6678;
  --primary: #0069ff;
  --primary-600: #0356cc;
  --accent: #00d3b8;
  --ring: rgba(0,105,255,.35);
  background: linear-gradient(180deg, #f6f9ff 0%, #eef3ff 100%);
}

/* ============ Utility ============ */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section { padding: 88px 0; }
.section.alt { background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.02) 100%); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); margin: 0 0 6px; }
.section-header p { margin: 0; color: var(--muted); }

/* Buttons */
.btn {
  --btn-bg: var(--primary);
  --btn-color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--btn-color);
  background: var(--btn-bg);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,105,255,.25);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,105,255,.35); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.btn-ghost {
  --btn-bg: transparent;
  --btn-color: var(--text);
  background: rgba(127,127,127,.08);
  border-color: rgba(127,127,127,.15);
  box-shadow: none;
}
.btn-sm { padding: 8px 12px; font-size: .9rem; border-radius: 8px; }
.btn-icon { width: 42px; height: 42px; padding: 0; }

/* Pills / Badges */
.pill, .badge {
  display: inline-flex; align-items: center; padding: 6px 10px;
  border-radius: 999px; font-size: .85rem; color: var(--text);
  background: rgba(127,127,127,.15); border: 1px solid rgba(127,127,127,.2);
}
.badge { margin-right: 6px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--surface), transparent 12%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(127,127,127,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%); box-shadow: 0 0 0 4px rgba(19,176,255,.15); }
.brand-text { font-weight: 800; letter-spacing: .3px; }
.brand-accent { color: var(--primary); }

.nav-menu { display: flex; align-items: center; gap: 18px; list-style: none; padding: 0; margin: 0; }
.nav-menu a { color: var(--text); text-decoration: none; font-weight: 600; opacity: .9; }
.nav-menu a:hover { opacity: 1; }
.nav-cta .btn-sm { padding: 8px 14px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 1px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; right: 1rem; top: 64px;
    flex-direction: column; align-items: stretch;
    padding: 12px; background: var(--surface);
    border: 1px solid rgba(127,127,127,.2); border-radius: 12px;
    width: min(92vw, 420px); display: none; box-shadow: var(--shadow-2);
  }
  .nav-menu.show { display: flex; }
  .nav-cta { order: 99; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 72px 0 32px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; width: 520px; height: 520px; filter: blur(60px); opacity: .45; border-radius: 50%; }
.blob.b1 { top: -120px; left: -80px; background: radial-gradient(closest-side, var(--primary), transparent 65%); }
.blob.b2 { right: -120px; bottom: -160px; background: radial-gradient(closest-side, var(--accent), transparent 60%); }
.grid-fade { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0); background-size: 32px 32px; mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 70%, transparent 100%); }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

.eyebrow { color: var(--primary); font-weight: 700; letter-spacing: .3px; margin-bottom: 10px; }
.hero h1 { font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem); line-height: 1.1; margin: 0 0 10px; }
.lead { color: var(--muted); max-width: 56ch; }
.hero-ctas { display: flex; gap: 12px; margin: 18px 0 8px; flex-wrap: wrap; }
.trust-row { margin-top: 8px; color: var(--muted); }
.trust-item .sep { margin: 0 8px; opacity: .5; }

/* Hero Visual */
.hero-visual { position: relative; display: grid; place-items: center; gap: 18px; }
.device-mock {
  width: 330px; border-radius: 24px; background: var(--card); border: 1px solid rgba(127,127,127,.2);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.device-status { padding: 8px 12px; font-size: .86rem; border-bottom: 1px solid rgba(127,127,127,.15); display: flex; align-items: center; gap: 8px; }
.device-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); display: inline-block; }
.device-status .online { background: var(--success); }
.device-screen { padding: 12px; min-height: 280px; display: grid; gap: 8px; background: linear-gradient(180deg, rgba(255,255,255,.02) 0%, transparent 100%); }
.msg { padding: 10px 12px; border-radius: 12px; width: fit-content; max-width: 85%; }
.msg-ai { background: rgba(0,105,255,.12); border: 1px solid rgba(0,105,255,.2); }
.msg-user { margin-left: auto; background: rgba(127,127,127,.15); border: 1px solid rgba(127,127,127,.2); }
.typing span { width: 6px; height: 6px; background: var(--muted); display: inline-block; border-radius: 50%; margin: 0 2px; animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .2 } 30% { opacity: 1 } }

.report-card {
  width: 340px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(127,127,127,.2); border-radius: 14px; padding: 14px; box-shadow: var(--shadow-1);
}
.report-title { font-weight: 700; margin-bottom: 6px; }
.report-points { margin: 0; padding-left: 18px; color: var(--muted); }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--card); padding: 18px; border-radius: var(--radius);
  border: 1px solid rgba(127,127,127,.18); box-shadow: var(--shadow-1);
}
.feature h3 { margin: 10px 0 6px; }
.feature p { margin: 0; color: var(--muted); }
.feature-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(180deg, var(--primary), var(--accent)); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.feature-icon.ai::after,
.feature-icon.brain::after,
.feature-icon.report::after,
.feature-icon.shield::after {
  content: ""; display: block; width: 100%; height: 100%; mask-size: 70% 70%; mask-position: center; mask-repeat: no-repeat; background: #fff;
}
.feature-icon.ai::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2a7 7 0 0 0-7 7v2a7 7 0 0 0 14 0V9a7 7 0 0 0-7-7Z"/></svg>'); }
.feature-icon.brain::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M7 8a4 4 0 1 1 8 0v8a4 4 0 1 1-8 0"/></svg>'); }
.feature-icon.report::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M6 2h9l5 5v13a2 2 0 0 1-2 2H6z"/></svg>'); }
.feature-icon.shield::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2 4 5v6c0 5 3.5 9.7 8 11 4.5-1.3 8-6 8-11V5z"/></svg>'); }

/* ===== Timeline ===== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: flex-start; }
.t-dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, var(--accent), var(--primary)); margin-top: 6px; box-shadow: 0 0 0 4px rgba(19,176,255,.15); }
.t-card { background: var(--card); padding: 16px; border: 1px solid rgba(127,127,127,.18); border-radius: 12px; }

/* ===== Simulator ===== */
.simulator { display: grid; grid-template-columns: 280px 1.4fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 1100px) { .simulator { grid-template-columns: 1fr; } }

.sim-controls, .sim-report .report, .sim-chat .chat-window {
  background: var(--card); border: 1px solid rgba(127,127,127,.2); border-radius: 14px; box-shadow: var(--shadow-1);
}
.sim-controls { padding: 14px; position: sticky; top: 90px; }
.control-group { display: grid; gap: 6px; margin-bottom: 12px; }
.control-group label { font-weight: 600; }
select, input[type="text"], textarea, input[type="email"] {
  background: rgba(127,127,127,.08); border: 1px solid rgba(127,127,127,.25); color: var(--text);
  border-radius: 10px; padding: 10px 12px; font: inherit;
}
select:focus, input:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.sim-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }

.sim-chat { display: grid; gap: 10px; }
.chat-window { min-height: 380px; padding: 12px; display: grid; align-content: start; gap: 8px; }
.chat-msg { width: fit-content; max-width: 85%; padding: 10px 12px; border-radius: 12px; }
.chat-msg.ai { background: rgba(0,105,255,.12); border: 1px solid rgba(0,105,255,.2); }
.chat-msg.user { margin-left: auto; background: rgba(127,127,127,.15); border: 1px solid rgba(127,127,127,.2); }

.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.chat-form input { background: rgba(127,127,127,.08); }
.chat-form button { padding-inline: 16px; }

.sim-report .report { padding: 12px; }
.report-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.report-body { background: rgba(127,127,127,.08); border: 1px solid rgba(127,127,127,.2); border-radius: 10px; padding: 10px; min-height: 280px; overflow: auto; }
.badges { margin-top: 10px; }

/* ===== Testimonials ===== */
.testimonials { display: grid; gap: 16px; }
.quote { margin: 0; background: var(--card); border: 1px solid rgba(127,127,127,.18); border-radius: 12px; padding: 20px; display: none; }
.quote.active { display: block; }
blockquote { margin: 0 0 8px; font-size: 1.1rem; }
.dots { display: flex; gap: 10px; justify-content: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(127,127,127,.35); border: 0; cursor: pointer; }
.dot.active { background: var(--primary); box-shadow: 0 0 0 4px rgba(19,176,255,.15); }

/* ===== Pricing ===== */
.billing-toggle { display: flex; gap: 12px; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--muted); }
.switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.switch input { display: none; }
.slider { position: absolute; inset: 0; background: rgba(127,127,127,.25); border-radius: 999px; cursor: pointer; transition: .2s; }
.slider::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider::after { transform: translateX(24px); }

.reporting-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--card); border: 1px solid rgba(127,127,127,.2); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-1);
  display: grid; gap: 10px; align-content: start;
}
.price-card.featured { border-color: color-mix(in oklab, var(--primary), transparent 60%); box-shadow: 0 10px 34px rgba(0,105,255,.25); position: relative; }
.ribbon {
  position: absolute; top: 12px; right: 12px; background: linear-gradient(180deg, var(--primary), var(--primary-600));
  color: #fff; padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: .8rem;
}
.price { font-size: 2rem; font-weight: 800; display: flex; align-items: baseline; gap: 6px; }
.price-unit { color: var(--muted); }
.price-features { list-style: none; padding: 0; margin: 0 0 8px; color: var(--muted); display: grid; gap: 6px; }

.note { color: var(--muted); }
.center { text-align: center; }
.small { font-size: .9rem; }

/* ===== Security ===== */
.security-grid { display: grid; grid-template-columns: repeat(1, 3fr); gap: 16px; }
@media (max-width: 980px) { .security-grid { grid-template-columns: 1fr; } }

.sec-card {
  background: var(--card); border: 1px solid rgba(127,127,127,.2); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-1);
}
.sec-card h3 { margin-top: 6px; }
.sec-card p { color: var(--muted); margin: 0; }
.sec-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(180deg, var(--primary), var(--accent)); }
.sec-icon.lock::after,
.sec-icon.shield::after,
.sec-icon.doc::after {
  content: ""; display: block; width: 100%; height: 100%; background: #fff; mask-size: 70% 70%; mask-position: center; mask-repeat: no-repeat;
}
.sec-icon.lock::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M17 9V7a5 5 0 0 0-10 0v2H5v12h14V9h-2Zm-8 0V7a3 3 0 1 1 6 0v2H9Z"/></svg>'); }
.sec-icon.shield::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M12 2 4 5v6c0 5 3.5 9.7 8 11 4.5-1.3 8-6 8-11V5z"/></svg>'); }
.sec-icon.doc::after { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23fff" d="M6 2h9l5 5v13a2 2 0 0 1-2 2H6z"/></svg>'); }

/* ===== Accordion ===== */
.accordion details { background: var(--card); border: 1px solid rgba(127,127,127,.2); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.accordion summary { cursor: pointer; font-weight: 700; }
.acc-body { color: var(--muted); margin-top: 8px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form .field { display: grid; gap: 6px; margin-bottom: 10px; }
.card { background: var(--card); border: 1px solid rgba(127,127,127,.2); border-radius: 12px; padding: 14px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--muted); }
.checklist li::before { content: "✓ "; color: var(--success); }

/* ===== Footer ===== */
.site-footer { padding: 28px 0; border-top: 1px solid rgba(127,127,127,.2); background: color-mix(in oklab, var(--surface), transparent 10%); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.footer-inner nav a { color: var(--muted); text-decoration: none; }
.footer-inner small { color: var(--muted); }
@media (max-width: 980px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

/* ===== Accessibility Helpers ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.rotating {animation: slowRotate 150s linear infinite;}
@keyframes slowRotate {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }

/* ===== pulse ring ===== */
/* Base styles for the pulsing ring */
.pulse-ring {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 150, 255, 0.3); /* Inner glow color */
  box-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Outer expanding ring using a pseudo-element */
.pulse-ring::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(0, 150, 255, 0.6);
  animation: pulseExpand 2s infinite ease-out;
}

/* Inner glow breathing effect */
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Outer ring expansion */
@keyframes pulseExpand {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}