@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;900&family=JetBrains+Mono:wght@500&display=swap');

:root {
    --bg: #000000;
    --surface: #0a0a0a;
    --border: #1a1a1a;
    --border-hover: #333333;
    --text-high: #ffffff;
    --text-mid: #a0a0a0;
    --text-low: #4a4a4a;
    --accent: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-high);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* 背景装飾：NextHubらしい微細なグリッド */
.visual-wrapper {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
    opacity: 0.3;
}

.glow-light {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 40vh;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

/* ナビゲーション */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--text-low);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--text-high);
}

.nav-demo-link {
    background: var(--text-high);
    color: var(--bg) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
}

/* ヒーロー */
#hero {
    padding: 12rem 5% 8rem;
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-mid);
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    margin-bottom: 2rem;
}

.status-badge .dot {
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff00;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-low);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cta-area {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.cta-btn.primary {
    background: var(--text-high);
    color: var(--bg);
}

.cta-btn.secondary {
    border: 1px solid var(--border);
    color: var(--text-high);
}

.cta-btn.secondary:hover {
    border-color: var(--text-mid);
    background: rgba(255,255,255,0.05);
}

/* カードセクション */
#features {
    padding: 4rem 5% 10rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-low);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px; /* 境界線を細く見せる */
    background: var(--border);
    border: 1px solid var(--border);
}

.feature-card {
    background: var(--bg);
    padding: 3rem 2rem;
    position: relative;
    transition: 0.3s;
}

.feature-card:hover {
    background: var(--surface);
}

.card-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-low);
}

.icon-box {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-high);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* フッター */
footer {
    padding: 6rem 5%;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    color: var(--text-low);
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.75rem;
    color: var(--text-low);
}
