/* ========================================
   Morphica Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
  --primary-blue: #3A7BFD;
  --accent-violet: #6D4AFF;
  --bg-dark: #0F1117;
  --bg-card: #1A1D29;
  --bg-card-hover: #242936;
  --text-primary: #FFFFFF;
  --text-secondary: #C4C9D2;
  --text-muted: #8B92A5;
  --success: #00D9A3;
  --warning: #FFB800;
  --border: #2A2F3E;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;

  --container-width: 1200px;
  --section-padding: 100px;
  --section-padding-mobile: 60px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

strong {
  color: var(--primary-blue);
}

.sp-only {
  display: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
  color: var(--text-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 123, 253, 0.4);
}

.btn-download {
  display: inline-block;
}

.btn-download img {
  height: 54px;
  width: auto;
  transition: transform 0.3s ease;
}

.btn-download:hover img {
  transform: scale(1.05);
}

.btn-download.large img {
  height: 64px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.header-cta {
  padding: 10px 20px;
  font-size: 13px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.lang-option {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.lang-option.active {
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 140px 0 var(--section-padding);
  background: #12141c;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(0, 180, 120, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 85% 30%, rgba(180, 50, 100, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 50% 80%, rgba(58, 123, 253, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-right {
  flex: 1;
  text-align: center;
}

@media (min-width: 900px) {
  .hero-right {
    text-align: left;
    padding-left: 48px;
  }
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(58, 123, 253, 0.2) 0%, rgba(109, 74, 255, 0.2) 100%);
  border: 1px solid rgba(58, 123, 253, 0.3);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #B8C5E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 40px;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 46px;
  }
}

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

.hero-features {
  list-style: none;
  margin-bottom: 28px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

@media (min-width: 900px) {
  .hero-features li {
    justify-content: flex-start;
  }
}

.check-icon {
  color: var(--success);
  font-weight: bold;
}

/* Carousel */
.carousel-container {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .carousel-container {
    max-width: 420px;
  }
}

@media (min-width: 1200px) {
  .carousel-container {
    max-width: 480px;
  }
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: var(--text-secondary);
}

.carousel-dot.active {
  background: var(--primary-blue);
  width: 24px;
  border-radius: 4px;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 900px) {
  .hero-cta {
    align-items: flex-start;
  }
}

.hero-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(0, 217, 163, 0.1);
  border: 1px solid rgba(0, 217, 163, 0.3);
  border-radius: 24px;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
}

.offer-icon {
  font-size: 18px;
}

/* ========================================
   Social Proof Section
   ======================================== */
.social-proof {
  padding: 40px 0;
  background: linear-gradient(180deg, #0D0F14 0%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.proof-stat {
  text-align: center;
}

.proof-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

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

/* ========================================
   Common Section Styles
   ======================================== */
.section-title-fancy {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.title-decoration {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* ========================================
   Video Demo Section
   ======================================== */
.video-demo {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, #12141c 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.video-container {
  max-width: 350px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(58, 123, 253, 0.3),
    0 0 100px rgba(109, 74, 255, 0.2);
  position: relative;
}

.video-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-violet));
  border-radius: 26px;
  z-index: -1;
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.4);
}

.video-play-overlay:hover .play-button svg {
  transform: scale(1.1);
}

.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.play-button svg {
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .video-container {
    max-width: 400px;
  }
}

@media (min-width: 1200px) {
  .video-container {
    max-width: 450px;
  }
}

/* ========================================
   How it Works Section
   ======================================== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* グラスモーフィズム用の背景グロー */
.how-it-works::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(58, 123, 253, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.steps-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.step-card {
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px 28px 40px;
  text-align: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 背景のグロー効果 */
.step-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(58, 123, 253, 0.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 12px 24px rgba(58, 123, 253, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.step-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.5;
  text-shadow: 0 0 40px rgba(58, 123, 253, 0.3);
}

.step-icon {
  font-size: 56px;
  margin-bottom: 20px;
  display: block;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.step-arrow {
  font-size: 28px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .step-arrow {
    display: none;
  }
}

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, #0D1018 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

/* グラスモーフィズム用の背景グロー */
.features::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.features::after {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(58, 123, 253, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 背景のグロー効果 */
.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(109, 74, 255, 0.12) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 12px 24px rgba(109, 74, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(58, 123, 253, 0.2);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0D1018 100%);
  position: relative;
  overflow: hidden;
}

/* 背景グロー */
.gallery::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58, 123, 253, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* オーバーレイリビール カード */
.style-card {
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.style-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

/* オーバーレイグラデーション */
.style-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
  opacity: 0.7;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.style-card:hover::after {
  opacity: 1;
}

.style-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.4),
    0 0 30px rgba(58, 123, 253, 0.15);
}

.style-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.style-card:hover .style-image {
  transform: scale(1.1);
}

.style-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
}

.style-card:hover .style-info {
  transform: translateY(0);
  opacity: 1;
}

.style-name {
  font-size: 14px;
  font-weight: 600;
}

.style-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
  border-radius: 12px;
}

.gallery-more {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
  padding: 0 16px;
}

.more-icon {
  font-size: 20px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .gallery-more {
    font-size: 13px;
    flex-direction: column;
    gap: 4px;
  }

  .more-icon {
    font-size: 24px;
  }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

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

.testimonial-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 123, 253, 0.3);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-info {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, #0D1018 0%, var(--bg-dark) 100%);
}

.pricing-highlight {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing-free {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 40px;
  background: linear-gradient(135deg, rgba(58, 123, 253, 0.15) 0%, rgba(109, 74, 255, 0.15) 100%);
  border: 1px solid rgba(58, 123, 253, 0.4);
  border-radius: 20px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58, 123, 253, 0.3); }
  50% { box-shadow: 0 0 20px 10px rgba(58, 123, 253, 0.1); }
}

.pricing-free-icon {
  font-size: 36px;
}

.pricing-free-text {
  display: flex;
  flex-direction: column;
}

.pricing-free-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
}

.pricing-free-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.pricing-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.pricing-card.popular {
  border-color: var(--primary-blue);
  background: linear-gradient(180deg, rgba(58, 123, 253, 0.15) 0%, rgba(255,255,255,0.02) 100%);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-badge.deal {
  background: linear-gradient(135deg, var(--success) 0%, #00B388 100%);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.pricing-per {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.pricing-benefits {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.benefit-icon {
  color: var(--success);
  font-weight: bold;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

/* 背景グロー */
.faq::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(58, 123, 253, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.faq::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(109, 74, 255, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* 左側のアクセントライン */
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-blue), var(--accent-violet));
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-violet));
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 34px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, #0D1018 0%, #1a1a2e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(58, 123, 253, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #B8C5E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 60px 0 40px;
  background: #080A0F;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 32px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .sp-only {
    display: inline;
  }

  .header-right {
    gap: 10px;
  }

  .lang-toggle {
    padding: 4px 6px;
  }

  .lang-option {
    font-size: 11px;
    padding: 3px 6px;
  }

  .header-cta {
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero {
    padding: 120px 0 var(--section-padding);
  }

  .hero-title {
    font-size: 28px;
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .carousel-container {
    max-width: 100%;
  }

  .hero-left {
    width: 100%;
  }

  .hero-features li {
    justify-content: center;
  }

  .proof-stats {
    gap: 24px;
  }

  .proof-number {
    font-size: 28px;
  }

  .proof-divider {
    display: none;
  }

  .section-title-fancy {
    font-size: 24px;
  }

  .section-desc {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }

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

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

  .feature-card {
    padding: 28px 24px;
  }

  .feature-number {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 400px;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .pricing-benefits {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .cta-title {
    font-size: 26px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}

/* Very small screens (375px and below) */
@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }

  .header {
    padding: 10px 0;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 15px;
  }

  .logo {
    gap: 6px;
  }

  .header-right {
    gap: 6px;
  }

  .lang-toggle {
    padding: 3px 4px;
    gap: 2px;
  }

  .lang-option {
    font-size: 10px;
    padding: 2px 4px;
  }

  .header-cta {
    padding: 6px 10px;
    font-size: 10px;
  }
}
