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

/* DESIGN TOKENS */
:root {
  --bg: #0b0f14;
  --bg-alt: #141a24;
  --text: #e6edf3;
  --muted: #97a1ad;
  --accent: #49d77b;
  --accent-soft: #2b9f5b;
  --border: #24303f;
}

/* BASE */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(circle at 14% 14%, rgba(56, 78, 120, 0.2), transparent 34%),
    radial-gradient(circle at 82% 2%, rgba(37, 57, 94, 0.14), transparent 30%),
    radial-gradient(circle at 24% 78%, rgba(73, 215, 123, 0.06), transparent 28%),
    linear-gradient(155deg, #080b11 0%, #0d1218 48%, #111925 100%);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.narrow {
  max-width: 700px;
}

/* HEADER */
.header {
  border-bottom: 1px solid var(--border);
  background: rgba(10, 13, 19, 0.84);
  backdrop-filter: blur(6px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-img {
  display: block;
  width: 234px;
  max-width: 100%;
  height: auto;
}

.logo-img-footer {
  width: 221px;
}

.nav a {
  margin-left: 24px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.nav a.active {
  color: var(--accent);
}

/* HERO */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background-image:
    /* diagonal lines */
    repeating-linear-gradient(
      135deg,
      rgba(73, 215, 123, 0.045) 0px,
      rgba(73, 215, 123, 0.045) 1px,
      transparent 1px,
      transparent 48px
    ),
    /* dot grid */
    radial-gradient(circle, rgba(73, 215, 123, 0.18) 1px, transparent 1px);
  background-size: 48px 48px, 28px 28px;
  /* fade in from left edge, fade out toward bottom */
  -webkit-mask-image:
    linear-gradient(to left, rgba(0,0,0,0.9) 0%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,1) 30%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to left, rgba(0,0,0,0.9) 0%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,1) 30%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
}

.overview-section {
  padding-top: 0;
}

.overview-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

.overview-copy {
  padding: 0;
}

.overview-copy h2 {
  margin-bottom: 18px;
}

.overview-copy p + p {
  margin-top: 16px;
}

.overview-copy p:not(.eyebrow) {
  color: var(--muted);
}

.overview-media {
  border: 1px solid var(--border);
  background: rgba(8, 12, 18, 0.88);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.overview-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: min(58vh, 520px);
  height: auto;
  object-fit: contain;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section.alt {
  background: transparent;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARD */
.card {
  border: 1px solid var(--border);
  padding: 30px;
  background: linear-gradient(165deg, rgba(25, 34, 47, 0.62), rgba(17, 24, 34, 0.56));
  transition: border 0.3s, transform 0.3s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(28, 109, 68, 0.2);
}

.card h3 {
  margin-bottom: 10px;
}

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

/* CTA */
.cta {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(20, 31, 46, 0.9) 0%, rgba(14, 22, 33, 0.88) 45%, rgba(22, 34, 50, 0.9) 100%);
}

.cta h3 {
  margin-bottom: 10px;
  color: var(--accent);
}

/* ENGAGE DIAGRAM */
.engage-diagram-frame {
  border: 1px solid var(--border);
  background: rgba(8, 12, 18, 0.88);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 40px auto 0;
}

.engage-diagram-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* CAROUSEL */
.carousel-section .container {
  max-width: 920px;
}

.carousel-section h2 {
  margin-bottom: 26px;
}

.carousel {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(25, 34, 47, 0.62), rgba(17, 24, 34, 0.56));
  padding: 20px;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  display: block;
  width: 100%;
  max-height: min(62vh, 560px);
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(73, 215, 123, 0.25);
  background: rgba(9, 14, 20, 0.9);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent-soft);
  background: rgba(9, 14, 20, 0.92);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  border-color: var(--accent);
  background: rgba(11, 17, 25, 1);
  outline: none;
}

.carousel-control.prev {
  left: 30px;
}

.carousel-control.next {
  right: 30px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--muted);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  border-color: var(--accent);
  outline: none;
}

.carousel-dot.is-active {
  background-color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.15);
}

/* FOOTER */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: rgba(10, 13, 19, 0.84);
  backdrop-filter: blur(6px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer h4 {
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
}

.footer li + li {
  margin-top: 8px;
}

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

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

.footer-text {
  margin-top: 10px;
  color: var(--muted);
}

.footer-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* CONTACT PAGE */
.contact-hero {
  padding: 96px 0 70px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.contact-form,
.contact-info {
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(25, 34, 47, 0.62), rgba(17, 24, 34, 0.56));
  padding: 28px;
}

.contact-form h3,
.contact-info h3 {
  margin-bottom: 14px;
}

.contact-form p,
.contact-info p {
  color: var(--muted);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(9, 14, 20, 0.9);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(73, 215, 123, 0.16);
}

.btn-primary {
  border: 1px solid var(--accent-soft);
  background: linear-gradient(180deg, rgba(73, 215, 123, 0.24), rgba(43, 159, 91, 0.18));
  color: var(--text);
  padding: 12px 20px;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.contact-meta {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.contact-meta h4 {
  color: var(--text);
  margin-bottom: 4px;
}

.contact-meta a {
  color: var(--muted);
  text-decoration: none;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .header-content {
    flex-direction: column;
    gap: 10px;
  }

  .logo-img {
    width: 203px;
  }

  .carousel {
    padding: 14px;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .carousel-control.prev {
    left: 18px;
  }

  .carousel-control.next {
    right: 18px;
  }
}
/* ============================================
   Info Page
   ============================================ */
.info-section {
    padding: 60px 0;
}

.info-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.info-updated {
    color: var(--sub-text);
    margin-bottom: 30px;
    font-size: var(--fs-text-sm);
}

.info-intro {
    margin-bottom: 40px;
    /* padding-bottom: 30px; */
    border-bottom: 1px solid var(--border-color);
}

.info-intro p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-content {
    line-height: 1.7;
}

.info-content h2 {
    font-size: var(--fs-heading-md);
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.info-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.info-content ul {
    margin-bottom: 20px;
    padding-left: 25px;
    color: var(--text-secondary);
}

.info-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info-content a:hover {
    text-decoration: underline;
}

.external-link-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.info-content a:hover .external-link-icon {
    opacity: 1;
}

.info-content strong {
    color: var(--text-primary);
    font-weight: var(--bold-font-weight);
}

.info-content a:hover .external-link-icon {
    opacity: 1;
}

.info-content strong {
    color: var(--text-primary);
    font-weight: var(--bold-font-weight);
}