:root {
  --bg-primary: #0e0e10;
  --bg-secondary: #18181b;
  --bg-card: #1f1f23;
  --bg-card-hover: #26262c;
  --text-primary: #efeff1;
  --text-secondary: #adadb8;
  --text-muted: #848494;
  --accent: #9147ff;
  --accent-hover: #772ce8;
  --accent-soft: rgba(145, 71, 255, 0.15);
  --success: #00c853;
  --danger: #ff4444;
  --warning: #ffab00;
  --caution-bg: rgba(255, 171, 0, 0.08);
  --info-bg: rgba(145, 71, 255, 0.06);
  --warning-bg: rgba(255, 68, 68, 0.06);
  --border-color: #303032;
  --border-hover: #4a4a4e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Segoe UI', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

code {
  background: rgba(145, 71, 255, 0.15);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Consolas', 'Courier New', monospace;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.logo-icon {
  color: var(--accent);
  font-size: 20px;
}

.logo-text {
  font-size: 18px;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text-primary);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(145, 71, 255, 0.3);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(145, 71, 255, 0.4);
}
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font: inherit;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-toggle:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

.mobile-menu .lang-toggle {
  align-self: flex-start;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(14, 14, 16, 0.98);
  backdrop-filter: blur(12px);
  flex-direction: column;
  padding: 16px 32px;
  gap: 12px;
  z-index: 999;
  border-bottom: 1px solid var(--border-color);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

.mobile-menu .nav-cta {
  display: inline-block;
  text-align: center;
  margin-top: 8px;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 48px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  max-width: 540px;
  container-type: inline-size;
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(145, 71, 255, 0.25);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(22px, 4.4vw, 42px);
  font-size: clamp(18px, 7.2cqi, 46px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  width: fit-content;
  text-align: center;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.title-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.title-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: underlineExpand 1s ease 0.5s forwards;
}

@keyframes underlineExpand {
  to { width: 100%; }
}

.hero-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(145, 71, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(145, 71, 255, 0.45);
}

.btn-primary .btn-arrow {
  transition: transform var(--transition);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(145, 71, 255, 0.15);
}

.btn-large {
  padding: 18px 36px;
  font-size: 17px;
}
.hero-visual {
  flex: 1;
  max-width: 520px;
}

.mock-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.mock-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.mock-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.mock-body {
  display: flex;
  gap: 8px;
  padding: 10px;
  min-height: 260px;
}

.mock-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mock-widget-header {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.mock-chat {
  flex: 1;
}

.mock-chat-lines {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-chat-line {
  font-size: 12px;
  color: var(--text-secondary);
  animation: chatFadeIn 0.5s ease forwards;
  opacity: 0;
}

.mock-chat-line:nth-child(1) { animation-delay: 0.3s; }
.mock-chat-line:nth-child(2) { animation-delay: 0.6s; }
.mock-chat-line:nth-child(3) { animation-delay: 0.9s; }
.mock-chat-line:nth-child(4) { animation-delay: 1.2s; }
.mock-chat-line:nth-child(5) { animation-delay: 1.5s; }

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mock-user {
  font-weight: 700;
  margin-right: 4px;
}

.mock-user.u1 { color: #9147ff; }
.mock-user.u2 { color: #00c853; }
.mock-user.u3 { color: #ff6d00; }
.mock-user.u4 { color: #2979ff; }

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 170px;
}

.mock-density {
  flex: 1;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 10px 8px 8px;
  height: 80px;
}

.mock-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  transition: height 0.5s ease;
}

.pulse-bar {
  animation: barPulse 1.5s ease-in-out infinite alternate;
}

@keyframes barPulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.mock-trend {
  flex: 1;
}

.mock-trend-list {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-trend-item {
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-rank {
  color: var(--accent);
  font-weight: 700;
  font-size: 10px;
}

.mock-score {
  margin-left: auto;
  color: var(--success);
  font-size: 10px;
  font-weight: 600;
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 48px;
}
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--accent);
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.how-to-use {
  padding: 100px 0;
}

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  width: 280px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(145, 71, 255, 0.15);
}

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  border-radius: 50%;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(145, 71, 255, 0.35);
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  width: 48px;
  height: 2px;
  background: var(--border-color);
  flex-shrink: 0;
  align-self: center;
}
.operation-guide {
  margin-top: 24px;
}

.guide-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
  color: var(--text-primary);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.guide-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.guide-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.guide-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.notes {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.note-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.note-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.note-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.note-icon {
  font-size: 20px;
}

.note-icon { color: var(--accent); }

.note-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.note-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-card li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.note-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 32px;
}
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-brand .logo-icon {
  font-size: 16px;
}

.footer-note {
  font-size: 12px;
  color: var(--text-muted);
}
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    padding: 100px 24px 60px;
  }

  .hero-title {
    margin-inline: auto;
  }

  .hero-content {
    width: 100%;
    max-width: 600px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    width: 100%;
  }

  .features-grid,
  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-description br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .features-grid,
  .notes-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    gap: 0;
  }

  .step-card {
    width: 100%;
    max-width: 400px;
  }

  .step-connector {
    width: 2px;
    height: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-container {
    padding: 0 20px;
  }

  .mock-sidebar {
    width: 130px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .mock-body {
    flex-direction: column;
  }

  .mock-sidebar {
    width: 100%;
    flex-direction: row;
  }

  .mock-density,
  .mock-trend {
    flex: 1;
  }

}
.feature-card,
.step-card,
.note-card,
.guide-item {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mock-chat-line .mock-user.u2 {
  display: inline-block;
  background: rgba(145, 71, 255, 0.22);
  border-radius: 3px;
  padding: 0 5px;
  margin-right: 2px;
  font-size: 0.85em;
}
.mock-chat .mock-trend-list {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}
.logo-icon,
.feature-icon,
.guide-icon,
.note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { display: block; }
.feature-icon svg,
.guide-icon svg,
.note-icon svg { display: block; }
