/* ===== FLINEO - Global Styles ===== */
:root {
  --neon-blue: #00f0ff;
  --neon-purple: #bf00ff;
  --neon-pink: #ff006e;
  --bg-dark: #050510;
  --bg-darker: #0a0a1a;
  --bg-card: rgba(10,10,30,0.6);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.5);
  --border-subtle: rgba(0,240,255,0.1);
  --border-accent: rgba(0,240,255,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-primary); background: var(--bg-dark); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
.heading-xl { font-family: 'Orbitron', sans-serif; font-size: clamp(48px, 10vw, 100px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
.heading-lg { font-family: 'Orbitron', sans-serif; font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1.2; }
.heading-md { font-family: 'Orbitron', sans-serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.3; }
.heading-sm { font-family: 'Orbitron', sans-serif; font-size: clamp(20px, 3vw, 28px); font-weight: 600; line-height: 1.4; }
.heading-xs { font-family: 'Orbitron', sans-serif; font-size: 18px; font-weight: 600; line-height: 1.5; }
.label { font-family: 'Orbitron', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--neon-purple); display: block; margin-bottom: 16px; }
.body-lg { font-size: 18px; line-height: 1.8; color: var(--text-secondary); }
.body-md { font-size: 16px; line-height: 1.8; color: var(--text-muted); }
.body-sm { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.text-center { text-align: center; }
.text-gradient { background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes neonPulse { 0%, 100% { box-shadow: 0 0 20px var(--neon-blue), 0 0 40px var(--neon-blue); } 50% { box-shadow: 0 0 40px var(--neon-blue), 0 0 80px var(--neon-blue); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 40px; border-radius: 6px; font-family: 'Orbitron', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--neon-blue), #0080ff); color: #000; box-shadow: 0 4px 20px rgba(0,240,255,0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,240,255,0.5); }
.btn-secondary { background: transparent; color: var(--neon-blue); border: 2px solid var(--neon-blue); }
.btn-secondary:hover { background: rgba(0,240,255,0.1); box-shadow: 0 0 20px rgba(0,240,255,0.3); }
.btn-lg { padding: 20px 50px; font-size: 16px; }
.btn-sm { padding: 12px 28px; font-size: 12px; }

/* ===== NAVIGATION ===== */
.nav { position: fixed; top: 0; width: 100%; background: rgba(5,5,16,0.95); backdrop-filter: blur(20px); z-index: 1000; border-bottom: 1px solid var(--border-subtle); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 36px; width: 36px; border-radius: 10px; box-shadow: 0 0 20px rgba(0,240,255,0.4); }
.nav-logo span { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 800; color: #fff; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-muted); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s; padding: 8px 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--neon-blue); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--neon-blue); }
.nav-cta { display: flex; gap: 16px; }

/* ===== SECTIONS ===== */
.section-xl { padding: 180px 0; }
.section-lg { padding: 140px 0; }
.section-md { padding: 100px 0; }
.section-sm { padding: 80px 0; }
.section-header { max-width: 700px; margin: 0 auto 80px; text-align: center; }
.section-header h1, .section-header h2 { margin-bottom: 20px; }

/* ===== PAGE HERO ===== */
.page-hero { padding: 180px 0 100px; background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 50%; left: 50%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,240,255,0.06) 0%, transparent 70%); transform: translate(-50%, -50%); }
.page-hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.page-hero h1 { margin-bottom: 24px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 100px 0 20px; background: var(--bg-dark); }
.breadcrumb-list { display: flex; align-items: center; gap: 12px; list-style: none; font-size: 13px; }
.breadcrumb-list a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb-list a:hover { color: var(--neon-blue); }
.breadcrumb-list span { color: var(--text-muted); }
.breadcrumb-list .current { color: var(--neon-blue); }

/* ===== CARDS ===== */
.card { background: var(--bg-card); border-radius: 24px; padding: 48px 36px; border: 1px solid var(--border-subtle); transition: all 0.4s ease; }
.card:hover { transform: translateY(-8px); border-color: var(--border-accent); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,240,255,0.1); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card-icon { font-size: 56px; margin-bottom: 28px; display: block; }
.card h3 { margin-bottom: 16px; color: #fff; }

/* ===== FEATURE DETAIL ===== */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.detail-grid.reverse { direction: rtl; }
.detail-grid.reverse > * { direction: ltr; }
.detail-visual { background: var(--bg-card); border-radius: 32px; padding: 60px; border: 1px solid rgba(0,240,255,0.15); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.detail-visual-inner { text-align: center; }
.detail-visual .icon { font-size: 140px; margin-bottom: 24px; display: block; filter: drop-shadow(0 0 30px rgba(0,240,255,0.4)); }
.detail-visual .icon-label { font-family: 'Orbitron', sans-serif; font-size: 14px; color: var(--neon-blue); letter-spacing: 4px; text-transform: uppercase; }
.detail-content h1, .detail-content h2 { margin-bottom: 24px; }
.detail-content > p { margin-bottom: 36px; }
.detail-list { list-style: none; margin-bottom: 40px; }
.detail-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); font-size: 15px; color: rgba(255,255,255,0.8); }
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before { content: '▶'; color: var(--neon-blue); font-size: 10px; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 48px 24px; background: rgba(10,10,30,0.4); border-radius: 20px; border: 1px solid var(--border-subtle); transition: all 0.3s ease; }
.step-card:hover { border-color: var(--border-accent); background: rgba(10,10,30,0.6); }
.step-number { width: 80px; height: 80px; background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-family: 'Orbitron', sans-serif; font-size: 32px; font-weight: 800; color: #fff; box-shadow: 0 8px 30px rgba(0,240,255,0.3); }
.step-card h3, .step-card h4 { margin-bottom: 12px; color: #fff; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-card); border-radius: 16px; padding: 28px 36px; border: 1px solid var(--border-subtle); transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(0,240,255,0.2); }
.faq-item h3 { font-family: 'Orbitron', sans-serif; font-size: 15px; color: var(--neon-blue); margin-bottom: 12px; }
.faq-item p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }

/* ===== COMPANY TABLE ===== */
.company-table { background: rgba(10,10,30,0.4); border-radius: 20px; overflow: hidden; border: 1px solid var(--border-subtle); }
.company-row { display: flex; border-bottom: 1px solid rgba(0,240,255,0.08); transition: background 0.3s ease; }
.company-row:last-child { border-bottom: none; }
.company-row:hover { background: rgba(0,240,255,0.03); }
.company-label { width: 200px; padding: 24px 32px; font-family: 'Orbitron', sans-serif; font-size: 12px; color: var(--neon-blue); letter-spacing: 1px; text-transform: uppercase; }
.company-value { flex: 1; padding: 24px 32px; font-size: 15px; color: rgba(255,255,255,0.8); }
.company-value a { color: var(--neon-blue); text-decoration: none; }

/* ===== CTA ===== */
.cta-section { position: relative; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,240,255,0.06) 0%, transparent 70%); transform: translate(-50%, -50%); }
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; text-align: center; }
.cta-content h2 { margin-bottom: 24px; }
.cta-content p { margin-bottom: 48px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { padding: 48px 0; background: var(--bg-dark); border-top: 1px solid var(--border-subtle); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 1px; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; transition: all 0.3s; }
.footer-links a:hover { color: var(--neon-blue); }

/* ===== INTERNAL LINKS ===== */
.internal-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 60px; }
.internal-link { display: flex; align-items: center; gap: 20px; padding: 24px 32px; background: var(--bg-card); border-radius: 16px; border: 1px solid var(--border-subtle); text-decoration: none; transition: all 0.3s; }
.internal-link:hover { border-color: var(--border-accent); transform: translateX(8px); }
.internal-link .arrow { font-size: 24px; color: var(--neon-blue); }
.internal-link-content h4 { font-family: 'Orbitron', sans-serif; font-size: 14px; color: #fff; margin-bottom: 4px; }
.internal-link-content p { font-size: 12px; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .detail-grid { grid-template-columns: 1fr; gap: 60px; }
  .detail-grid.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .internal-links { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .company-row { flex-direction: column; }
  .company-label { width: 100%; padding-bottom: 8px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
