/* ================================================================
   LAYA AI — Premium Dark Theme (Futuristic / Immersive)
   ================================================================ */

/* --- CSS Variables --- */
:root {
  --bg: #06060e;
  --bg-elevated: #0c0c18;
  --bg-card: #0f0f1c;
  --bg-card-hover: #141428;
  --bg-section-alt: #0a0a16;
  --text: #f0f0f5;
  --text-secondary: rgba(240, 240, 245, 0.6);
  --text-muted: rgba(240, 240, 245, 0.35);
  --accent: #6c63ff;
  --accent-light: #8b83ff;
  --accent-dark: #5046e5;
  --accent-glow: rgba(108, 99, 255, 0.15);
  --gradient: linear-gradient(135deg, #6c63ff, #e040fb, #00c6ff);
  --gradient-subtle: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(224,64,251,0.04));
  --gradient-dark: linear-gradient(135deg, #0a0a1a, #1a1035);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.6);
  --glow-accent: 0 0 40px rgba(108, 99, 255, 0.15);
  --glow-pink: 0 0 40px rgba(224, 64, 251, 0.1);
  --glow-cyan: 0 0 40px rgba(0, 198, 255, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-primary: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --nav-height: 80px;
  --container: 1400px;
  --container-narrow: 1100px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; border: none; background: none; font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Custom Cursor --- */
.cursor { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; }
.cursor-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
}
.cursor-outline {
  position: absolute; top: -16px; left: -16px;
  width: 40px; height: 40px; border: 1px solid rgba(108,99,255,0.4); border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s, top 0.4s var(--ease-out), left 0.4s var(--ease-out);
}
body.cursor-hover .cursor-dot { width: 60px; height: 60px; background: rgba(108,99,255,0.15); }
body.cursor-hover .cursor-outline { width: 80px; height: 80px; top: -32px; left: -32px; border-color: rgba(108,99,255,0.3); }

@media (max-width: 768px) {
  .cursor { display: none; }
  body, a, button { cursor: auto; }
}

/* --- Loader --- */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-primary); font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 2rem; color: var(--text);
}
.loader-logo sup {
  font-size: 0.4em; font-weight: 800; vertical-align: super; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; top: -0.5em;
}
.loader-bar { width: 200px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; margin: 0 auto 1rem; }
.loader-progress { width: 0%; height: 100%; background: var(--gradient); border-radius: 2px; transition: width 0.3s var(--ease-out); }
.loader-text { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 2rem; }

/* --- Logo --- */
.nav-logo, .footer-logo {
  font-family: var(--font-primary); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline;
}
.logo-text { color: var(--text); }
.logo-ai {
  font-size: 0.45em; font-weight: 800; vertical-align: super; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: relative; top: -0.4em; margin-left: -0.05em;
}

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 2rem; height: var(--nav-height);
  display: flex; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(6, 6, 14, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-links { display: flex; gap: 2.5rem; }
.nav-link {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-secondary); transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gradient); transition: width 0.4s var(--ease-out); border-radius: 1px;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem;
  border: 1px solid var(--border); border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  transition: all 0.3s;
}
.nav-cta:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--accent); }
.nav-toggle {
  display: none; flex-direction: column; gap: 6px; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* --- Menu Overlay --- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.menu-overlay.active { opacity: 1; visibility: visible; }
.menu-inner { text-align: center; }
.menu-links { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.menu-link {
  font-family: var(--font-primary); font-size: clamp(2rem, 6vw, 4rem); font-weight: 700;
  display: flex; flex-direction: column; padding: 0.5rem 0;
  opacity: 0; transform: translateY(30px); transition: color 0.3s;
}
.menu-overlay.active .menu-link { opacity: 1; transform: translateY(0); }
.menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-link:nth-child(2) { transition-delay: 0.15s; }
.menu-link:nth-child(3) { transition-delay: 0.2s; }
.menu-link:nth-child(4) { transition-delay: 0.25s; }
.menu-link:nth-child(5) { transition-delay: 0.3s; }
.menu-link-label { transition: 0.3s; }
.menu-link:hover .menu-link-label { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.menu-link-sub { font-family: var(--font-body); font-size: 0.8rem; font-weight: 400; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.menu-footer { opacity: 0; transition: opacity 0.5s 0.35s; }
.menu-overlay.active .menu-footer { opacity: 1; }
.menu-social { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1rem; }
.menu-social a { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s; }
.menu-social a:hover { color: var(--accent); }
.menu-email a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.3s; }
.menu-email a:hover { color: var(--text); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 2rem;
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: 50px; transition: all 0.4s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 24px rgba(108, 99, 255, 0.3);
}
.btn-primary:hover { background: var(--accent-light); box-shadow: 0 8px 40px rgba(108, 99, 255, 0.4); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--border-hover); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--accent); }
.btn-large { padding: 1.15rem 2.5rem; font-size: 0.9rem; }
.btn-full { width: 100%; justify-content: center; }

/* --- Hero Section (Dark with 3D) --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 2rem 4rem; overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(108,99,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(224,64,251,0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0,198,255,0.04) 0%, transparent 50%);
  z-index: 0; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--bg), transparent); z-index: 1;
  pointer-events: none;
}
.hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-3d canvas { display: block; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
.hero-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem; opacity: 0;
}
.hero-label-line { width: 40px; height: 1px; background: var(--accent); }
.hero-label-text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); }
.hero-title {
  font-family: var(--font-primary); font-size: clamp(3rem, 8vw, 7rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero-title em { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: inline-block; }
.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem); color: var(--text-secondary); line-height: 1.7;
  max-width: 650px; margin: 0 auto 2.5rem; opacity: 0;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem; opacity: 0; z-index: 2;
}
.hero-scroll span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.hero-scroll-line { width: 1px; height: 40px; background: var(--border); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--accent-light);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}
@keyframes scrollLine { 0% { top: -100%; } 50% { top: 100%; } 100% { top: 100%; } }

/* --- Page Hero --- */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) 0 3rem; min-height: 40vh;
  display: flex; align-items: flex-end;
  background: var(--bg-elevated);
  position: relative; overflow: hidden;
}
[data-page="blog"] .section { padding: 4rem 0 6rem; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 80%, rgba(108,99,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(224,64,251,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-title {
  font-family: var(--font-primary); font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.03em;
}

/* --- Section Basics --- */
.section { padding: 8rem 0; position: relative; }
.services-home { padding-bottom: 3rem; }
.stats-section + .section { padding-top: 5rem; }
.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }
.section-label {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--font-primary); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--text);
}
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 1.5rem auto 0; }
.line-reveal { display: block; overflow: hidden; }
.line-reveal > span { display: inline-block; }
.text-large { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.text-body { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--accent); transition: gap 0.3s var(--ease-out);
}
.text-link:hover { gap: 0.8rem; }

/* --- Marquee --- */
.marquee-section { padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-track {
  display: flex; gap: 3rem; align-items: center; white-space: nowrap;
  font-family: var(--font-primary); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted);
  animation: marquee 30s linear infinite;
}
.marquee-dot { font-size: 0.5rem; color: var(--accent); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Section Images --- */
.section-image {
  width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  position: relative;
}
.section-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease-out);
}
.section-image:hover img { transform: scale(1.03); }
.section-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.1), transparent 60%);
  pointer-events: none;
}
.section-image.tall { height: 500px; }
.section-image.medium { height: 380px; }
.section-image.short { height: 260px; }

/* --- About Preview --- */
.about-preview-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-preview-left .section-image { margin-top: 0; }
@media (max-width: 768px) { .about-preview-content { grid-template-columns: 1fr; gap: 2rem; } }

/* --- Pillars Grid --- */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.pillar-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2.5rem; transition: all 0.5s var(--ease-out); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.pillar-card::before { content: ''; position: absolute; inset: 0; background: var(--gradient-subtle); opacity: 0; transition: opacity 0.5s; }
.pillar-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-6px); box-shadow: var(--glow-accent); }
.pillar-card:hover::before { opacity: 1; }
.pillar-index { font-family: var(--font-primary); font-size: 0.7rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; margin-bottom: 1.5rem; position: relative; }
.pillar-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 1.5rem; position: relative; }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-title { font-family: var(--font-primary); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; position: relative; }
.pillar-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; position: relative; flex: 1; }
.pillar-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; text-transform: uppercase; position: relative; transition: gap 0.3s var(--ease-out); }
.pillar-card:hover .pillar-link { gap: 0.8rem; }

/* --- Stats (Gradient section) --- */
.stats-section {
  background: var(--bg-elevated); padding: 6rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(108,99,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-number { font-family: var(--font-primary); font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; line-height: 1; display: inline; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-suffix { font-family: var(--font-primary); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-family: var(--font-primary); font-size: 1rem; font-weight: 700; margin-top: 0.75rem; color: var(--text); }
.stat-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; max-width: 200px; margin-left: auto; margin-right: auto; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Why Section --- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.why-card { padding: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 0.5s var(--ease-out); background: var(--bg-card); }
.why-card:hover { border-color: rgba(108,99,255,0.3); background: var(--bg-card-hover); box-shadow: var(--glow-accent); transform: translateY(-4px); }
.why-number { font-family: var(--font-primary); font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.why-card h3 { font-family: var(--font-primary); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* --- Serve --- */
.serve-marquee { overflow: hidden; margin-top: 3rem; }
.serve-track { display: flex; gap: 1rem; animation: serveMarquee 25s linear infinite; }
.serve-item { flex-shrink: 0; padding: 1rem 2rem; border: 1px solid var(--border); border-radius: 50px; font-size: 0.9rem; font-weight: 500; white-space: nowrap; transition: all 0.3s; background: var(--bg-card); }
.serve-item:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--accent); }
@keyframes serveMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Testimonials --- */
.testimonial-box { max-width: var(--container-narrow); margin: 0 auto; text-align: center; padding: 4rem 3rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.testimonial-box::before { content: ''; position: absolute; inset: 0; background: var(--gradient-subtle); z-index: 0; }
.testimonial-icon { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 2rem; position: relative; }
.testimonial-icon svg { width: 100%; height: 100%; }
.testimonial-heading { font-family: var(--font-primary); font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; position: relative; }
.testimonial-text { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; max-width: 700px; margin: 0 auto 2rem; position: relative; }

/* --- Process --- */
.process-steps { max-width: 700px; }
.process-step { display: flex; gap: 2rem; padding: 2rem 0; position: relative; }
.process-step-number { font-family: var(--font-primary); font-size: 1rem; font-weight: 700; color: var(--accent); min-width: 40px; }
.process-step-content { flex: 1; }
.process-step-content h3 { font-family: var(--font-primary); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.process-step-line { position: absolute; bottom: 0; left: 20px; right: 0; height: 1px; background: var(--border); }

/* --- Pillar Detail (Services) --- */
.pillar-detail { border-bottom: 1px solid var(--border); }
.pillar-detail.alt { background: var(--bg-section-alt); }
.pillar-detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.pillar-detail-number { font-family: var(--font-primary); font-size: clamp(4rem, 8vw, 8rem); font-weight: 800; color: rgba(255,255,255,0.03); line-height: 1; margin-bottom: 1rem; }
.pillar-detail-image { margin-top: 2rem; }
.deliverables { margin-top: 2rem; }
.deliverables h4 { font-family: var(--font-primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.deliverables ul { display: flex; flex-direction: column; gap: 0.6rem; }
.deliverables li { font-size: 0.9rem; color: var(--text-secondary); padding-left: 1.25rem; position: relative; }
.deliverables li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }
.pillar-stat { margin-top: 2rem; padding: 1.5rem 2rem; border: 1px solid var(--border); border-radius: var(--radius); display: inline-flex; flex-direction: column; background: var(--bg-card); }
.pillar-stat-number { font-family: var(--font-primary); font-size: 1.8rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.pillar-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.pillar-cta { margin-top: 2rem; }
@media (max-width: 768px) { .pillar-detail-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* --- Page Hero Sub --- */
.page-hero-sub { font-size: clamp(0.95rem, 1.5vw, 1.15rem); color: var(--text-secondary); max-width: 650px; margin-top: 1.5rem; line-height: 1.7; }

/* --- Free Report Offer --- */
.free-report-banner { padding: 2rem 0 4rem; }
.report-offer-box {
  background: var(--bg-card); border: 1px solid transparent; border-radius: var(--radius-xl);
  padding: 4rem; position: relative; overflow: hidden;
  background-clip: padding-box;
  box-shadow: 0 0 40px rgba(108,99,255,0.08), 0 0 80px rgba(224,64,251,0.04);
  transition: box-shadow 0.5s var(--ease-out);
}
.report-offer-box::before {
  content: ''; position: absolute; inset: -1px; z-index: -1;
  background: linear-gradient(135deg, rgba(108,99,255,0.5), rgba(224,64,251,0.3), rgba(0,198,255,0.3), rgba(108,99,255,0.5));
  background-size: 300% 300%;
  border-radius: var(--radius-xl);
  animation: borderGlow 4s ease infinite;
}
.report-offer-box::after {
  content: ''; position: absolute; inset: 1px; z-index: -1;
  background: var(--bg-card); border-radius: calc(var(--radius-xl) - 1px);
  pointer-events: none;
}
.report-offer-box:hover {
  box-shadow: 0 0 60px rgba(108,99,255,0.15), 0 0 120px rgba(224,64,251,0.08);
}
@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.report-offer-badge {
  position: absolute; top: 2rem; right: 2rem;
  padding: 0.5rem 1.4rem; background: var(--gradient); border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; color: #fff;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(108,99,255,0.4); transform: scale(1); }
  50% { box-shadow: 0 4px 30px rgba(108,99,255,0.6), 0 0 15px rgba(224,64,251,0.3); transform: scale(1.03); }
}
.report-offer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.report-offer-heading {
  font-family: var(--font-primary); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700;
  line-height: 1.2; margin-bottom: 1.5rem;
}
.report-offer-text { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 2rem; }
.report-offer-includes { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }
.report-offer-item {
  display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: var(--text-secondary);
  padding: 0.6rem 0.8rem; border-radius: var(--radius); transition: all 0.3s;
}
.report-offer-item:hover { background: rgba(108,99,255,0.06); }
.report-offer-check {
  color: #fff; font-weight: 700; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem;
  box-shadow: 0 2px 8px rgba(108,99,255,0.3);
}
.report-offer-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 1rem; font-style: italic; }
.report-offer-box .btn-primary {
  position: relative; overflow: hidden;
  box-shadow: 0 4px 24px rgba(108,99,255,0.4);
}
.report-offer-box .btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
  animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
.report-offer-visual .section-image {
  animation: floatImage 6s ease-in-out infinite;
}
@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 768px) {
  .report-offer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .report-offer-box { padding: 2.5rem; }
  .report-offer-badge { position: static; display: inline-block; margin-bottom: 1.5rem; }
}

/* --- Free Report Bottom CTA --- */
.free-report-bottom { padding: 4rem 0; }
.report-bottom-box {
  background: var(--gradient-dark); border: 1px solid rgba(108,99,255,0.2);
  border-radius: var(--radius-xl); padding: 5rem 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.report-bottom-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(108,99,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.report-bottom-content { position: relative; max-width: 650px; margin: 0 auto; }
.report-bottom-text { font-size: 1.05rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 1.5rem 0 2.5rem; }
@media (max-width: 768px) { .report-bottom-box { padding: 3rem 2rem; } }

/* --- Drone Standalone --- */
.drone-standalone { margin-top: 2rem; }
.drone-standalone-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2rem 2.5rem; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.drone-standalone-content h3 { font-family: var(--font-primary); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.drone-standalone-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; max-width: 550px; }
@media (max-width: 768px) { .drone-standalone-inner { flex-direction: column; text-align: center; } }

/* --- Pricing Custom Note --- */
.pricing-custom {
  font-size: 0.8rem; color: var(--accent); font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 1.5rem; position: relative;
}

/* --- Process Grid --- */
.process-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.pricing-card { padding: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); transition: all 0.5s var(--ease-out); display: flex; flex-direction: column; position: relative; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--glow-accent); }
.pricing-card.featured { border-color: rgba(108,99,255,0.3); box-shadow: var(--glow-accent); }
.pricing-card.featured::before { content: ''; position: absolute; inset: 0; background: var(--gradient-subtle); border-radius: var(--radius-lg); }
.pricing-badge { position: absolute; top: -12px; left: 2rem; padding: 0.3rem 1rem; background: var(--accent); border-radius: 50px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.pricing-tier { font-family: var(--font-primary); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; position: relative; }
.pricing-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 2rem; position: relative; }
.pricing-features { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; flex: 1; position: relative; }
.pricing-features li { font-size: 0.9rem; color: var(--text-secondary); padding-left: 1.5rem; position: relative; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-card .btn { position: relative; }
.pricing-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item h4 { font-family: var(--font-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.contact-info-item a { color: var(--accent); transition: color 0.3s; }
.contact-info-item a:hover { color: var(--accent-light); }
.contact-info-item p { color: var(--text-secondary); }
.contact-social { display: flex; gap: 1.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.required { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea { padding: 1rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s; outline: none; cursor: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message { font-size: 0.9rem; padding: 1rem; border-radius: var(--radius); display: none; }
.form-message.success { display: block; background: rgba(16,185,129,0.1); color: #34d399; border: 1px solid rgba(16,185,129,0.2); }
.form-message.error { display: block; background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* --- Values --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.value-item { padding: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all 0.5s var(--ease-out); background: var(--bg-card); }
.value-item:hover { border-color: rgba(108,99,255,0.3); background: var(--bg-card-hover); box-shadow: var(--glow-accent); transform: translateY(-4px); }
.value-number { font-family: var(--font-primary); font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.value-item h3 { font-family: var(--font-primary); font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.value-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* --- Expertise --- */
.expertise-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.expertise-heading { font-family: var(--font-primary); font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--accent); }
.expertise-list { display: flex; flex-direction: column; gap: 0.6rem; }
.expertise-list li { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
@media (max-width: 1024px) { .expertise-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- Coverage --- */
.coverage-box { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; padding: 4rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); position: relative; overflow: hidden; }
.coverage-box::before { content: ''; position: absolute; inset: 0; background: var(--gradient-subtle); pointer-events: none; }
.coverage-left { position: relative; }
.coverage-left .section-image { margin-top: 0; }
.coverage-item { margin-bottom: 2rem; position: relative; }
.coverage-item:last-child { margin-bottom: 0; }
.coverage-item h4 { font-family: var(--font-primary); font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.coverage-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 768px) { .coverage-box { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; } }

/* --- Mission --- */
.mission-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.mission-left .section-image { margin-top: 0; }
@media (max-width: 768px) { .mission-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* --- Blog --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); transition: all 0.5s var(--ease-out); }
.blog-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-6px); box-shadow: var(--glow-accent); }
.blog-card-image { width: 100%; height: 220px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.blog-card:hover .blog-card-image img { transform: scale(1.05); }
.blog-card-image .blog-placeholder { width: 100%; height: 100%; background: var(--gradient-subtle); display: flex; align-items: center; justify-content: center; font-family: var(--font-primary); font-size: 3rem; font-weight: 800; color: var(--accent); opacity: 0.15; }
.blog-card-body { padding: 2rem; }
.blog-card-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.blog-card-tag { padding: 0.25rem 0.75rem; background: var(--accent-glow); color: var(--accent); border-radius: 50px; font-weight: 600; font-size: 0.7rem; }
.blog-card-title { font-family: var(--font-primary); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.3; transition: color 0.3s; }
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-excerpt { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.5rem; }
.blog-card-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); transition: gap 0.3s var(--ease-out); }
.blog-card:hover .blog-card-link { gap: 0.8rem; }

/* Blog article */
.blog-article { max-width: 800px; margin: 0 auto; padding-bottom: 4rem; }
.blog-article-header { margin-bottom: 3rem; }
.blog-article-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.blog-article h2 { font-family: var(--font-primary); font-size: 1.6rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--text); }
.blog-article h3 { font-family: var(--font-primary); font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.blog-article p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.5rem; }
.blog-article ul, .blog-article ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.blog-article li { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 0.5rem; list-style: disc; }
.blog-article blockquote { border-left: 3px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; }
.blog-article blockquote p { color: var(--text); font-style: italic; margin-bottom: 0; }
.blog-back { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; font-size: 0.85rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; }

/* --- Footer --- */
.footer { position: relative; }
.footer-cta {
  padding: 8rem 0; text-align: center;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.footer-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(108,99,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(224,64,251,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.footer-cta-inner { max-width: 700px; margin: 0 auto; position: relative; }
.footer-cta-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1.5rem; }
.footer-cta-heading { font-family: var(--font-primary); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 2.5rem; color: var(--text); }
.footer-cta-heading em { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.footer-main { padding: 4rem 0 2rem; border-top: 1px solid var(--border); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-tagline { font-family: var(--font-primary); font-size: 0.9rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.footer-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; max-width: 350px; }
.footer-heading { font-family: var(--font-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-list li { font-size: 0.85rem; color: var(--text-secondary); }
.footer-list a { transition: color 0.3s; }
.footer-list a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }
.footer-scroll-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 100; width: 48px; height: 48px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.4s var(--ease-out); color: var(--text); }
.footer-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.footer-scroll-top:hover { border-color: var(--accent); background: var(--accent-glow); color: var(--accent); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Animations --- */
.fade-up { opacity: 1; transform: translateY(0); }

/* --- Selection --- */
::selection { background: rgba(108, 99, 255, 0.3); color: #fff; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }
