/* ==========================================================================
   AXOVO TECH — Clean, Spacious Design System
   Aesthetic: Obsidian Carbon, Neural Violet & Warm Amber + Generous Whitespace
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-canvas: #09090b;
  --bg-elevated: #111115;
  --bg-card: rgba(22, 22, 28, 0.72);
  --bg-card-solid: #141419;
  --bg-card-hover: rgba(28, 28, 36, 0.9);
  --bg-glass: rgba(16, 16, 21, 0.82);
  --bg-subtle: rgba(255, 255, 255, 0.035);
  --bg-input: #0d0d12;

  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent-primary: #a855f7;
  --accent-primary-hover: #9333ea;
  --accent-secondary: #f59e0b;
  --accent-emerald: #10b981;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(168, 85, 247, 0.38);

  --shadow-card: 0 24px 48px -18px rgba(0, 0, 0, 0.65);
  --hero-glow-1: rgba(168, 85, 247, 0.13);
  --hero-glow-2: rgba(245, 158, 11, 0.08);
}

[data-theme="light"] {
  --bg-canvas: #faf8f5;
  --bg-elevated: #f2efe9;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(250, 248, 245, 0.88);
  --bg-subtle: rgba(24, 24, 27, 0.04);
  --bg-input: #ffffff;

  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;

  --accent-primary: #7e22ce;
  --accent-primary-hover: #6b21a8;
  --accent-secondary: #d97706;
  --accent-emerald: #059669;

  --border-subtle: rgba(24, 24, 27, 0.08);
  --border-strong: rgba(24, 24, 27, 0.15);
  --border-accent: rgba(126, 34, 206, 0.3);

  --shadow-card: 0 18px 40px -15px rgba(24, 24, 27, 0.07);
  --hero-glow-1: rgba(126, 34, 206, 0.07);
  --hero-glow-2: rgba(217, 119, 6, 0.06);
}

/* ==========================================================================
   Base Reset & Typography
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

.ambient-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 18% 12%, var(--hero-glow-1), transparent 45%),
    radial-gradient(circle at 82% 22%, var(--hero-glow-2), transparent 40%);
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: clamp(3rem, 5vw, 4.25rem);
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ==========================================================================
   Badges & Accents
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
}

.text-gradient-serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  padding: 0 4px;
  background: linear-gradient(135deg, #e879f9 0%, #a855f7 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.inline-accent-link {
  color: var(--accent-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-accent);
}

.inline-accent-link:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(147, 51, 234, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-scanyard {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(147, 51, 234, 0.45);
}

.btn-scanyard:hover {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(168, 85, 247, 0.6);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Floating Capsule Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 0 16px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 22px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.4);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-logo:hover .brand-mark {
  border-color: rgba(192, 132, 252, 0.7);
  box-shadow: 0 6px 20px -3px rgba(168, 85, 247, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #1a1528 0%, #0d0b14 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 4px 14px -3px rgba(168, 85, 247, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.brand-name-sub {
  font-weight: 600;
  font-size: 0.78em;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #c084fc 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link-scanyard {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid var(--border-accent);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-link-scanyard:hover {
  background: rgba(168, 85, 247, 0.18);
}

.sy-mini-badge {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(168, 85, 247, 0.16);
  color: var(--accent-primary);
  font-size: 0.62rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  margin-top: 8px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: var(--bg-elevated);
  padding: 20px 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.6rem, 4.8vw, 4.1rem);
  font-weight: 700;
  line-height: 1.07;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: 34px;
  line-height: 1.68;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Clean Overview Card on the Right */
.hero-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.overview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.overview-label {
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.status-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.overview-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.overview-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.overview-item-scanyard {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
}

.overview-icon,
.sy-callout-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sy-callout-icon {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.overview-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.overview-item-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.sy-pill-link {
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-weight: 600;
}

.sy-pill-link:hover {
  color: var(--accent-primary);
  border-color: var(--border-accent);
}

/* ==========================================================================
   2. Services & AI Consultancy Grid (3 Clean Cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.service-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-points {
  list-style: none;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-points li {
  font-size: 0.86rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-points li::before {
  content: "•";
  color: var(--accent-primary);
  font-weight: 700;
}

/* ==========================================================================
   3. Flagship Product: ScanYard.net Section
   ========================================================================== */
.scanyard-section {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.scanyard-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: clamp(2rem, 4.5vw, 3.75rem);
  box-shadow: var(--shadow-card);
}

.scanyard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.scanyard-ownership-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--border-accent);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.scanyard-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.scanyard-logo-lg {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid var(--border-accent);
  color: var(--accent-primary);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanyard-heading {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 700;
}

.scanyard-url {
  font-size: 0.86rem;
  color: var(--accent-primary);
}

.scanyard-lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 24px;
}

.scanyard-simple-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.sy-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.sy-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sy-feature-row strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.sy-feature-row p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.scanyard-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Clean ScanYard Visual Card */
.scanyard-preview-card {
  background: #12101b;
  color: #f8fafc;
  border: 1px solid var(--border-accent);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.sy-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.sy-status-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.sy-preview-machine {
  margin-bottom: 20px;
}

.sy-preview-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.sy-metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 14px;
}

.sy-metric-label {
  display: block;
  font-size: 0.72rem;
  color: #a1a1aa;
  margin-bottom: 4px;
}

.sy-metric-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.sy-preview-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #a1a1aa;
  gap: 8px;
  flex-wrap: wrap;
}

.sy-preview-footer a {
  color: #c084fc;
  font-weight: 600;
}

/* ==========================================================================
   4. How We Work (3 Steps) & FAQ
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 30px;
}

.process-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.process-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item.open {
  border-color: var(--border-accent);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-primary);
}

.faq-content {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.open .faq-content {
  display: block;
}

/* ==========================================================================
   5. Contact & Footer
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-mini-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 0.93rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-feedback {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-emerald);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-feedback.visible {
  display: block;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .services-grid,
  .scanyard-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
