/* ============================================
   ZERO FEE FOUNDATION - PREMIUM STYLES
   Apple-level clean, modern, professional
   ============================================ */

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f5f5f7;
    --gray-200: #e8e8ed;
    --gray-300: #d2d2d7;
    --gray-400: #b0b0b5;
    --gray-500: #9a9a9f;
    --gray-600: #6e6e73;
    --gray-700: #424245;

    --accent-red: #ff3b30;
    --accent-yellow: #ffcc00;
    --accent-blue: #007aff;
    --accent-purple: #af52de;
    --accent-gold: #ffd700;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nowrap {
    white-space: nowrap;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
    color: var(--white);
    cursor: pointer;
}

.logo-zerofee {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.logo-foundation {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
}

.nav-tabs {
    display: flex;
    gap: 8px;
}

.nav-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.nav-tab:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-tab.active {
    color: var(--black);
    background: var(--white);
}

.nav-app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
}

.nav-app-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
}

.nav-app-subtext {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.68);
    letter-spacing: 0.02em;
}

.nav-app-disabled {
    cursor: default;
    user-select: none;
}

.nav-app-disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: none;
}

.nav-app-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.nav-app-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Desktop shows full link, mobile shows button wrapper */

.nav-app-mobile-wrapper {
    display: none;
    position: relative;
}

.nav-app-mobile {
    display: none;
}

/* Mobile App Dropdown */
.nav-app-dropdown {
    display: none;
    position: fixed;
    top: 65px;
    right: 16px;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 8px;
    z-index: 1000;
    min-width: 280px;
}

.nav-app-dropdown.open {
    display: block;
}

.nav-app-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.nav-app-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-app-dropdown-link.nav-app-disabled {
    cursor: default;
    user-select: none;
}

.nav-app-dropdown-link.nav-app-disabled:hover {
    background: transparent;
}

.nav-app-dropdown-link img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-app-dropdown-link span {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-app-dropdown-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

/* ============================================
   PAGE SECTIONS
   ============================================ */
.page {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--transition-smooth), transform 0.5s var(--transition-smooth);
}

.page.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HOME PAGE
   ============================================ */
#page-home {
    align-items: center;
    padding: 0 48px;
    position: relative;
}

/* Hero Section - fills first viewport */
.home-content {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    padding-top: 80px;
    position: relative;
}

.home-headline {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 48px;
}

.home-headline .main-text {
    display: block;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.home-headline .highlight {
    display: block;
    font-size: clamp(4rem, 10vw, 8rem);
}

.highlight {
    background: linear-gradient(135deg, #ffffff 0%, #c8c8c8 50%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-headline .highlight,
.about-headline .highlight,
.join-headline .highlight {
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 60%, #b8b8b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

/* Combined Role Button + Dropdown */
.role-selector-combined {
    position: relative;
    z-index: 100;
}

.role-btn-combined {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 600;
    padding: 18px 32px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.role-btn-combined:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.15);
}

.role-btn-combined .role-prefix {
    opacity: 0.7;
}

.role-btn-combined .role-text {
    font-weight: 700;
}

.role-btn-combined .dropdown-arrow {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: transform 0.3s var(--transition-smooth);
}

.role-selector-combined.open .dropdown-arrow {
    transform: rotate(180deg);
}

.role-selector-combined .role-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 8px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-smooth);
    z-index: 1000;
}

.role-selector-combined.open .role-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.role-selector {
    position: relative;
}

.role-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.role-display:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.dropdown-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s var(--transition-smooth);
}

.role-selector.open .dropdown-arrow {
    transform: rotate(180deg);
}

.role-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 8px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-smooth);
}

.role-selector.open .role-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.role-option {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.role-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.join-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 18px 36px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.join-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
}

.arrow-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s var(--transition-smooth);
}

.join-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Home Intro Section - appears below the fold */
.home-intro {
    max-width: 800px;
    margin: 0 auto 120px;
    padding: 80px 40px 120px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.intro-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 50%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-headline .highlight {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.intro-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
}

.intro-text strong {
    color: var(--white);
    font-weight: 600;
}

.intro-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.intro-list.intro-list-vertical {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.intro-list.intro-list-vertical li {
    width: 100%;
    max-width: 720px;
    text-align: left;
}

.intro-list li {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 24px;
}

.intro-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green, #34c759);
    font-weight: 700;
}

.intro-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.intro-tagline strong {
    color: var(--white);
    font-weight: 700;
    font-size: 2.4rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.scroll-indicator span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.8;
        transform: scaleY(1.2);
    }
}

/* Role cycling animation */
.role-text {
    display: inline-block;
    transition: all 0.4s var(--transition-smooth);
}

.role-text.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.role-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FOUNDATION PAGE
   ============================================ */
#page-foundation {
    padding: 140px 48px 80px;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.foundation-hero {
    text-align: center;
    margin-bottom: 100px;
}

.section-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 48px;
}

.foundation-intro {
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-200);
    margin-bottom: 32px;
}

.lead-text strong {
    color: var(--white);
    font-weight: 600;
}

.secondary-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.6;
}

.foundation-roles {
    text-align: center;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.subsection-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.role-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.role-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 28px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.role-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.role-icon {
    font-size: 1.5rem;
}

.role-blurb {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 40px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 32px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.primary-button:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(255, 255, 255, 0.12);
}

/* ============================================
   JOIN AS PAGE - CAREER LAYOUT
   ============================================ */
#page-join {
    padding: 140px 48px 80px;
}

.join-container {
    max-width: 1400px;
    margin: 0 auto;
}

.join-header {
    text-align: center;
    margin-bottom: 64px;
}

.join-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.join-subline {
    font-size: 1.2rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

.join-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    min-height: 600px;
}

.join-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.sidebar-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-item.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.casting-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.casting-indicator.red {
    background: var(--accent-red);
}

.casting-indicator.yellow {
    background: var(--accent-yellow);
}

.casting-indicator.blue {
    background: var(--accent-blue);
}

.casting-indicator.purple {
    background: var(--accent-purple);
}

.casting-indicator.gold {
    background: var(--accent-gold);
}

.casting-indicator.green {
    background: var(--accent-green, #34c759);
}

.join-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
}

.casting-panel {
    display: none;
    animation: fadeIn 0.4s var(--transition-smooth);
}

.casting-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casting-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.casting-top-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-row {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-row .cta-button {
    margin-top: 0;
}

.cta-row .cta-note {
    padding: 18px 32px;
    font-size: 0.95rem;
}

.cta-note {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.casting-top-btn {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 100px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s var(--transition-smooth);
}

.casting-top-btn span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.arrow-icon-small {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.casting-top-btn:hover .arrow-icon-small {
    transform: translateX(3px);
}

.casting-top-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.casting-top-btn.red {
    background: var(--accent-red);
    color: var(--white);
}

.casting-top-btn.green {
    background: var(--accent-green, #34c759);
    color: var(--white);
}

.casting-top-btn.blue {
    background: var(--accent-blue);
    color: var(--white);
}

.casting-top-btn.purple {
    background: var(--accent-purple);
    color: var(--white);
}

.casting-top-btn.gold {
    background: var(--accent-gold);
    color: var(--black);
}

.casting-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    border-radius: 100px;
}

.casting-badge.red {
    background: rgba(255, 59, 48, 0.2);
    color: var(--accent-red);
}

.casting-badge.yellow {
    background: rgba(255, 204, 0, 0.2);
    color: var(--accent-yellow);
}

.casting-badge.blue {
    background: rgba(0, 122, 255, 0.2);
    color: var(--accent-blue);
}

.casting-badge.purple {
    background: rgba(175, 82, 222, 0.2);
    color: var(--accent-purple);
}

.casting-badge.gold {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
}

.casting-badge.green {
    background: rgba(52, 199, 89, 0.2);
    color: var(--accent-green, #34c759);
}

.casting-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.casting-intro {
    font-size: 1.1rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 20px;
}

.casting-intro strong {
    color: var(--white);
    font-size: 1.15rem;
}

/* ============================================
   JOIN AS PAGE - CASTING PANELS CONTINUED
   ============================================ */
.rewards-section,
.duration-section,
.investor-section {
    margin: 32px 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.rewards-title,
.duration-title,
.investor-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.rewards-list {
    list-style: none;
    margin-bottom: 12px;
}

.rewards-list li {
    padding: 8px 0;
    color: var(--gray-300);
    font-size: 1rem;
}

.reward-highlight {
    color: var(--white);
    font-weight: 600;
}

.rewards-note {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-style: italic;
}

.rewards-text {
    color: var(--gray-300);
    font-size: 1rem;
}

.duration-text {
    color: var(--gray-300);
    font-size: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 36px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    margin-top: 16px;
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button.red {
    background: var(--accent-red);
    color: var(--white);
}

.cta-button.yellow {
    background: var(--accent-yellow);
    color: var(--black);
}

.cta-button.blue {
    background: var(--accent-blue);
    color: var(--white);
}

.cta-button.purple {
    background: var(--accent-purple);
    color: var(--white);
}

.cta-button.gold {
    background: var(--accent-gold);
    color: var(--black);
}

.cta-button.green {
    background: var(--accent-green, #34c759);
    color: var(--white);
}

.steve-quote {
    margin-top: 48px;
    padding: 32px;
    border-left: 3px solid var(--accent-purple);
    background: rgba(175, 82, 222, 0.08);
    border-radius: 0 16px 16px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gray-200);
}

.steve-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 1rem;
    font-style: normal;
    color: var(--gray-400);
}

.investor-intro {
    margin-bottom: 32px;
}

.investor-bullets {
    list-style: none;
    margin-bottom: 24px;
}

.investor-bullets li {
    font-size: 1.15rem;
    color: var(--gray-300);
    padding: 6px 0;
}

.investor-bullets li strong {
    color: var(--white);
}

.investor-list {
    list-style: none;
    margin: 16px 0;
}

.investor-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: var(--gray-300);
}

.investor-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--gray-500);
}

.investor-list.highlight li {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 1.05rem;
}

.investor-list.highlight li::before {
    color: rgba(255, 255, 255, 0.6);
}

.highlight-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 16px 0;
}

.final-cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 14px 0;
    line-height: 1.6;
}

.final-cta-text strong {
    font-size: 1.2rem;
    color: var(--white);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
#page-about {
    padding: 140px 48px 80px;
    justify-content: center;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

.about-headline {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 64px;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.3rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-text strong {
    color: var(--white);
}

.about-statement {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 48px 0;
}

.about-statement .highlight {
    display: block;
    font-size: 2.5rem;
    margin-top: 8px;
}

.about-cta-text {
    font-size: 1.2rem;
    color: var(--gray-400);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 48px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 64px;
}

.footer-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
}

.footer-btn:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-logo .logo-zerofee {
    font-size: 1.2rem;
}

.footer-logo .logo-foundation {
    font-size: 0.7rem;
}

.footer-copy {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Hamburger Menu - Hidden on Desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--transition-smooth);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .join-layout {
        grid-template-columns: 1fr;
    }

    .join-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
        justify-content: center;
    }

    .sidebar-item {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {

    /* Navigation */
    .nav {
        padding: 12px 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .hamburger {
        display: flex;
        order: 1;
    }

    .nav-logo {
        order: 2;
        flex: 1;
        text-align: center;
    }

    .nav-logo .logo-zerofee {
        font-size: 1.2rem;
    }

    .nav-logo .logo-foundation {
        font-size: 0.65rem;
    }

    /* Hide desktop app button, show compact mobile app badge */
    .nav-app-desktop {
        display: none;
    }

    .nav-app-mobile-wrapper {
        display: flex;
        order: 3;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
    }

    .nav-app-mobile {
        display: flex;
    }

    .nav-app-mobile.nav-app-btn {
        padding: 8px;
        gap: 0;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .nav-app-mobile img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    /* Mobile Navigation Menu */
    .nav-tabs {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .nav-tabs.open {
        display: flex;
    }

    .nav-tab {
        padding: 16px 20px;
        font-size: 1rem;
        text-align: left;
        width: 100%;
        border-radius: 12px;
    }

    .nav-tab.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    #page-home {
        padding: 0 20px;
    }

    .home-content {
        padding-top: 0;
        min-height: 100vh;
        margin-top: -10px;
    }

    #page-foundation,
    #page-join,
    #page-about {
        padding: 90px 20px 40px;
    }

    /* Home Page Mobile */
    .home-headline .main-text {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .home-headline .highlight {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .home-cta {
        margin-bottom: 24px;
    }

    .role-btn-combined {
        font-size: 1rem;
        padding: 14px 24px;
        gap: 8px;
    }

    .role-selector-combined .role-dropdown {
        min-width: 240px;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    /* Home Intro Section Mobile */
    .home-intro {
        margin: 0 auto 80px;
        padding: 48px 20px 80px;
    }

    .intro-headline {
        font-size: 1.6rem;
    }

    .intro-headline .highlight {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .intro-list {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .intro-list li {
        font-size: 1rem;
    }

    .intro-tagline {
        font-size: 1.1rem;
    }

    .intro-tagline strong {
        font-size: 2rem;
    }

    /* Foundation Page Mobile */
    .section-headline {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .lead-text {
        font-size: 1rem;
    }

    .role-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .role-card {
        padding: 16px;
    }

    .role-icon {
        font-size: 1.5rem;
    }

    .role-name {
        font-size: 0.8rem;
    }

    /* Join Page Mobile */
    .join-headline {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .join-subline {
        font-size: 1rem;
    }

    .join-sidebar {
        gap: 6px;
        margin-bottom: 24px;
    }

    .sidebar-item {
        padding: 10px 14px;
        font-size: 0.8rem;
    }

    .join-content {
        padding: 20px;
    }

    .casting-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .casting-title {
        font-size: 1.3rem;
    }

    .casting-intro {
        font-size: 0.95rem;
    }

    .investor-heading {
        font-size: 1.2rem;
    }

    .investor-list.highlight li {
        font-size: 0.95rem;
    }

    .cta-button {
        font-size: 0.95rem;
        padding: 14px 24px;
        width: 100%;
        justify-content: center;
    }

    .cta-row .cta-note {
        padding: 14px 24px;
        width: 100%;
        justify-content: center;
    }

    /* About Page Mobile */
    .about-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-text {
        font-size: 1.1rem;
    }

    .about-statement {
        font-size: 1.2rem;
    }

    .about-statement .highlight {
        font-size: 1.8rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 20px;
    }

    .footer-headline {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .footer-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-bottom: 40px;
    }

    .footer-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .footer-copy {
        font-size: 0.8rem;
    }
}

/* Very Small Mobile */
@media (max-width: 400px) {
    .role-cards {
        grid-template-columns: 1fr;
    }

    .home-headline .main-text {
        font-size: 1.3rem;
    }

    .home-headline .highlight {
        font-size: 2.2rem;
    }

    .sidebar-item {
        font-size: 0.75rem;
        padding: 8px 10px;
    }
}
