/* ==========================================================================
   Albright Technologies - site styles
   Colors come from the keystone logo:
     ink  #111418  (the "A" and the wordmark)
     blue #1A86C8  (the keystone bar and TECHNOLOGIES)
     steel #C9D3DC (the divider line)
   ========================================================================== */

:root {
  --ink: #111418;
  --ink-soft: #2A323B;
  --text: #3D4752;
  --muted: #66727F;
  --blue: #1A86C8;
  --blue-dark: #126A9F;
  --blue-deep: #0D4F78;
  --blue-light: #4FB0E6;
  --blue-tint: #E8F3FA;
  --steel: #C9D3DC;
  --mist: #F4F7FA;
  --white: #FFFFFF;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(17, 20, 24, .06), 0 2px 8px rgba(17, 20, 24, .04);
  --shadow: 0 10px 30px rgba(17, 20, 24, .08), 0 2px 6px rgba(17, 20, 24, .04);
  --shadow-lg: 0 24px 60px rgba(13, 79, 120, .16);

  --container: 1160px;
  --header-h: 72px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { left: 8px; color: var(--white); }

:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 18px rgba(26, 134, 200, .35); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { border-color: var(--steel); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: var(--white); color: var(--blue-deep); }
.btn-light:hover { color: var(--blue); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: #E3E9EE; box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand img { height: 50px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .5em .9em;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .97rem;
  transition: background-color .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--blue-tint); color: var(--blue-dark); }
.nav-links a.active { color: var(--blue); }
.nav-links .nav-cta { background: var(--ink); color: var(--white); margin-left: 8px; }
.nav-links .nav-cta:hover { background: var(--blue); color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(26, 134, 200, .14), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(26, 134, 200, .10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--mist) 100%);
}
.hero::before {
  /* faint blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 20, 24, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 24, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-logo {
  width: min(620px, 100%);
  margin: 0 auto 28px;
  filter: drop-shadow(0 18px 30px rgba(13, 79, 120, .10));
}
.hero h1 { max-width: 880px; margin: 0 auto .45em; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 680px;
  margin: 0 auto 2em;
  font-size: 1.2rem;
  color: var(--muted);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
}
.tech-strip li {
  padding: .45em 1em;
  border: 1px solid #DCE4EA;
  background: rgba(255, 255, 255, .8);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 10px;
  transform: skewX(-12deg);
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid #E3E9EE;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #CFE2EF; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: 1rem; }

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }

.card ul.ticks { margin: 14px 0 0; }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: .55em;
  font-size: .98rem;
}
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 16px;
  height: 10px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg) scale(.8);
  transform-origin: center;
}

/* ---------- AI feature band ---------- */
.ai-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #16202B 55%, var(--blue-deep) 130%);
  color: #C9D3DC;
}
.ai-band h2, .ai-band h3 { color: var(--white); }
.ai-band .eyebrow { color: var(--blue-light); }
.ai-band .eyebrow::before { background: var(--blue-light); }
.ai-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 176, 230, .28), transparent 65%);
  pointer-events: none;
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.ai-band .lead { font-size: 1.15rem; color: #AEBBC7; }
.ai-points { display: grid; gap: 16px; position: relative; z-index: 1; }
.ai-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
}
.ai-point .num {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--blue-light);
  font-size: 1.1rem;
  min-width: 2ch;
}
.ai-point h3 { font-size: 1.05rem; margin-bottom: .2em; }
.ai-point p { margin: 0; font-size: .98rem; color: #AEBBC7; }

/* ---------- Process ---------- */
.steps { counter-reset: step; }
.step { padding-top: 26px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -18px;
  left: 30px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  color: var(--white);
  background: var(--blue);
  padding: .35em .75em;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(26, 134, 200, .3);
}

/* ---------- Products ---------- */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid #E3E9EE;
  box-shadow: var(--shadow);
}
.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 48px;
  background:
    radial-gradient(circle at 50% 45%, rgba(79, 176, 230, .35), transparent 60%),
    linear-gradient(160deg, var(--blue-deep), var(--ink));
}
.product-visual img {
  width: min(240px, 80%);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35));
  animation: float 6s ease-in-out infinite;
}
.product-body { padding: 48px; }
.product-body h3 { font-size: 1.9rem; margin-bottom: .3em; }
.product-body .tagline { color: var(--muted); font-size: 1.1rem; }
.product-body ul.ticks { margin: 20px 0 28px; columns: 2; column-gap: 24px; }
.product-body ul.ticks li { break-inside: avoid; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .35em .9em;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--blue-tint);
  color: var(--blue-dark);
  margin-bottom: 16px;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(26, 134, 200, .6);
  animation: pulse 2s infinite;
}
.badge-on-dark { background: rgba(255, 255, 255, .12); color: var(--white); }
.badge-on-dark .dot { background: var(--blue-light); }

.product-more {
  margin-top: 28px;
  text-align: center;
  color: var(--muted);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #E3E9EE;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat span { font-size: .95rem; color: var(--muted); }

/* ---------- Contact / CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 72px 32px;
  border-radius: 24px;
  color: #DCEAF4;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: var(--white); }
.cta p { max-width: 620px; margin: 0 auto 1.8em; font-size: 1.12rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #93A1AE;
  padding: 64px 0 32px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #262E37;
}
.footer-logo { width: 220px; height: auto; margin-bottom: 20px; }
.site-footer h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer a { color: #C9D3DC; }
.site-footer a:hover { color: var(--blue-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: .88rem;
}

/* ---------- Facet Record page ---------- */
.fr-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 110px;
  color: #C9D3DC;
  background:
    radial-gradient(700px 400px at 78% 40%, rgba(79, 176, 230, .30), transparent 60%),
    linear-gradient(150deg, var(--ink) 0%, #15202C 50%, var(--blue-deep) 140%);
}
.fr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.fr-hero .split { position: relative; }
.fr-hero h1 { color: var(--white); }
.fr-hero .lead { font-size: 1.2rem; color: #AEBBC7; max-width: 560px; }
.fr-hero .hero-actions { justify-content: flex-start; }
.fr-hero .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .3); }
.fr-hero .btn-ghost:hover { border-color: var(--blue-light); color: var(--blue-light); }
.fr-gem { display: grid; place-items: center; }
.fr-gem img {
  width: min(360px, 85%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45));
  animation: float 6s ease-in-out infinite;
}
.breadcrumb { font-size: .9rem; margin-bottom: 24px; color: #8696A5; }
.breadcrumb a { color: #C9D3DC; }
.breadcrumb a:hover { color: var(--blue-light); }

.coming-soon-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.feature-card .icon { margin-bottom: 18px; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
  margin: 0;
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #E3E9EE;
}
.spec-list dt { font-weight: 600; color: var(--ink); }
.spec-list dd { margin: 0; color: var(--muted); text-align: right; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 134, 200, .55); }
  70% { box-shadow: 0 0 0 10px rgba(26, 134, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 134, 200, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-feature { grid-template-columns: 1fr; }
  .product-visual { padding: 40px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--white);
    border-bottom: 1px solid #E3E9EE;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: .8em 1em; border-radius: var(--radius-sm); }
  .nav-links .nav-cta { margin: 8px 0 0; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .grid-2, .grid-3, .grid-4, .stat-grid { grid-template-columns: 1fr; }
  .product-body { padding: 32px 24px; }
  .product-body ul.ticks { columns: 1; }
  .spec-list { grid-template-columns: 1fr; }
  .brand img { height: 44px; }
  .cta { padding: 56px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fr-hero { padding: 56px 0 80px; }
}
