:root {
  --bg: #050505;
  --bg-alt: #0f0f13;
  --card-bg: rgba(12, 12, 18, 0.82);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --muted: #b3b7c2;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --nav-height: 72px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
  --webkit-backdrop-filter: blur(13.3px);  
  --nav-glass: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
  --nav-highlight: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 75%);
  --nav-lowlight: linear-gradient(295deg, rgba(255, 255, 255, 0.04), transparent 50%);
}

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

body {
  font-family: 'Lato', sans-serif;
  background: radial-gradient(circle at 20% -10%, rgba(249, 115, 22, 0.18), transparent 55%),
    radial-gradient(circle at center, #050505 0%, #000 80%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: var(--nav-height);
  width: min(1120px, calc(100% - 6vw));
  padding: 0 clamp(18px, 3vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48);
  z-index: 100;
  overflow: hidden;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nav-highlight), var(--nav-lowlight);
  opacity: 0.45;
  pointer-events: none;
}

.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 25%, rgba(255, 255, 255, 0.12), transparent 58%),
              radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.08), transparent 60%);
  opacity: 0.28;
  pointer-events: none;
}

.nav.nav-solid {
  background: linear-gradient(135deg, rgba(6, 6, 8, 0.95), rgba(0, 0, 0, 0.78));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.55);
}

.marca {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.menu {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.menu li {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu li a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.menu li.active a,
.menu li a:hover {
  color: var(--accent);
}

.section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 6vw 80px;
  scroll-margin-top: calc(var(--nav-height) + 24px);
  position: relative;
}

.section .content {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.55);
}

.hero .eyebrow {
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(44px, 8vw, 90px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero .lead {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 700px;
  margin: 0 auto 36px;
  color: var(--muted);
}

.cta-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn,
.btn-secondary,
.btn.tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn {
  background: var(--accent);
  color: #0f172a;
  border: 1px solid transparent;
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.2);
}

.btn:hover,
.btn:focus-visible {
  background: rgba(249, 115, 22, 0.18);
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 18px 40px rgba(249, 115, 22, 0.1);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--accent);
}

.btn.tertiary {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn.disabled {
  cursor: not-allowed;
  opacity: 0.6;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(249, 115, 22, 0.25), transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.82) 100%);
  z-index: -1;
}

.about .content {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: start;
}

.text-block h2,
.papers h2,
.insights h2,
.tutorials h2,
.contact h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.text-block p {
  margin-bottom: 18px;
  color: var(--muted);
}

.info-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow);
}

.info-block h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  font-size: 18px;
}

.tag-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.tag-list li {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
  font-size: 15px;
}

.social-links {
  list-style: none;
  display: grid;
  gap: 12px;
}

.social-links li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.social-links li a i {
  font-size: 18px;
}

.social-links li a:hover {
  color: var(--accent);
}

.section-lead {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 36px;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
}

.card h3 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.25;
  font-size: 22px;
}

.card p {
  color: var(--muted);
}

.meta-list {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
}

.meta-label {
  color: var(--text);
  font-weight: 600;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.text-link {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
}

.text-link:hover {
  color: #fb923c;
}

.placeholder {
  border-style: dashed;
}

.placeholder-text {
  color: #cbd5f5;
}

.tutorial-board {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.tutorial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.tutorial-card h3 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  font-size: 20px;
  margin-bottom: 12px;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-bottom: 28px;
}

.contact-panel p {
  color: var(--muted);
}

.footer-note {
  font-size: 14px;
  color: var(--muted);
}

.footer-note a {
  color: var(--accent);
}

#year {
  color: var(--text);
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background: var(--accent);
}

#fp-nav ul li .fp-tooltip {
  color: var(--accent);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
}

.fp-watermark {
  display: none !important;
}

@media (max-width: 960px) {
  :root {
    --nav-height: 86px;
  }

  .nav {
    width: calc(100% - 8vw);
  }

  .menu {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .menu li {
    font-size: 13px;
  }

  .section {
    padding: calc(var(--nav-height) + 40px) 5vw 70px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 140px;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 24px);
    padding: 14px 20px;
    height: auto;
    gap: 12px;
    top: 10px;
  }

  .menu {
    width: 100%;
    justify-content: space-between;
  }

  .section {
    padding-top: calc(var(--nav-height) + 120px);
  }

  .card {
    padding: 24px;
  }

  .cta-group {
    gap: 12px;
  }
}
