/* Basic reset / base styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #050816;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header / navigation */
.site-header {
background: rgba(5, 8, 22, 0.9);
backdrop-filter: blur(10px);
position: static; /* was sticky */
top: auto; /* was 0 */
z-index: auto; /* was 1000 */
}



.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo a {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.nav {
    position: relative;
}

.nav-list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-size: 0.9rem;
    color: #e5e7eb;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.nav-list a:hover {
    background: rgba(249, 250, 251, 0.08);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: #e5e7eb;
    display: block;
    margin: 4px 0;
}

/* Hero */
.hero-inner {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Fallback if no hero image */
.hero-inner:not([style]) {
    background: radial-gradient(circle at top, #111827 0, #020617 60%, #000 100%);
}

.hero-overlay {
    width: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85),
        rgba(8, 47, 73, 0.8),
        rgba(17, 24, 39, 0.8)
    );
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-content {
    color: #e5e7eb;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    max-width: 620px;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #0b1120;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.5);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: #e5e7eb;
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.7);
}

/* Sections */
.section {
    padding: 3rem 0;
    color: #e5e7eb;
}

.section-intro {
    background: radial-gradient(circle at top, #111827 0, #020617 60%);
}

.section-paths {
    background: linear-gradient(180deg, #020617 0, #020617 40%, #000 100%);
}

.section-how {
    background: #020617;
}

.section-updates {
    background: radial-gradient(circle at center, #111827 0, #020617 70%);
}

.section-ad-main,
.section-ad-bottom {
    background: #020617;
}

/* Text styles */
.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.02rem;
    max-width: 720px;
}

.brand-name {
    color: #22c55e;
}

/* Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Paths grid */
.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.path-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.path-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.path-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.path-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #22c55e;
    text-decoration: none;
}

.path-link:hover {
    text-decoration: underline;
}

.path-card-soon {
    opacity: 0.85;
}

.tag-soon {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    margin-left: 0.25rem;
}

.path-link.disabled {
    color: #9ca3af;
    cursor: default;
    text-decoration: none;
}

/* Ad spaces */
.ad {
    border-radius: 0.75rem;
    border: 1px dashed rgba(148, 163, 184, 0.6);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

.ad-top {
    margin: 0.5rem auto 0.75rem;
    max-width: 1100px;
    z-index: 1000; /* or any number < 10000 */
}

.ad-main,
.ad-bottom {
    min-height: 100px;
}

.ad-sidebar {
    margin-top: 2rem;
}

/* Steps (How it works) */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #0ea5e9);
    color: #0b1120;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.how-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #d1d5db;
}

/* Updates form */
.updates-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.updates-form input[type="email"] {
    flex: 1 1 220px;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
    font-size: 0.95rem;
}

.updates-form input[type="email"]::placeholder {
    color: #6b7280;
}

/* Footer */
.site-footer {
    background: #020617;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 1.5rem 0;
    color: #9ca3af;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.footer-nav {
    display: flex;
    gap: 1rem;
}

.footer-nav a {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-overlay {
        padding: 3rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-list {
        position: absolute;
        right: 0;
        top: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
        border-radius: 0 0 0.75rem 0.75rem;
        min-width: 160px;
        display: none;
    }

    .nav-list.nav-open {
        display: flex;
    }
}

@media (min-width: 900px) {
    .section-paths .container {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
        gap: 2rem;
        align-items: flex-start;
    }

    .ad-sidebar {
        position: sticky;
        top: 90px;
    }
}





/* Inline Voting Section */
.v1-path-vote-section {
  padding: 60px 20px;
  text-align: center;
  background: rgba(10, 20, 40, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  margin: 60px 0;
  box-shadow: 0 0 20px rgba(0, 255, 180, 0.08);
}

.path-vote-section {
  padding: 60px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 60px 0;
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.12);
  position: relative;
  z-index: 2;
}

.v3-path-vote-section {
  padding: 60px 20px;
  text-align: center;
  background: transparent;  /* no tint */
  backdrop-filter: none;
  border-radius: 0;
  margin: 60px auto;        /* center as a block */
  max-width: 1100px;        /* same idea as a main content width */
  box-shadow: none;
  position: relative;
  z-index: 1;
}



.old-path-vote-container {
  max-width: 900px;
  margin: 0 auto;
}

.path-vote-container {
  max-width: 900px;
  margin: 0 auto;   /* centers inside the section */
  text-align: center;
}


.path-vote-title {
  font-size: 2.1rem;
  color: #e6f7ff;
  margin-bottom: 10px;
  font-weight: 600;
}

.path-vote-text {
  font-size: 1.1rem;
  color: #c8d6e5;
  max-width: 700px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* Form wrapper so it doesn’t stretch too wide on big screens */
.path-vote-form-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 10px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(0, 255, 210, 0.15);
}

/* Let the iframe take full width; fixed height for now */
.path-vote-form-wrapper iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Fallback text */
.path-vote-fallback {
  font-size: 0.95rem;
  color: #9fb3c8;
}

.path-vote-fallback a {
  color: #52ffe2;
  text-decoration: underline;
}

.path-vote-fallback a:hover {
  text-decoration: none;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .path-vote-section {
    padding: 40px 15px;
  }

  .path-vote-title {
    font-size: 1.7rem;
  }

  .path-vote-text {
    font-size: 1rem;
  }
}

/* =========================================================
   NOTE: Path interactive guide styles live in /assets/css/paths.css
   Keep this file focused on global site layout + core components.
   ========================================================= */