
:root {
  --bg: #050517;
  --bg-alt: #0b0b26;
  --card: #141432;
  --accent: #7a5cff;
  --accent-soft: rgba(122, 92, 255, 0.2);
  --accent-strong: #2bd4ff;
  --text: #f7f7ff;
  --muted: #c0c4dd;
  --border-subtle: #26264b;
  --radius-lg: 18px;
  --radius-xl: 999px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.55);
  --page-width: 1120px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #252a76 0, #050517 48%);
  color: var(--text);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

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

main {
  padding-top: 80px;
}

.container {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
  scroll-margin-top: 90px;
}

h1, h2, h3 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
}

h2.section-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 1.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* HEADER / NAV */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5,5,24,0.94),
    rgba(5,5,24,0.88),
    rgba(5,5,24,0.76)
  );
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  cursor: pointer;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  border-radius: 999px;
  transition: width 0.2s ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #050510;
  box-shadow: 0 14px 30px rgba(43, 212, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(43, 212, 255, 0.5);
}

.btn-outline {
  border-color: rgba(255,255,255,0.22);
  color: var(--muted);
  background: rgba(10,10,40,0.8);
}

.btn-outline:hover {
  border-color: var(--accent-strong);
  color: var(--text);
  background: rgba(18,18,56,0.95);
}

/* MOBILE NAV */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    right: 1.5rem;
    top: 70px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(5,5,30,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-soft);
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav-open .nav-menu {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* HERO */

.hero {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.hero p {
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-highlight {
  margin-top: 1.8rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.04);
  background: radial-gradient(circle at left, rgba(43,212,255,0.18), transparent 55%);
  font-size: 0.83rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  inset: 18%;
  background: radial-gradient(circle at 0% 0%, #2bd4ff, transparent 55%),
              radial-gradient(circle at 100% 100%, #b473ff, transparent 50%);
  filter: blur(32px);
  opacity: 0.85;
}

.hero-card {
  position: relative;
  padding: 1.25rem 1.4rem;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #343a9c, #151533);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 300px;
}

.hero-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.hero-card-metric {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.hero-card-foot {
  font-size: 0.8rem;
  color: var(--muted);
}

/* FEATURE GRID (3) */

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
  margin-bottom: 1.5rem;
}

.feature-card {
  background: linear-gradient(145deg, rgba(20,20,60,0.96), rgba(29,29,83,0.96));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}

.feature-svg {
  width: 34px;
  height: 34px;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.feature-text {
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
  }
  .feature-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ABOUT */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.about-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top left, rgba(43,212,255,0.15), transparent 55%);
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* TECHNOLOGY GRID 2x2 */

.tech-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.tech-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tech-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, rgba(43,212,255,0.3), rgba(122,92,255,0.15));
  flex-shrink: 0;
}

.tech-svg {
  width: 26px;
  height: 26px;
}

.tech-card-title {
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 0.25rem;
}

.tech-card-text {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* STAKING & HIVING */

.staking-intro {
  max-width: 44rem;
}

.staking-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.staking-item {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 1.7rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(20,20,60,0.97), rgba(16,16,47,0.97));
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-soft);
}

.staking-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0 0, rgba(43,212,255,0.28), rgba(122,92,255,0.2));
  margin-bottom: 0.6rem;
}

.staking-svg {
  width: 26px;
  height: 26px;
}

.staking-title {
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

.staking-text {
  font-size: 0.9rem;
  color: var(--muted);
}

.staking-illustration {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: radial-gradient(circle at top left, rgba(43,212,255,0.18), transparent 55%);
}

@media (max-width: 900px) {
  .staking-item {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* TEAM */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
  margin-top: 2.2rem;
}

.team-card {
  background: var(--card);
  border-radius: 22px;
  padding: 1.6rem 1.2rem 1.4rem;
  border: 1px solid var(--border-subtle);
  text-align: center;
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.team-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  overflow: hidden;
  border: 3px solid rgba(43,212,255,0.9);
  box-shadow: 0 10px 26px rgba(0,0,0,0.6);
}

.team-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.team-role {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  margin-bottom: 0.5rem;
}

.team-text {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.contact-details {
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--accent-strong);
  font-weight: 500;
}

.contact-form {
  background: var(--card);
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

input, textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #26264b;
  background: rgba(3,3,20,0.85);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(43,212,255,0.5);
  background: rgba(10,10,40,0.95);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0 1.3rem;
  margin-top: 2rem;
  background: radial-gradient(circle at top, rgba(43,212,255,0.08), transparent 55%);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-contact a {
  color: var(--accent-strong);
  font-weight: 500;
}

@media (max-width: 640px) {
  footer {
    text-align: left;
  }
  .footer-content {
    align-items: flex-start;
  }
}
