/* ==========================================================================
   Aynergy — Executive Industrial Landing Page
   Zero build step. Pure CSS. High-contrast engineering precision.
   ========================================================================== */

:root {
  --bg-primary: #0b111e;
  --bg-elevated: #0f172a;
  --bg-card: #111827;
  --bg-card-hover: #151e30;
  --bg-code: #080d17;

  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --border-cyan: rgba(56, 189, 248, 0.32);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-cyan-bg: rgba(56, 189, 248, 0.1);
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.1);
  --accent-amber: #f59e0b;
  --accent-amber-bg: rgba(245, 158, 11, 0.1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, 'Liberation Mono', monospace;

  --max-width: 1120px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ==========================================================================
   Top Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 30, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--text-primary);
}

.wordmark-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(16, 185, 129, 0.14));
  border: 1px solid var(--border-cyan);
  color: var(--accent-cyan);
}

.sovereignty-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.65);
  flex-shrink: 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.84rem;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #06101f;
  border: 1px solid var(--accent-cyan);
}

.btn-primary:hover {
  background: #7dd3fc;
  border-color: #7dd3fc;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(17, 24, 39, 0.85);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: #1e293b;
  border-color: rgba(148, 163, 184, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 76px 0 56px;
  background-image:
    radial-gradient(ellipse 75% 50% at 50% -10%, rgba(56, 189, 248, 0.12), transparent 70%),
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-cyan-bg);
  border: 1px solid var(--border-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.hero-sub {
  margin: 0 0 32px;
  max-width: 760px;
  font-size: clamp(1.02rem, 1.55vw, 1.16rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.hero-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-meta a {
  color: var(--accent-cyan);
  border-bottom: 1px dotted rgba(56, 189, 248, 0.5);
}

.hero-meta a:hover {
  border-bottom-style: solid;
}

/* ==========================================================================
   Section Common
   ========================================================================== */

.section {
  padding: 68px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 32px;
  max-width: 720px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-desc {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Demo Video Section
   ========================================================================== */

.demo-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, var(--bg-primary) 100%);
}

.video-frame {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.video-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: #0d1424;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.video-topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #334155;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-green-bg);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--accent-green);
  font-size: 0.7rem;
  font-weight: 600;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060a14;
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #060a14;
}

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

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

.stat-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.stat-label--green {
  color: var(--accent-green);
}

.stat-label--amber {
  color: var(--accent-amber);
}

.stat-value {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ==========================================================================
   Two Primary Verticals
   ========================================================================== */

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

.vertical-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.vertical-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.vertical-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vertical-tag--power {
  background: var(--accent-cyan-bg);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.vertical-tag--process {
  background: var(--accent-amber-bg);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.vertical-card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.vertical-card p {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.code-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   3-Pillar Sovereignty & Security Strip
   ========================================================================== */

.security-section {
  background: rgba(15, 23, 42, 0.42);
}

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

.pillar-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-bottom: 16px;
  background: var(--bg-code);
  border: 1px solid var(--border-strong);
  color: var(--accent-cyan);
}

.pillar-icon--green {
  color: var(--accent-green);
}

.pillar-icon--amber {
  color: var(--accent-amber);
}

.pillar-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-card p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.inline-code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.82em;
  color: var(--text-primary);
}

.watermark-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent-amber-bg);
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-family: var(--font-mono);
  font-size: 0.76em;
  font-weight: 600;
  color: var(--accent-amber);
}

/* ==========================================================================
   Low-Friction Pilot Offer (#benchmark)
   ========================================================================== */

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

.pilot-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.pilot-card--featured {
  border-color: var(--border-cyan);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.05) 0%, var(--bg-card) 55%);
}

.pilot-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 10px;
}

.pilot-step--green {
  color: var(--accent-green);
}

.pilot-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pilot-price {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-green);
}

.pilot-price--cyan {
  color: var(--accent-cyan);
}

.pilot-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: #0d1424;
  border: 1px solid var(--border-strong);
}

.contact-copy h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-code);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text-primary);
  transition: border-color 0.16s ease;
}

.email-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 32px 0 42px;
  background: #080d17;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
  .stat-strip,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .verticals-grid,
  .pilot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .sovereignty-pill {
    display: none;
  }

  .hero {
    padding: 52px 0 44px;
  }

  .section {
    padding: 48px 0;
  }

  .vertical-card,
  .pillar-card,
  .pilot-card,
  .contact-banner {
    padding: 22px;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .contact-actions .email-link {
    width: 100%;
    justify-content: center;
  }
}
