/* Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Inter:wght@400;600;700&display=swap');

:root {
  --primary-color: #2563EB;
  --secondary-color: #10B981;
  --accent-color: #F59E0B;
  --text-color: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;
  --max-width: 1200px;
  --header-height: 80px;
}

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Typography */
h1 {
  font-size: 4.8rem;
  margin-bottom: 24px;
}

h2 {
  font-size: 3.6rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  max-height: 900px;
  background: linear-gradient(135deg, #EBF4FF 0%, #F0F9FF 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Ensures better focal point for most images */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* Slideshow Indicators */
.slideshow-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.slideshow-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-indicators .indicator.active {
  background: white;
  transform: scale(1.2);
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 5.6rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 32px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-badges .badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 1.4rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Features */
.features {
  background-color: var(--bg-light);
}

/* AI Development Section */
.ai-development {
  background-color: var(--white);
}

.ai-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ai-text h2 {
  font-size: 3.6rem;
  margin-bottom: 24px;
  line-height: 1.4;
}

.ai-text p {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.ai-features {
  display: grid;
  gap: 20px;
}

.ai-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 500;
}

.ai-feature svg {
  width: 24px;
  height: 24px;
  color: var(--secondary-color);
}

.ai-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ai-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ai-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

@media (max-width: 768px) {
  .ai-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .ai-text h2 {
    font-size: 2.8rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: var(--white);
}

/* Pricing */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.pricing-card {
  background-color: var(--white);
  border: 2px solid #E5E7EB;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.pricing-price {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 20px 0;
}

.pricing-price span {
  font-size: 2rem;
  color: var(--text-light);
}

.pricing-features {
  margin: 40px 0;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid #E5E7EB;
}

/* Portfolio */
.portfolio {
  background-color: var(--bg-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.portfolio-item {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.portfolio-content {
  padding: 24px;
}

.portfolio-category {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.portfolio-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: #f0f0f0;
  color: #666;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 500;
}

.portfolio-tag-rich {
  background-color: #FFD700;
  color: #333;
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
}

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

.footer-link {
  color: #D1D5DB;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid #374151;
  text-align: center;
  color: #9CA3AF;
}