@charset "UTF-8";
/* System.css で定義されたトークンを活用した全体スタイル */

/* =========================================================================
   Layout Utilities
   ========================================================================= */
.layout-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 32px;
}

/* =========================================================================
   Landing Page / Auth UI
   ========================================================================= */
.landing-page {
    position: relative;
    overflow-x: hidden;
}

.landing-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #111 0%, var(--c-bg) 100%);
}

.glow-orb {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--c-badge-verified);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--c-badge-founder);
    bottom: -200px;
    right: -200px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

.reveal-anim {
    animation: revealUp var(--dur-slow) var(--ease-smooth) forwards;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   Abstract Background
   ========================================================================= */
.ambient-glow {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.12), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.12), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 60%);
    filter: blur(80px);
    z-index: -2;
    pointer-events: none;
    animation: slow-pulse 10s ease-in-out infinite alternate;
}

@keyframes slow-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    mask-image: radial-gradient(circle at 50% 10%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 10%, black, transparent 75%);
}

/* =========================================================================
   Navigation
   ========================================================================= */
.landing-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container .logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: var(--space-4);
    align-items: center;
}

.nav-link {
    color: var(--c-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--c-text-primary);
    opacity: 1;
}

.btn-sm {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    background: #fff;
    color: #000;
    font-size: 0.85rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

/* Language Select */
.lang-select-wrapper {
    position: relative;
}

.lang-switch {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--c-text-primary);
    padding: 8px 32px 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    outline: none;
}

.lang-switch:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-switch:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.05);
}

.lang-switch option {
    background: #1a1a1a;
    color: #fff;
    padding: 8px;
}

/* =========================================================================
   Landing Main
   ========================================================================= */
.landing-main {
    padding-top: 100px;
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero-section {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-6);
    gap: 80px;
}

.hero-content {
    flex: 1.2;
    padding-right: 40px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: var(--space-4);
    letter-spacing: -2.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--c-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    max-width: 500px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.f-item {
    color: var(--c-text-secondary);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--c-success);
    font-weight: 700;
}

/* =========================================================================
   Auth Box
   ========================================================================= */
.hero-auth {
    flex: 1;
    display: flex;
    justify-content: center;
}

.premium-glow {
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 2px rgba(255, 255, 255, 0.05) inset;
    background: rgba(15, 15, 15, 0.4);
}

.premium-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    pointer-events: none;
}

.auth-box {
    width: 100%;
    max-width: 400px;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.auth-header {
    text-align: center;
}

.auth-logo-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-2);
    color: var(--c-text-secondary);
}

.auth-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Google Sign-In Button */
.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background: #ffffff;
    color: #1f1f1f;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease-snappy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.google-signin-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(234, 67, 53, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.google-signin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.12);
}

.google-signin-btn:hover::after {
    opacity: 1;
}

.google-signin-btn:active {
    transform: translateY(0);
}

.google-signin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.google-icon {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.google-signin-btn .btn-text {
    position: relative;
    z-index: 1;
}

.auth-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--c-text-muted);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--c-text-muted);
    letter-spacing: 1.5px;
}

.auth-invite-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--c-text-secondary);
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
}

/* =========================================================================
   Input Groups (shared auth / setup)
   ========================================================================= */
.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.input-group label {
    font-size: var(--font-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--c-text-secondary);
}

.input-group input {
    width: 100%;
    padding: var(--space-2);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text-primary);
    font-family: inherit;
    font-size: var(--font-base);
    transition: border-color var(--dur-fast) var(--ease-snappy);
}

.input-group input:focus {
    outline: none;
    border-color: var(--c-accent);
}

.error-msg {
    color: var(--c-error);
    font-size: var(--font-sm);
    min-height: 20px;
}

.glow-input {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(0, 0, 0, 0.8) !important;
}

.glow-btn {
    background: linear-gradient(135deg, #ffffff 0%, #e4e4e7 100%);
    color: #000;
    text-shadow: none;
    border: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    padding: 14px;
}

.glow-btn:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.url-input-landing {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--dur-fast);
}

.url-input-landing:focus-within {
    border-color: var(--c-accent);
}

.url-prefix {
    padding: var(--space-2) 0 var(--space-2) var(--space-2);
    color: var(--c-text-muted);
    font-size: var(--font-base);
    font-weight: 500;
    user-select: none;
}

.url-input-landing input {
    border: none !important;
    background: transparent !important;
    padding-left: 4px !important;
    font-weight: 600;
}

/* =========================================================================
   Feature Cards Section
   ========================================================================= */
.showcase-section {
    padding: 120px var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-text {
    margin-bottom: 60px;
}

.showcase-text .section-title,
.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--c-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: rgba(20, 20, 22, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s var(--ease-snappy), background 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(25, 25, 28, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--c-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================================================
   How It Works Section
   ========================================================================= */
.hiw-section {
    padding: 120px var(--space-6);
    max-width: 1000px;
    margin: 0 auto;
}

.hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
}

.hiw-step {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: rgba(15, 15, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-snappy), border-color 0.3s;
}

.hiw-step:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.12);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: -2px;
    flex-shrink: 0;
    width: 60px;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-content p {
    color: var(--c-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.step-icon {
    color: var(--c-text-muted);
    flex-shrink: 0;
    opacity: 0.5;
}

.hiw-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    margin-left: 60px;
    flex-shrink: 0;
}

/* =========================================================================
   Trust Section
   ========================================================================= */
.trust-section {
    padding: 120px var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-card {
    text-align: center;
    padding: 36px 20px;
    background: rgba(15, 15, 18, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-snappy), border-color 0.3s;
}

.trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.trust-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.trust-card p {
    color: var(--c-text-muted);
    font-size: 0.85rem;
}

/* =========================================================================
   Footer
   ========================================================================= */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px var(--space-6) 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--c-text-secondary);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--c-text-primary);
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.footer-bottom p {
    color: var(--c-text-muted);
    font-size: 0.8rem;
}

/* =========================================================================
   Setup Modal
   ========================================================================= */
.setup-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.setup-modal {
    width: 100%;
    max-width: 440px;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    animation: revealUp 0.4s var(--ease-smooth) forwards;
}

.setup-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.setup-subtitle {
    text-align: center;
    color: var(--c-text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-1);
}

.setup-modal form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* =========================================================================
   Toast Notification
   ========================================================================= */
.landing-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    backdrop-filter: blur(10px);
}

.toast-error {
    background: rgba(255, 77, 77, 0.15);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff6b6b;
}

.toast-info {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--c-text-primary);
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        padding-top: 40px;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .features-list {
        align-items: center;
    }

    .hero-auth {
        width: 100%;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1.5px;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links .nav-link {
        display: none;
    }

    .hiw-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        width: auto;
    }

    .hiw-connector {
        margin-left: auto;
        margin-right: auto;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}