/* ============================================
   ELYTH Landing Page - Design System & Styles
   White-based with pastel rainbow accents
   ============================================ */

/* --- CSS Variables --- */
:root {
    /* Color Palette - White base, pastel accents */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f8fc;
    --bg-tertiary: #eef0f7;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-dark-section: #1a1a2e;

    --accent-cyan: #00c8d4;
    --accent-teal: #2dd4bf;
    --accent-pink: #f472b6;
    --accent-purple: #a78bfa;
    --accent-blue: #60a5fa;
    --accent-green: #86efac;
    --accent-magenta: #ec4899;
    --accent-warn: #f97316;

    --gradient-rainbow: linear-gradient(135deg, #a78bfa, #60a5fa, #2dd4bf, #86efac);
    --gradient-pink-cyan: linear-gradient(135deg, #f472b6, #00c8d4);
    --gradient-hero: linear-gradient(135deg,
            rgba(167, 139, 250, 0.12),
            rgba(96, 165, 250, 0.08),
            rgba(45, 212, 191, 0.06),
            rgba(244, 114, 182, 0.08));

    --glow-cyan: 0 4px 20px rgba(0, 200, 212, 0.15), 0 0 40px rgba(0, 200, 212, 0.05);
    --glow-pink: 0 4px 20px rgba(244, 114, 182, 0.15), 0 0 40px rgba(244, 114, 182, 0.05);
    --glow-purple: 0 4px 20px rgba(167, 139, 250, 0.15), 0 0 40px rgba(167, 139, 250, 0.05);

    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-tertiary: #8a8aaa;

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-accent: rgba(0, 200, 212, 0.25);

    --font-en: 'Orbitron', 'Rajdhani', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-mono: 'Rajdhani', monospace;

    --section-padding: clamp(80px, 12vh, 140px);
    --container-max: 1200px;
    --container-padding: clamp(20px, 5vw, 40px);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-jp);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.8;
    position: relative;
}

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

ul,
ol {
    list-style: none;
}

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

/* --- Particle Canvas --- */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* --- Utility Classes --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warn {
    background: linear-gradient(135deg, var(--accent-magenta), var(--accent-warn));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent-cyan);
}

.text-accent-warn {
    color: var(--accent-magenta);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 clamp(32px, 6vw, 80px);
    transition: var(--transition-smooth);
    background: var(--bg-primary);
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__logo-text {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav__links {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-pink-cyan);
    transition: var(--transition-smooth);
    border-radius: 1px;
}

.nav__link:hover {
    color: var(--accent-cyan);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 1px;
}

.nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
    display: none;
    flex-direction: column;
    padding: 20px 0 30px;
    gap: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.nav__mobile.active {
    display: flex;
}

.nav__mobile-link {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav__mobile-link:hover {
    color: var(--accent-cyan);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 1;
    /* Layer 1: Background color only */
    background-color: var(--bg-primary);
    /* 10° diagonal cut at bottom */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    padding-top: clamp(100px, 15vh, 160px);
    padding-bottom: 25vh;
}

/* Layer 2: Background image */
.hero__bg-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Replace url() with your background image file */
    background-image: url('bg-1.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero__grid-overlay {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(167, 139, 250, 0.30) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 212, 0.25) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    transform: rotate(-6.3deg);
    animation: gridPulse 8s ease-in-out infinite;
}

.hero__glitch-lines {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero__glitch-lines::before,
.hero__glitch-lines::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
    opacity: 0;
    animation: glitchLine 4s ease-in-out infinite;
}

.hero__glitch-lines::before {
    top: 30%;
    animation-delay: 0s;
}

.hero__glitch-lines::after {
    top: 70%;
    animation-delay: 3s;
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: left;
    padding: 0 0 0 clamp(32px, 6vw, 80px);
    max-width: 550px;
    margin: 0;
    width: 50%;
}

/* --- Hero Character Area --- */
.hero__character {
    position: absolute;
    right: 0;
    bottom: 12%;
    width: 45%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 8;
    pointer-events: none;
}

.hero__character-img {
    max-height: 85vh;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 0 30px rgba(167, 139, 250, 0.2)) drop-shadow(0 0 60px rgba(0, 200, 212, 0.1));
    animation: characterFloat 6s ease-in-out infinite;
}

.hero__character-glow {
    display: none;
    /* disabled — remove this line to re-enable */
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.12), rgba(0, 200, 212, 0.06) 50%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

/* --- Hero Diagonal Line --- */
.hero__diagonal-line {
    display: none;
    /* disabled — remove this line to re-enable */
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45%;
    width: 2px;
    z-index: 6;
    transform: rotate(-15deg) translateX(-50%);
    transform-origin: top center;
    background: linear-gradient(to bottom,
            transparent 5%,
            rgba(167, 139, 250, 0.15) 20%,
            rgba(0, 200, 212, 0.3) 50%,
            rgba(244, 114, 182, 0.15) 80%,
            transparent 95%);
    pointer-events: none;
}

.hero__diagonal-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 22px;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 5%,
            rgba(0, 200, 212, 0.03) 30%,
            rgba(167, 139, 250, 0.04) 60%,
            transparent 95%);
    pointer-events: none;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 200, 212, 0.3);
    border-radius: 50px;
    background: rgba(0, 200, 212, 0.06);
    margin-bottom: 32px;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero__title {
    font-family: var(--font-en);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 0.9;
}

.hero__title-line {
    display: block;
    font-size: clamp(4rem, 13vw, 10rem);
    letter-spacing: 0.08em;
    color: var(--text-primary);
    /* Subtle rainbow text shadow for flair */
    text-shadow:
        2px 2px 0px rgba(167, 139, 250, 0.15),
        4px 4px 0px rgba(96, 165, 250, 0.08);
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(167, 139, 250, 0.3));
}

.hero__subtitle {
    margin-bottom: 20px;
    max-width: 500px;
}

.hero__subtitle-jp {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.12em;
}

.hero__description {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--text-tertiary);
    line-height: 2;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    max-width: 480px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 80px;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    color: #ffffff;
    box-shadow: var(--glow-purple);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.35), 0 4px 15px rgba(0, 200, 212, 0.2);
}

.btn__icon {
    transition: var(--transition-fast);
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

/* Discord Button */
.btn--discord {
    background: #5865F2;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn--discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.btn__icon-discord {
    width: 20px;
    height: 15px;
    flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

.hero__scroll-text {
    font-family: var(--font-en);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--text-tertiary);
}

/* Floating hologram elements — Layer 3 */
.hero__float {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 4;
}

.hero__float--1 {
    width: 450px;
    height: 450px;
    top: -5%;
    right: 5%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.4), rgba(167, 139, 250, 0.15) 50%, transparent 70%);
    filter: blur(20px);
    animation: float 12s ease-in-out infinite;
}

.hero__float--2 {
    width: 350px;
    height: 350px;
    bottom: 10%;
    left: 20%;
    background: radial-gradient(circle, rgba(0, 200, 212, 0.35), rgba(0, 200, 212, 0.12) 50%, transparent 70%);
    filter: blur(18px);
    animation: float 10s ease-in-out infinite reverse;
}

.hero__float--3 {
    width: 300px;
    height: 300px;
    top: 40%;
    right: 25%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.3), rgba(244, 114, 182, 0.1) 50%, transparent 70%);
    filter: blur(15px);
    animation: float 14s ease-in-out infinite;
    animation-delay: -3s;
}

/* --- Section Base --- */
.section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

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

.section__header {
    margin-bottom: 64px;
}

.section__label {
    display: block;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section__title {
    font-family: var(--font-jp);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

/* --- Concept Section --- */
.concept {
    background: var(--bg-primary);
}

.concept__grid {
    display: grid;
    gap: 60px;
}

.concept__lead {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.concept__lead em {
    font-style: normal;
    position: relative;
}

.concept__lead em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-pink-cyan);
    border-radius: 2px;
}

.concept__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 2.2;
    letter-spacing: 0.05em;
}

.concept__image {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.concept__image-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
}

.concept__image-img[src=""],
.concept__image-img:not([src]) {
    display: none;
}

.concept__image-placeholder {
    aspect-ratio: 21 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-accent);
    border-radius: 16px;
    margin: 4px;
    color: var(--text-tertiary);
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.concept__image-img:not([src=""])~.concept__image-placeholder {
    display: none;
}

/* --- How It Works Section --- */
.howitworks {
    background: var(--bg-primary);
}

.howitworks__body {
    display: grid;
    gap: 56px;
}

.howitworks__subtitle {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.howitworks__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 2.2;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.howitworks__text:last-child {
    margin-bottom: 0;
}

.howitworks__text em {
    font-style: normal;
    position: relative;
}

.howitworks__text em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-pink-cyan);
    border-radius: 2px;
}

.howitworks__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.howitworks__list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;
    border-left: 2px solid rgba(0, 200, 212, 0.25);
}

.howitworks__list li strong {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-primary);
}

.howitworks__list li span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Diagonal Section Dividers --- */
/* Disabled: replaced by clip-path on .hero */
.diagonal-divider {
    display: none;
}

/* --- Problem Section --- */
.problem {
    background: var(--bg-secondary);
    overflow: hidden;
}

.problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-purple), transparent);
    opacity: 0.5;
}

.problem__list {
    max-width: 700px;
    margin: 0 auto;
}

.problem__item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.problem__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1rem;
}

.problem__icon--bad {
    background: rgba(236, 72, 153, 0.08);
    color: var(--accent-magenta);
    border: 1px solid rgba(236, 72, 153, 0.15);
}

.problem__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.problem__text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.problem__arrow {
    text-align: center;
    padding: 48px 0 0;
}

.problem__arrow-line {
    width: 2px;
    height: 40px;
    margin: 0 auto 24px;
    background: linear-gradient(to bottom, var(--accent-magenta), var(--accent-warn));
    border-radius: 1px;
}

.problem__conclusion {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* --- World Section --- */
.world {
    background: var(--bg-primary);
    overflow: hidden;
}

.world__bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 200, 212, 0.04), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.world__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 64px;
}

.world__feature {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 40px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.world__feature:hover {
    border-color: var(--border-accent);
    transform: translateX(8px);
    box-shadow: var(--glow-cyan);
}

.world__feature-number {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(0, 200, 212, 0.15));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.world__feature:hover .world__feature-number {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.5), rgba(0, 200, 212, 0.4));
    -webkit-background-clip: text;
    background-clip: text;
}

.world__feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.world__feature-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.world__feature-glow {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 200, 212, 0.06), transparent 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.world__feature:hover .world__feature-glow {
    background: radial-gradient(circle, rgba(0, 200, 212, 0.12), transparent 70%);
}

.world__statement {
    text-align: center;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-top: 40px;
    color: var(--text-secondary);
}

/* --- Benefits Section --- */
.benefits {
    background: var(--bg-secondary);
}

.benefits__body {
    display: grid;
    gap: 56px;
}

.benefits__subtitle {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.benefits__text-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits__text-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 16px;
    border-left: 2px solid rgba(0, 200, 212, 0.25);
}

.benefits__text-list li strong {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-primary);
}

.benefits__text-list li span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Vision Section --- */
.vision {
    background: var(--bg-dark-section);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.vision__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(167, 139, 250, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 200, 212, 0.08) 0%, transparent 60%);
    z-index: 0;
}

.vision__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.vision .section__label {
    color: var(--accent-teal);
}

.vision__text {
    margin: 48px 0 64px;
}

.vision__line {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 2;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
}

.vision__line--accent {
    color: #ffffff;
    text-shadow: 0 0 40px rgba(0, 200, 212, 0.2);
}

.vision__cta-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
}

/* --- Waitlist Section --- */
.waitlist {
    background: var(--bg-primary);
    padding: 100px 0 120px;
}

.waitlist__content {
    text-align: center;
}

.waitlist__title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    margin: 16px 0 16px;
    letter-spacing: 0.08em;
}

.waitlist__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    letter-spacing: 0.05em;
}

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

.waitlist__heart-btn {
    position: relative;
    width: 100px;
    height: 100px;
    background: none;
    border: 2px solid rgba(236, 72, 153, 0.25);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-spring);
    outline: none;
}

.waitlist__heart-btn:hover {
    border-color: rgba(236, 72, 153, 0.5);
    transform: scale(1.08);
    box-shadow: var(--glow-pink);
}

.waitlist__heart-btn:active {
    transform: scale(0.95);
}

.waitlist__heart-btn.liked {
    border-color: var(--accent-magenta);
    background: rgba(236, 72, 153, 0.06);
    cursor: default;
}

.waitlist__heart-svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: var(--accent-magenta);
    stroke-width: 1.5;
    transition: var(--transition-spring);
}

.waitlist__heart-btn.liked .waitlist__heart-svg {
    fill: var(--accent-magenta);
    stroke: var(--accent-magenta);
    filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.4));
    animation: heartBeat 0.6s ease-out;
}

.waitlist__heart-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.waitlist__count-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.waitlist__count {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waitlist__count-label {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--text-tertiary);
}

.waitlist__note {
    margin-top: 24px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* X redirect message */
.waitlist__x-redirect {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s ease 0.1s,
        margin-top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0;
}

.waitlist__x-redirect.visible {
    max-height: 200px;
    opacity: 1;
    margin-top: 40px;
}

.waitlist__x-redirect-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.waitlist__x-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-jp);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: #000000;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.waitlist__x-link:hover {
    background: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.waitlist__x-icon {
    width: 18px;
    height: 18px;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.footer__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
}

.footer__copy {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__link {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer__link:hover {
    color: var(--accent-cyan);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    padding: 16px 0;
}

.cookie-banner__content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
}

.cookie-banner__link {
    color: var(--accent-cyan);
    text-decoration: none;
}

.cookie-banner__link:hover {
    text-decoration: underline;
}

.cookie-banner__btn {
    padding: 10px 24px;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-family: var(--font-ja);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.cookie-banner__btn:hover {
    background: var(--accent-teal);
    transform: translateY(-1px);
}

/* --- Animations --- */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes glitchLine {

    0%,
    90%,
    100% {
        opacity: 0;
    }

    92% {
        opacity: 0.7;
        transform: translateX(-5px);
    }

    94% {
        opacity: 0;
    }

    96% {
        opacity: 0.5;
        transform: translateX(3px);
    }

    98% {
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -30px);
    }

    50% {
        transform: translate(-10px, -50px);
    }

    75% {
        transform: translate(30px, -20px);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }

    30% {
        transform: scaleY(1);
        opacity: 1;
    }

    70% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Scroll Animations --- */
.anim-fade-in,
.anim-slide-up {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim-fade-in {
    transform: translateY(10px);
}

.anim-slide-up {
    transform: translateY(40px);
}

.anim-fade-in.visible,
.anim-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Heart particle animation */
.heart-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-magenta);
    border-radius: 50%;
    pointer-events: none;
    animation: particleBurst 0.8s ease-out forwards;
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(var(--px), var(--py)) scale(0);
        opacity: 0;
    }
}

@keyframes characterFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__hamburger {
        display: flex;
    }

    .hero__title-line {
        font-size: clamp(3rem, 16vw, 6rem);
    }

    .hero__content {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }

    .hero__cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__character {
        display: none;
    }

    .hero__diagonal-line {
        display: none;
    }

    .diagonal-divider {
        height: 40px;
    }


    .problem__item {
        flex-direction: column;
        gap: 16px;
    }

    .world__feature {
        flex-direction: column;
        gap: 16px;
        padding: 28px 24px;
        text-align: center;
    }

    .world__feature-number {
        font-size: 2rem;
    }

    .vision__line {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .footer__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer__links {
        gap: 16px;
    }

    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero__badge {
        font-size: 0.6rem;
        padding: 6px 14px;
    }

    .waitlist__heart-btn {
        width: 80px;
        height: 80px;
    }

    .waitlist__heart-svg {
        width: 36px;
        height: 36px;
    }

    .waitlist__count {
        font-size: 2rem;
    }
}