/* Eclipse Landing - Common Styles */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0B1120;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --indigo: #4F46E5;
  --accent: #6366F1;
  --sky: #E0F2FE;
  --text: #111827;
  --muted: #4B5563;
  --border: #E5E7EB;
  --white: #FFFFFF;
  --surface: #F9FAFB;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--blue);
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* FOCUS VISIBLE */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* NOSCRIPT */
.noscript-fallback {
  padding: 32px;
  color: #CBD5E1;
  font-size: 14px;
  text-align: center;
}

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 64px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-byline {
  font-size: 8px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: -1px;
  align-self: flex-end;
}

.logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--navy);
  box-shadow: -4px -4px 0 0 var(--blue);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--blue); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-ghost {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--surface); }

.btn-primary {
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 1px 3px rgba(37,99,235,0.3);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-primary-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.btn-primary-lg:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.1s;
}
.btn-secondary-lg:hover { border-color: #9CA3AF; transform: translateY(-1px); }

/* SECTION HELPERS */
.section {
  padding: 96px 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy);
  max-width: 600px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.6;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text); }

/* Footer Utility Classes */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

.footer-copy-spaced {
  margin-left: 8px;
}

/* Mobile Menu Utility Classes */
.mobile-menu-cta-spaced {
  margin-top: 8px;
}

/* HAMBURGER */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.hamburger svg { display: block; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 12px 24px;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
}

/* SHARED RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding-left: 24px; padding-right: 24px; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
