/* === AEONTHINK Design System v2 === */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --navy: #0a0e27;
  --navy-light: #151d3f;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #dbeafe;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --max-w: 1120px;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* === Nav === */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active { color: #fff; background: rgba(37,99,235,.2); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* === Hero === */
.hero {
  background: linear-gradient(160deg, #060911 0%, #0d1a33 30%, #0a1628 60%, #060d1f 100%);
  color: #fff;
  padding: 100px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(37,99,235,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 60%, rgba(255,106,0,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(37,99,235,.04) 0%, transparent 40%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-full { width: 100%; text-align: center; }

/* === Section common === */
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--navy);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 48px;
}

/* === Features === */
.features { max-width: var(--max-w); margin: 80px auto; padding: 0 24px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--surface);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--navy); }
.feature-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.feature-link { color: var(--blue); text-decoration: none; font-size: 14px; font-weight: 600; }
.feature-link:hover { text-decoration: underline; }

/* === Why Us === */
.why-us { max-width: var(--max-w); margin: 0 auto 80px; padding: 0 24px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-item {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.why-item strong { display: block; font-size: 16px; margin-bottom: 8px; color: var(--navy); }
.why-item p { color: var(--text-muted); font-size: 14px; }

/* === CTA === */
.cta-section {
  max-width: var(--max-w);
  margin: 0 auto 80px;
  padding: 64px 24px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  color: #fff;
}
.cta-section h2 { font-size: 30px; margin-bottom: 12px; }
.cta-section p { color: var(--text-light); margin-bottom: 32px; font-size: 16px; }

/* === Page Content === */
.page-content { max-width: 920px; margin: 60px auto; padding: 0 24px; }
.page-content h2 { margin-bottom: 40px; }

/* === Product Cards === */
.product-card {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-card.featured { border-left: 4px solid var(--blue); }
.product-card.highlight { background: linear-gradient(135deg, #eff6ff, #f0f9ff); border-color: var(--blue-light); }
.product-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.product-card h3 { font-size: 20px; color: var(--navy); }
.product-card .spec {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: "SF Mono", "Fira Code", monospace;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 4px;
  display: inline-block;
}
.specs-table {
  margin: 16px 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.specs-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  font-size: 14px;
}
.specs-table div:nth-child(odd) { background: #f8fafc; }
.specs-table div span {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.specs-table div span:first-child { font-weight: 600; color: var(--navy); }
.specs-table div span:last-child { color: var(--text-muted); }
.product-desc { color: var(--text-muted); font-size: 14px; margin: 16px 0; line-height: 1.7; }
.product-card .btn { margin-top: 8px; }

/* === Badges === */
.badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--blue-light);
  color: var(--blue);
}
.badge-green { background: #dcfce7; color: #16a34a; }

/* === About === */
.about-block {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.about-block h3 { font-size: 19px; margin-bottom: 12px; color: var(--navy); }
.about-block p { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; line-height: 1.7; }
.about-block ul { padding-left: 20px; color: var(--text-muted); font-size: 15px; }
.about-block li { margin-bottom: 6px; }

.process-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.process-step {
  background: var(--bg);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}
.process-step strong { display: block; font-size: 14px; color: var(--blue); margin-bottom: 6px; }
.process-step span { font-size: 13px; color: var(--text-muted); }

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.cap-item {
  background: var(--bg);
  padding: 16px 18px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  border-left: 3px solid var(--blue);
}

/* === Contact === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--surface);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-wrap h3 { font-size: 20px; margin-bottom: 24px; color: var(--navy); }
.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 16px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--navy); }
.contact-card p { font-size: 14px; color: var(--text); }
.contact-card a { color: var(--blue); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .small { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.checklist { list-style: none; padding: 0; }
.checklist li { font-size: 13px; color: var(--text-muted); padding: 4px 0; }
.checklist li::before { content: "✓ "; color: #16a34a; font-weight: 700; }

/* === Footer === */
footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 48px 24px 24px;
  margin-top: 80px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col strong { display: block; color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-col p, .footer-col a { font-size: 13px; color: var(--text-light); text-decoration: none; display: block; margin-bottom: 6px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

/* === Responsive === */
@media (max-width: 900px) {
  .features-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-flow { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .features-grid, .why-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .specs-table div { grid-template-columns: 110px 1fr; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 12px; border-top: 1px solid rgba(255,255,255,.06); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 60px 20px 80px; }
  .hero h1 { font-size: 28px; }
  .hero-desc { font-size: 15px; }
  .section-title { font-size: 26px; }
  .product-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; }
}
