/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --black-light: #111111;
  --black-card: #141414;
  --black-border: #1f1f1f;
  --gold: #d4af37;
  --gold-light: #ffd700;
  --gold-dark: #b8960c;
  --white: #ffffff;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  background: var(--black);
  color: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.gold {
  color: var(--gold);
}

.gold-gradient {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATIONS ===== */
.js-ready .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.2); }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--black-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.5rem;
}

.logo-text {
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.65em;
  color: var(--gray-light);
  letter-spacing: 1px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

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

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.badge-icon-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-company {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 36px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 16px 32px;
}

.price-label {
  font-size: 1rem;
  color: var(--gray-light);
}

.price-amount {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--black-border);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-indicator span {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--gray-light);
  font-size: 1rem;
}

/* ===== PROBLEMS ===== */
.problems {
  background: var(--black-light);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}

.problem-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.problem-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(212, 175, 55, 0.1);
}

.problem-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
}

.problems-arrow {
  text-align: center;
}

.arrow-down {
  margin-bottom: 16px;
  animation: float 2s ease-in-out infinite;
}

.problems-solution {
  font-size: 1.4rem;
  font-weight: 900;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.1);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.feature-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* ===== FLOW ===== */
.flow {
  background: var(--black-light);
}

.flow-steps {
  max-width: 700px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number span {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--black);
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  margin-top: 4px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
}

.flow-connector {
  display: flex;
  justify-content: center;
  padding-left: 31px;
}

/* ===== PRICING ===== */
.pricing-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-item {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: all 0.3s;
}

.pricing-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.pricing-item-price {
  flex-shrink: 0;
  min-width: 180px;
  text-align: center;
}

.pricing-item-price .price-num {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  display: block;
}

.pricing-item-price .price-unit {
  font-size: 0.85rem;
  color: var(--gray-light);
}

.pricing-item-apps {
  list-style: none;
  flex: 1;
}

.pricing-item-apps li {
  padding: 6px 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-item-apps li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--gray);
}

@media (max-width: 768px) {
  .pricing-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .pricing-item-price {
    min-width: auto;
  }

  .pricing-item-apps li {
    justify-content: center;
  }
}

/* ===== FAQ ===== */
.faq {
  background: var(--black-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--black-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(212, 175, 55, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--black-card);
  border: none;
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 20px;
  padding: 48px 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-light);
}

.required {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--black);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--black-border);
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 32px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--black-border);
  }

  .nav-links.active {
    right: 0;
  }

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

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

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

  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 32px 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }

  .flow-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .flow-connector {
    padding-left: 0;
  }

  section {
    padding: 70px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-price {
    padding: 12px 24px;
  }

  .price-amount {
    font-size: 2.2rem;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }
}
