/* Optional local/self-hosted font fallback.
   If these files exist, they are used before third-party font delivery. */
@font-face {
  font-family: "IBM Plex Sans";
  src:
    local("IBM Plex Sans"),
    local("IBMPlexSans"),
    url("../fonts/ibm-plex-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src:
    local("IBM Plex Sans Medium"),
    local("IBMPlexSans-Medium"),
    url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src:
    local("IBM Plex Sans SemiBold"),
    local("IBMPlexSans-SemiBold"),
    url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src:
    local("Space Grotesk Medium"),
    local("SpaceGrotesk-Medium"),
    url("../fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src:
    local("Space Grotesk SemiBold"),
    local("SpaceGrotesk-SemiBold"),
    url("../fonts/space-grotesk-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src:
    local("Space Grotesk Bold"),
    local("SpaceGrotesk-Bold"),
    url("../fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #060b16;
  --bg-alt: #0b1428;
  --surface: #101a31;
  --text: #e8eefb;
  --text-soft: #b8c7e6;
  --line: #27395f;
  --accent: #57a2ff;
  --accent-strong: #3d8df6;
  --focus: #86bfff;
  --maxw: 1100px;
  --radius: 12px;
}

/* Optional self-hosted fallback fonts.
   If local files exist under assets/fonts/, they are used first.
   Otherwise the site falls back to Google-hosted families and system fonts. */
@font-face {
  font-family: "Aurora Sans";
  src:
    local("IBM Plex Sans"),
    local("IBMPlexSans"),
    url("../fonts/ibm-plex-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Aurora Sans";
  src:
    local("IBM Plex Sans SemiBold"),
    local("IBMPlexSans-SemiBold"),
    url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Aurora Display";
  src:
    local("Space Grotesk SemiBold"),
    local("SpaceGrotesk-SemiBold"),
    url("../fonts/space-grotesk-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Aurora Sans", "IBM Plex Sans", "Segoe UI", "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(87, 162, 255, 0.12), transparent 60%),
    radial-gradient(900px 500px at -20% 20%, rgba(69, 115, 196, 0.16), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(92%, var(--maxw));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background-color: rgba(6, 11, 22, 0.8);
  border-bottom: 1px solid rgba(39, 57, 95, 0.8);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-image: url("../images/branding/aurora-logo-icon.svg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 16px rgba(87, 162, 255, 0.55);
}

.brand-name {
  font-family: "Aurora Display", "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.header-nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
}

.header-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--text);
}

.lang-switcher {
  display: inline-flex;
  gap: 6px;
  margin-left: 10px;
}

.lang-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
}

.lang-btn.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(87, 162, 255, 0.12);
}

.lang-btn:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.hero {
  padding: 88px 0 72px;
}

.hero-inner {
  max-width: 760px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.section-visual {
  margin: 20px 0 0;
  border: 1px solid rgba(69, 98, 154, 0.7);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(11, 20, 40, 0.55);
}

.section-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-visual {
  margin: 0;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 14px;
}

h1 {
  font-family: "Aurora Display", "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 14px 0 0;
  color: #d5e3fa;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.brand-claim {
  margin: 10px 0 0;
  color: #9fd7ee;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.mission {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.cta-group {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #03122b;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(39, 57, 95, 0.18);
}

.btn-secondary:hover {
  border-color: #45629a;
  background: rgba(39, 57, 95, 0.35);
}

.section {
  padding: 62px 0;
  border-top: 1px solid rgba(39, 57, 95, 0.55);
}

.section-alt {
  background: linear-gradient(180deg, rgba(11, 20, 40, 0.55), rgba(11, 20, 40, 0.18));
}

h2 {
  font-family: "Aurora Display", "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-family: "Aurora Display", "Space Grotesk", "IBM Plex Sans", "Segoe UI", sans-serif;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

p {
  margin: 0 0 14px;
  color: var(--text-soft);
  max-width: 75ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid rgba(69, 98, 154, 0.7);
  background: rgba(16, 26, 49, 0.8);
  border-radius: var(--radius);
  padding: 16px;
}

.card p {
  margin: 0;
  font-size: 0.96rem;
}

.support-section {
  background:
    radial-gradient(750px 300px at 0% 0%, rgba(87, 162, 255, 0.09), transparent 60%),
    rgba(11, 20, 40, 0.58);
}

.support-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: center;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 10px;
}

.branding-preview {
  margin-top: 18px;
}

.site-footer {
  border-top: 1px solid rgba(39, 57, 95, 0.75);
  padding: 30px 0 42px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand {
  margin: 0 0 4px;
  color: var(--text);
  font-weight: 600;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}

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

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .header-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-top: 2px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .support-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .footer-inner {
    flex-direction: column;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }

  .lang-switcher {
    margin-left: auto;
  }
}

.contact-form {
  max-width: 760px;
  margin-top: 24px;
}

.form-row {
  margin-bottom: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(16, 26, 49, 0.9);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.consent-row input {
  margin-top: 4px;
}

.form-feedback {
  border: 1px solid var(--line);
  background: rgba(16, 26, 49, 0.75);
  border-radius: 10px;
  padding: 10px 12px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
