/* Base Styles */
:root {
  --primary-color: #004080;
  /* Trustworthy Navy Blue */
  --secondary-color: #0066cc;
  /* Brighter Blue for accents */
  --text-color: #333333;
  --bg-color: #ffffff;
  --bg-alt-color: #f5f7fa;
  --white: #ffffff;
  --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

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

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

/* Header */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}

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

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

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #555;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-alt-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary-color);
}

/* Pain Points Section */
.pain-points-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  /* Force single row */
  overflow-x: auto;
  /* Allow scroll on very small screens if needed, though we aim for fit */
}

.pain-point-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1;
  min-width: 0;
  /* Allow shrinking */
  border-top: 4px solid var(--secondary-color);
}

.check-icon {
  width: 40px;
  height: 40px;
  background-color: #e6f0ff;
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 16px;
}

.pain-point-card p {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
}

/* Solution Box & Arrow */
.solution-arrow {
  text-align: center;
  font-size: 40px;
  color: var(--secondary-color);
  margin: 20px 0 10px;
  animation: bounce 2s infinite;
}

.solution-box-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  position: relative;
  /* For absolute positioning of the image */
}

.solution-box {
  display: inline-block;
  background-color: var(--white);
  border: 3px solid var(--primary-color);
  border-radius: 10px;
  padding: 20px 60px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 5;
  text-align: center;
  /* Ensure text is centered */
}

.solution-box p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Solved Woman Image Styling */
.solved-woman-img {
  width: 140px;
  height: auto;
  display: none;
  /* Hidden by default until loaded */
  position: absolute;
  left: 50%;
  margin-left: 280px;
  /* Offset from center (half of box width approx + gap) */
  top: 50%;
  transform: translateY(-50%);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

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

/* Features/Services */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-section .btn {
  background-color: var(--white);
  color: var(--primary-color);
  font-size: 1.2rem;
  padding: 16px 48px;
}

.cta-section .btn:hover {
  background-color: #f0f0f0;
}

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: #a0a0a0;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer p {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

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

  .feature-card {
    padding: 30px;
  }

  .pain-points-grid {
    flex-direction: column;
    /* Stack on mobile */
    align-items: center;
  }

  .pain-point-card {
    width: 100%;
    max-width: 100%;
  }

  .solution-box-wrapper {
    margin-top: 30px;
    flex-direction: column;
    /* Stack on mobile */
    gap: 10px;
  }

  .solution-box {
    padding: 15px 30px;
    width: 100%;
    box-sizing: border-box;
  }

  .solution-box p {
    font-size: 1.1rem;
  }

  /* Adjust illustration position on mobile */
  .solved-woman-img {
    position: static;
    /* Reset absolute positioning */
    margin: 10px auto 0;
    transform: none;
    width: 120px;
  }

  /* Adjust Worrying Man for mobile to prevent cutoff */
  .worrying-man-img {
    left: -10px !important;
    /* Bring it closer to edge but visible */
    width: 100px !important;
    /* Slightly smaller */
    top: -40px !important;
  }
}