:root {
    --bg: #0a0e1a;
    --bg2: #111827;
    --bg3: #1a2235;
    --border: #2a3548;
    --text: #e2e8f0;
    --text2: #94a3b8;
    --text3: #64748b;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.15);
    --accent: #a78bfa;
    --accent2: #22d3ee;
    --success: #22c55e;
    --warning: #f59e0b;
    --radius: 12px;
}

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

body {
    font-family: "Noto Sans JP", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    color: var(--text2);
    text-decoration: none;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg3);
}

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

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text2);
    transition: all 0.3s;
    border-radius: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 20px var(--primary-glow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg3);
    color: var(--text2);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    color: var(--text);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius);
}

/* Hero */
.hero {
    padding: 160px 10% 100px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 28px;
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--text2);
    margin-bottom: 36px;
    line-height: 1.9;
}

.hero-actions {
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text3);
}

/* Sections */
.section {
    padding: 80px 10%;
}

.section-dark {
    background: var(--bg2);
}

.section-inner {
    max-width: 100%;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-sub {
    text-align: center;
    color: var(--text2);
    font-size: 15px;
    margin-bottom: 48px;
}

/* Pain points */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.pain-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.pain-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pain-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.pain-card p {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.8;
}

/* Tool cards */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.tool-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
}

.tool-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.tool-ronpro::before {
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.tool-careerole::before {
    background: linear-gradient(90deg, var(--accent2), var(--success));
}

.tool-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
    transform: translateY(-4px);
}

.tool-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
}

.tool-careerole .tool-label {
    color: var(--accent2);
}

.tool-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.tool-desc {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 20px;
    line-height: 1.8;
}

.tool-features {
    list-style: none;
    margin-bottom: 28px;
}

.tool-features li {
    font-size: 13px;
    color: var(--text2);
    padding: 5px 0 5px 20px;
    position: relative;
}

.tool-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 12px;
}

/* Flow */
.flow-grid {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 40px;
}

.flow-step {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.flow-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.flow-step h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.flow-step p {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.7;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: var(--text3);
    font-size: 24px;
    padding-top: 50px;
    flex-shrink: 0;
}

/* Exam info */
.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.exam-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.exam-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.exam-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--accent);
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.exam-table th,
.exam-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.exam-table th {
    color: var(--text3);
    font-weight: 500;
    width: 90px;
    white-space: nowrap;
}

.exam-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text3);
    line-height: 1.7;
}

/* About */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 15px;
    color: var(--text2);
    margin-bottom: 16px;
    line-height: 2;
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 100px 10%;
    background: radial-gradient(ellipse at 50% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
}

.cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-sub {
    font-size: 15px;
    color: var(--text2);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 10%;
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text3);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 12px;
    color: var(--text3);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 12px 5%;
    }

    .hamburger {
        display: flex;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg2);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 8px 0;
    }

    .header-nav.is-open {
        display: flex;
    }

    .hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.is-open span:nth-child(2) { opacity: 0; }
    .hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .nav-link {
        padding: 12px 5%;
        border-radius: 0;
    }

    .hero {
        padding: 120px 5% 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-sub {
        font-size: 15px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-num {
        font-size: 22px;
    }

    .section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 22px;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 28px 24px;
    }

    .flow-grid {
        flex-direction: column;
    }

    .flow-arrow {
        padding-top: 0;
        justify-content: center;
        transform: rotate(90deg);
    }

    .cta-section {
        padding: 60px 5%;
    }

    .cta-title {
        font-size: 22px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-lg {
        width: 100%;
    }

    .footer {
        padding: 32px 5%;
    }

    .exam-grid {
        grid-template-columns: 1fr;
    }
}
