/* ==============================================================================
   PAINTAZY Landing Page Design System & Styles
   ============================================================================== */

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

:root,
[data-theme="dark"] {
  --color-scheme: dark;
  --bg-dark: #0d0a17;
  --bg-surface: #151124;
  --bg-card: rgba(26, 20, 42, 0.75);
  --bg-card-hover: rgba(36, 28, 58, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-footer: #090710;
  --header-bg: rgba(13, 10, 23, 0.75);
  --header-scrolled-bg: rgba(13, 10, 23, 0.92);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.4);
  
  --primary-pink: #ff3388;
  --primary-pink-glow: rgba(255, 51, 136, 0.4);
  --accent-gold: #ffd23f;
  --accent-gold-glow: rgba(255, 210, 63, 0.35);
  --accent-cyan: #00f0ff;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-purple: #9d4edd;
  
  --text-main: #ffffff;
  --text-sub: #c4bcd8;
  --text-muted: #857b9e;
  
  --border-light: rgba(255, 255, 255, 0.12);
  --border-pink: rgba(255, 51, 136, 0.35);
  --border-gold: rgba(255, 210, 63, 0.3);
  
  --logo-gradient: linear-gradient(135deg, #ffffff 30%, var(--primary-pink) 100%);
  --hero-gradient-text: linear-gradient(135deg, #ffffff 20%, var(--primary-pink) 60%, var(--accent-gold) 100%);
  --phone-border: #332d44;
  --shadow-phone: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 45px -10px var(--primary-pink-glow);
  --tab-btn-bg: rgba(255, 255, 255, 0.05);
  --gallery-bg-gradient: linear-gradient(180deg, transparent, rgba(21, 17, 36, 0.6) 30%, transparent);
  --modal-dialog-bg: var(--bg-surface);
  --modal-close-bg: rgba(255, 255, 255, 0.08);
  --modal-close-color: #ffffff;
  --ambient-opacity: 0.45;
  --banner-cta-bg: linear-gradient(135deg, rgba(255, 51, 136, 0.2), rgba(157, 78, 221, 0.2) 60%, rgba(0, 240, 255, 0.15));
  
  --font-display: 'Lilita One', cursive;
  --font-logo: 'Fredoka', sans-serif;
  --font-body: 'Noto Sans JP', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Outfit', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(157, 78, 221, 0.15);
  --shadow-glow: 0 0 35px -5px var(--primary-pink-glow);
  --shadow-gold: 0 0 30px -5px var(--accent-gold-glow);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --color-scheme: light;
  --bg-dark: #f8f6fc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(120, 80, 160, 0.05);
  --bg-footer: #eeebf5;
  --header-bg: rgba(248, 246, 252, 0.88);
  --header-scrolled-bg: rgba(255, 255, 255, 0.96);
  --shadow-header: 0 4px 20px rgba(80, 50, 120, 0.08);
  
  --primary-pink: #e6196e;
  --primary-pink-glow: rgba(230, 25, 110, 0.25);
  --accent-gold: #c97a00;
  --accent-gold-glow: rgba(201, 122, 0, 0.22);
  --accent-cyan: #008f9c;
  --accent-cyan-glow: rgba(0, 143, 156, 0.22);
  --accent-purple: #7928ca;
  
  --text-main: #1d152b;
  --text-sub: #55486c;
  --text-muted: #827599;
  
  --border-light: rgba(120, 80, 160, 0.14);
  --border-pink: rgba(230, 25, 110, 0.35);
  --border-gold: rgba(201, 122, 0, 0.35);
  
  --logo-gradient: linear-gradient(135deg, #1d152b 30%, var(--primary-pink) 100%);
  --hero-gradient-text: linear-gradient(135deg, #1d152b 15%, var(--primary-pink) 65%, #c97a00 100%);
  --phone-border: #443c58;
  --shadow-phone: 0 25px 60px -15px rgba(60, 30, 90, 0.25), 0 0 35px -10px var(--primary-pink-glow);
  --tab-btn-bg: rgba(120, 80, 160, 0.06);
  --gallery-bg-gradient: linear-gradient(180deg, transparent, rgba(238, 235, 245, 0.7) 30%, transparent);
  --modal-dialog-bg: #ffffff;
  --modal-close-bg: rgba(0, 0, 0, 0.06);
  --modal-close-color: #1d152b;
  --ambient-opacity: 0.28;
  --banner-cta-bg: linear-gradient(135deg, rgba(230, 25, 110, 0.12), rgba(121, 40, 202, 0.12) 60%, rgba(0, 143, 156, 0.10));
  
  --shadow-card: 0 12px 35px -10px rgba(60, 30, 90, 0.08), 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 30px -5px var(--primary-pink-glow);
  --shadow-gold: 0 0 25px -5px var(--accent-gold-glow);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: var(--color-scheme, dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Light Orbs */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: var(--ambient-opacity, 0.45);
  will-change: transform;
}

.glow-1 {
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, var(--primary-pink), transparent 70%);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-2 {
  top: 40%;
  right: -150px;
  background: radial-gradient(circle, var(--accent-purple), transparent 70%);
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.glow-3 {
  bottom: 10%;
  left: 10%;
  background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
  animation: floatOrb 25s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Grid & Layout */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Sticky Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: var(--header-scrolled-bg);
  border-bottom-color: var(--border-pink);
  box-shadow: var(--shadow-header);
}

.site-header .container {
  max-width: 1320px;
}

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

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.header-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
}

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--primary-pink);
}

.nav-cta-btn {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--primary-pink), #c9184a);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px var(--primary-pink-glow);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 51, 136, 0.6);
}

/* Common Typography & Section Headers */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 51, 136, 0.12);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-pill);
  color: var(--primary-pink);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 48px auto;
}

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

/* ==============================================================================
   1. HERO SECTION
   ============================================================================== */
.hero-section {
  padding: 140px 0 90px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-edition-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 210, 63, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .gradient-text {
  background: var(--hero-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* ==========================================================================
   State-Aware CTA Button System
   ========================================================================== */

.cta-state-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* State Status Badge (Above Button) */
.btn-state-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.state-badge-beta {
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.4);
  color: #00f5d4;
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.25);
}

.state-badge-ended {
  background: rgba(139, 148, 158, 0.15);
  border: 1px solid rgba(139, 148, 158, 0.35);
  color: #9aa0a6;
}

.state-badge-release {
  background: rgba(66, 133, 244, 0.15);
  border: 1px solid rgba(66, 133, 244, 0.4);
  color: #8ab4f8;
  box-shadow: 0 0 14px rgba(66, 133, 244, 0.25);
}

/* Live Pulse Dot */
.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00f5d4;
  animation: status-pulse 1.8s infinite;
  display: inline-block;
}

@keyframes status-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.8);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(0, 245, 212, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 245, 212, 0);
  }
}

/* Base Store / CTA Button */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  min-width: 255px;
}

.btn-store-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.btn-store-sub {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.btn-store-main {
  display: block;
  font-family: var(--font-en), var(--font-base);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* 1. STATE: Closed Beta Recruiting (クローズドβ募集中 - Default) */
.btn-state-beta {
  background: linear-gradient(135deg, #180d2d 0%, #0d061a 100%);
  border: 1.5px solid rgba(0, 245, 212, 0.5);
  box-shadow: 0 8px 26px rgba(0, 245, 212, 0.25), 0 0 16px rgba(167, 119, 227, 0.2);
}

.btn-state-beta .btn-store-sub {
  color: #00f5d4;
}

.btn-state-beta:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #00f5d4;
  box-shadow: 0 14px 35px rgba(0, 245, 212, 0.45), 0 0 24px rgba(255, 64, 129, 0.35);
}

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

/* 2. STATE: Closed Beta Ended (クローズドβ募集終了) */
.btn-state-ended {
  background: #181b20;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #8b949e;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
  opacity: 0.85;
}

.btn-state-ended .btn-store-sub {
  color: #6e7681;
}

.btn-state-ended .btn-store-main {
  color: #8b949e;
}

.btn-state-ended:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 3. STATE: Store Release (ストアリリース) */
.btn-state-release {
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn-state-release .btn-store-sub {
  color: var(--text-muted);
}

.btn-state-release:hover {
  transform: translateY(-3px);
  border-color: #4285f4;
  box-shadow: 0 12px 30px rgba(66, 133, 244, 0.4);
}

/* Header Nav CTA State Modifiers */
.nav-cta-btn.nav-cta-beta {
  background: linear-gradient(135deg, #00f5d4, #a777e3);
  color: #0f0a1c !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 245, 212, 0.35);
}

.nav-cta-btn.nav-cta-beta:hover {
  box-shadow: 0 6px 22px rgba(0, 245, 212, 0.6);
  transform: translateY(-2px);
}

.nav-cta-btn.nav-cta-ended {
  background: #21262d;
  color: #8b949e !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.75;
}

.nav-cta-btn.nav-cta-ended:hover {
  transform: none;
  box-shadow: none;
}

.nav-cta-btn.nav-cta-release {
  background: linear-gradient(135deg, var(--primary-pink), #c9184a);
  color: #fff !important;
}

.nav-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #0f0a1c;
  display: inline-block;
  margin-right: 4px;
  animation: status-pulse 1.8s infinite;
}

/* Notification Toast */
.lp-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(22, 27, 34, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  color: #f0f6fc;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90%;
  text-align: center;
}

.lp-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Secondary Video Button */
.btn-video-teaser {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-video-teaser:hover {
  background: rgba(255, 51, 136, 0.15);
  border-color: var(--primary-pink);
  transform: translateY(-2px);
}

.play-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--primary-pink-glow);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item .check {
  color: #00e676;
  font-weight: 900;
}

/* Hero Phone Mockup */
.hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: #000;
  border-radius: 46px;
  padding: 12px;
  border: 4px solid var(--phone-border);
  box-shadow: var(--shadow-phone);
  position: relative;
  transform: rotateY(-6deg) rotateX(4deg);
  transition: var(--transition-normal);
}

.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.phone-screen img, .phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-speaker {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #000;
  border-radius: 12px;
  z-index: 10;
}

.hero-floating-card {
  position: absolute;
  bottom: 28px;
  left: -28px;
  background: rgba(22, 17, 36, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-pink);
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  animation: floatCard 4s ease-in-out infinite alternate;
}

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

.card-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-pink), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.card-stat-val {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--accent-gold);
}

.card-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==============================================================================
   2. CONCEPT SECTION
   ============================================================================== */
.concept-section {
  padding: 100px 0;
  position: relative;
}

.concept-banner-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.concept-banner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-pink), var(--accent-gold), var(--accent-cyan));
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.concept-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition-fast);
  position: relative;
}

.concept-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-pink);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 51, 136, 0.12);
  border: 1px solid var(--border-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
}

.concept-card:nth-child(2) .card-icon-wrap {
  background: rgba(255, 210, 63, 0.12);
  border-color: var(--border-gold);
}

.concept-card:nth-child(3) .card-icon-wrap {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--accent-cyan-glow);
}

.concept-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.concept-card-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ==============================================================================
   3. FEATURES SECTION
   ============================================================================== */
.features-section {
  padding: 100px 0;
  position: relative;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 100px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-block.reverse .feature-visual {
  order: -1;
}

.feature-num-badge {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--primary-pink);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.feature-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.98rem;
}

.feature-checklist .bullet-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 51, 136, 0.2);
  border: 1px solid var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--primary-pink);
}

.feature-visual {
  position: relative;
}

.feature-screenshot-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition-normal);
}

.feature-screenshot-wrap:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-pink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.feature-screenshot-wrap img {
  width: 100%;
  height: auto;
  display: block;
}



/* ==============================================================================
   4. GALLERY & VIDEO SHOWCASE
   ============================================================================== */
.gallery-section {
  padding: 100px 0;
  position: relative;
  background: var(--gallery-bg-gradient);
}

/* 15s Teaser Video Feature Box */
.teaser-video-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
  box-shadow: var(--shadow-card);
}

.video-player-frame {
  width: 100%;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  border: 2px solid var(--border-pink);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.video-player-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-teaser-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-pill-tag {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.video-teaser-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.video-timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.video-timeline-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.timeline-stamp {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
}

/* Gallery Filter Tabs */
.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 10px 22px;
  background: var(--tab-btn-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-pink);
  border-color: var(--primary-pink);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-pink-glow);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary-pink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(13, 10, 23, 0.95) 80%);
  display: flex;
  flex-direction: column;
}

.gallery-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.gallery-sub {
  font-size: 0.78rem;
  color: var(--accent-gold);
}

/* Gallery Video Card & Badge */
.gallery-video-item {
  position: relative;
  cursor: pointer;
}

.gallery-thumb.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(230, 25, 110, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(230, 25, 110, 0.4);
  z-index: 2;
  pointer-events: none;
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-video-badge {
  transform: scale(1.05);
  background: var(--primary-pink);
}

/* ==============================================================================
   5. APP INFO & SPEC
   ============================================================================== */
.info-section {
  padding: 80px 0;
  position: relative;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--border-light);
}

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

.info-table th {
  width: 28%;
  padding: 18px 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: left;
}

.info-table td {
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

/* Bottom Large CTA Banner */
.banner-cta-section {
  padding: 60px 0 100px 0;
}

.banner-cta-card {
  background: var(--banner-cta-bg);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.banner-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.banner-cta-desc {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 36px;
}

/* ==============================================================================
   6. FOOTER & PRIVACY POLICY MODAL
   ============================================================================== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Lightbox & Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  padding: 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--modal-dialog-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-normal);
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0) scale(1);
}

#image-modal .modal-dialog {
  max-width: 500px;
  padding: 20px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.modal-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  border: 2px solid var(--border-pink);
  display: block;
}

.modal-video {
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: var(--shadow-phone);
  background: #000;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--modal-close-bg);
  border: 1px solid var(--border-light);
  color: var(--modal-close-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-pink);
  border-color: var(--primary-pink);
}

/* Privacy Policy Content Inside Modal */
.policy-content {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.policy-content h2 {
  color: var(--text-main);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.policy-content h3 {
  color: var(--accent-gold);
  font-size: 1.15rem;
  margin: 24px 0 10px 0;
}

.policy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ==============================================================================
   Responsive Queries
   ============================================================================== */
@media (max-width: 1120px) {
  .header-nav {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.84rem;
  }
  .nav-cta-btn {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 900px) {
  /* 中画面でヘッダーが混雑する場合、フッターにもある補助リンクを非表示にして主要導線を守る */
  .nav-link[href="privacy.html"],
  .nav-link[href="#app-info"] {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }
  
  .hero-cta-group, .hero-trust-row {
    justify-content: center;
  }
  
  .hero-mockup-wrap {
    order: -1;
  }
  
  .concept-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-block, .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-block.reverse .feature-visual {
    order: 0;
  }
  
  .teaser-video-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .video-pill-tag {
    align-self: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .header-nav .nav-link {
    display: none;
  }
  
  .hero-section {
    padding-top: 100px;
  }
  
  .phone-mockup {
    width: 280px;
    height: 560px;
  }

  
  .concept-banner-card {
    padding: 32px 20px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==============================================================================
   Language Switcher
   ============================================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 4px;
  letter-spacing: 0.5px;
  margin-right: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-btn {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 2px 6px;
  border-radius: 10px;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
  box-shadow: 0 2px 8px rgba(255, 51, 136, 0.3);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.68rem;
  user-select: none;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-sub);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  border-color: var(--primary-pink);
  color: var(--text-main);
  transform: translateY(-1px);
}
.theme-toggle-btn .theme-icon {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.3s ease;
}
.theme-toggle-btn:hover .theme-icon {
  transform: rotate(15deg);
}
[data-theme="dark"] .icon-moon,
[data-theme="light"] .icon-sun {
  display: inline-block;
}
[data-theme="dark"] .icon-sun,
[data-theme="light"] .icon-moon {
  display: none;
}

/* Light Theme specific CTA refinement */
[data-theme="light"] .btn-state-beta {
  background: linear-gradient(135deg, #241442 0%, #150a28 100%);
  border: 1.5px solid #0096a6;
  box-shadow: 0 8px 24px rgba(36, 20, 66, 0.25), 0 0 16px rgba(0, 150, 166, 0.2);
}
[data-theme="light"] .btn-state-beta .btn-store-sub {
  color: #00e5c9;
}
[data-theme="light"] .hero-floating-card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(60, 30, 90, 0.12);
}
[data-theme="light"] .concept-card:hover {
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(60, 30, 90, 0.1);
}


