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

:root {
  --bg-dark: #070913;
  --bg-dark-gray: #0f1225;
  --bg-glass: rgba(15, 18, 37, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(198, 255, 61, 0.2);
  
  --color-primary: #c6ff3d; /* Pickle Lime */
  --color-secondary: #ff7a45; /* Coral Orange */
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-text-dark: #070913;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-neon-cyan: 0 0 15px rgba(198, 255, 61, 0.35);
  --shadow-neon-volt: 0 0 15px rgba(255, 122, 69, 0.35);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-wrapper {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-gradient-cyan-volt {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-white {
  background: linear-gradient(to bottom, #ffffff, #a3a3a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Gradients & Glows */
.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(198, 255, 61, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 122, 69, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(7, 9, 19, 0.75);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  width: 8px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 4px;
  display: inline-block;
  transform: rotate(15deg);
  box-shadow: var(--shadow-neon-cyan);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #9ae600 100%);
  color: var(--color-text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-neon-cyan);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(198, 255, 61, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background: rgba(198, 255, 61, 0.1);
  box-shadow: var(--shadow-neon-cyan);
}

/* Sections */
section {
  position: relative;
  padding: 6rem 2rem;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  min-width: 0;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 8rem;
  display: flex;
  align-items: center;
  min-height: 90vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(198, 255, 61, 0.1);
  border: 1px solid rgba(198, 255, 61, 0.3);
  color: var(--color-primary);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  box-shadow: inset 0 0 10px rgba(198, 255, 61, 0.1);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 540px;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.store-badge:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(198, 255, 61, 0.15);
}

.store-badge svg {
  width: 24px;
  height: 24px;
}

.store-badge .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge .store-text span {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.store-badge .store-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Floating App Mockup (Hero) */
.hero-mockup-container {
  position: relative;
  width: 320px;
  height: 600px;
  perspective: 1000px;
}

/* Interactive Device Frame */
.device-frame {
  width: 100%;
  height: 100%;
  background: #151a30;
  border: 11px solid #1e2540;
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 
              0 0 40px rgba(198, 255, 61, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: float 6s ease-in-out infinite;
}

.device-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  background: #1e2540;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 100;
}

.device-screen {
  flex: 1;
  background: var(--bg-dark);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  font-size: 0.85rem;
  overflow-y: auto;
}

/* Concept Cards */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.card-glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(198, 255, 61, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.card-glass:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-glow);
  box-shadow: 0 12px 30px rgba(198, 255, 61, 0.05);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(198, 255, 61, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  box-shadow: inset 0 0 10px rgba(198, 255, 61, 0.1);
}

.card-icon.yellow {
  color: var(--color-secondary);
  background: rgba(255, 122, 69, 0.1);
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card-description {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Featured Player Section */
.featured-section {
  background: radial-gradient(100% 100% at 50% 0%, rgba(15, 18, 37, 0.4) 0%, transparent 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.player-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

/* Left side: Hiraoka Nobuo profile card */
.player-profile-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  max-width: 100%;
}

.player-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  background: var(--bg-dark-gray);
  margin-bottom: 2rem;
  aspect-ratio: 1 / 1.1;
}

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

.player-achievement-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-secondary);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-achievement-badge svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

.player-achievement-badge span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.player-info-meta h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.player-title {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.player-bio {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.achievement-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Right side: Interactive Peek Experience */
.interactive-mockup-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
  min-width: 0;
}

.phone-card {
  background: #14172c;
  border: 12px solid #202547;
  border-radius: 48px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
              0 0 50px rgba(255, 122, 69, 0.1);
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 18.5;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.phone-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  font-size: 0.75rem;
  color: #fff;
  z-index: 100;
}

.phone-time {
  font-weight: 600;
}

.phone-status-icons {
  display: flex;
  gap: 0.3rem;
}

.phone-screen {
  height: 100%;
  padding: 44px 1.25rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  background: var(--bg-dark);
  min-width: 0;
  max-width: 100%;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-glass);
}

.app-bar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  overflow: hidden;
}

.app-bar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-bar-info {
  display: flex;
  flex-direction: column;
}

.app-bar-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.app-bar-status {
  font-size: 0.7rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.app-bar-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-glow 1.5s infinite;
}

/* Diary Category Tabs */
.demo-tabs-container {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
  max-width: 100%;
}

.demo-tabs-container::-webkit-scrollbar {
  display: none;
}

.demo-tab-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.demo-tab-btn:hover {
  border-color: #1b4332;
  color: #1b4332;
}

.demo-tab-btn.active {
  background: #1b4332;
  border-color: #1b4332;
  color: #ffffff;
  font-weight: 700;
  box-shadow: none;
}

/* Inside Mock Screen: Diary Sheet Card */
.diary-sheet-viewport {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}

.diary-sheet-viewport::-webkit-scrollbar {
  display: none;
}

.diary-content-card {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  animation: slide-up-fade 0.4s ease-out forwards;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diary-content-card.active {
  display: flex;
}

.diary-real-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.diary-author {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

.diary-author span {
  font-weight: 400;
  font-size: 0.75rem;
  color: #64748b;
  margin-left: 4px;
}

.diary-date {
  color: #64748b;
  font-size: 0.8rem;
}

.diary-tag-row {
  display: flex;
}

.diary-tag {
  background: #f0fdf4;
  color: #166534;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.7rem;
}

.diary-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  white-space: pre-wrap;
  margin-top: 0.25rem;
}

.diary-meta-insight {
  margin-top: 0.5rem;
  background: #f8fafc;
  border-left: 3px solid #166534;
  padding: 0.75rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.8rem;
  color: #475569;
}

.diary-meta-insight-title {
  color: #166534;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}

.diary-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

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

.diary-like, .diary-comment {
  color: #64748b;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.diary-more {
  color: #166534;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* Coming Soon Section */
.coming-soon-section {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border-glass);
  background: linear-gradient(to bottom, transparent, rgba(15, 18, 37, 0.3));
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.athlete-placeholder-card {
  background: rgba(15, 18, 37, 0.4);
  border: 1px dashed var(--border-glass);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.athlete-placeholder-card:hover {
  border-color: var(--color-primary);
  background: rgba(198, 255, 61, 0.02);
  transform: translateY(-3px);
}

.silhouette-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.athlete-placeholder-card:hover .silhouette-icon {
  color: var(--color-primary);
  background: rgba(198, 255, 61, 0.05);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon-cyan);
}

.athlete-placeholder-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.athlete-placeholder-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* CTA Bottom Section */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(198, 255, 61, 0.05) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(15, 18, 37, 0.8) 0%, rgba(7, 9, 19, 0.9) 100%);
  border: 1px solid var(--border-glass-glow);
  border-radius: 36px;
  padding: 4.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 
              0 0 30px rgba(198,255,61,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
}

.cta-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 3rem 2rem;
  background: var(--bg-dark);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

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

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

.copyright {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 10px rgba(198, 255, 61, 0.8); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes slide-up-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .player-card-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .player-profile-card {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .interactive-mockup-column {
    width: 100%;
    max-width: 100%;
  }
}

/* Pricing section two-column grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 2rem;
  min-width: 0;
  max-width: 100%;
}

.pricing-grid > * {
  min-width: 0;
}

/* Form email/phone two-column grid */
.form-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-grid > * {
    max-width: 100%;
    overflow: hidden;
  }

  .form-two-col-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}


@media (max-width: 768px) {
  section {
    padding: 4rem 1rem;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .card-glass {
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .nav-menu {
    display: none;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .feature-row, .feature-row.reverse {
    max-width: 100%;
  }

  .feature-image img {
    max-width: 100%;
  }

  .section-header {
    max-width: 100%;
  }

  .phone-mockup-wrapper {
    max-width: 300px;
  }
}

/* PWA Modal Styles */
.pwa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pwa-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.pwa-modal-card {
  width: 90%;
  max-width: 480px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass-glow);
  border-radius: 32px;
  padding: 2.2rem 2rem 2rem 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(198, 255, 61, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  animation: modal-slide-up 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modal-slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pwa-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--color-text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pwa-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-primary);
}

.pwa-step-tabs {
  display: flex;
  background: var(--bg-dark-gray);
  padding: 0.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.pwa-step-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.6rem;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.pwa-step-tab-btn.active {
  background: var(--bg-glass);
  color: var(--color-primary);
  border: 1px solid rgba(198, 255, 61, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pwa-steps-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 1.25rem;
  border-radius: 20px;
}

.pwa-step-card {
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.pwa-step-card.active {
  display: flex;
}

.pwa-step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pwa-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(198, 255, 61, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pwa-step-text {
  font-size: 0.85rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.pwa-step-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0.2rem;
  vertical-align: middle;
  height: 20px;
}

/* Logo white border cropping & styling */
.logo-img-container {
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 255, 61, 0.25);
  box-shadow: 0 0 10px rgba(198, 255, 61, 0.15);
  background: #091217; /* matches deep green base inside */
  transition: var(--transition-smooth);
}

.logo-img-container img {
  position: absolute;
  width: 48px; /* Larger than 32px to push outer white border out of boundaries */
  height: 48px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.logo:hover .logo-img-container {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-neon-cyan);
  transform: translateY(-1px);
}

/* Footer specific logo size */
.logo-img-container.footer-logo-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.logo-img-container.footer-logo-img img {
  width: 39px;
  height: 39px;
}

/* Input Form Focus Styles */
#pwaTrialForm input:focus, 
#pwaTrialForm select:focus, 
#pwaTrialForm textarea:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 12px rgba(198, 255, 61, 0.25) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* LINE Overlay Styles */
.line-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #070913;
  z-index: 3000; /* overlay above everything */
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.line-overlay.active {
  display: flex;
}

.line-overlay-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass-glow);
  border-radius: 32px;
  padding: 2.5rem 2rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Features Overview Section */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 3rem;
  max-width: 100%;
  min-width: 0;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  min-width: 0;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.feature-description {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-image {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.feature-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(198, 255, 61, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .features-list {
    gap: 4rem;
  }
  .feature-row, .feature-row.reverse {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

/* Mobile Layout Fixes for Overflow */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
    gap: 0.5rem;
  }
  .nav-container .btn-primary {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  .logo span {
    font-size: 1.1rem;
  }
  .logo-img-container {
    width: 24px;
    height: 24px;
  }
  .interactive-mockup-column h3 {
    font-size: 1.25rem !important;
  }
  .btn-primary {
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
  }
  .player-achievement-badge {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.6rem 0.8rem;
  }
  .player-achievement-badge span {
    font-size: 0.75rem;
  }
  .phone-card {
    border-width: 8px;
    border-radius: 36px;
  }
}

@media (max-width: 380px) {
  .nav-container {
    padding: 0.75rem 0.5rem;
  }
  .nav-container .btn-primary {
    font-size: 0.65rem;
    padding: 0.4rem 0.6rem;
  }
  .logo span {
    font-size: 1rem;
  }
}


/* ===== Player Career Details (accordion) ===== */
.career-details {
  margin-top: 0.5rem;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.career-details summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.career-details summary::-webkit-details-marker { display: none; }

.career-details summary::before {
  content: '＋';
  font-size: 0.9rem;
  line-height: 1;
}

.career-details[open] summary::before { content: '−'; }

.career-details summary:hover { background: rgba(198, 255, 61, 0.06); }

.career-details-body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid var(--border-glass);
}

.career-details-body h4 {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin: 1.1rem 0 0.5rem;
  letter-spacing: 0.02em;
}

.career-details-body ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.career-details-body li {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}


/* 申込フォームのセレクトボックス。
   ドロップダウンを開いたときのリストは OS 側が白背景で描画するため、
   select から継承した明るい文字色のままだと白地に白文字で読めなくなる。
   option 側で配色を明示して打ち消す。 */
#pwaTrialForm select option {
  color: #000;
  background: #fff;
}
