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

:root {
  --primary-color: #1976d2;
  --primary-dark: #1565c0;
  --secondary-color: #424242;
  --text-color: #212121;
  --text-light: #757575;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-white);
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* Header (for contact page) */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav {
  position: static;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

/* Hero Section */
#hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

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

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
}

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

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

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hero-note {
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero-image {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Section Styles */
section {
  padding: 80px 0;
}

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

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Problem Section */
#problem {
  text-align: center;
}

.problem-text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.checklist {
  list-style: none;
  max-width: 600px;
  margin: 2rem auto;
  text-align: left;
}

.checklist li {
  padding: 0.75rem 0;
  font-size: 1.125rem;
}

.checklist li::before {
  content: "✓ ";
  color: var(--success-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Solution Section */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 968px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

.solution-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.solution-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* How it works */
.steps {
  max-width: 800px;
  margin: 3rem auto;
}

.step {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Value Sections */
.value-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.value-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.value-list li {
  padding: 0.75rem 0;
  font-size: 1.125rem;
}

.value-list li::before {
  content: "・";
  margin-right: 0.5rem;
}

/* Security Section */
.security-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .security-cards {
    grid-template-columns: 1fr;
  }
}

.security-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.security-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.security-card ul {
  list-style: none;
  margin-top: 1rem;
}

.security-card ul li {
  padding: 0.5rem 0;
}

.security-card ul li::before {
  content: "・";
  margin-right: 0.5rem;
}

.security-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Use Cases */
.use-cases {
  max-width: 800px;
  margin: 0 auto;
}

/* Pricing Plans */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.pricing-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
}

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

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: scale(1);
  }
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1rem 0;
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.pricing-features li::before {
  content: "✓ ";
  color: var(--success-color);
  font-weight: bold;
  margin-right: 0.5rem;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 1rem;
  font-style: italic;
}

.pricing-cta {
  margin-top: 2rem;
}

/* Comparison Table */
.comparison-table {
  max-width: 900px;
  margin: 3rem auto;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--bg-light);
  font-weight: 600;
}

.check-mark {
  color: var(--success-color);
  font-weight: bold;
}

.cross-mark {
  color: #f44336;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 3rem auto;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.faq-answer {
  color: var(--text-light);
}

/* CTA Section */
#cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

#cta h2 {
  color: white;
}

#cta .cta-buttons {
  justify-content: center;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-copyright {
  margin-top: 1rem;
  opacity: 0.8;
}

/* Contact Page Styles */
.contact-intro {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.contact-form-wrapper iframe {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: block;
  border: none;
}

.contact-email {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.contact-email h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-email p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-email a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.back-link {
  text-align: center;
  margin-top: 3rem;
}

.back-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Contact Page Footer */
main + footer {
  background: var(--bg-light);
  padding: 2rem 0;
  margin-top: 4rem;
}

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

main + footer .footer-links a {
  color: var(--text-light);
}

main + footer .footer-links a:hover {
  color: var(--primary-color);
}

main + footer .footer-copyright {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

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

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Contact Page Specific */
main .container {
  padding: 2rem 20px;
}

main h1 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  main h1 {
    font-size: 2rem;
  }

  header .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  footer .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Markdown Content Styles */
main .container {
  line-height: 1.8;
}

main .container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

main .container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: left;
}

main .container h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  text-align: left;
}

main .container h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  text-align: left;
}

main .container p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

main .container ul li,
main .container ol li {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

main .container ul li::marker {
  color: var(--primary-color);
}

main .container ol li::marker {
  color: var(--primary-color);
  font-weight: 600;
}

main .container strong {
  font-weight: 600;
  color: var(--text-color);
}

main .container em {
  font-style: italic;
}

main .container code {
  background-color: var(--bg-light);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  color: var(--primary-color);
}

main .container pre {
  background-color: var(--bg-light);
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

main .container pre code {
  background-color: transparent;
  padding: 0;
  color: var(--text-color);
}

main .container blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-style: italic;
}

main .container a {
  color: var(--primary-color);
  text-decoration: none;
}

main .container a:hover {
  text-decoration: underline;
}

main .container hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2rem 0;
}

main .container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

main .container table th,
main .container table td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

main .container table th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--text-color);
}

main .container table td {
  color: var(--text-color);
}

