﻿:root {
    --bg-main: #0a0f1c;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-jp);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden; background: #0a0f1c;
}
.glow-orb {
    position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}
.orb-1 {
    width: 50vw; height: 50vw; background: #0ea5e9; top: -10%; left: -10%;
}
.orb-2 {
    width: 40vw; height: 40vw; background: #3b82f6; bottom: -10%; right: -10%;
    animation-delay: -5s;
}
@keyframes drift {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(10vw, 15vh) scale(1.1); }
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.text-accent { color: var(--accent); }
.text-center { text-align: center; }

h1, h2, h3, .logo { font-family: var(--font-en); font-weight: 700; }
h1, h2, h3 { font-family: var(--font-jp); }

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Header */
.glass-header {
    position: fixed; top: 0; width: 100%;
    background: rgba(10, 15, 28, 0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border); z-index: 100;
}
.header-wrap { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; letter-spacing: 1px; }
.main-nav a { color: var(--text-main); text-decoration: none; margin-left: 2rem; font-weight: 500; transition: color 0.3s; }
.main-nav a:hover:not(.btn) { color: var(--accent); }

/* Buttons */
.btn {
    display: inline-block; padding: 0.8rem 2rem; border-radius: 50px;
    font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.3s; border: none; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); }
.btn-outline { background: transparent; border: 1px solid var(--glass-border); color: var(--text-main); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 1.2rem 3rem; font-size: 1.1rem; }
.btn-block { width: 100%; padding: 1.2rem; font-size: 1.1rem; }

/* Sections */
section { padding: 8rem 0; }

/* Hero */
.hero { margin-top: 100px; text-align: center; }
.hero-content { max-width: 900px; margin: 0 auto; }
.badge { display: inline-block; padding: 0.5rem 1rem; background: rgba(14, 165, 233, 0.1); color: var(--accent); border: 1px solid rgba(14, 165, 233, 0.3); border-radius: 30px; font-weight: 700; margin-bottom: 1.5rem; font-family: var(--font-en); letter-spacing: 1px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.3; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 700px; margin-inline: auto; }

/* Features */
.feature-flex { display: flex; align-items: center; gap: 4rem; }
.feature-image img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.feature-text { flex: 1; }
.feature-text h2 { font-size: 2.5rem; margin-bottom: 2rem; }
.bullet-list { list-style: none; }
.bullet-list li { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; align-items: flex-start; }
.bullet-list i { font-size: 1.5rem; margin-top: 0.3rem; }
.list-content strong { display: block; font-size: 1.2rem; margin-bottom: 0.3rem; }
.list-content span { color: var(--text-muted); font-size: 0.95rem; }

/* Steps */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.step-card { text-align: center; }
.icon-wrap { font-size: 2.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.step-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* About */
.about-box h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.about-box p { font-size: 1.1rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 1.5rem auto; }

/* Form */
.form-wrapper { max-width: 800px; margin: 0 auto; }
.form-wrapper h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.form-wrapper p { color: var(--text-muted); margin-bottom: 2rem; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.input-row:has(> input:only-child) { grid-template-columns: 1fr; }
input { width: 100%; padding: 1.2rem; background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); border-radius: 12px; color: #fff; font-family: var(--font-jp); font-size: 1rem; outline: none; transition: 0.3s; }
input:focus { border-color: var(--accent); }
.consent-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 2rem; }
.consent-row input { width: auto; margin-top: 0.4rem; }
.consent-row label { color: var(--text-muted); font-size: 0.9rem; }
.consent-row a { color: var(--accent); }
.hidden { display: none !important; }
.success-msg { margin-top: 1.5rem; padding: 1.5rem; background: rgba(16, 185, 129, 0.1); border: 1px solid #10b981; color: #34d399; border-radius: 12px; text-align: center; }

/* FAQ */
.faq h2 { font-size: 2.5rem; margin-bottom: 3rem; }
.accordion details { border-bottom: 1px solid var(--glass-border); padding: 1.5rem 0; }
.accordion details:last-child { border-bottom: none; }
.accordion summary { font-size: 1.2rem; font-weight: 700; cursor: pointer; list-style: none; outline: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion p { margin-top: 1rem; color: var(--text-muted); }

/* Footer */
footer { border-top: 1px solid var(--glass-border); padding: 4rem 0; background: rgba(0,0,0,0.5); }
.footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.brand-info p { color: var(--text-muted); margin: 0.5rem 0 1rem 0; }
.brand-info small { color: #64748b; }
.legal-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.8rem; transition: 0.3s; }
.legal-links a:hover { color: var(--accent); }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 90%; max-width: 600px;
    background: rgba(15, 23, 42, 0.95); border: 1px solid var(--glass-border); border-radius: 16px;
    padding: 1.5rem; z-index: 9999; backdrop-filter: blur(20px); display: flex; justify-content: space-between; align-items: center; gap: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.cookie-text p { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }
.cookie-text a { color: var(--accent); }

/* Legal Pages Overrides (Premium White Card) */
.legal-page { padding-top: 120px; padding-bottom: 80px; }
.legal-content { background: #ffffff; color: #0f172a; border-radius: 20px; padding: 4rem; box-shadow: 0 25px 50px rgba(0,0,0,0.3); }
.legal-content h1 { font-size: 2.5rem; margin-bottom: 2rem; color: #020617; border-bottom: 2px solid #e2e8f0; padding-bottom: 1rem; }
.legal-content h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; color: #1e293b; }
.legal-content p, .legal-content ul { font-size: 1rem; color: #475569; margin-bottom: 1.2rem; }
.legal-content ul { margin-left: 2rem; }

/* Responsive */
@media (max-width: 900px) {
    .feature-flex { flex-direction: column; }
    .feature-image { order: -1; }
}
@media (max-width: 768px) {
    .main-nav a:not(.btn) { display: none; }
    .input-row { grid-template-columns: 1fr; }
    .legal-content { padding: 2rem; }
    .cookie-banner { flex-direction: column; text-align: center; }
}
