/* index.html — Home page */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: stretch; justify-content: flex-end; height: 64px; zoom: 1.1; padding: 0 0 0 32px; }
.nav-links { display: flex; list-style: none; height: 64px; align-items: stretch; }
.nav-links li { display: flex; align-items: stretch; }
.nav-links a {
  display: flex; align-items: center; padding: 0 24px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  border-left: 1px solid var(--rule2); transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--white); background: var(--surface-hover); }
.nav-links a.active { color: var(--accent3); background: transparent; }
.nav-cta {
  display: flex !important; align-items: center !important; padding: 0 28px !important;
  background: var(--white); color: var(--bg) !important;
  font-size: 13px !important; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; border-left: 1px solid var(--rule2);
  transition: opacity .15s; text-decoration: none;
}
.nav-cta:hover { background: var(--white) !important; color: var(--bg) !important; opacity: 0.85; }
.nav-link { transition: color 0.15s, background 0.15s; }
.nav-link:hover { color: var(--white) !important; background: var(--surface-hover) !important; }
.nav-logo { display: flex; align-items: center; padding-right: 32px; margin-right: auto; border-right: 1px solid var(--rule2); text-decoration: none; flex-shrink: 0; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; padding-top: 71px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,0,0,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(0,0,0,0.35) 0%, transparent 60%),
    url('../screenshots/ss5.jpg') center center / cover no-repeat;
}
.stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stars::before, .stars::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 55%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 30%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 50%, rgba(255,255,255,0.25) 0%, transparent 100%);
  background-size: 100% 100%;
}
.stars::after {
  background-image:
    radial-gradient(1px 1px at 8%  28%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 52%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 63% 68%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 82% 33%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 15%, rgba(255,255,255,0.35) 0%, transparent 100%);
  background-size: 100% 100%;
}
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2,2,2,0.1) 0%, rgba(2,2,2,0.5) 60%, var(--bg) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 56px 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: flex-end; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 5px 14px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-badge span { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent3); }
h1.hero-title { font-size: clamp(36px, 5vw, 62px); font-weight: 800; color: var(--white); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 20px; }
h1.hero-title .highlight { color: var(--accent3); }
.hero-sub { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 460px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 0; }

/* Stats column */
.stats { display: flex; flex-direction: column; gap: 1px; }
.stat { background: rgba(2,2,2,0.72); border: 1px solid var(--rule2); backdrop-filter: blur(12px); padding: 16px 20px; display: flex; align-items: center; gap: 18px; }
.stat.accent { border-left: 3px solid var(--accent); }
.stat-num { font-size: 26px; font-weight: 700; color: var(--white); line-height: 1; flex-shrink: 0; min-width: 52px; }
.stat.accent .stat-num { color: var(--accent3); }
.stat-label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* Buttons */
.btn-primary { display: inline-block; padding: 13px 32px; background: var(--white); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity .15s; }
.btn-primary:hover { opacity: 0.85; }
.btn-secondary { display: inline-block; padding: 13px 32px; background: transparent; color: var(--accent3); border: 1px solid rgba(242,242,242,0.22); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: border-color .15s, color .15s; }
.btn-secondary:hover { border-color: var(--white); color: var(--white); }

/* TWO PRODUCTS */
.products-section { border-bottom: 1px solid var(--rule); background: linear-gradient(to right, transparent 50%, var(--bg2) 50%); }
.products-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.product-col { padding: 80px 48px; display: flex; flex-direction: column; }
.product-col:first-child { border-right: 1px solid var(--rule); }
.product-num { font-size: 72px; font-weight: 700; line-height: 1; color: var(--rule2); letter-spacing: -0.04em; margin-bottom: 12px; }
.product-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.product-col h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.product-quote { color: var(--accent3); font-size: 14px; line-height: 1.8; font-style: italic; margin-bottom: 20px; }
.product-body { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; }
.arrow { color: var(--accent); flex-shrink: 0; font-size: 14px; padding-top: 1px; }
.arrow.purple { color: var(--accent3); }
.feature-item span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-ctas { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }

/* SCREENSHOTS */
.screenshot-strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--bg); overflow: hidden; }
.screenshot-strip-inner { display: flex; gap: 2px; }
.screenshot-item { flex: 1; position: relative; overflow: hidden; min-width: 0; }
.screenshot-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; opacity: 0.7; transition: opacity .2s; }
.screenshot-item:hover img { opacity: 0.9; }

/* DEMO card on home */
.demo-section { display: grid; grid-template-columns: 1fr 360px; border-bottom: 1px solid var(--rule); }
.demo-col { padding: 56px 56px 56px 48px; border-right: 1px solid var(--rule); }
.section-eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.video-wrapper { position: relative; padding-bottom: 56.25%; background: var(--bg3); border: 1px solid var(--rule2); }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.demo-sidebar { background: var(--bg2); padding: 48px 32px; display: flex; flex-direction: column; gap: 28px; }
.sidebar-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sidebar-items { display: flex; flex-direction: column; gap: 2px; }
.sidebar-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--bg); border: 1px solid var(--rule2); }
.sidebar-item.current { border-left: 3px solid var(--accent); }
.sidebar-item-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.sidebar-item span { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.sidebar-item.current span { color: var(--white); }
.feature-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 5px var(--green); flex-shrink: 0; }
.build-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--bg); border: 1px solid var(--rule2); }
.build-item span { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* SKY LOG */
.platform-section { background: var(--bg2); border-bottom: 1px solid var(--rule); overflow: hidden; }
.platform-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.platform-left { padding: 80px 48px; border-right: 1px solid var(--rule); }
.platform-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.platform-left h2 { font-size: clamp(22px, 2.5vw, 34px); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.01em; }
.platform-left p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-bottom: 16px; }
.platform-note { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; margin-bottom: 36px !important; }
.platform-right { padding: 80px 48px; background: var(--bg3); }
.platform-right h3 { font-size: 18px; font-weight: 700; color: var(--accent3); margin-bottom: 6px; letter-spacing: 0.04em; }
.tagline { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 28px; }
.platform-features { display: flex; flex-direction: column; gap: 2px; margin-bottom: 36px; }
.platform-feature { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg2); border: 1px solid var(--rule2); }
.platform-feature-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent3); box-shadow: none; flex-shrink: 0; }
.platform-feature span { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.btn-outline-purple { display: inline-block; padding: 12px 28px; border: 1px solid rgba(242,242,242,0.3); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; transition: background .15s, color .15s; }
.btn-outline-purple:hover { background: var(--white); color: var(--bg); }

/* JOIN */
.join-section { border-bottom: 1px solid var(--rule); }
.join-inner { max-width: 1200px; margin: 0 auto; padding: 80px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.join-text h2 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.01em; }
.join-text p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.email-form { display: flex; flex-direction: column; gap: 10px; }
.email-row { display: flex; }
.email-row input { flex: 1; background: rgba(2,2,2,0.85); border: 1px solid var(--dim); border-right: none; padding: 14px 18px; font-family: var(--mono); font-size: 12px; color: var(--white); outline: none; }
.email-row input::placeholder { color: var(--dim); }
.email-row button { appearance: none; -webkit-appearance: none; padding: 14px 26px; background: var(--white); color: #020202 !important; border: none; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: opacity .15s; }
.email-row button:hover { opacity: 0.85; }
.email-note { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.email-success { display: none; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.email-success-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white); box-shadow: 0 0 8px rgba(255,255,255,0.3); flex-shrink: 0; }
.email-success span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* FOOTER */
footer { padding: 24px 48px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; }
.copy { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: flex; }
.footer-links a { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0 16px; border-left: 1px solid var(--rule2); transition: color .15s; }
.footer-links a:first-child { border-left: none; padding-left: 0; }
.footer-links a:hover { color: var(--muted); }

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px 64px; }
  .products-inner, .platform-inner, .join-inner { grid-template-columns: 1fr; }
  .products-section { background: transparent; }
  .product-col:first-child { border-right: none; border-bottom: 1px solid var(--rule); }
  .demo-section { grid-template-columns: 1fr; }
  .demo-sidebar { border-top: 1px solid var(--rule); }
  .platform-left { border-right: none; border-bottom: 1px solid var(--rule); }
  footer { flex-direction: column; gap: 12px; padding: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
