/* =========================================
   AIONLABS — Global Styles
   ========================================= */

:root {
  --bg:           #080b12;
  --bg-surface:   #0e1320;
  --bg-card:      #111827;
  --border:       rgba(255, 255, 255, 0.08);
  --text:         #f1f5f9;
  --text-muted:   #94a3b8;
  --accent:       #6366f1;
  --accent-light: #818cf8;
  --gradient:     linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- Layout ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn--outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent-light); }
.btn--ghost { color: var(--text-muted); background: transparent; }
.btn--ghost:hover { color: var(--text); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

/* ---- Gradient text ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section helpers ---- */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; }
.section-sub { color: var(--text-muted); margin-top: 0.75rem; max-width: 520px; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-sub { margin: 0.75rem auto 0; }

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(12px);
}
.nav__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}
.nav__logo-icon { color: var(--accent); font-size: 1.3rem; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}
.hero__container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  background: var(--bg-surface);
}
.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Hero background */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.hero__glow--1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: #06b6d4;
  bottom: -100px; right: 10%;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* =========================================
   PRODUCTS
   ========================================= */
.products { padding: 6rem 0; }
.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card--soon { opacity: 0.7; }
.product-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.product-card__icon { font-size: 2rem; margin-bottom: 1rem; color: var(--accent-light); }
.product-card__name { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.product-card__desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* =========================================
   ABOUT
   ========================================= */
.about { padding: 6rem 0; background: var(--bg-surface); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__content p { color: var(--text-muted); margin: 1rem 0; line-height: 1.8; }
.about__list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.about__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.about__list li::before {
  content: '✓';
  color: var(--accent-light);
  font-weight: 700;
  flex-shrink: 0;
}
.about__visual { display: flex; justify-content: center; }
.about__card {
  width: 100%;
  max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about__card-line {
  height: 12px;
  border-radius: 99px;
  background: var(--border);
}
.about__card-line:first-child { background: linear-gradient(90deg, var(--accent) 0%, transparent 100%); width: 70%; }
.about__card-line--short { width: 45%; }

/* =========================================
   CONTACT
   ========================================= */
.contact { padding: 6rem 0; text-align: center; }
.contact__inner { max-width: 500px; margin: 0 auto; }
.contact__inner p { color: var(--text-muted); margin: 1rem 0 2rem; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy, .footer__domain { font-size: 0.85rem; color: var(--text-muted); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .nav__links li:not(:last-child) { display: none; }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .footer__inner { flex-direction: column; text-align: center; }
}
