/*
Theme Name: Anteomnio
Theme URI: https://anteomnio.com
Description: Anteomnio brand theme — child of Hello Elementor
Author: Anteomnio
Template: hello-elementor
Version: 1.0.0
*/

/* ==========================================================================
   Anteomnio — design system
   ========================================================================== */

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #EAEEF4;
  --tile: #FFFFFF;
  --ink: #0D131F;
  --muted: #59616E;
  --faint: #636B78;
  --line: rgba(13, 19, 31, .08);
  --accent: #1466FF;
  --accent-2: #6E5BFF;
  --cyan: #39C6FF;
  --tint: #E9F0FF;
  --r: 26px;
  --f: "Satoshi", system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f); color: var(--ink); background: var(--bg); overflow-x: hidden; font-weight: 400; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
svg { stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout ---------- */
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 34px); }

/* ---------- buttons ---------- */
.ao-btn-fill,
.elementor-button.ao-fill {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--f);
  box-shadow: 0 14px 30px -14px rgba(20, 102, 255, .7);
  transition: transform .22s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.ao-btn-fill:hover,
.elementor-button.ao-fill:hover { transform: translateY(-2px); }

.ao-btn-ghost,
.elementor-button.ao-ghost {
  font-size: 15px;
  font-weight: 600;
  font-family: var(--f);
  border: 1.5px solid rgba(13, 19, 31, .16);
  border-radius: 999px;
  padding: 12px 24px;
  display: inline-block;
  color: var(--ink);
  background: var(--tile);
  box-shadow: 0 8px 22px -14px rgba(13, 19, 31, .3);
  transition: border-color .2s, background .2s, transform .22s, box-shadow .22s;
  cursor: pointer;
}
.ao-btn-ghost:hover,
.elementor-button.ao-ghost:hover {
  border-color: rgba(13, 19, 31, .34);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(13, 19, 31, .36);
}

/* ---------- nav ---------- */
.ao-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 9px 9px 16px;
  box-shadow: 0 10px 40px -16px rgba(13, 19, 31, .3);
  max-width: calc(100vw - 24px);
}
.ao-nav .brand { font-weight: 900; font-size: 17px; letter-spacing: -.02em; margin-right: 6px; color: var(--ink); }
.ao-nav a.nav-link { color: var(--muted); font-size: 14px; font-weight: 500; padding: 0 8px; white-space: nowrap; }
.ao-nav a.nav-link:hover { color: var(--ink); }
.ao-nav .nav-cta { background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ---------- hero section ---------- */
.ao-hero { padding: clamp(120px, 18vh, 180px) 0 clamp(80px, 12vh, 120px); text-align: center; }
.ao-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); max-width: 18ch; margin: 0 auto 24px; }
.ao-hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 50ch; margin: 0 auto 40px; line-height: 1.7; font-weight: 500; }
.ao-hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- section headings ---------- */
.ao-section { padding: clamp(64px, 10vh, 112px) 0; }
.ao-section-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.ao-section-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 20px; }
.ao-section-sub { color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.1rem); line-height: 1.7; max-width: 52ch; font-weight: 500; }

/* ---------- cards ---------- */
.ao-card {
  background: var(--tile);
  border-radius: var(--r);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 12px 40px -20px rgba(13, 19, 31, .12);
  transition: transform .22s, box-shadow .22s;
}
.ao-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -22px rgba(13, 19, 31, .18);
}
.ao-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* ---------- coloured tile (dark) ---------- */
.ao-ctile {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  padding: clamp(40px, 6vw, 72px);
}
.ao-ctile .ao-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .32); background: transparent; box-shadow: none; }
.ao-ctile .ao-btn-ghost:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }

/* ---------- icon badge ---------- */
.ao-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

/* ---------- stats strip ---------- */
.ao-stats { display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.ao-stat-num { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.04em; color: var(--ink); }
.ao-stat-label { color: var(--muted); font-size: 14px; font-weight: 500; margin-top: 4px; }

/* ---------- pill / badge ---------- */
.ao-pill {
  display: inline-block;
  background: var(--tint);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* ---------- divider ---------- */
.ao-divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---------- footer ---------- */
.ao-footer { padding: 88px 0 48px; border-top: 1px solid var(--line); background: var(--bg); }
.ao-fgrid { display: flex; justify-content: space-between; gap: 64px; flex-wrap: wrap; align-items: flex-start; }
.ao-fbrand { font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.ao-fdesc { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 38ch; margin-top: 16px; font-weight: 500; }
.ao-fnav { display: flex; gap: 96px; flex-wrap: wrap; }
.ao-fcol .ao-fh { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin-bottom: 20px; font-weight: 700; }
.ao-fcol a { display: block; color: var(--muted); font-size: 14.5px; font-weight: 500; margin-bottom: 16px; }
.ao-fcol a:hover { color: var(--ink); }
.ao-fbot { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Elementor overrides ---------- */
.elementor-section .elementor-container { max-width: 1220px; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--f); letter-spacing: -.03em; }
.elementor-widget-text-editor { color: var(--muted); font-family: var(--f); line-height: 1.75; }
.elementor-button { font-family: var(--f) !important; }

/* ---------- WP body / admin bar fix ---------- */
body.admin-bar .ao-nav { top: calc(16px + 32px); }
@media (max-width: 782px) { body.admin-bar .ao-nav { top: calc(16px + 46px); } }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .ao-nav a.nav-link { display: none; }
  .ao-fnav { gap: 40px; }
}
@media (max-width: 600px) {
  .ao-footer { padding: 56px 0 40px; }
  .ao-fgrid { flex-direction: column; gap: 28px; }
  .ao-fnav { flex-direction: column; gap: 12px; }
  .ao-fbot { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
