/* 245clash Landing Page Styles */
/* やわらかいグラデーション、余白多め、説明しすぎない */

:root {
  --color-primary: #ff6b9d;
  --color-secondary: #7c3aed;
  --color-accent: #fbbf24;
  --color-dark: #1f2937;
  --color-light: #f9fafb;
  --color-gray: #6b7280;
  --color-gray-light: #9ca3af;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: var(--font-main);
  color: var(--color-dark);
  line-height: 1.8;
  background: var(--color-light);
  font-feature-settings: "palt";
}

.landing {
  overflow-x: hidden;
}

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

.container-wide {
  max-width: 1000px;
}

/* ================================
   (1) HERO Section
   ================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 50%, #e0f2fe 100%);
  padding: 60px 24px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-main {
  text-align: center;
  max-width: 700px;
}

.hero-title {
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--color-dark);
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.9;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin-bottom: 12px;
  line-height: 1.8;
}

.hero-small {
  font-size: 0.8rem;
  color: var(--color-gray-light);
  margin-bottom: 32px;
}

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

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--color-dark);
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-recruit {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.btn-recruit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ================================
   Sections
   ================================ */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: white;
}

.section-highlight {
  background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 100%);
}

.section-title {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--color-dark);
  line-height: 1.5;
}

.section-text {
  font-size: 1rem;
  color: var(--color-gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 2;
}

.section-note {
  font-size: 0.9rem;
  color: var(--color-gray-light);
  text-align: center;
  margin-top: 28px;
  line-height: 1.8;
}

/* ================================
   Point List
   ================================ */
.point-list {
  list-style: none;
  max-width: 400px;
  margin: 0 auto;
}

.point-list-centered {
  text-align: center;
}

.point-list li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  font-size: 1rem;
  color: var(--color-dark);
}

.point-list-centered li {
  padding-left: 0;
}

.point-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.point-list-centered li::before {
  display: none;
}

/* ================================
   Agent Structure
   ================================ */
.agent-structure {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
}

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

.structure-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-gray-light);
  margin-bottom: 4px;
}

.structure-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* ================================
   Members Grid (Simplified)
   ================================ */
.members-role-section {
  margin-bottom: 40px;
}

.members-role-section:last-child {
  margin-bottom: 0;
}

.members-role-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.members-role-icon {
  font-size: 1.3rem;
}

.members-role-count {
  font-size: 0.85rem;
  color: var(--color-gray-light);
  font-weight: 400;
}

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

.member-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--color-light);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.section-alt .member-card {
  background: white;
  box-shadow: var(--shadow-sm);
}

.member-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.member-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.member-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.member-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.3;
}

.member-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.member-llm,
.member-role {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  width: fit-content;
}

.member-profile {
  font-size: 0.75rem;
  color: var(--color-gray);
  margin-top: 6px;
}

.member-hobby {
  font-size: 0.75rem;
  color: var(--color-gray-light);
  margin-top: 2px;
}

.member-desc {
  font-size: 0.8rem;
  color: var(--color-gray);
  line-height: 1.5;
  margin-top: 6px;
}

.member-llm.claude {
  background: #d4a574;
  color: white;
}

.member-llm.gpt {
  background: #10a37f;
  color: white;
}

.member-llm.gemini {
  background: #4285f4;
  color: white;
}

/* Role tags */
.member-role.build {
  background: #3B82F6;
  color: white;
}

.member-role.design {
  background: #A855F7;
  color: white;
}

.member-role.growth {
  background: #EF4444;
  color: white;
}

.member-role.bizdev {
  background: #7C3AED;
  color: white;
}

.member-role.cs {
  background: #0891B2;
  color: white;
}

.member-role.sales {
  background: #BE185D;
  color: white;
}

/* ================================
   Mentor Grid
   ================================ */
.mentor-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.mentor-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.section-alt .mentor-card {
  background: var(--color-light);
}

.mentor-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mentor-icon {
  font-size: 1rem;
}

.mentor-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mentor-members span {
  font-size: 0.85rem;
  color: var(--color-gray);
  background: white;
  padding: 4px 10px;
  border-radius: 50px;
}

.section-alt .mentor-members span {
  background: white;
}

/* ================================
   Criteria List (判断軸)
   ================================ */
.criteria-list {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
  counter-reset: criteria;
}

.criteria-list li {
  padding: 14px 0;
  padding-left: 40px;
  position: relative;
  font-size: 1rem;
  color: var(--color-dark);
  border-bottom: 1px solid #e5e7eb;
}

.criteria-list li:last-child {
  border-bottom: none;
}

.criteria-list li::before {
  counter-increment: criteria;
  content: counter(criteria);
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ================================
   Highlight Message (Missing Roles)
   ================================ */
.highlight-message {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
  margin-top: 32px;
}

.highlight-roles {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.highlight-role {
  display: inline-block;
  padding: 16px 28px;
  background: white;
  border-radius: var(--radius);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

/* ================================
   Recruit Grid
   ================================ */
.recruit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

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

.recruit-card {
  background: white;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.recruit-card h3 {
  font-size: 1.4rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  text-align: center;
}

.recruit-card ul {
  list-style: none;
  margin-bottom: 8px;
}

.recruit-card li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.recruit-card li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--color-gray-light);
}

/* ================================
   Footer
   ================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 24px;
  text-align: center;
}

.footer-project {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Mobile Adjustments
   ================================ */
@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mentor-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 80px 20px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .section {
    padding: 60px 20px;
  }

  .members-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .member-card {
    padding: 16px;
  }

  .member-avatar,
  .member-avatar-img {
    width: 44px;
    height: 44px;
  }

  .member-name {
    font-size: 0.9rem;
  }

  .member-desc {
    font-size: 0.8rem;
  }

  .recruit-grid,
  .recruit-grid-3 {
    grid-template-columns: 1fr;
  }

  .highlight-roles {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .highlight-role {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }

  .mentor-grid-full {
    grid-template-columns: 1fr;
  }

  .agent-structure {
    flex-direction: column;
    gap: 16px;
  }
}
