:root {
    --color-bg: #0a0a0a;
    --color-bg-soft: #131318;
    --color-bg-card: #1a1a22;
    --color-surface: #ffffff;
    --color-fg: #ffffff;
    --color-fg-dark: #0a0a0a;
    --color-muted: #8a8a98;
    --color-muted-light: #a8a8b8;
    --color-accent: #00d4ff;
    --color-accent-soft: rgba(0, 212, 255, 0.12);
    --color-accent-dark: #0099bb;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-success: #21d07a;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif;
    --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-fg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--color-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.brand-dot { color: var(--color-accent); }
.global-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}
.global-nav a {
    font-size: 0.95rem;
    color: var(--color-muted-light);
    transition: color 0.2s;
}
.global-nav a:hover { color: var(--color-fg); }
.global-nav .nav-cta {
    display: inline-block;
    padding: 8px 18px;
    background: var(--color-accent);
    color: var(--color-fg-dark);
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}
.global-nav .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.25);
    color: var(--color-fg-dark);
}
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(180, 0, 255, 0.1), transparent 50%),
        var(--color-bg);
}
.hero-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 900px;
}
.hero-title .accent { color: var(--color-accent); }
.hero-desc {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--color-muted-light);
    max-width: 760px;
    margin-bottom: 40px;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-fg-dark);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.3);
}
.btn-ghost {
    background: transparent;
    color: var(--color-fg);
    border-color: var(--color-border);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===== Section ===== */
.section {
    padding: 100px 0;
}
.section-eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.section-desc {
    color: var(--color-muted-light);
    font-size: 1.05rem;
    max-width: 720px;
    margin-bottom: 60px;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: var(--shadow-lg);
}
.service-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-accent);
    background: var(--color-accent-soft);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    width: max-content;
}
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-card p {
    color: var(--color-muted-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}
.service-card-price {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 20px;
}
.service-card-price strong {
    color: var(--color-fg);
    font-size: 1.1rem;
    font-weight: 700;
}
.service-card-link {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.service-card-link:hover { gap: 12px; }

/* ===== Live Track ===== */
.live-track {
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 80px;
}
.live-track-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(33, 208, 122, 0.2);
    animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(33, 208, 122, 0.4); }
    100% { box-shadow: 0 0 0 12px rgba(33, 208, 122, 0); }
}
.live-track h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.live-track p {
    color: var(--color-muted-light);
    margin-bottom: 28px;
}
.live-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.live-stat {
    text-align: center;
    padding: 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
}
.live-stat-num {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 6px;
}
.live-stat-label {
    font-size: 0.85rem;
    color: var(--color-muted-light);
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(180, 0, 255, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    margin-top: 40px;
}
.cta-banner h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.cta-banner p {
    color: var(--color-muted-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Service Page ===== */
.service-hero {
    padding: 100px 0 60px;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.12), transparent 50%),
        var(--color-bg);
}
.service-hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.service-content {
    padding: 60px 0;
}
.service-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 48px 0 20px;
    letter-spacing: -0.01em;
}
.service-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 28px 0 12px;
}
.service-content p {
    color: var(--color-muted-light);
    margin-bottom: 16px;
    font-size: 1rem;
}
.service-content ul {
    margin: 16px 0 24px 1em;
}
.service-content li {
    color: var(--color-muted-light);
    margin-bottom: 8px;
    list-style: disc;
    margin-left: 1em;
}
.service-content li::marker { color: var(--color-accent); }

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.pricing-table th, .pricing-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}
.pricing-table th {
    background: var(--color-bg-soft);
    font-weight: 600;
    color: var(--color-fg);
}
.pricing-table td { color: var(--color-muted-light); }
.pricing-table tr:last-child td { border-bottom: 0; }

/* ===== Footer ===== */
.site-footer {
    background: var(--color-bg-soft);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 32px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.footer-tag, .footer-company {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.footer-company a { color: var(--color-accent); }
.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    color: var(--color-muted-light);
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul a {
    color: var(--color-muted-light);
    font-size: 0.92rem;
    transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--color-fg); }
.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--color-muted);
    font-size: 0.85rem;
}
.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-legal a {
    color: var(--color-muted);
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--color-fg); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .global-nav { display: none; }
    .global-nav.is-open {
        display: block;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-bg-soft);
        border-bottom: 1px solid var(--color-border);
        padding: 24px;
    }
    .global-nav.is-open ul {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 22px;
        padding: 0;
    }
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-fg);
        border-radius: 2px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero { padding: 80px 0 60px; }
    .section { padding: 60px 0; }
    .live-track { padding: 28px; }
    .cta-banner { padding: 40px 24px; }
}
