/* CSS Variables */
:root {
  /* Colors - Flutter Flow Theme */
  --primary-color: #1B2A41;
  --secondary-color: #00786F;
  --accent-color: #2E4A6B;
  --light-accent: #E8F4F8;
  --success-color: #10B981;
  --warning-color: #F59E0B;
  --error-color: #EF4444;

  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Typography */
  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;

  /* Breakpoints */
  --breakpoint-sm: 480px;
  --breakpoint-md: 1025px;
  --breakpoint-lg: 1400px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: var(--transition-normal);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-logo:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.logo-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: var(--primary-color);
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-6);
  flex-wrap: wrap;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  list-style: none;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu .nav-link {
  display: block;
  padding: 12px 20px;
  color: var(--gray-700);
  font-size: 14px;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu .nav-link:hover {
  background: var(--gray-100);
  color: var(--primary-color);
  text-decoration: none;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 10px;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* Debug: Force dropdown to be visible for testing */
.dropdown-menu {
  /* Uncomment the line below to force dropdown to be visible for debugging */
  /* opacity: 1 !important; visibility: visible !important; transform: translateY(0) !important; display: block !important; */
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle-line {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition-fast);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: var(--spacing-2);
}

.lang-link {
  text-decoration: none;
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: var(--transition-fast);
  padding: var(--spacing-1) var(--spacing-2);
  border-radius: var(--radius-sm);
}

.lang-link:hover {
  color: var(--primary-color);
  background: var(--gray-100);
}

.lang-link.active {
  color: var(--primary-color);
  background: var(--light-accent);
  font-weight: 600;
}

.lang-separator {
  color: var(--gray-400);
  font-size: var(--font-size-sm);
}

/* Hero Section Styles */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

.hero-text {
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9);
}

/* Hero Brand Card - Restored and Optimized */
.hero-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.brand-logo {
  width: 70px;
  height: 70px;
  margin-right: 1.5rem;
  border-radius: 12px;
  object-fit: contain;
}

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

.brand-name {
  font-size: 3rem;
  font-weight: 900;
  color: #2c3e50;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-subtitle {
  font-size: 1.2rem;
  color: #667eea;
  margin: 0.5rem 0 0;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive Brand Card */
@media (max-width: 768px) {
  .hero-brand-card {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
  }

  .brand-name {
    font-size: 2.2rem;
  }

  .brand-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-brand-card {
    padding: 1rem;
    margin-bottom: 1.2rem;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
    margin-right: 0.8rem;
  }

  .brand-name {
    font-size: 1.8rem;
  }

  .brand-subtitle {
    font-size: 0.9rem;
  }
}

/* Official API Badge */
.api-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  color: #2c3e50;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  margin: 1.5rem auto;
  max-width: fit-content;
  box-shadow: 0 8px 20px rgba(76, 205, 196, 0.2);
  border: 2px solid #4ECDC4;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.api-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(76, 205, 196, 0.3);
  border-color: #45b7d1;
}

.api-badge i {
  color: #4ECDC4;
  font-size: 1.3rem;
  animation: pulse 2s infinite;
}

.api-badge span {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.3px;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    color: #4ECDC4;
  }

  50% {
    transform: scale(1.1);
    color: #45b7d1;
  }
}

/* Responsive API Badge */
@media (max-width: 768px) {
  .api-badge {
    padding: 0.8rem 1.2rem;
    margin: 1rem auto;
    gap: 0.6rem;
  }

  .api-badge i {
    font-size: 1.1rem;
  }

  .api-badge span {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .api-badge {
    padding: 0.7rem 1rem;
    margin: 0.8rem auto;
    gap: 0.5rem;
  }

  .api-badge i {
    font-size: 1rem;
  }

  .api-badge span {
    font-size: 0.9rem;
  }
}

.hero-highlight {
  color: #E8F4F8;
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  padding: 0 8px;
  border-radius: 6px;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Mega Size CTA for Desktop Only */
@media (min-width: 769px) {
  .cta-button.mega-size {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem 3rem !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.8rem !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
  }

  .cta-button.mega-size:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5) !important;
  }

  .cta-button.mega-size i {
    font-size: 1.5rem !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
}

/* Hero Features Preview */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-features-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 500px;
}

.feature-preview {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-preview:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

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

.feature-preview h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.feature-preview p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* AI Personalization Section */
.ai-personalization {
  padding: 100px 0;
  background: #f8fafc;
}

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

.ai-feature-item {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.ai-feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ai-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.ai-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.ai-feature-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
}

.ai-feature-benefits {
  list-style: none;
  padding: 0;
  text-align: left;
}

.ai-feature-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #475569;
  font-size: 0.95rem;
}

.ai-feature-benefits li i {
  color: var(--accent-color);
  margin-right: 10px;
  width: 16px;
}

.tone-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.tone-tag {
  background: var(--accent-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Advanced Analytics Section */
.advanced-analytics {
  padding: 100px 0;
  background: white;
}

.analytics-showcase {
  margin-top: 60px;
}

.analytics-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
  padding: 40px;
  background: #f8fafc;
  border-radius: 20px;
}

.analytics-main-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  flex-shrink: 0;
}

.analytics-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.analytics-description {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.analytics-features {
  list-style: none;
  padding: 0;
}

.analytics-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #475569;
  font-size: 1rem;
}

.analytics-features li i {
  color: var(--accent-color);
  margin-right: 12px;
  width: 18px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.analytics-card {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 15px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  text-align: center;
}

.analytics-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 120, 111, 0.1);
}

.analytics-card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.analytics-card-content {
  text-align: left;
}

.analytics-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-align: center;
}

.analytics-card-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.analytics-card-features {
  list-style: none;
  padding: 0;
}

.analytics-card-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #475569;
  font-size: 0.9rem;
}

.analytics-card-features li i {
  color: var(--accent-color);
  margin-right: 10px;
  width: 16px;
}

/* Features Section - Updated to match Advanced Analytics style */
.features {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-description {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.feature-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 120, 111, 0.1);
}

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

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.feature-description {
  color: #64748b;
  line-height: 1.6;
}

/* How It Works Section - Updated to match Advanced Analytics style */
.how-it-works {
  padding: 100px 0;
  background: #f8fafc;
}

.steps-container {
  margin-top: 60px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 2px solid #f1f5f9;
  transition: all 0.3s ease;
}

.step:hover {
  border-color: var(--accent-color);
  box-shadow: 0 15px 30px rgba(0, 120, 111, 0.1);
}

.step.reverse {
  grid-template-columns: auto 1fr auto;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.step-content {
  text-align: left;
  min-width: 0;
  word-wrap: break-word;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
  word-wrap: break-word;
  hyphens: auto;
}

.step-description {
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
  word-wrap: break-word;
}

.step-image {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  box-sizing: border-box;
}

.step-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

/* Advantages Section - Updated to match Advanced Analytics style */
.advantages {
  padding: 100px 0;
  background: white;
}

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

.advantage-item {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 120, 111, 0.1);
}

.advantage-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.advantage-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.advantage-description {
  color: #64748b;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(27, 42, 65, 0.15);
}

.pricing-popular {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.pricing-popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--secondary-color), #4fd1c7);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pricing-header {
  margin-bottom: 30px;
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.pricing-currency {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--gray-600);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-600);
}

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

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--gray-700);
  border-bottom: 1px solid #f8fafc;
}

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

.pricing-feature-list li i {
  color: var(--success-color);
  font-size: 1.1rem;
  width: 16px;
  flex-shrink: 0;
}

.pricing-button {
  width: 100%;
  padding: 16px 24px;
  border: 2px solid var(--primary-color);
  background: white;
  color: var(--primary-color);
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-button:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.pricing-button.primary {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

.pricing-button.primary:hover {
  background: #4fd1c7;
  border-color: #4fd1c7;
  transform: translateY(-2px);
}

.pricing-note {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}

.pricing-note p {
  margin: 0 0 15px 0;
  color: var(--gray-600);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-note i {
  color: var(--secondary-color);
}

.pricing-details-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  pointer-events: auto !important;
}

.pricing-details-link:hover {
  color: var(--primary-color);
  gap: 12px;
}

.pricing-details-link i {
  transition: transform 0.3s ease;
}

.pricing-details-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .pricing-popular {
    transform: none;
  }

  .pricing-popular:hover {
    transform: translateY(-10px);
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .pricing-amount {
    font-size: 2.5rem;
  }

  .pricing-note {
    margin: 40px 10px 0;
    padding: 20px;
  }

  .pricing-note p {
    flex-direction: column;
    gap: 5px;
  }
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: #f8fafc;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.contact-item {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  border: 2px solid #f1f5f9;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(27, 42, 65, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
}

.contact-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-details p {
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.6;
}

.contact-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: #9ca3af;
  font-style: italic;
}

@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-item {
    padding: 30px 20px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* CTA Section - Updated to match Advanced Analytics style */
.cta-section {
  padding: 100px 0;
  background: white;
}

.cta-content {
  text-align: center;
  padding: 60px 40px;
  background: white;
  border-radius: 20px;
  border: 2px solid #f1f5f9;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.cta-description {
  font-size: 1.2rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  margin-bottom: 40px;
}

/* Button Styles - Enhanced Design */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 8px 24px rgba(27, 42, 65, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27, 42, 65, 0.4);
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Hero-specific button overrides */
.hero .cta-button.primary {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.hero .cta-button.primary:hover {
  background: #f8fafc;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.cta-button.secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 16px rgba(27, 42, 65, 0.1);
}

.cta-button.secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(27, 42, 65, 0.3);
}

/* Hero-specific secondary button overrides */
.hero .cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.hero .cta-button.secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.cta-button.large {
  padding: 20px 40px;
  font-size: 1.2rem;
}

.cta-button i {
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: scale(1.1);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 1rem;
}

.cta-feature i {
  color: var(--success-color);
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

  .hero-features-preview {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .ai-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .analytics-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .analytics-main-icon {
    margin: 0 auto;
  }

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

  /* Updated sections responsive */
  .features-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    padding: 35px 25px;
    min-height: auto;
  }

  .step .step-number {
    margin: 0 auto;
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    order: 1;
  }

  .step .step-content {
    text-align: center;
    max-width: 100%;
    padding: 0 15px;
    min-width: 200px;
    order: 2;
  }

  .step .step-title {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: visible;
  }

  .step .step-description {
    font-size: 1rem;
    line-height: 1.6;
    white-space: normal;
  }

  .step .step-image {
    width: 140px;
    height: 110px;
    margin: 0 auto;
    order: 3;
    flex-shrink: 0;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .cta-content {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--spacing-16) 0 var(--spacing-8);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-3);
  margin-bottom: var(--spacing-4);
}

.footer-logo-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  object-fit: contain;
  background: var(--primary-color);
}

.footer-logo-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white);
}

.footer-description {
  color: var(--gray-400);
  line-height: 1.7;
}

.footer-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-2);
}

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

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

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--spacing-8);
  text-align: center;
}

.footer-copyright {
  color: var(--gray-500);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-12);
    text-align: center;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    left: auto;
    width: 280px;
    height: auto;
    max-height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    border-radius: 15px 0 0 15px;
    padding: 20px 0;
    z-index: 9999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
    left: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    margin: 0;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    margin: 0 0 15px 0;
  }

  .nav-link {
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
  }

  .nav-link:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
  }

  .language-switcher {
    margin-top: 10px;
    padding: 15px 20px;
    border-top: 1px solid #eee;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-features {
    flex-direction: column;
    gap: 15px;
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
  }

  /* AI Personalization responsive */
  .ai-feature-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ai-feature-item.reverse {
    direction: ltr;
  }

  .ai-feature-title {
    font-size: var(--font-size-xl);
  }

  .ai-feature-description {
    font-size: var(--font-size-base);
  }

  /* Advanced Analytics responsive */
  .analytics-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .analytics-title {
    font-size: var(--font-size-2xl);
  }

  .analytics-description {
    font-size: var(--font-size-base);
  }

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

  /* Hero Slider responsive */
  .hero-slider {
    max-width: 100%;
    height: 300px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }

  .nav-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-3);
  }

  .hero-container {
    padding: var(--spacing-16) var(--spacing-3);
  }

  .hero-title {
    font-size: var(--font-size-2xl);
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  /* Step section for very small screens */
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 15px;
    margin-bottom: 30px;
    gap: 20px;
  }

  .step .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    order: 1;
  }

  .step .step-content {
    padding: 0 10px;
    min-width: 150px;
    order: 2;
  }

  .step .step-title {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .step .step-description {
    font-size: 0.9rem;
  }

  .step .step-image {
    width: 120px;
    height: 90px;
    order: 3;
    margin: 0 auto;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* Floating CTA Button - ChatGPT5提案の新実装 */
.floating-cta {
  position: fixed;
  inset-inline: 0;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;
  animation: floatPulse 3s ease-in-out infinite;
}

.floating-button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 20px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  min-width: max-content;
  max-width: calc(100vw - 32px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  outline: 1px solid rgba(255, 255, 255, .25);
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.floating-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
}

.floating-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .8);
  outline-offset: 2px;
}

.floating-text {
  font-weight: 700;
  font-size: inherit;
}

.floating-button i {
  font-size: 1em;
  transition: transform 0.3s ease;
}

.floating-button:hover i {
  transform: rotate(15deg) scale(1.1);
}

@keyframes floatPulse {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* モバイル対応 - 大きな画面ではもう少し大きめのパディング */
@media (min-width: 768px) {
  .floating-button {
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* Hide floating button when CTA section is visible */
.floating-cta.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* AOS Animation Overrides */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}
