:root {
  --bg: #0f0f0f;
  --bg-warm: #1a120b;
  --orange: #ff8c00;
  --orange-soft: #ffa500;
  --gold: #ffd700;
  --blue: #0066ff;
  --navy: #001a33;
  --border: #3a3a3a;
  --muted: #9ca3af;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

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

.accent {
  color: var(--orange);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(15, 15, 15, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(58, 58, 58, 0.7);
}

.brand img {
  display: block;
  height: 34px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--orange);
  opacity: 1;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a120b 50%, #0f0f0f 100%);
  opacity: 0.9;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
}

.hero h1 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: clamp(1.9rem, 8.2vw, 6rem);
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero h2 {
  margin: 0 0 24px;
  font-size: clamp(1.3rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.hero .lead {
  margin: 0 0 32px;
  color: #e5e7eb;
  font-size: clamp(0.95rem, 1.9vw, 1.5rem);
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.6rem, 8.6vw, 3rem);
  }

  .hero h2 {
    font-size: clamp(1.15rem, 5.6vw, 2rem);
  }

  .btn {
    padding: 11px 22px;
    font-size: 0.95rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--blue);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
}

.scroll-btn {
  position: absolute;
  bottom: 56px;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  border: none;
  border-radius: 9999px;
  background: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@keyframes slow-bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

.animate-slow-bounce {
  animation: slow-bounce 2s infinite;
}

/* ---------- sections ---------- */

.block {
  padding: 80px 0;
}

.section-title {
  margin: 0 0 56px;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
}

.intro-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 56px 32px;
  border-radius: 12px;
  background: var(--bg);
}

.intro-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), transparent);
  opacity: 0.5;
}

.intro-card > * {
  position: relative;
  z-index: 1;
}

.intro-card .eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.intro-card .statement {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  padding: 6px 16px;
  border: 1px solid rgba(255, 140, 0, 0.45);
  border-radius: 9999px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.intro-card img {
  width: 200px;
  height: auto;
}

@media (min-width: 768px) {
  .intro-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 64px 40px;
  }

  .intro-card .intro-text {
    max-width: 720px;
  }

  .intro-card img {
    width: 260px;
  }
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.8);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.card:hover {
  background: rgba(15, 15, 15, 1);
}

.card.active {
  border-color: var(--orange);
  color: var(--gold);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card-head i {
  font-size: 1.4rem;
}

.card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.card p {
  margin: 0;
}

.detail {
  margin-top: 56px;
  padding: 32px;
  border-radius: 12px;
  background: rgba(255, 165, 0, 0.1);
}

.detail-standalone {
  margin-top: 0;
}

.detail h3 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.detail p {
  margin: 0 0 20px;
}

.detail ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.detail li i {
  margin-top: 4px;
  color: var(--orange);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.8);
}

.step .num {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: #d1d5db;
}

.cta {
  padding: 48px 32px;
  border: 1px solid rgba(255, 140, 0, 0.35);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(0, 102, 255, 0.08));
  text-align: center;
}

.cta h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.cta p {
  margin: 0 0 28px;
  color: #e5e7eb;
}

/* ---------- contact ---------- */

.page-hero {
  position: relative;
  padding: 180px 0 60px;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
}

.page-hero p {
  margin: 0 auto;
  max-width: 640px;
  color: #e5e7eb;
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-grid-single {
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid-single {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(15, 15, 15, 0.8);
  text-align: center;
}

.contact-card i {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 1.75rem;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.contact-card a {
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  color: var(--blue);
}

.form {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 165, 0, 0.06);
}

.form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form input,
.form textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: #fff;
  font: inherit;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--orange);
  outline: none;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form .btn {
  width: 100%;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 80px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-inner h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-mail {
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-mail:hover {
  color: var(--blue);
}

.footer-divider {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 165, 0, 0.2);
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-right {
    align-items: flex-end;
  }
}
