/* ============================================
   ANGEL CITY TECH SOLUTIONS
   SaaS-level UI with glass, motion, gradients
   ============================================ */

:root {
  --bg: #05070d;
  --bg-2: #0a0e1a;
  --text: #ffffff;
  --muted: #9aa3b2;
  --brand: #6BB6FF;
  --brand-2: #4f8cff;
  --brand-3: #6c5ce7;
  --border: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.04);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, 0.65);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
}

.brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 8px rgba(107,182,255,0.5));
}

.brand span { color: #fff; }
.brand small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--brand-2);
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(79,140,255,0.35);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(79,140,255,0.5); }

.hamburger { display:none; background:none; border:0; color:#fff; font-size:22px; cursor:pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 140px 24px 120px;
  text-align: center;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,140,255,0.55), transparent 60%);
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}

.hero-logo {
  width: 110px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 30px rgba(107,182,255,0.6));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  background: var(--glass);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -1.5px;
  background: linear-gradient(180deg, #fff 0%, #b4c3dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: 0;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: #fff;
  box-shadow: 0 10px 30px rgba(79,140,255,0.35);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79,140,255,0.5); }

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
}
.btn.ghost:hover { background: var(--glass); border-color: var(--brand); }

/* ===== TRUST BAR ===== */
.trust {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust p { color: var(--muted); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 18px; }
.trust-items { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; color: #dbe4f1; font-weight: 600; }

/* ===== SECTIONS ===== */
section { position: relative; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; padding: 0 20px; }
.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 14px;
  letter-spacing: -0.8px;
  background: linear-gradient(180deg, #fff, #aab5c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { color: var(--muted); font-size: 17px; }

/* ===== SERVICES GRID ===== */
.services {
  padding: 110px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service {
  position: relative;
  padding: 28px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .3s, border-color .3s, background .3s;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(79,140,255,0.12), transparent 40%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.service:hover { transform: translateY(-6px); border-color: rgba(107,182,255,0.35); }
.service:hover::before { opacity: 1; }

.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(79,140,255,0.35);
}

.service h3 { margin: 0 0 10px; font-size: 19px; }
.service p { color: var(--muted); margin: 0; font-size: 15px; }
.service a.learn { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; font-size: 14px; }
.service a.learn:hover { text-decoration: underline; }

/* ===== SPLIT SECTION ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 24px;
}
.split-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 10px;
  letter-spacing: -0.6px;
}
.split-text h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  margin: 0 0 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.split-text p { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

.split-visual {
  position: relative;
  height: 380px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(79,140,255,0.25), rgba(108,92,231,0.25));
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(79,140,255,0.6), transparent 55%),
              radial-gradient(circle at 75% 75%, rgba(108,92,231,0.5), transparent 55%);
}
.split-visual .dash-card {
  position: absolute;
  left: 30px; top: 40px;
  width: calc(100% - 60px);
  background: rgba(10,14,26,0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.dash-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.dash-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 14px; }
.dash-bar > div { height: 100%; background: linear-gradient(90deg, var(--brand-2), var(--brand-3)); border-radius: 3px; }
.dash-stat { display: flex; justify-content: space-between; color: #fff; font-weight: 600; font-size: 14px; margin-top: 4px; }
.dash-stat .good { color: #5ee7a8; }

/* ===== STATS ===== */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat {
  text-align: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(10px);
}
.stat-num {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}
.stat p { color: var(--muted); margin: 4px 0 0; font-size: 14px; }

/* ===== CTA BANNER ===== */
.cta {
  max-width: 1100px;
  margin: 60px auto;
  padding: 70px 30px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(79,140,255,0.18), rgba(108,92,231,0.18));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.cta::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,140,255,0.5), transparent 60%);
  filter: blur(100px);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.cta h2 {
  position: relative;
  font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 10px;
  letter-spacing: -0.8px;
}
.cta p { position: relative; color: var(--muted); margin: 0 0 28px; font-size: 17px; }
.cta .btns { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  color: var(--brand);
  font-size: 22px;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 22px; color: var(--muted); margin: 0; }

/* ===== CONTACT / FORM ===== */
.contact-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-wrap h2 { font-size: 40px; margin: 0 0 16px; letter-spacing: -0.8px; }
.contact-wrap p.lead { color: var(--muted); font-size: 17px; }
.contact-list { margin-top: 30px; }
.contact-list div { margin-bottom: 14px; color: #dbe4f1; }
.contact-list strong { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(14px);
}
.form label { font-size: 13px; color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%;
  background: rgba(10,14,26,0.7);
  border: 1px solid var(--border);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand); }
.form textarea { min-height: 110px; resize: vertical; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 90px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -1px;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #fff, #aab5c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto; }

.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.content h2 { font-size: 28px; margin: 40px 0 14px; letter-spacing: -0.4px; }
.content h3 { font-size: 20px; margin: 28px 0 10px; color: var(--brand); }
.content p, .content li { color: #cbd4e2; font-size: 16px; }
.content ul { padding-left: 20px; }
.content ul li { margin-bottom: 8px; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
  margin-top: 60px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 300px; margin-top: 10px; }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.fade-in.show { opacity: 1; transform: translateY(0); }

.fade-in.delay-1 { transition-delay: .1s; }
.fade-in.delay-2 { transition-delay: .2s; }
.fade-in.delay-3 { transition-delay: .3s; }
.fade-in.delay-4 { transition-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(5,7,13,0.97); border-bottom: 1px solid var(--border); padding: 10px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 20px 70px; }
}

/* ===== SEO/AEO ADDITIONS ===== */
.breadcrumbs { padding: 14px 40px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); background: rgba(5,7,13,0.4); }
.breadcrumbs .crumb-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumbs a { color: var(--brand); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-current] { color: #fff; }

.aeo-answer { max-width: 820px; margin: 60px auto; padding: 30px 34px; background: linear-gradient(135deg, rgba(107,182,255,0.08), rgba(108,92,231,0.08)); border: 1px solid rgba(107,182,255,0.25); border-radius: 16px; backdrop-filter: blur(10px); }
.aeo-answer h2 { margin: 0 0 10px; font-size: 20px; color: var(--brand); letter-spacing: .3px; text-transform: uppercase; font-weight: 700; }
.aeo-answer p { margin: 0; color: #e5ecf7; font-size: 16px; line-height: 1.65; }
.aeo-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; text-align: center; }

.areas { padding: 60px 20px; text-align: center; }
.areas h2 { font-size: 28px; margin-bottom: 12px; }
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 26px; max-width: 900px; margin-left: auto; margin-right: auto; }
.area-grid a { padding: 14px; border: 1px solid var(--border); border-radius: 10px; color: #fff; text-decoration: none; font-size: 14px; background: var(--glass); transition: border-color .2s, transform .2s; }
.area-grid a:hover { border-color: var(--brand); transform: translateY(-2px); }

@media (max-width:640px) { .breadcrumbs { padding: 12px 20px; } .aeo-answer { margin: 40px 16px; padding: 22px; } }
