* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 50%, #06b6d4 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(to right, #fef3c7, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.8;
}

.sns-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.sns-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Added min-width and white-space to prevent button text wrapping */
  min-width: 200px;
  white-space: nowrap;
}

.sns-button .icon {
  width: 20px;
  height: 20px;
}

.sns-button.twitter {
  background: #000000;
  color: white;
}

.sns-button.twitter:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.sns-button.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.sns-button.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(188, 24, 136, 0.4);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #f9fafb;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #1a1a1a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.feature-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* SNS Feed Section */
.sns-feed {
  padding: 80px 0;
  background: white;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feed-card {
  background: #f9fafb;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.feed-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.feed-icon {
  width: 20px;
  height: 20px;
}

.twitter-color {
  color: #000000;
}

.instagram-color {
  color: #e4405f;
}

.feed-platform {
  font-weight: 600;
  font-size: 14px;
  color: #1a1a1a;
}

.feed-content {
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
  line-height: 1.6;
}

.feed-date {
  font-size: 12px;
  color: #9ca3af;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #06b6d4 0%, #a855f7 50%, #ec4899 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.cta-description {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-description {
    font-size: 16px;
  }

  /* Improved mobile button layout */
  .sns-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .sns-button {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }

  .sns-button .icon {
    width: 18px;
    height: 18px;
  }

  .features-grid,
  .feed-grid {
    grid-template-columns: 1fr;
  }
}

/* Added extra small screen support */
@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .sns-button {
    padding: 12px 20px;
    font-size: 14px;
    min-width: unset;
  }

  .feature-card {
    padding: 24px;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-description {
    font-size: 15px;
  }
}
