* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0066ff;
  --primary-coral: #ff6b6b;
  --accent-teal: #06d6a0;
  --accent-purple: #7c3aed;
  --dark-navy: #1a1d3a;
  --dark-gray: #2d3748;
  --light-gray: #f7fafc;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #06d6a0 100%);
  --gradient-coral: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #06d6a0 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

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

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

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--dark-gray);
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.cta-button {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-gray);
}

.hero-section {
  margin-top: 80px;
  min-height: 90vh;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-blue);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid var(--white);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

.hero-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.features-section {
  padding: 6rem 2rem;
  background: var(--light-gray);
}

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

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

.section-subtitle {
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  color: var(--dark-navy);
}

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

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--dark-gray);
  line-height: 1.8;
}

.product-section {
  padding: 6rem 2rem;
  background: var(--white);
}

.product-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.product-content h2 {
  color: var(--dark-navy);
  margin-bottom: 1.5rem;
}

.product-highlights {
  list-style: none;
  margin: 2rem 0;
}

.product-highlights li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-highlights li::before {
  content: "✓";
  background: var(--gradient-primary);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Stats Section */
.stats-section {
  padding: 6rem 2rem;
  background: var(--gradient-purple);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* How It Works Section */
.how-it-works-section {
  padding: 6rem 2rem;
  background: var(--light-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
}

.step-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-coral);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
}

.step-title {
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
  padding: 6rem 2rem;
  background: var(--white);
}

.benefits-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-coral);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 2rem;
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  color: var(--dark-navy);
}

.author-location {
  font-size: 0.875rem;
  color: var(--dark-gray);
  opacity: 0.7;
}

.testimonial-rating {
  margin-top: 1rem;
  color: #feca57;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 2rem;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--light-gray);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 102, 255, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Contact Section */
.contact-section {
  padding: 6rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-container h2 {
  margin-bottom: 1rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--white);
  background: var(--white);
}

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

.form-error {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #ff6b6b;
}

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--primary-blue);
  border: none;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  background: var(--gradient-coral);
  color: var(--white);
  text-align: center;
}

.cta-container h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

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

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about {
  padding-right: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-description {
  opacity: 0.8;
  line-height: 1.8;
}

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

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-teal);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  opacity: 0.6;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  opacity: 0.6;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  transition: bottom 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-header h3 {
  color: var(--dark-navy);
  margin: 0;
}

.cookie-description {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.cookie-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-category label {
  cursor: pointer;
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.cookie-btn-reject {
  background: var(--light-gray);
  color: var(--dark-gray);
}

.cookie-btn-settings {
  background: none;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Page Header */
.page-header {
  margin-top: 80px;
  padding: 4rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Content Page */
.content-section {
  padding: 6rem 2rem;
}

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

.content-image {
  width: 100%;
  border-radius: 20px;
  margin: 2rem 0;
  box-shadow: var(--shadow-lg);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.content-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
}

.content-card h3 {
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

/* Legal Pages */
.legal-section {
  padding: 4rem 2rem;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-container h2 {
  color: var(--dark-navy);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-container h3 {
  color: var(--dark-navy);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-container ul,
.legal-container ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.legal-container li {
  margin-bottom: 0.5rem;
}

/* Thanks Page */
.thanks-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--light-gray);
}

.thanks-container {
  text-align: center;
  max-width: 600px;
}

.thanks-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.thanks-container h1 {
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.thanks-container p {
  font-size: 1.125rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}

@media (max-width: 968px) {
  .header-container {
    padding: 0 1.5rem;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    padding: 2rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-container,
  .product-container,
  .benefits-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid,
  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

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

  .cookie-categories {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

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

  .header-container .cta-button {
    display: none;
  }
}
