/* AOS AI Services — Landing Page v2
   Premium, futuristic, dark, motion-rich.
   Plain CSS, no frameworks, no external fonts, no build step, no external dependencies. */

:root {
  --bg-0: #05070d;
  --bg-1: #0a0f1a;
  --bg-2: #0e1524;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-border-strong: rgba(255, 255, 255, 0.16);
  --text-0: #f4f7fb;
  --text-1: #c4cddb;
  --text-2: #8b96ab;
  --cyan: #3fd8ff;
  --cyan-soft: #7ce6ff;
  --violet: #8b6bff;
  --gold: #ffd27a;
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1120px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  color: var(--text-1);
  background: var(--bg-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

h1, h2, h3 {
  line-height: 1.2;
  color: var(--text-0);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 16px;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  color: var(--text-0);
}

p {
  margin: 0 0 12px;
  color: var(--text-2);
}

a {
  color: var(--cyan-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.08rem;
  max-width: 640px;
}

/* ---------------------------------------------------------------------- */
/* Ambient background: layered glow + grid, pure CSS, no images/canvas    */
/* ---------------------------------------------------------------------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-0);
}

.ambient::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 90%);
  opacity: 0.6;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: drift 22s ease-in-out infinite;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -120px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  animation-duration: 26s;
}

.orb-2 {
  width: 460px;
  height: 460px;
  top: 10%;
  right: -160px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  animation-duration: 32s;
  animation-delay: -6s;
}

.orb-3 {
  width: 380px;
  height: 380px;
  bottom: -140px;
  left: 30%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 72%);
  opacity: 0.22;
  animation-duration: 28s;
  animation-delay: -12s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 40px) scale(1.06); }
  66% { transform: translate(-24px, 20px) scale(0.96); }
}

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text-0);
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px 2px var(--cyan);
  display: inline-block;
}

.brand span {
  font-weight: 400;
  color: var(--text-2);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--cyan-soft);
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  color: #04070d;
  box-shadow: 0 8px 30px -8px rgba(63, 216, 255, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -6px rgba(63, 216, 255, 0.7);
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-0);
  border-color: var(--glass-border-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan-soft);
  transform: translateY(-2px);
}

.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 14px;
}

.price-note {
  font-size: 0.88rem;
  color: var(--text-2);
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  padding: 108px 0 88px;
  position: relative;
}

.hero-inner {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border-strong);
  font-size: 0.82rem;
  color: var(--cyan-soft);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero h1 .grad {
  background: linear-gradient(100deg, var(--cyan-soft), var(--violet) 60%, var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.subheadline {
  font-size: 1.15rem;
  max-width: 620px;
  color: var(--text-1);
}

/* Floating dashboard preview mockup */

.dash-preview {
  margin-top: 56px;
  max-width: 720px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px -30px rgba(63, 216, 255, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  padding: 18px;
  animation: floaty 7s ease-in-out infinite;
}

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

.dash-preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  opacity: 0.7;
}

.dash-preview-bar span:not(.dash-preview-title) {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-2);
}

.dash-preview-bar span:nth-child(1) { background: #ff6b6b; }
.dash-preview-bar span:nth-child(2) { background: #ffd27a; }
.dash-preview-bar span:nth-child(3) { background: #4ade80; }

.dash-preview-title {
  flex: 1;
  min-width: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: 0.78rem;
  color: var(--text-2);
  margin-left: 8px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.dash-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.dash-tile .label {
  font-size: 0.72rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.dash-tile .value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-0);
}

.dash-tile .value.cyan { color: var(--cyan-soft); }
.dash-tile .value.gold { color: var(--gold); }

.dash-preview-note {
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--text-2);
  font-style: italic;
}

/* ---------------------------------------------------------------------- */
/* Sections                                                                */
/* ---------------------------------------------------------------------- */

.section {
  padding: 88px 0;
  position: relative;
}

.section-tight {
  padding: 56px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 44px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Glass card */

.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  border-color: var(--glass-border-strong);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
}

/* Grids */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 860px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Automation offer cards */

.automation-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #04070d;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.automation-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.automation-card li {
  color: var(--text-1);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.offer-banner {
  margin-top: 32px;
  text-align: center;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(63, 216, 255, 0.09), rgba(139, 107, 255, 0.09));
  border: 1px solid var(--glass-border-strong);
}

.offer-banner .big-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-0);
}

.offer-banner .big-price span {
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: line-through;
  margin-right: 8px;
}

/* Feature / why-different list */

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-1);
}

.feature-list .check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(63, 216, 255, 0.15);
  color: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 2px;
}

/* Steps */

.steps {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--glass-border-strong);
  padding-left: 28px;
}

.step {
  position: relative;
  padding-bottom: 32px;
}

.step:last-child {
  padding-bottom: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(63, 216, 255, 0.18);
}

.step h3 {
  margin-bottom: 4px;
}

/* FAQ */

.faq-item {
  margin-bottom: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--glass-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: 6px;
}

/* Contact / final CTA */

.contact-card {
  text-align: center;
  padding: 56px 40px;
}

.contact-placeholder {
  font-style: italic;
  color: var(--text-2);
}

/* Footer */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.site-footer p {
  font-size: 0.82rem;
  margin: 0;
  color: var(--text-2);
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */

@media (max-width: 600px) {
  .hero {
    padding: 72px 0 56px;
  }

  .section {
    padding: 60px 0;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    justify-content: center;
  }

  .dash-preview {
    margin-top: 40px;
  }
}

/* Respect reduced-motion preference */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .orb, .dash-preview, .hero h1 .grad {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- AI Agent Starter Pack (PRJ-009) --- */
.badge-new {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b0e14;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  vertical-align: middle;
}

.inline-link {
  color: var(--cyan-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 230, 255, 0.35);
}

.inline-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.agent-card .num {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.agent-banner {
  border-color: rgba(139, 107, 255, 0.45);
}

/* --- Hero dashboard preview: responsive fixes (PRJ-009 live-site pass) --- */
@media (max-width: 600px) {
  .dash-preview {
    padding-left: 14px;
    padding-right: 14px;
  }
  .dash-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dash-tile .value {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .dash-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* --- ALSAKKAF Systems public identity: Founder, trust, Founding Client Program --- */

.founder-card p {
  color: var(--text-1);
  max-width: 720px;
}

.trust-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  margin-bottom: 10px;
}

.pilot-banner {
  border-color: rgba(255, 210, 122, 0.45);
  margin-top: 24px;
}

.pilot-prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 6px;
  text-align: left;
}

.pilot-price {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.pilot-price h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.pilot-price .big-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.pilot-price .big-price span {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: line-through;
  margin-bottom: 2px;
}

@media (max-width: 640px) {
  .pilot-prices {
    grid-template-columns: 1fr;
  }
}
