/* ============================================================
   AE Digital Studio LLC — ae-studio.org
   Dark cyber aesthetic · trustworthy typography
   Display: Sora · Body: Inter · NO gradient-filled text
   ============================================================ */
:root {
  --bg: #05070f;
  --bg-2: #0a0f1e;
  --bg-3: #0d1428;
  --ink: #f2f6fc;          /* headings, nav */
  --body: #c3cede;         /* body copy */
  --muted: #8a94a8;        /* fine print */
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.55);
  --violet: #8b5cf6;
  --line: rgba(148, 163, 190, 0.16);
  --radius: 18px;
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
section { scroll-margin-top: 84px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--cyan); color: #04222a;
  padding: 0.6rem 1rem; border-radius: 0 0 8px 0; z-index: 200;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6.5rem 0; position: relative; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.32em;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  text-align: center; margin-bottom: 1rem;
}
.section-sub {
  text-align: center; max-width: 62ch; margin: 0 auto 3.2rem;
  font-size: 1.06rem;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 1rem 2.1rem; border-radius: 10px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:active { transform: translateY(1px); }

.btn-outline {
  color: var(--ink);
  border-color: var(--cyan-dim);
  background: rgba(0, 229, 255, 0.04);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.35), inset 0 0 12px rgba(0, 229, 255, 0.08);
}
.btn-outline:hover {
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.55), inset 0 0 14px rgba(0, 229, 255, 0.12);
}

.btn-solid {
  color: #03252c;
  background: var(--cyan);
  box-shadow: 0 0 26px rgba(0, 229, 255, 0.5);
}
.btn-solid:hover { background: #4df0ff; box-shadow: 0 0 36px rgba(0, 229, 255, 0.7); }

.btn-ghost {
  color: var(--body);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--cyan-dim); color: var(--ink); }

.micro {
  font-size: 0.82rem; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.micro svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 7, 15, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0.85rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand-word {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.24em;
  color: var(--ink); white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-link {
  position: relative;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink); text-decoration: none; padding: 0.4rem 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--cyan); border-radius: 2px;
  box-shadow: 0 0 10px var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link:hover { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 0.5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 70px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 0 0;
}
.circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 38% at 72% 40%, rgba(139, 92, 246, 0.16), transparent 65%),
    radial-gradient(ellipse 42% 34% at 22% 62%, rgba(0, 229, 255, 0.1), transparent 65%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem; align-items: center; width: 100%;
}
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.015em;
  margin-bottom: 1.4rem;
}
.lede { font-size: 1.12rem; max-width: 46ch; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.trust-line { margin-bottom: 0.5rem; }
.hero-visual img {
  width: 100%; max-width: 520px; margin-left: auto;
  filter: drop-shadow(0 0 60px rgba(0, 229, 255, 0.22));
}
.hero-social {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; padding: 2.5rem 2rem 2rem; width: 100%;
  display: flex; gap: 1.4rem; justify-content: flex-end;
}
.hero-social a, .footer-social a {
  color: var(--muted); display: inline-flex;
  transition: color 0.2s ease, transform 0.2s ease;
}
.hero-social a:hover, .footer-social a:hover { color: var(--cyan); transform: translateY(-2px); }
.hero-social svg, .footer-social svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------------- Trust strip ---------------- */
.trust-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(10, 15, 30, 0.6);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 1.2rem 2rem; padding: 1.05rem 2rem;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted);
}
.trust-strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-dim); }

/* ---------------- Services ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: linear-gradient(180deg, #0b1122 0%, #070b16 100%);
  border: 1.5px solid var(--cyan-dim);
  border-radius: var(--radius);
  padding: 2.4rem 2.1rem;
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.14), inset 0 0 30px rgba(0, 229, 255, 0.03);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover {
  transform: translateY(-7px);
  border-color: var(--cyan);
  box-shadow: 0 0 38px rgba(0, 229, 255, 0.3), inset 0 0 30px rgba(0, 229, 255, 0.05);
}
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.card-num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--cyan); }
.card-icon { width: 46px; height: 46px; color: var(--cyan); opacity: 0.9; }
.card h3 {
  font-size: 1.12rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.card p { font-size: 0.98rem; }

/* ---------------- Consultation CTA ---------------- */
.consult-card {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  text-align: center;
  padding: 4.2rem 2.5rem;
  max-width: 880px; margin: 0 auto;
}
.consult-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(0, 229, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 55% 50% at 85% 100%, rgba(139, 92, 246, 0.16), transparent 65%);
}
.consult-card > * { position: relative; }
.consult-card h2 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.4rem;
}
.consult-sub {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em; color: var(--body);
  margin-bottom: 1.4rem;
}
.consult-copy { max-width: 54ch; margin: 0 auto 2.2rem; }
.consult-card .btn { margin-bottom: 1.1rem; }
.consult-card .micro { display: block; text-align: center; margin-top: 0.4rem; }

/* ---------------- Transform ---------------- */
.transform { overflow: hidden; }
.streaks { position: absolute; inset: 0; pointer-events: none; }
.streaks::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 58% 46% at 50% 42%, rgba(139, 92, 246, 0.3), transparent 66%),
    repeating-linear-gradient(112deg, transparent 0 52px, rgba(0, 229, 255, 0.07) 52px 54px, transparent 54px 128px),
    repeating-linear-gradient(68deg, transparent 0 84px, rgba(139, 92, 246, 0.08) 84px 86px, transparent 86px 190px);
}
.streaks::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, transparent 8%, rgba(0, 229, 255, 0.1) 38%, transparent 55%),
    linear-gradient(80deg, transparent 55%, rgba(139, 92, 246, 0.12) 78%, transparent 94%);
}
.transform-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.transform-copy h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800;
  text-transform: uppercase; margin-bottom: 1.3rem;
}
.transform-copy > p { font-size: 1.08rem; max-width: 44ch; margin-bottom: 1.8rem; }
.checklist { list-style: none; margin-bottom: 2.4rem; display: grid; gap: 0.8rem; }
.checklist li {
  position: relative; padding-left: 2rem; color: var(--body); font-weight: 500;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0.1em;
  color: var(--cyan); font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}
.transform-visual img {
  width: 100%; max-width: 440px; margin: 0 auto;
  filter: drop-shadow(0 0 70px rgba(139, 92, 246, 0.3));
}
.transform-foot {
  position: relative; z-index: 1; text-align: center; margin-top: 4rem;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}

/* ---------------- Portfolio ---------------- */
.portfolio { background: rgba(10, 15, 30, 0.45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.work {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.work:hover {
  transform: translateY(-6px); border-color: var(--cyan-dim);
  box-shadow: 0 14px 44px rgba(0, 229, 255, 0.14);
}
.work-art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.work-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 15, 0.55));
}
/* Stylized placeholder artwork — replace with real project imagery */
.art-1 { background: radial-gradient(circle at 30% 25%, rgba(139,92,246,.55), transparent 55%), radial-gradient(circle at 75% 80%, rgba(0,229,255,.4), transparent 55%), #0d1530; }
.art-2 { background: repeating-linear-gradient(135deg, rgba(0,229,255,.14) 0 14px, transparent 14px 30px), radial-gradient(circle at 70% 30%, rgba(0,229,255,.35), transparent 55%), #0b1226; }
.art-3 { background: radial-gradient(circle at 50% 120%, rgba(139,92,246,.5), transparent 60%), linear-gradient(160deg, #101a3a, #070b16); }
.art-4 { background: conic-gradient(from 200deg at 60% 40%, rgba(0,229,255,.28), transparent 40%, rgba(139,92,246,.28), transparent 75%, rgba(0,229,255,.28)), #0a1024; }
.art-5 { background: radial-gradient(circle at 25% 70%, rgba(0,229,255,.4), transparent 55%), radial-gradient(circle at 80% 20%, rgba(139,92,246,.45), transparent 55%), #0c1330; }
.art-6 { background: repeating-linear-gradient(90deg, rgba(139,92,246,.12) 0 10px, transparent 10px 26px), repeating-linear-gradient(0deg, rgba(0,229,255,.1) 0 10px, transparent 10px 26px), #0a0f22; }
.work-meta { padding: 1.15rem 1.3rem 1.35rem; }
.tag {
  display: inline-block; font-family: var(--font-display);
  font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--cyan); margin-bottom: 0.45rem;
}
.work-meta h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0.01em; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-copy h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800;
  text-transform: uppercase; margin-bottom: 1.2rem;
}
.contact-copy > p { margin-bottom: 2.2rem; max-width: 42ch; }
.contact-lines { list-style: none; display: grid; gap: 1.3rem; }
.contact-lines li { display: grid; gap: 0.15rem; }
.contact-lines strong {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.24em; color: var(--muted);
}
.contact-lines a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--cyan-dim); width: fit-content; }
.contact-lines a:hover { color: var(--cyan); }

.contact-form {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 20px; padding: 2.4rem;
  display: grid; gap: 1.2rem;
}
.contact-form label {
  display: grid; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--body);
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  background: #070c1a; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.9rem 1.05rem; width: 100%; resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #5b6579; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
.contact-form .btn { justify-self: start; }
.form-note { font-size: 0.9rem; min-height: 1.4em; }
.form-note.ok { color: var(--cyan); }
.form-note.err { color: #ff8a9e; }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--line); background: #04060c; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; flex-wrap: wrap; padding-top: 1.8rem; padding-bottom: 1.8rem;
}
.footer-meta { font-size: 0.85rem; color: var(--muted); }
.footer-social { display: flex; gap: 1.2rem; }

/* ---------------- Business services ---------------- */
.biz-list {
  list-style: none; margin: 0 auto 4.5rem; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem;
  max-width: 1020px;
}
.biz-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.biz-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.35rem; }
.biz-row h3 { font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }
.price {
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 600;
  color: var(--cyan); border: 1px solid var(--cyan-dim); border-radius: 999px;
  padding: 0.32rem 0.85rem; white-space: nowrap;
}
.biz-list p { font-size: 0.95rem; margin: 0; }
.plans-title {
  text-align: center; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem;
}
.plans-sub { text-align: center; max-width: 52ch; margin: 0 auto 2.6rem; }
.cards.plans { margin-bottom: 2rem; }
.card.plan { text-align: center; position: relative; }
.card.plan h3 { margin-bottom: 0.6rem; }
.plan-price { font-family: var(--font-display); font-size: 2.4rem !important; font-weight: 800; color: var(--ink); margin-bottom: 0.2rem; }
.plan-price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan-hours { font-size: 0.82rem !important; text-transform: uppercase; letter-spacing: 0.18em; color: var(--cyan); margin-bottom: 1rem; }
.card.plan.featured { border-color: var(--cyan); box-shadow: 0 0 42px rgba(0, 229, 255, 0.32), inset 0 0 30px rgba(0, 229, 255, 0.06); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: #04121a; font-family: var(--font-display);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  padding: 0.32rem 1rem; border-radius: 999px; white-space: nowrap;
}
.plans-note { text-align: center; margin-bottom: 2rem; }
.plans-cta { text-align: center; }
.plan-btn { width: 100%; margin-top: 1.5rem; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual img { margin: 0 auto; max-width: 420px; }
  .hero-social { justify-content: center; }
  .transform-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { gap: 2.8rem; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .cards.plans { margin-bottom: 2rem; }
  .biz-list { grid-template-columns: 1fr; max-width: 560px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .trust-strip { gap: 0.7rem 1.4rem; }
  .trust-strip i { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #05070f;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    padding: 0.6rem 2rem 1.2rem;
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-link { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.8rem; }
  .nav-link:last-child { border-bottom: 0; }
  .nav-link::after { display: none; }
  .section { padding: 4.5rem 0; }
  .hero { min-height: auto; padding-top: 3.5rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .consult-card { padding: 3rem 1.6rem; }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 1.4rem; }
  .contact-form { padding: 1.7rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
