/* Theme: turquoise and blue, no inline styles, responsive layout */
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora/Lora-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora/Lora-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-bg: #0e1b2d;
  --color-surface: #10243b;
  --color-accent: #1dd3c6;
  --color-accent-2: #2b6cb0;
  --color-accent-3: #38b2ac;
  --color-text: #e6f0ff;
  --color-muted: #9fb3c8;
  --header-height: 64px;
  --container-max: 1200px;
  --radius: 14px;
  --transition: 200ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  animation: theme 21s linear infinite;
  margin: 0;
}
html, body { height: 100%; }
body:after, body:before {
  content: '';
  display: block;
  position: fixed;
  z-index: -1;
  top: 0;
  width: 100vw;
  height: 100vh;
  width: 100vmax;
  height: 100vmax;
  background: rgba(0, 0, 0, 0.05);
  animation: background 90s linear infinite;
}
body:after {
  left: 15vw;
}
body:before {
  right: 15vw;
  animation-delay: -30s;
  animation-direction: reverse;
}
@keyframes theme {
  0% {
    background: #3b6349;
  }
  16% {
    background: #2e5c59;
  }
  33% {
    background: #27595f;
  }
  50% {
    background: #224f61;
  }
  66% {
    background: #4b1923;
  }
  83% {
    background: #49201a;
  }
  100% {
    background: #284231;
  }
}
@keyframes background {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 36, 59, 0.9);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid rgba(159, 179, 200, 0.15);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 28px; }
.brand__name { font-weight: 700; color: var(--color-text); letter-spacing: 0.3px; }

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__links {
  display: none;
  gap: 14px;
}
.nav__links a {
  color: var(--color-text);
  padding: 8px 10px;
  border-radius: 8px;
}
.nav__links a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Buttons (header and hero share same style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(45, 125, 199, 0.35);
  background: linear-gradient(180deg, rgba(43,108,176,0.25), rgba(29,211,198,0.1));
  color: var(--color-text);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(180deg, #2b6cb0, #1dd3c6);
  color: #072028;
  border: none;
  box-shadow: 0 8px 18px rgba(45, 125, 199, 0.35), 0 2px 6px rgba(29, 211, 198, 0.25);
}
.btn--ghost { background: #1dd3c6; color: #072028;
 }

.header__cta { display: inline-flex; gap: 10px; }

/* Burger */
.burger {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(159,179,200,0.2);
  background: rgba(16,36,59,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.burger:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.burger__bars, .burger__bars::before, .burger__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.burger__bars::before, .burger__bars::after { position: relative; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { opacity: 0; }
.burger[aria-expanded="true"] .burger__bars::before { opacity: 1; transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { opacity: 1; transform: translateY(-6px) rotate(-45deg); }

/* Fullscreen menu */
.menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(29,211,198,0.15), transparent 60%),
              radial-gradient(1000px 700px at 120% 20%, rgba(43,108,176,0.18), transparent 60%),
              #0e1b2d;
  display: none;
  z-index: 100;
}
.menu--open { display: block; }
.menu__inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.menu__header { height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.menu__close { background: none; border: none; color: var(--color-text); font-size: 28px; cursor: pointer; }
.menu__links { display: grid; place-content: center; gap: 12px; text-align: center; padding: 20px; }
.menu__links a { font-size: 22px; color: var(--color-text); padding: 12px 16px; border-radius: 10px; }
.menu__cta { display: flex; justify-content: center; gap: 12px; padding: 20px; }

/* Hero */
.hero {
  padding: 48px 0 32px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.hero__content h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.2; color: #fff; }
.hero__content p { margin: 0 0 14px; color: #fff; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__media a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(159,179,200,0.2); }

/* Sections */
section { padding: 40px 0; }
section h2 { font-size: 22px; margin: 0 0 14px; color: #fff; }
section h3 { font-size: 18px; margin: 14px 0 8px; color: var(--color-accent-3); }
section p { margin: 0 0 12px; color: var(--color-text); }
/* Space between sections */
section + section { margin-top: 22px; }

.cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card { background: rgba(16,36,59,0.7); border: 1px solid rgba(159,179,200,0.18); border-radius: var(--radius); padding: 14px; }
.card h3 { margin-top: 0; }

.faq { border-top: 1px solid rgba(159,179,200,0.15); padding-top: 20px; }
.faq details { background: rgba(16,36,59,0.6); border: 1px solid rgba(159,179,200,0.2); border-radius: 10px; padding: 10px 14px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; color: var(--color-accent); }

/* Footer */
.footer { padding: 26px 0 40px; border-top: 1px solid rgba(159,179,200,0.15); color: var(--color-muted); background-color: #072028; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.footer a { color: var(--color-muted); }
.footer__cols { display: grid; grid-template-columns: 1fr; gap: 14px; }
.footer__col h4 { margin: 0 0 8px; font-size: 14px; color: var(--color-text); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .header__cta { display: inline-flex; }
  .hero { padding: 64px 0 40px; }
  .hero__grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
  section { padding: 56px 0; }
  section + section { margin-top: 34px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero__content h1 { font-size: 36px; }
  section h2 { font-size: 26px; color: #fff; }
}

/* Utilities */
.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;
}

.no-scroll { overflow: hidden; height: 100vh; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 500ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Split sections with media */
.section-split { background: rgba(16,36,59,0.5); border: 1px solid rgba(159,179,200,0.16); border-radius: var(--radius); padding: 16px; }
.section-split .hero__media { margin-top: 14px; }
.section-split .hero__media a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(159,179,200,0.2); box-shadow: 0 10px 24px rgba(16,36,59,0.4); }

@media (min-width: 768px) {
  .section-split.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 22px;
  }
  .section-split .hero__media { margin-top: 0; }
  .section-split { padding: 24px; }
}

