/* ============================================
   Pattern 16: Glass Morphism — prism
   SaaS / FinTech / すりガラスUI
   ============================================ */

/* ── Scroll Animation System ── */
.anim {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim.anim-up {
    transform: translateY(50px);
}

.anim.anim-left {
    transform: translateX(-60px);
}

.anim.anim-right {
    transform: translateX(60px);
}

.anim.anim-scale {
    transform: scale(0.9);
}

.anim.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.anim-delay-1 {
    transition-delay: 0.2s !important;
}

.anim-delay-2 {
    transition-delay: 0.4s !important;
}

.anim-delay-3 {
    transition-delay: 0.6s !important;
}

.anim-hero-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-hero-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --c-bg: #0A0A1A;
    --c-purple: #7C3AED;
    --c-blue: #3B82F6;
    --c-cyan: #06B6D4;
    --c-white: #fff;
    --c-muted: #94A3B8;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --f-display: "Inter", sans-serif;
    --f-body: "Noto Sans JP", "Inter", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-white);
    background: var(--c-bg);
    line-height: 1.9;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--f-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-white);
    background: linear-gradient(135deg, var(--c-purple), var(--c-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--c-white);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 30px 60px;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float-orb 10s ease-in-out infinite;
}

.hero-orb--1 {
    width: 500px;
    height: 500px;
    background: var(--c-purple);
    opacity: 0.3;
    top: -10%;
    left: -10%;
}

.hero-orb--2 {
    width: 400px;
    height: 400px;
    background: var(--c-blue);
    opacity: 0.2;
    bottom: 10%;
    right: -5%;
    animation-delay: 3s;
}

.hero-orb--3 {
    width: 300px;
    height: 300px;
    background: var(--c-cyan);
    opacity: 0.15;
    top: 40%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--c-cyan);
    margin-bottom: 25px;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--c-muted);
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-glass {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-glass--primary {
    background: linear-gradient(135deg, var(--c-purple), var(--c-blue));
    color: var(--c-white);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.btn-glass--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.btn-glass--outline {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--c-white);
}

.btn-glass--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-glass--large {
    padding: 18px 45px;
    font-size: 1rem;
}

.hero-preview {
    position: relative;
    z-index: 2;
    margin-top: 50px;
    max-width: 900px;
    width: 100%;
}

.preview-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ── Trust Bar ── */
.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--glass-border);
}

.trust-flex {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.trust-item {
    text-align: center;
}

.trust-num {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 700;
    display: block;
    background: linear-gradient(135deg, var(--c-purple), var(--c-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--c-muted);
}

/* ── Sections ── */
.section {
    padding: 90px 0;
}

.section--gradient {
    background: linear-gradient(170deg, #0F0F2E, #1A0A2E);
}

.section-title {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text .section-title {
    align-items: flex-start;
}

.sub-ja {
    font-family: var(--f-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--c-muted);
    letter-spacing: 0.1em;
    margin-top: 8px;
    display: block;
}

.section-title--light {
    color: var(--c-white);
    text-align: center;
}

/* ── About Split ── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--c-muted);
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--c-muted);
    border-bottom: 1px solid var(--glass-border);
}

.check-list li::before {
    content: '✓ ';
    color: var(--c-cyan);
    font-weight: 700;
}

.about-img img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ── Feature Cards ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-glass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 25px;
}

.feature-glass h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-glass p {
    font-size: 0.82rem;
    color: var(--c-muted);
}

/* ── Showcase Grid ── */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-item {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.4s;
    text-align: center;
}

.showcase-item:hover {
    border-color: var(--c-purple);
    transform: translateY(-5px);
}

.showcase-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.showcase-item span {
    display: block;
    padding: 15px;
    font-size: 0.85rem;
    color: var(--c-muted);
}

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-q {
    padding: 20px 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-q:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-family: var(--f-display);
    font-size: 1.5rem;
    color: var(--c-cyan);
    transition: transform 0.3s;
}

.faq-icon::before {
    content: '+';
}

details[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 25px 25px;
    color: var(--c-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ── Footer ── */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
}

.footer p {
    font-size: 0.7rem;
    color: var(--c-muted);
    margin-top: 10px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-split {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .trust-flex {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        display: none;
    }
}