/* SPEAKLY Landing Page Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700&family=Poppins:wght@400;600;700&family=Oswald:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
  /* Colors - Modern Business Theme */
  --primary-color: #1B3D8F;
  --secondary-color: #4A90E2;
  --accent-color: #FF5722;
  --accent-light: #FF8A65;
  --bg-main: #FFFFFF;
  --bg-light: #F8FAFB;
  --bg-section: #FAFBFC;
  --text-primary: #1A1F36;
  --text-secondary: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --gradient: linear-gradient(135deg, #1B3D8F 0%, #4A90E2 100%);
  --gradient-light: linear-gradient(135deg, #E8F0FF 0%, #F0F7FF 100%);
  
  /* Typography */
  --font-heading: 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-accent: 'Poppins', sans-serif;
  --font-number: 'Oswald', sans-serif;
  
  /* Sizes */
  --hero-title: 48px;
  --section-title: 36px;
  --subsection-title: 24px;
  --body-large: 18px;
  --body-regular: 16px;
  --body-small: 14px;
  
  /* Layout */
  --max-width: 1200px;
  --padding-desktop: 80px;
  --padding-tablet: 40px;
  --padding-mobile: 20px;
  --section-spacing-desktop: 100px;
  --section-spacing-mobile: 60px;
  
  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-nav: 0 2px 4px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-regular);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-desktop);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--hero-title);
}

h2 {
  font-size: var(--section-title);
}

h3 {
  font-size: var(--subsection-title);
}

p {
  margin-bottom: 1rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent {
  color: var(--accent-color);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: var(--body-regular);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  border: none;
  line-height: 1.5;
}

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

.btn-primary:hover {
  background-color: #152E6C;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.btn-large {
  padding: 18px 36px;
  font-size: var(--body-large);
  border-radius: var(--radius-md);
}

.btn-accent {
  background-color: var(--accent-color);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background-color: #E64A19;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-nav);
  z-index: 1000;
  transition: var(--transition);
}

.header.scroll-down {
  transform: translateY(-100%);
}

.header.scroll-up {
  transform: translateY(0);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  height: 70px;
}

.logo {
  display: inline-block;
  text-decoration: none;
  height: 40px;
  transition: var(--transition);
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

.nav-menu .btn-primary {
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
}

.mobile-nav-menu {
  padding: 4rem 2rem 2rem;
  list-style: none;
}

.mobile-nav-menu li {
  margin-bottom: 1.5rem;
}

.mobile-nav-menu a {
  color: var(--text-primary);
  font-size: var(--body-large);
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('../images/mv.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 60%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%231B3D8F;stop-opacity:0.05" /><stop offset="100%" style="stop-color:%234A90E2;stop-opacity:0.1" /></linearGradient></defs><circle cx="400" cy="400" r="300" fill="url(%23grad)" /></svg>') no-repeat center;
  background-size: contain;
  opacity: 0.5;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50px, -50px); }
}

.hero-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: 20%;
  margin-right: auto;
  margin-bottom: 5vh;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, var(--hero-title));
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
  color: white;
  text-align: left;
  white-space: nowrap;
}

h1.hero-title {
  padding-bottom: 10%;
}

.hero .subtitle {
  font-size: var(--body-large);
  margin-bottom: 1rem;
  color: white;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
  text-align: left;
}

.hero-description {
  font-size: var(--body-large);
  color: white;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
  text-align: left;
  opacity: 0.95;
}

/* Section Styles */
section {
  padding: var(--section-spacing-desktop) 0;
  background-color: var(--bg-main);
}

section:nth-child(even) {
  background-color: var(--bg-section);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: var(--body-large);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Problem Section */
.problem-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.problem-image {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-image-placeholder {
  width: 100%;
  height: 500px;
  background: var(--gradient-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.problem-image-placeholder svg {
  max-width: 80%;
  height: auto;
  opacity: 0.5;
}

.problem-list {
  margin: 0;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.problem-item:first-child {
  padding-top: 0;
}

.problem-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.problem-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.problem-icon svg {
  width: 24px;
  height: 24px;
}

.problem-content {
  flex: 1;
}

.problem-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.problem-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.problem-conclusion {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
}

.conclusion-text {
  font-size: var(--body-large);
  color: var(--text-primary);
  line-height: 1.8;
}

.conclusion-text span {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 32px;
  display: inline-block;
  margin: 0 0.25rem;
  font-family: var(--font-number);
}

/* Statistics Section */
.statistics-section {
  background: var(--bg-main);
  padding: var(--section-spacing-desktop) 0;
}

.stats-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 450px;
}

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

.stat-card h3 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.stat-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.stat-card > div {
  margin-top: auto;
}

/* Income Chart */
.income-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 250px;
  gap: 3rem;
}

.income-bar {
  flex: 1;
  max-width: 150px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1rem;
  transition: height 1s ease-out;
}

.income-bar.low .bar-fill {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.bar-value {
  color: white;
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-family: var(--font-number);
}

.bar-label {
  margin-top: 1rem;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

/* Pie Chart */
.pie-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pie-chart svg {
  animation: drawCircle 1.5s ease-out;
}

@keyframes drawCircle {
  from {
    stroke-dashoffset: 502;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.pie-legend {
  display: flex;
  gap: 2rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
}

/* Wage Premium */
.wage-premium {
  text-align: center;
}

.premium-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.premium-number {
  font-size: 64px;
  font-weight: 600;
  color: var(--accent-color);
  line-height: 1;
  font-family: var(--font-number);
}

.premium-label {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.premium-description {
  font-size: var(--body-small);
  color: var(--text-secondary);
  margin: 0;
}

/* Corporate Evaluation */
.corporate-evaluation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.eval-stat, .eval-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: var(--gradient-light);
  border-radius: var(--radius-lg);
}

.eval-number, .rank-number {
  font-size: 48px;
  font-weight: 600;
  color: var(--accent-color);
  line-height: 1.2;
  font-family: var(--font-number);
}

.eval-label, .rank-label {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Solution Section */
.solution-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.solution-features h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

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

.feature-content h3,
.feature-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-align: center;
  font-size: 1.2rem;
}

.feature-content p {
  color: var(--text-secondary);
  text-align: center;
}

/* Instructor Section */
.instructor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.instructor-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.instructor-image {
  height: 280px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.instructor-info {
  padding: 2rem;
}

.instructor-name {
  font-size: var(--subsection-title);
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.instructor-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.instructor-bio {
  color: var(--text-secondary);
  line-height: 1.6;
}

.instructor-bio li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.instructor-bio li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Program Section */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.program-card.featured {
  border-color: var(--primary-color);
  background: linear-gradient(to bottom, rgba(27, 61, 143, 0.02), white);
  box-shadow: 0 0 0 2px rgba(27, 61, 143, 0.1);
}

.program-card.featured::before {
  content: '人気コース';
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--accent-color);
  color: white;
  padding: 6px 20px;
  border-radius: var(--radius-sm);
  font-size: var(--body-small);
  font-weight: 600;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.program-header {
  text-align: center;
  margin-bottom: 2rem;
}

.program-title {
  font-size: var(--subsection-title);
  margin-bottom: 0.5rem;
}

.program-duration {
  color: var(--text-secondary);
  font-size: var(--body-small);
}

.program-features {
  margin-bottom: 2rem;
}

.program-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #E8E8E8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.program-features li:last-child {
  border-bottom: none;
}

.program-features li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 18px;
}

.program-price {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid #E8E8E8;
}

.price-amount {
  font-size: 42px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-number);
}

.price-amount span {
  font-size: var(--body-regular);
  font-weight: 400;
  color: var(--text-secondary);
}

/* Testimonial Section */
.testimonial-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.testimonial-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}

.testimonial-item:first-child {
  padding-top: 0;
}

.testimonial-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-quote {
  position: relative;
  padding-left: 2rem;
}


.testimonial-quote p {
  font-size: var(--body-large);
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0;
}

.testimonial-author {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-left: 2rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-title {
  color: var(--text-secondary);
  font-size: var(--body-regular);
}

/* Schedule Section */
.schedule-timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: #E8E8E8;
}

.schedule-item {
  position: relative;
  padding: 2rem 0;
}

.schedule-item::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--primary-color);
}

.schedule-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  width: calc(50% - 40px);
  position: relative;
}

.schedule-item:nth-child(odd) .schedule-content {
  margin-left: auto;
}

.schedule-item:nth-child(even) .schedule-content {
  margin-right: auto;
}

.schedule-date {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.schedule-title {
  font-size: var(--body-large);
  margin-bottom: 0.5rem;
}

.schedule-meta {
  color: var(--text-secondary);
  font-size: var(--body-small);
}

.availability-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: var(--body-small);
  font-weight: 600;
  margin-top: 1rem;
}

.availability-badge.available {
  background: #E8F9E8;
  color: #2E7D2E;
}

.availability-badge.limited {
  background: #FFF3CD;
  color: #856404;
}

/* Form Section */
.form-container {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-label .required {
  color: var(--accent-color);
  margin-left: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--body-regular);
  transition: var(--transition);
  background: var(--bg-light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(27, 61, 143, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--bg-light);
}

.form-radio-label:hover {
  border-color: var(--primary-color);
  background: white;
  box-shadow: var(--shadow-sm);
}

.form-radio-input {
  margin-right: 1rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form-radio-input:checked + .form-radio-text {
  font-weight: 600;
}

.form-submit {
  width: 100%;
  margin-top: 2rem;
}

.form-error {
  color: var(--accent-color);
  font-size: var(--body-small);
  margin-top: 0.5rem;
  display: none;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--accent-color);
}

.form-input.error ~ .form-error {
  display: block;
}

/* Footer CTA */
.footer-cta {
  background: linear-gradient(135deg, #1B3D8F 0%, #4A90E2 100%);
  color: white;
  text-align: center;
  padding: var(--section-spacing-desktop) 0;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 C300,50 600,150 1200,100 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
  background-size: cover;
}

.footer-cta-content {
  position: relative;
  z-index: 1;
}

.footer-cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(28px, 4vw, 40px);
}

.footer-cta p {
  font-size: var(--body-large);
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 102, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
  background: #E8F5E9;
  color: #1B5E20;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  display: none;
  animation: fadeInUp 0.3s ease-out;
  border: 1px solid #C8E6C9;
  text-align: center;
}

.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-radio-group.error {
  border: 2px solid #ef4444;
  border-radius: var(--radius-sm);
  padding: 0.5rem;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Solution Image */
.image-placeholder {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image-placeholder svg {
  max-width: 100%;
  height: auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.modal-icon {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.modal-message {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.modal-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
}

.modal-confirm {
  min-width: 120px;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.copyright {
  margin: 0;
  opacity: 0.8;
  font-size: var(--body-small);
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-number);
}

.stat-label {
  color: var(--text-secondary);
  font-size: var(--body-regular);
}

/* Countdown Timer */
.countdown-container {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gradient-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

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

.countdown-value {
  display: block;
  font-size: 42px;
  font-weight: 600;
  color: var(--accent-color);
  font-family: var(--font-number);
}

.countdown-label {
  display: block;
  font-size: var(--body-small);
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-item {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.pricing-item.featured {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(27, 61, 143, 0.1);
  transform: scale(1.05);
}

.pricing-item h4 {
  font-size: 20px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.price {
  font-size: 42px;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-number);
}

.price span {
  font-size: var(--body-regular);
  font-weight: 400;
  color: var(--text-secondary);
}

.price-note {
  color: var(--secondary-color);
  font-size: var(--body-small);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .problem-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .problem-image {
    height: 300px;
  }
  
  .stats-content {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    min-height: auto;
  }
  
  .income-chart {
    height: 250px;
    gap: 2rem;
  }
  
  .corporate-evaluation {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-item {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .testimonial-avatar {
    width: 80px;
    height: 80px;
  }
  
  .testimonial-content {
    width: 100%;
    text-align: center;
  }
  
  .testimonial-quote {
    padding-left: 0;
  }
  
  .testimonial-author {
    padding-left: 0;
    justify-content: center;
  }
  
  .container {
    padding: 0 var(--padding-tablet);
  }
  
  .solution-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
  }
  
  .schedule-timeline::before {
    left: 20px;
  }
  
  .schedule-item::before {
    left: 20px;
  }
  
  .schedule-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --hero-title: 36px;
    --section-title: 28px;
    --subsection-title: 20px;
  }
  
  .container {
    padding: 0 var(--padding-mobile);
  }
  
  .logo {
    height: 35px;
  }
  
  section {
    padding: var(--section-spacing-mobile) 0;
  }
  
  .hero {
    min-height: 100svh;
    background-image: url('../images/mv-sp.webp');
  }
  
  .hero-content {
    padding: 0 20px;
    margin-left: 0;
    margin-bottom: 0;
  }
  
  .testimonial-avatar {
    width: 100px;
    height: 100px;
  }

  .hero h1 {
    font-size: clamp(20px, 3.5vw, 28px);
  }
  
  .problem-grid,
  .instructor-grid,
  .program-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .program-card.featured {
    transform: scale(1);
  }
  
  .testimonial-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 90%;
  }
  
  .form-container {
    padding: 2rem;
  }
  
  .btn {
    width: 100%;
  }
}

/* Very Small Mobile Devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(18px, 3vw, 24px);
  }
}

/* Print Styles */
@media print {
  .hero,
  .footer-cta {
    background: none;
    color: var(--text-primary);
  }
  
  .btn {
    display: none;
  }
  
  section {
    page-break-inside: avoid;
  }
}