/* AbsoluteSync - standalone site (absolutesync.io) */

:root {
  --navy-950: #01142c;
  --navy-900: #022f6f;
  --navy-850: #023a83;
  --navy-800: #034a9c;
  --blue-700: #022f6f;
  --blue-600: #034a9c;
  --blue-500: #0277c4;
  --cyan-400: #029eb7;
  --cyan-300: #35b9cf;
  --ink: #07152b;
  --muted: #58677d;
  --line: #d8e3ef;
  --white: #fff;
  --shadow: 0 22px 70px rgba(2, 47, 111, .12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --content: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f6f9fc; font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }

/* Header */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; background: rgba(1, 20, 44, .95); border-bottom: 1px solid rgba(53, 185, 207, .18); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--white); }
.brand-logo { width: auto; height: 22px; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #dcecff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.nav-links a:hover { color: var(--cyan-300); }
.nav-links .nav-cta { padding: 11px 18px; border-radius: 10px; color: var(--navy-950); background: var(--white); }
.nav-links .nav-cta:hover { color: var(--navy-950); background: var(--cyan-300); }
.menu-toggle { display: none; border: 0; background: transparent; color: white; font-size: 1.7rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(2, 119, 196, .28), transparent 30%),
    linear-gradient(125deg, var(--navy-950), #02275c 48%, var(--navy-900));
  padding: 84px 0 78px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .38;
  background-image: radial-gradient(circle, rgba(53, 185, 207, .35) 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to left, #000, transparent 72%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.as-brand-lockup { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.as-mark { width: 74px; height: auto; flex: 0 0 auto; }
.as-lockup { width: 250px; height: auto; }
.hero-kicker { margin: 0 0 20px; color: var(--cyan-300); font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 780px; font-size: clamp(2.6rem, 4.2vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { display: block; color: var(--cyan-300); }
.hero-copy { max-width: 690px; margin: 26px 0 0; color: #dbeaff; font-size: clamp(1.02rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 24px; border-radius: 11px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); border-color: rgba(53, 185, 207, .5); background: rgba(255,255,255,.03); }
.button--primary:hover { color: var(--white); border-color: var(--cyan-300); background: rgba(2,158,183,.12); }
.button--ghost { color: var(--white); border-color: rgba(53, 185, 207, .42); background: rgba(255,255,255,.03); }
.button--ghost:hover { border-color: var(--cyan-300); background: rgba(2,158,183,.1); }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.hero-point { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; }
.hero-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--cyan-300); background: rgba(2,158,183,.12); border: 1px solid rgba(53,185,207,.3); font-weight: 800; }
.hero-point strong { display: block; margin-bottom: 4px; font-size: .94rem; }
.hero-point span { color: #bfd3eb; font-size: .78rem; line-height: 1.45; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; border-radius: 28px; box-shadow: 0 32px 80px rgba(0,0,0,.36); }
.hero-stat { position: absolute; right: -18px; bottom: -26px; max-width: 290px; padding: 22px 24px; border-radius: 20px; color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-950)); border: 1px solid rgba(53,185,207,.28); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.hero-stat strong { display: block; color: var(--cyan-300); font-size: 1.9rem; line-height: 1.1; }
.hero-stat span { display: block; margin-top: 6px; color: #dcecff; font-size: .78rem; line-height: 1.5; }

/* Trust strip */
.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 2px; }
.trust-item { min-height: 126px; padding: 28px 30px; display: flex; align-items: center; gap: 16px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item--lead { color: var(--blue-700); font-size: 1.32rem; font-weight: 800; line-height: 1.25; }
.trust-symbol { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; color: var(--cyan-400); background: #e8f7fa; font-weight: 800; }
.trust-item strong { display: block; color: var(--blue-700); font-size: .83rem; text-transform: uppercase; }
.trust-item span { display: block; margin-top: 4px; color: var(--muted); font-size: .79rem; }

/* Sections */
.section { padding: 96px 0; }
.section--tight { padding: 76px 0; }
.section-label { display: inline-flex; align-items: center; gap: 12px; margin: 0; color: var(--blue-700); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-label::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: var(--cyan-400); }
.section-title { margin: 18px 0 0; max-width: 940px; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.section-copy { max-width: 780px; margin: 20px 0 0; color: var(--muted); font-size: 1.05rem; }

/* Why AbsoluteSync */
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
.info-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 15px 40px rgba(2,47,111,.06); }
.info-card--dark { color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-950)); border-color: transparent; }
.info-card h3 { margin: 0 0 25px; color: var(--blue-700); font-size: 1.35rem; }
.info-card--dark h3 { color: var(--cyan-300); }
.check-list { display: grid; gap: 19px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 38px; color: var(--muted); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cyan-400); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 9px; width: 8px; height: 4px; border: solid var(--cyan-400); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.info-card--dark .check-list li { color: #d8e8f8; }
.info-card--dark .check-list li::before { border-color: var(--cyan-300); }
.info-card--dark .check-list li::after { border-color: var(--cyan-300); }

/* Architecture / value / capabilities */
.architecture-wrap { margin-top: 42px; padding: 18px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.architecture-wrap img { width: 100%; border-radius: 24px; }
.value-image { margin-top: 44px; border-radius: 28px; box-shadow: var(--shadow); }
.capability-image { margin-top: 44px; border-radius: 28px; box-shadow: var(--shadow); }

.coverage-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 42px; align-items: center; margin-top: 58px; }
.coverage-panel { padding: 42px; border-radius: 28px; color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-950)); }
.coverage-panel h3 { margin: 0 0 12px; color: var(--cyan-300); font-size: 1.7rem; }
.coverage-panel p { margin: 0; color: #cfe0f2; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tag { padding: 10px 14px; border-radius: 9px; color: #e6f4ff; background: rgba(53,185,207,.1); border: 1px solid rgba(53,185,207,.3); font-size: .87rem; font-weight: 700; }
.coverage-copy h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; }
.coverage-copy p { color: var(--muted); font-size: 1.04rem; }
.mini-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.mini-value { padding: 20px; border-radius: 16px; background: white; border: 1px solid var(--line); }
.mini-value strong { display: block; color: var(--blue-700); font-size: .94rem; }
.mini-value span { display: block; margin-top: 6px; color: var(--muted); font-size: .81rem; }

/* Simulator */
.simulator-section { color: white; background: linear-gradient(135deg, var(--navy-950), #02275c 55%, var(--navy-900)); }
.simulator-section .section-label { color: var(--cyan-300); }
.simulator-section .section-title { color: white; }
.simulator-section .section-copy { color: #c8daee; }
.simulator-card { margin-top: 42px; padding: 40px; border-radius: 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(53,185,207,.24); box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.simulator-controls { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 14px; max-width: 680px; margin: 0 auto; }
.simulator-controls input { width: 100%; min-height: 52px; border-radius: 11px; border: 1px solid #2f5f9c; padding: 0 16px; color: white; background: #021d40; outline: none; font: inherit; }
.simulator-controls input:focus { border-color: var(--cyan-300); box-shadow: 0 0 0 4px rgba(53,185,207,.14); }
.simulator-controls button { min-height: 52px; border: 0; border-radius: 11px; padding: 0 23px; color: var(--navy-950); background: white; font: inherit; font-weight: 800; cursor: pointer; }
.simulator-controls button:hover { background: var(--cyan-300); }
.simulator-flow { display: grid; grid-template-columns: 150px 1fr 150px; gap: 24px; align-items: center; margin-top: 44px; }
.simulator-system { min-height: 92px; display: grid; place-items: center; text-align: center; border-radius: 17px; background: #021d40; border: 1px solid #2f5f9c; font-weight: 800; }
.pipeline { position: relative; height: 42px; overflow: hidden; border-radius: 999px; background: #01142c; border: 1px solid #2c5e8d; }
.pipeline::before { content: ""; position: absolute; inset: 7px; border-radius: inherit; background: linear-gradient(90deg, rgba(53,185,207,.08), rgba(2,119,196,.2)); }
.packet { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 5px; background: var(--cyan-300); box-shadow: 0 0 18px rgba(53,185,207,.8); transform: translate(-50%, -50%) rotate(45deg); }
.simulator-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.result { min-height: 100px; padding: 20px; border-radius: 16px; background: rgba(2,29,64,.78); border: 1px solid rgba(53,185,207,.18); }
.result span { display: block; color: #94b5d4; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.result strong { display: block; margin-top: 7px; color: white; font-size: 1.2rem; }
.progress-shell { height: 8px; margin-top: 22px; overflow: hidden; border-radius: 999px; background: #01142c; }
.progress-bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan-300), var(--blue-500)); transition: width .12s linear; }
.simulator-note { margin: 18px 0 0; color: #87a5c4; text-align: center; font-size: .75rem; }

/* CTA */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; padding: 54px; border-radius: 30px; color: white; background: linear-gradient(130deg, var(--navy-900), var(--navy-950)); box-shadow: var(--shadow); }
.cta-card::after { content: ""; position: absolute; width: 340px; height: 340px; right: -100px; top: -150px; border-radius: 50%; border: 55px solid rgba(53,185,207,.14); }
.cta-card h2 { position: relative; z-index: 1; margin: 0; max-width: 760px; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.06; letter-spacing: -.035em; }
.cta-card p { position: relative; z-index: 1; margin: 15px 0 0; color: #d5e8fb; }
.cta-card .button { position: relative; z-index: 1; }

/* Footer */
.site-footer { padding: 32px 0; color: #afc3da; background: var(--navy-950); font-size: .82rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--cyan-300); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 820px; }
  .hero-points { grid-template-columns: 1fr; max-width: 560px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .insight-grid, .coverage-grid { grid-template-columns: 1fr; }
  .coverage-copy { order: -1; }
}

@media (max-width: 780px) {
  .section { padding: 68px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 67px;
    display: grid;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    padding: 0 18px;
    opacity: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(1,20,44,.99);
    border: 1px solid transparent;
    transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
  }
  .nav-links.show { max-height: 390px; opacity: 1; padding: 14px 18px 20px; border-color: rgba(53,185,207,.2); }
  .nav-links a { padding: 13px 3px; }
  .nav-links .nav-cta { margin-top: 7px; text-align: center; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 48px; }
  .hero-stat { right: 10px; bottom: -24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .as-brand-lockup { gap: 13px; margin-bottom: 24px; }
  .as-mark { width: 54px; }
  .as-lockup { width: 180px; }
  .simulator-flow { grid-template-columns: 1fr; }
  .simulator-system { min-height: 66px; }
  .simulator-results { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 38px 28px; }
  .footer-grid { display: grid; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--content)); }
  .brand-logo { height: 18px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-actions .button { width: 100%; }
  .hero-stat { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 16px; }
  .as-mark { width: 44px; }
  .as-lockup { width: 140px; }
  .info-card, .coverage-panel, .simulator-card { padding: 28px 22px; }
  .mini-values { grid-template-columns: 1fr; }
  .simulator-controls { grid-template-columns: 1fr; }
}

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