/* Arsenal AI Landing Page Styles */

:root {
  --bg: #0a0f26;
  --bg-alt: #101735;
  --panel: #111a3d;
  --accent: #6c5ce7;
  --accent-2: #ff3b3b;
  --text: #f5f7ff;
  --muted: #c4c7d9;
  --border: rgba(255, 255, 255, 0.08);
  --section-divider: rgba(255, 255, 255, 0.14);
  --header-top-offset: clamp(12px, 3vh, 32px);
  --header-base-height: clamp(52px, 7vh, 76px);
  --header-height: var(--header-base-height);
  --header-gap-static: 10px;
  --header-gap-fluid: clamp(12px, 1.2vh, 28px);
  --header-offset: calc(var(--header-top-offset) + var(--header-height, var(--header-base-height)) + var(--header-gap-static) + var(--header-gap-fluid));
  --anchor-offset: calc(var(--header-offset) + 12px);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1860px;
  --bg-pos: 0%;
}
 
* {
  box-sizing: border-box;
}

body {
  margin-top: 10px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.page-shell main {
  padding-top: var(--header-offset);
}

.page-shell {
  position: relative;
  background: radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.18), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(34, 210, 255, 0.14), transparent 40%),
    var(--bg);
  min-height: 100%;
  z-index: 0; 
  width: 100%;
  overflow: hidden; 
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center var(--bg-pos);
  background-attachment: fixed;
  background-position: center;
  filter: saturate(0.9) brightness(0.55);
  opacity: 0.7;
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--text);
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:visited,
a:hover,
a:active {
  color: var(--accent-2);
}

.site-header {
  position: fixed;
  top: var(--header-top-offset);
  left: 0;
  right: 0;
  z-index: 10;
  padding: 12px 24px;
  background: rgba(10, 15, 38, 1.0);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center var(--bg-pos);
  background-attachment: fixed;
  filter: saturate(0.9) brightness(0.55);
  opacity: 0.75;
  pointer-events: none;
}

.header-inner {
  max-width: calc(var(--max-width) + 140px);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-auto-flow: column;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600; 
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-weight: 800;
}

.brand-name {
  font-size: 20px;
  color: var(--text);
}

.brand-tag {
  font-size: 12px;
  color: var(--muted);
  max-width: 520px;
  white-space: nowrap;
}

.brand-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.brand-link:hover,
.brand-link:active,
.brand-link:visited {
  color: inherit;
}

.brand-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  justify-content: center;
  min-width: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--accent-2);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  max-width: 170px;
  word-break: keep-all;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  font-weight: 600;
  border-left: 1px solid var(--border);
  padding-left: 12px;
  flex-wrap: nowrap;
}

.contact-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-2);
}

.phone-icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
  vertical-align: middle;
}

.contact-cta {
  padding: 10px 14px;
}

.contact-cta--spaced {
  margin-left: 8px;
}

.menu-toggle {
  padding: 6px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-2);
  transform: translateY(-1px);
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.menu-toggle__icon {
  display: block;
  width: 32px;
  height: 32px;
}

.menu-drawer {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 90px 18px 18px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  z-index: 15;
  opacity: 0;
  transition: opacity var(--menu-speed, 280ms) ease;
}

.menu-drawer[hidden] {
  display: none;
}

.menu-drawer.is-open {
  opacity: 1;
}

.menu-drawer__panel {
  width: min(380px, 92vw);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  transform: translateX(24%);
  transition: transform var(--menu-speed, 280ms) ease;
}

.menu-drawer.is-open .menu-drawer__panel {
  transform: translateX(0);
}

.menu-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.menu-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-brand__name {
  font-weight: 800;
  color: var(--text);
  font-size: 18px;
}

.menu-brand__tag {
  color: var(--muted);
  font-size: 13px;
  max-width: 220px;
  line-height: 1.4;
}

.menu-drawer__title {
  font-weight: 700;
  color: var(--text);
}

.menu-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}

.menu-close:hover {
  color: var(--accent-2);
  background: rgba(255, 255, 255, 0.08);
}

.menu-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.menu-link:link,
.menu-link:visited {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.menu-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-2);
}

.menu-link:active {
  transform: translateY(1px);
}

.menu-drawer__contacts {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
}

.menu-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.menu-contact {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.menu-contact:hover {
  color: var(--accent-2);
}

.menu-contact__icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
}

.menu-contact--icon {
  padding: 0;
  border: none;
  background: transparent;
}

.section-block {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px;
  position: relative;
  scroll-margin-top: var(--anchor-offset);
}

.product,
.site-footer {
  scroll-margin-top: var(--anchor-offset);
}

.section-block + .section-block {
  border-top: 0;
}

.section-block + .section-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(34, 210, 255, 0.9) 18%,
    rgba(108, 92, 231, 0.85) 50%,
    rgba(34, 210, 255, 0.9) 82%,
    transparent 95%
  );
  opacity: 0.7;
  pointer-events: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.hero.section-block {
  padding-top: 0;
}

.hero-text h1 {
  font-size: 48px;
}

.hero .lede {
  font-size: 20px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.lede.small {
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  box-shadow: 0 12px 30px rgba(108, 92, 231, 0.35);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 13px;
}

.hero-visual {
  min-height: 400px;
}

.grid-header {
  max-width: 700px;
  margin-bottom: 28px;
}

.product {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 22px;
  padding: 48px;
  margin-bottom: 96px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.product h3 {
  font-size: 32px;
}

.product p {
  font-size: 20px;
}

.feature-list {
  padding-left: 18px;
  color: var(--muted);
  margin: 8px 0 14px;
  font-size: 18px;
}

.feature-list li {
  margin-bottom: 6px;
}

.product-actions {
  display: flex;
  gap: 16px;
}

.product + .product {
  margin-top: 112px;
  padding-top: 56px;
}

.product + .product::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgba(34, 210, 255, 0.9) 15%,
    rgba(108, 92, 231, 0.8) 50%,
    rgba(34, 210, 255, 0.9) 85%,
    transparent 96%
  );
  opacity: 0.8;
}

.text-link {
  color: var(--accent-2);
  font-weight: 600;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(34, 210, 255, 0.22)),
    linear-gradient(225deg, rgba(255, 255, 255, 0.04), rgba(17, 26, 61, 0.85));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.image-placeholder {
  position: relative;
  min-height: 260px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(34, 210, 255, 0.25)),
    linear-gradient(225deg, rgba(255, 255, 255, 0.05), rgba(17, 26, 61, 0.8));
  border: 1px dashed rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.image-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  backdrop-filter: blur(2px);
}

.site-footer {
  background: #1d2533;
  color: #e6ebf5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 36px 32px 58px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.footer-copy {
  margin: 4px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.site-footer h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #d5dbe8;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: var(--accent-2);
}

.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
  color: var(--accent-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c5cede;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 12px;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('/background.jpg');
  background-size: cover;
  background-position: center var(--bg-pos);
  filter: saturate(0.9) brightness(0.55);
  opacity: 0.7;
  pointer-events: none;
  transition: background-position 0.1s linear;
}

@media (max-width: 1600px) {
  .nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 1080px) {
  .hero,
  .product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: var(--max-width);
  }

  .header-contact {
    border-left: none;
    padding-left: 0;
    gap: 8px;
  }
}

@media (max-width: 850px) {
  .email-link,
  .phone-link,
  .contact-cta,
  .phone-icon {
    display: none;
  }
}

@media (max-width: 720px) {
  .section-block {
    padding: 32px 20px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .brand {
    flex: 1;
  }

  .header-contact {
    gap: 8px;
    padding-left: 0;
    border-left: none;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .nav {
    display: none;
  }

  .email-link,
  .phone-label,
  .phone-link,
  .contact-cta,
  .phone-icon {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

}
