/* Tava Cyber LLC — marketing site
   Premium near-dark, operator-grade. No neon. */

:root {
  --bg: #0b0f14;
  --bg-elevated: #121820;
  --bg-card: #151c26;
  --border: rgba(196, 165, 116, 0.14);
  --border-subtle: rgba(139, 154, 171, 0.12);
  --text: #e8ecf1;
  --text-muted: #8b9aab;
  --text-soft: #a8b4c2;
  --accent: #c4a574;
  --accent-hover: #d4b88a;
  --accent-dim: rgba(196, 165, 116, 0.12);
  --line: rgba(232, 236, 241, 0.06);
  --max: 1080px;
  --radius: 12px;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196, 165, 116, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(80, 100, 130, 0.05), transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(60, 80, 100, 0.04), transparent 45%);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 20, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: rgba(232, 236, 241, 0.04);
}

.nav-cta {
  display: none;
  margin-left: 0.5rem;
  padding: 0.45rem 1rem !important;
  background: var(--accent-dim) !important;
  color: var(--accent) !important;
  border: 1px solid var(--border);
  border-radius: 8px !important;
}

.nav-cta:hover {
  background: rgba(196, 165, 116, 0.2) !important;
  color: var(--accent-hover) !important;
}

@media (min-width: 640px) {
  .nav-cta {
    display: inline-block;
  }
}

@media (max-width: 520px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

.hero {
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--line);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero-lede {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #0b0f14;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0b0f14;
}

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(139, 154, 171, 0.28);
  background: rgba(232, 236, 241, 0.03);
}

.hero-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 32rem;
  font-style: italic;
}

.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.section-intro {
  color: var(--text-soft);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.about-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.about-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.focus-list {
  display: grid;
  gap: 1rem;
  list-style: none;
}

@media (min-width: 640px) {
  .focus-list {
    grid-template-columns: 1fr 1fr;
  }
}

.focus-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.35rem;
  border-left: 2px solid var(--accent);
}

.focus-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.focus-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.region-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .region-panel {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    padding: 2.25rem;
  }
}

.region-panel p {
  color: var(--text-soft);
  font-size: 0.975rem;
}

.region-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.region-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--line);
}

.region-meta li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.region-meta .meta-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.region-meta .meta-value {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

.contact {
  padding: 4.5rem 0 5rem;
}

.contact-box {
  background: linear-gradient(145deg, var(--bg-card) 0%, #111820 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

@media (min-width: 560px) {
  .contact-box {
    padding: 3rem 2.75rem;
  }
}

.contact-box h2 {
  max-width: none;
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.contact-box > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.975rem;
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-email:hover {
  color: var(--accent-hover);
}

.contact-place {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.contact-box .btn {
  width: 100%;
  max-width: 280px;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
