/* TalkSeed - Bright LP Styles */

:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-light: #34D399;
  --accent: #F59E0B;
  --accent-light: #FCD34D;
  --dark: #1F2937;
  --dark-light: #374151;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
  --gradient-light: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary-dark);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
  background: var(--gray-900);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* App Store Badge */
.app-store-badge {
  display: inline-block;
  transition: all 0.3s ease;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.app-store-badge img {
  height: 54px;
  width: auto;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-screenshot {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  border-radius: 24px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.2),
    0 20px 40px -20px rgba(16, 185, 129, 0.15);
  animation: float 6s ease-in-out infinite;
}

.hero-pixels {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
}

/* ========================================
   Section Styles
======================================== */
section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900);
}

/* ========================================
   Features Section
======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -20px rgba(16, 185, 129, 0.25);
}

.feature-card.feature-main {
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.05), var(--white));
  border-color: rgba(16, 185, 129, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.8;
}

.feature-card strong {
  color: var(--primary-dark);
}

/* ========================================
   Gallery Section
======================================== */
.gallery {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03), transparent);
  max-width: none;
  margin: 0;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}

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

.gallery-item img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03) translateY(-5px);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(16, 185, 129, 0.2);
}

.gallery-item p {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ========================================
   Target Users Section
======================================== */
.target-users {
  background: var(--gray-50);
  margin: 0;
  max-width: none;
  padding: 6rem 2rem;
}

.users-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.user-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.user-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.user-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.user-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   How to Use Section
======================================== */
.how-to-use {
  overflow: visible;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 1.5rem;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

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

.step-arrow {
  display: flex;
  align-items: center;
  color: var(--primary);
  padding-top: 3rem;
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
  background: var(--white);
  margin: 0;
  max-width: none;
  padding: 6rem 2rem;
}

.testimonials-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 2rem;
}

.stars {
  margin-bottom: 1rem;
}

.stars span {
  color: var(--accent);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.testimonial-card blockquote {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.8;
  font-style: normal;
}

/* ========================================
   Specs Section
======================================== */
.specs-table {
  max-width: 700px;
  margin: 0 auto 3rem;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--gray-200);
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  padding: 1.25rem 1.5rem;
  background: rgba(16, 185, 129, 0.08);
  font-weight: 500;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.spec-value {
  padding: 1.25rem 1.5rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.tech-specs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

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

.tech-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.tech-value {
  font-weight: 600;
  color: var(--gray-900);
}

/* ========================================
   Download CTA Section
======================================== */
.download {
  background: var(--gradient-primary);
  margin: 0;
  max-width: none;
  padding: 6rem 2rem;
  text-align: center;
}

.download-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.download-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
  background: var(--white);
  color: var(--gray-900);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.cta-button-large:hover {
  background: var(--gray-50);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FAQ Section
======================================== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-item summary {
  padding: 1.5rem;
  font-weight: 500;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--gray-50);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--gray-900);
  padding: 3rem 2rem 2rem;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-700);
}

.pixel-logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 2rem;
  }

  .hero-text {
    order: 1;
    text-align: center;
  }

  .hero-image {
    order: 0;
    margin-bottom: 2rem;
  }

  .hero-screenshot {
    max-height: 450px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-item img {
    max-width: 280px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 100%;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 1rem 0;
  }

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

  .spec-label {
    border-bottom: 1px solid var(--gray-200);
  }

  .tech-specs {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 4rem 1.5rem;
  }

  .hero-content {
    padding: 3rem 1.5rem;
  }

  .phone-mockup {
    width: 200px;
  }

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

  .feature-card {
    padding: 2rem;
  }

  .users-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .user-card {
    padding: 1.5rem 1rem;
  }

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

  .cta-button-large {
    padding: 1rem 2rem;
  }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-tagline {
  animation: pulse 3s ease-in-out infinite;
}
