:root {
    --bg-0: #040608;
    --bg-1: #0c1116;
    --bg-2: #111823;
    --card: #0f151d;
    --accent: #53fc18;
    --accent-strong: #3bc014;
    --text: #e7f7e9;
    --text-dim: #9ab3a0;
    --border: #1c252f;
    --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    --radius: 14px;
    --blur: 12px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    background:
        radial-gradient(circle at 20% 20%, rgba(83, 252, 24, 0.07), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(59, 192, 20, 0.05), transparent 40%),
        linear-gradient(160deg, #05080c 0%, #0b1016 40%, #0a0f14 100%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(5, 8, 12, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(var(--blur));
    z-index: 1000;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    color: var(--accent);
    background: rgba(83, 252, 24, 0.15);
    border: 1px solid rgba(83, 252, 24, 0.4);
    padding: 12px;
    border-radius: 12px;
    font-size: 20px;
}

.logo h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.02em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.side-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: 230px;
    background: rgba(5, 8, 12, 0.92);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 20px 16px;
    z-index: 950;
}

.side-nav h2 {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 12px;
    font-weight: 800;
    text-transform: none;
}

.side-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0 0 20px;
}

.side-nav ul + h2 {
    margin-top: 18px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.side-nav a i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}

.side-nav a:hover {
    color: var(--accent);
    background: rgba(83, 252, 24, 0.08);
    border-color: rgba(83, 252, 24, 0.2);
}

.side-nav a.active {
    color: var(--accent);
    background: rgba(83, 252, 24, 0.14);
    border-color: rgba(83, 252, 24, 0.35);
}

.x-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.x-link:hover {
    background: rgba(83, 252, 24, 0.1);
    border-color: rgba(83, 252, 24, 0.4);
    color: var(--accent);
    transform: translateY(-2px);
}

.x-link i {
    font-size: 18px;
}

/* メインコンチE��チE*/
main {
    padding-top: var(--header-height);
}

body.has-side-nav main {
    margin-left: 230px;
}

section {
    padding: 72px 40px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 960px;
    width: 100%;
}

.product-hero {
    min-height: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.screenshot-slider {
    background: rgba(15, 21, 29, 0.85);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.slides {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(83, 252, 24, 0.07), rgba(59, 192, 20, 0.05));
    aspect-ratio: 16 / 9;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(10px);
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(231, 247, 233, 0.35);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(83, 252, 24, 0.5);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.badge {
    display: inline-block;
    background: rgba(83, 252, 24, 0.12);
    border: 1px solid rgba(83, 252, 24, 0.3);
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    width: fit-content;
}

.product-name {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(120deg, var(--text) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-dim);
    font-size: 14px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.meta-label {
    color: var(--text);
    font-weight: 700;
}

.lead {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.8;
}

.feature-list.compact {
    gap: 10px;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.ghost-button:hover {
    border-color: rgba(83, 252, 24, 0.4);
    color: var(--accent);
    transform: translateY(-2px);
}

.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(83, 252, 24, 0.1), rgba(59, 192, 20, 0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(83, 252, 24, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
}

.product-image i {
    font-size: 120px;
    color: var(--accent);
    opacity: 0.3;
    position: relative;
    z-index: 1;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section-number {
    display: inline-block;
    background: rgba(83, 252, 24, 0.15);
    border: 1px solid rgba(83, 252, 24, 0.3);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    width: fit-content;
}

.product-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(120deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.product-description {
    color: var(--text-dim);
    font-size: 16px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 15px;
}

.features-list li i {
    color: var(--accent);
    font-size: 18px;
    width: 24px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #041104;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(83, 252, 24, 0.25);
    transition: all 0.3s ease;
    width: fit-content;
}

.download-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(83, 252, 24, 0.35);
}

.download-button i {
    font-size: 18px;
}

/* セクション背景のバリエーション */
section:nth-child(odd) {
    background: radial-gradient(circle at 70% 50%, rgba(83, 252, 24, 0.05), transparent 50%);
}

section:nth-child(even) {
    background: radial-gradient(circle at 30% 50%, rgba(59, 192, 20, 0.04), transparent 50%);
}

/* レスポンシチE*/
@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .header-right {
        gap: 10px;
    }

    .x-link {
        width: 40px;
        height: 40px;
    }

    section {
        padding: 60px 20px;
    }

    .product-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-title {
        font-size: 36px;
    }

    .product-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    body.has-side-nav main {
        margin-left: 0;
    }

    .side-nav {
        position: sticky;
        top: var(--header-height);
        width: auto;
        height: auto;
        background: rgba(5, 8, 12, 0.9);
        border-right: none;
        border-top: 1px solid var(--border);
        padding: 12px 16px;
        display: flex;
        align-items: center;
        overflow-x: auto;
        gap: 10px;
        scrollbar-width: thin;
        scrollbar-color: rgba(83, 252, 24, 0.4) rgba(255, 255, 255, 0.05);
        border-radius: 999px;
    }

    .side-nav::-webkit-scrollbar {
        height: 8px;
    }

    .side-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.04);
        border-radius: 999px;
    }

    .side-nav::-webkit-scrollbar-thumb {
        background: linear-gradient(120deg, var(--accent) 0%, var(--accent-strong) 100%);
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .side-nav::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(120deg, var(--accent-strong) 0%, var(--accent) 100%);
    }

    .side-nav h2 {
        margin: 0;
        white-space: nowrap;
    }

    .side-nav ul {
        flex-direction: row;
        gap: 10px;
        margin: 0;
    }

    .side-nav ul + h2 {
        margin-top: 0;
    }

    .side-nav a {
        white-space: nowrap;
        padding: 10px 14px;
        border: 1px solid var(--border);
    }
}
