/* ===== pote Design System — Shared CSS ===== */

:root {
    --bg-page: linear-gradient(180deg, #f0f5fd 0%, #ebeffe 20%, #efecfb 50%, #ebeffe 80%, #f0f5fd 100%);
    --bg-card: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #4A5568;
    --text-muted: #9CA3AF;
    --border: rgba(0, 0, 0, 0.06);
    --border-accent: rgba(59, 130, 246, 0.15);
    --gradient-accent: linear-gradient(135deg, #3080F0, #30A0F0, #A090F0);
    --accent: #3080F0;
    --accent-light: #30A0F0;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 12px 40px rgba(59, 130, 246, 0.1);
    --card-radius: 20px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-primary);
    background: var(--bg-page);
    background-attachment: fixed;
    line-height: 1.8;
    letter-spacing: 0.04em;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3 {
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(240, 244, 253, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 50;
    padding: 14px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 36px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-login-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.header-login-link:hover {
    color: var(--text-primary);
}

.header-mobile-actions {
    display: none;
}


.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: var(--text-primary);
}

.header-nav a.btn-gradient {
    color: #FFF;
}

.header-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 24px;
}

/* ===== Buttons ===== */
.btn-gradient {
    display: inline-block;
    background: var(--gradient-accent);
    color: #FFF;
    padding: 14px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(48, 128, 240, 0.25);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(48, 128, 240, 0.35);
}

.btn-ghost {
    display: inline-block;
    background: var(--bg-card);
    color: var(--accent);
    padding: 14px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border: 1px solid rgba(59, 130, 246, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(59, 130, 246, 0.06);
    transform: translateY(-2px);
}

.btn-header {
    padding: 10px 22px;
    font-size: 13px;
    border-radius: 100px;
    color: #FFF;
}

.header-nav a.btn-header:hover {
    color: #FFF;
}

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

/* ===== Section ===== */
.section-dark,
.section-light,
.section-light-2 {
    background: transparent;
    color: var(--text-primary);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 12px;
}

.section-label-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label-muted {
    color: var(--text-muted);
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 56px;
    letter-spacing: -0.02em;
}

.section-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.section-cta {
    text-align: center;
    margin-top: 56px;
}

/* ===== Footer ===== */
.footer {
    background: rgba(255, 255, 255, 0.4);
    color: var(--text-primary);
    padding: 56px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-copy {
    font-size: 11px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
}

.footer-brand-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s;
}

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

/* ===== Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===== Legal Pages ===== */
.legal-card {
    max-width: 800px;
    margin: 0 auto 80px;
    background: var(--bg-card);
    border: 6px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 48px 40px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.legal-content h1 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-content .legal-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p,
.legal-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.legal-content p {
    margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5em;
    margin-bottom: 16px;
}

.legal-content li {
    margin-bottom: 4px;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.legal-content th,
.legal-content td {
    padding: 14px 20px;
    border: 1px solid var(--border);
    font-size: 14px;
    text-align: left;
    line-height: 1.7;
}

.legal-content th {
    background: rgba(48, 128, 240, 0.04);
    font-weight: 700;
    white-space: nowrap;
    width: 180px;
    color: var(--text-primary);
}

.legal-content td {
    color: var(--text-secondary);
}

/* ===== Page Hero (small) ===== */
.page-hero {
    padding: 48px 0 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.pricing-card {
    background: var(--bg-card);
    border: 6px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.pricing-card.recommended {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(48, 128, 240, 0.15);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #FFF;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-plan-name {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pricing-price {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}

.pricing-price-unit {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-credits {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.pricing-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}

.pricing-feature-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-feature-list li i {
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.pricing-cta {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.pricing-cta-primary {
    background: var(--gradient-accent);
    color: #FFF;
    border: none;
    box-shadow: 0 4px 16px rgba(48, 128, 240, 0.25);
}

.pricing-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(48, 128, 240, 0.35);
}

.pricing-cta-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pricing-cta-secondary:hover {
    background: rgba(59, 130, 246, 0.06);
    transform: translateY(-2px);
}

/* ===== Credit Explanation ===== */
.credit-table {
    max-width: 600px;
    margin: 0 auto;
}

.credit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.credit-row:last-child {
    border-bottom: none;
}

.credit-label {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.credit-value {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

/* ===== Info Grid (Security / Company) ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 6px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.info-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 26px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.12);
    color: var(--accent);
}

.info-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(48, 128, 240, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s;
}

.contact-link-card:hover {
    background: rgba(48, 128, 240, 0.08);
}

.contact-link-card i {
    font-size: 20px;
    color: var(--accent);
}

/* ===== FAQ (shared) ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 6px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    font-family: inherit;
    transition: background 0.2s;
}

.faq-btn:hover {
    background: rgba(48, 128, 240, 0.03);
}

.faq-btn i {
    font-size: 18px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.open .faq-btn i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 28px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

    .header-nav-center {
        position: static;
        transform: none;
    }

    .header-actions {
        display: none;
    }

    .header-hamburger {
        display: block;
    }

    .header-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(240, 244, 253, 0.97);
        backdrop-filter: blur(20px);
        z-index: 100;
        justify-content: center;
        align-items: center;
        gap: 24px;
    }

    .header-nav.open a {
        font-size: 18px;
        color: var(--text-primary);
    }

    .header-nav.open .header-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }


    .section-dark,
    .section-light,
    .section-light-2 {
        padding: 64px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .btn-gradient,
    .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    /* Legal */
    .legal-card {
        padding: 32px 20px;
        margin: 0 16px 60px;
        border-width: 4px;
    }

    .legal-content {
        padding: 40px 20px 60px;
    }

    .legal-content h1 {
        font-size: 24px;
    }

    .legal-content th {
        width: 120px;
        font-size: 13px;
    }

    /* Page Hero */
    .page-hero h1 {
        font-size: 28px;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 60px;
    }

    .pricing-price {
        font-size: 32px;
    }

    /* Info Grid */
    .info-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
