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

:root {
  --primary: #1E88E5;
  --primary-dark: #1565C0;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --bg-light: #F9FAFB;
  --border: #E5E7EB;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: all 0.3s;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 40px;
  width: auto;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.header__nav-link {
  color: var(--text-secondary);
  transition: color 0.3s;
}

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

.header__cta {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s;
}

.header__cta:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.header__menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.header__menu-toggle svg {
  width: 24px;
  height: 24px;
}

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

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

.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu__list {
  list-style: none;
  margin-top: 3rem;
}

.mobile-menu__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

/* Hero */
.hero {
  padding: 7rem 0 4rem;
  background: linear-gradient(to bottom, white, var(--bg-light));
}

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

.hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero__cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.hero__cta:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.hero__image {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.hero__image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* Features */
.features {
  padding: 4rem 0;
  background: white;
}

.features__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card__description {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Pricing */
.pricing {
  padding: 4rem 0;
  background: var(--bg-light);
}

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.pricing__toggle-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing__toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.pricing__toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing__toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: 0.4s;
  border-radius: 30px;
}

.pricing__toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.pricing__toggle-switch input:checked + .pricing__toggle-slider {
  background-color: var(--primary);
}

.pricing__toggle-switch input:checked + .pricing__toggle-slider:before {
  transform: translateX(30px);
}

.pricing__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.pricing-card--featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.02);
}

.pricing-card--featured:hover {
  transform: translateY(-4px) scale(1.07);
}

.pricing-card__name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-card__features {
  list-style: none;
  margin: 2rem 0;
}

.pricing-card__feature {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.pricing-card__cta {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.pricing-card--featured .pricing-card__cta {
  background: var(--primary);
  color: white;
}

.pricing-card__cta:hover {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

/* Benefits */
.benefits {
  padding: 4rem 0;
  background: white;
}

.benefits__grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.benefit {
  text-align: center;
  opacity: 0;
  transform: translateX(-20px);
}

.benefit__number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.benefit__label {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Clients */
.clients {
  padding: 4rem 0;
  background: var(--bg-light);
  overflow: hidden;
}

.clients__slider {
  display: flex;
  animation: slide 20s linear infinite;
}

.clients__logo {
  flex: 0 0 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s;
}

.clients__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FAQ */
.faq {
  padding: 4rem 0;
  background: white;
}

.faq__list {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq__item {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.faq__question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: white;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq__question:hover {
  background: var(--bg-light);
}

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq__item--active .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.faq__answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.faq__item--active .faq__answer {
  max-height: 300px;
}

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

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

.footer__links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__link {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer__link:hover {
  color: white;
}

.footer__social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer__social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer__social-icon:hover {
  background: rgba(255,255,255,0.2);
}

.footer__copyright {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Section Title */
.section__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section__subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s forwards;
}

.fade-in-up {
  animation: fadeInUp 0.8s forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.8s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (min-width: 768px) {
  .header__nav {
    display: block;
  }
  
  .header__menu-toggle {
    display: none;
  }
  
  .hero__title {
    font-size: 3.5rem;
  }
  
  .hero__content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .features__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}