@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&family=Outfit:wght@300;400;700;900&display=swap');

:root {
  --bg-deep: #020617;
  --bg-surface: #0f172a;
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-glass-light: rgba(30, 41, 59, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.15);
  --gold-light: #fef3c7;
  --gold-main: #d4af37;
  --gold-dark: #b8860b;
  --emerald-main: #10b981;
  --emerald-dark: #059669;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-en: 'Outfit', 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
  --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-jp);
  font-weight: 900;
  line-height: 1.3;
}

.en-title {
  font-family: var(--font-en);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.gradient-text-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #6ee7b7 0%, var(--emerald-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
  position: relative;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  padding: 16px 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-main) 0%, var(--gold-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 100%);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  border: 1px solid var(--border-glass-light);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald-main) 0%, var(--emerald-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}
.btn-emerald:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
  filter: brightness(1.1);
}

/* --- Glassmorphism Cards --- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 32px;
  padding: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.glass-card:not(.premium):hover {
  transform: translateY(-12px) !important;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}

.glass-card:hover::before {
  left: 200%;
}

.glass-card.premium {
  background: var(--bg-glass-light);
  border: 1px solid var(--gold-main);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.2), var(--glow-gold);
  transform: scale(1.05);
  transform-origin: top center;
  z-index: 10;
}
.glass-card.premium:hover {
  transform: scale(1.05) translateY(-12px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.3), var(--glow-gold);
}

@media (max-width: 992px) {
  .glass-card.premium {
    transform: none;
  }
  .glass-card.premium:hover {
    transform: translateY(-8px);
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(2,6,23,0.3) 0%, rgba(2,6,23,0.95) 100%);
  z-index: -1;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-main);
  border-radius: 100px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  box-shadow: var(--glow-gold);
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-desc {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 48px;
  font-weight: 400;
}

/* --- Features / Problems --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.image-rounded {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  border: 1px solid var(--border-glass);
  position: relative;
  z-index: 1;
}

/* --- Pricing / Plans --- */
.plan-price {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 1rem;
  font-family: var(--font-jp);
  color: var(--text-muted);
  font-weight: 400;
}

.plan-list {
  list-style: none;
  margin-bottom: 32px;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-list li i {
  color: var(--gold-main);
  margin-top: 4px;
}

.plan-benefit {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border-glass);
  margin-bottom: 24px;
}

/* --- Comparison Table --- */
.table-wrapper {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.premium-table th {
  padding: 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-glass-light);
  background: rgba(255,255,255,0.02);
  font-size: 1.1rem;
  font-weight: 700;
}

.premium-table td {
  padding: 24px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.premium-table tr:last-child td {
  border-bottom: none;
}

.premium-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.premium-table .col-b {
  background: rgba(212, 175, 55, 0.05);
  color: var(--text-main);
  font-weight: 700;
}

/* --- Process --- */
.process-line {
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-main), rgba(212,175,55,0));
  z-index: 0;
}

.process-step {
  position: relative;
  padding-left: 96px;
  margin-bottom: 64px;
}

.process-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-en);
  color: var(--gold-main);
  box-shadow: var(--glow-gold);
  z-index: 2;
}

/* --- FAQ --- */
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold-main);
  border-radius: 2px;
}
.faq-icon::before { top: 11px; left: 0; width: 24px; height: 2px; }
.faq-icon::after { top: 0; left: 11px; width: 2px; height: 24px; transition: transform 0.3s ease; }

.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item.open .faq-question { color: var(--gold-main); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* --- Footer --- */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

/* --- Utilities & Animations --- */
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-64 { margin-bottom: 64px; }
.mt-64 { margin-top: 64px; }
.text-gold { color: var(--gold-main); }
.text-emerald { color: var(--emerald-main); }
.bg-glass { background: rgba(255,255,255,0.03); padding: 24px; border-radius: 16px; border: 1px solid var(--border-glass); }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-64 { gap: 64px; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.min-w-300 { min-width: 300px; }
