:root {
    /* Color Palette - Dark Cyberpunk / Tech */
    --bg-darker: #050810;
    --bg-dark: #0a0f1a;
    --bg-card: rgba(16, 25, 42, 0.6);
    --bg-card-hover: rgba(22, 34, 56, 0.8);

    --accent-cyan: #00f3ff;
    --accent-cyan-glow: rgba(0, 243, 255, 0.6);
    --accent-purple: #d000ff;
    --accent-purple-glow: rgba(208, 0, 255, 0.6);
    --accent-pink: #ff0055;

    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --text-bright: #ffffff;

    --border-color: rgba(0, 243, 255, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-tech: 'Orbitron', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    /* Variables */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --z-background: -10;
    --z-particles: -5;
    --z-content: 10;
    --z-nav: 100;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-darker);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: var(--z-content);
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-bright);
    text-shadow: 0 0 8px var(--accent-cyan-glow);
}

/* Background Effects */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    z-index: var(--z-background);
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    transform-origin: top center;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px);
    }
}

.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: var(--z-background);
    opacity: 0.4;
    animation: floatOrb 10s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* Typography Tools */
.text-glow {
    color: var(--text-bright);
    text-shadow: 0 0 10px var(--accent-cyan-glow), 0 0 20px var(--accent-cyan-glow);
}

.highlight-text {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    transition: var(--transition);
    z-index: 1;
}

.btn-primary {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    color: #000;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.btn-primary:hover::before {
    left: 100%;
    transition: 0.5s;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-bright);
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: var(--z-nav);
    background: rgba(5, 8, 16, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    font-family: var(--font-tech);
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 8px var(--accent-purple-glow));
}

.hero-text-size {
    font-size: 5.5rem;
    filter: drop-shadow(0 0 20px var(--accent-purple-glow));
}

.logo-sub {
    font-size: 1.2rem;
    margin-left: 4px;
    color: var(--text-bright);
}

.hero-sub-size {
    font-size: 3.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-main {
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.nav-button {
    font-family: var(--font-tech);
    padding: 8px 16px;
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-button:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-purple-glow);
}

/* Sections Base */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(180deg, transparent, rgba(10, 15, 26, 0.8) 20%, rgba(10, 15, 26, 0.8) 80%, transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-tech);
    font-size: 2.5rem;
    color: var(--text-bright);
    display: inline-block;
    position: relative;
    letter-spacing: 2px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for navbar */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.subtitle-badge {
    font-family: var(--font-mono);
    color: var(--accent-purple);
    display: inline-block;
    padding: 4px 12px;
    border-left: 2px solid var(--accent-purple);
    background: rgba(208, 0, 255, 0.1);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-tech);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.hero-title .glitch {
    color: var(--text-bright);
    position: relative;
}

.hero-title .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    letter-spacing: 4px;
}

.hero-catch {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    border-left: 4px solid var(--accent-cyan);
    padding-left: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-desc strong {
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Cyber Visual in Hero */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cyber-circle-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.cyber-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(0, 243, 255, 0.3);
}

.outer {
    width: 380px;
    height: 380px;
    animation: rotate 60s linear infinite;
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-top-color: var(--accent-cyan);
}

.middle {
    width: 280px;
    height: 280px;
    animation: rotate 40s linear infinite reverse;
    border: 2px dashed rgba(208, 0, 255, 0.4);
}

.inner {
    width: 180px;
    height: 180px;
    animation: rotate 20s linear infinite;
    border: 1px solid rgba(0, 243, 255, 0.2);
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
}

/* Update center core */
.center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(10, 15, 26, 0.9);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4);
    z-index: 2;
}

.core-text {
    font-family: var(--font-tech);
    font-weight: 700;
    color: var(--accent-cyan);
    text-shadow: 0 0 5px var(--accent-cyan-glow);
    font-size: 1.3rem;
}

.hero-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.node-card {
    position: absolute;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid;
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: var(--transition);
    min-width: 160px;
}

.node-logo-wrapper {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 4px;
}

.node-logo {
    max-height: 100%;
    max-width: 120px;
    object-fit: contain;
}

.node-role {
    font-size: 0.85rem;
    color: var(--text-bright);
    display: block;
    opacity: 0.9;
    margin-top: 8px;
}

.el-1 {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15), inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.el-1 .node-name {
    color: var(--accent-cyan);
}

.el-1:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
}

.el-2 {
    bottom: -10px;
    left: -40px;
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(208, 0, 255, 0.15), inset 0 0 10px rgba(208, 0, 255, 0.1);
}

.el-2 .node-name {
    color: var(--accent-purple);
}

.el-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(208, 0, 255, 0.4);
}

.el-3 {
    bottom: -10px;
    right: -50px;
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.15), inset 0 0 10px rgba(255, 0, 85, 0.1);
}

.el-3 .node-name {
    color: var(--accent-pink);
}

.el-3:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 0, 85, 0.4);
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* About Section */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.lead-text {
    font-size: 1.3rem !important;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px !important;
    line-height: 1.8 !important;
}

.text-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-tech);
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 20px;
    border-bottom: 1px solid transparent;
}

.text-link:hover {
    border-bottom-color: var(--accent-cyan);
    padding-bottom: 2px;
}

.about-image {
    margin: 40px 0;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    padding: 40px 30px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2) inset;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    box-shadow: 0 0 20px var(--accent) inset, 0 0 10px var(--accent);
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-bright);
}

.feature-company {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Events Section */
.events-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.event-box {
    padding: 40px;
    border-radius: 12px;
    position: relative;
}

.neon-border {
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1), inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.event-badge {
    position: absolute;
    top: -12px;
    left: 40px;
    background: var(--accent-cyan);
    color: #000;
    font-family: var(--font-tech);
    font-weight: 700;
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.event-badge.past {
    background: var(--text-muted);
    color: var(--bg-dark);
    box-shadow: none;
}

.event-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-bright);
}

.event-details {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-details li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon {
    font-size: 1.2rem;
}

.event-text {
    margin-bottom: 24px;
    color: var(--text-main);
}

.notice {
    color: var(--accent-purple);
    font-family: var(--font-mono);
}

.event-image {
    margin: 20px 0 30px;
    text-align: center;
}

.event-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.maker-list {
    list-style: none;
    margin-top: 15px;
    margin-left: 20px;
}

.maker-list li {
    margin-bottom: 8px;
    position: relative;
}

.maker-list li::before {
    content: "▹";
    position: absolute;
    left: -20px;
    color: var(--accent-cyan);
}

.mt-4 {
    margin-top: 24px;
}

/* Call to Action Section */
.call-to-action {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(208, 0, 255, 0.1) 100%);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.cta-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.02) 0px,
            rgba(255, 255, 255, 0.02) 2px,
            transparent 2px,
            transparent 8px);
    z-index: 0;
}

.cta-container {
    max-width: 800px;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-bright);
    line-height: 1.3;
}

.cta-desc {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 243, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

.cta-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.project-seeds {
    padding: 40px 0;
}

.text-center {
    text-align: center;
}

.seed-btn {
    border-color: #4ade80;
    color: #4ade80;
}

.seed-btn:hover {
    background: rgba(74, 222, 128, 0.1);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

/* Footer */
.footer {
    background: #03050a;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-slogan {
    margin: 15px 0;
    color: var(--text-muted);
}

.footer-social {
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.contact-title {
    font-family: var(--font-tech);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-bright);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.email-link {
    font-family: var(--font-mono);
    color: var(--accent-cyan);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-catch {
        border-left: none;
        padding-left: 0;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .nav-links {
        display: none;
        /* simple mobile menu handling */
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .cyber-circle-container {
        transform: scale(0.65);
    }

    .el-2 {
        left: -10px;
    }

    .el-3 {
        right: -10px;
    }

    .node-card {
        padding: 12px 16px;
        min-width: 130px;
    }

    .node-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }

    .glass-card,
    .event-box,
    .feature-card {
        padding: 24px;
    }
}