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

:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
}

/* === Navigation === */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 100;
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { font-size: 20px; font-weight: 700; color: var(--gray-900); text-decoration: none; }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  margin: 5px 0;
  transition: transform 0.3s;
}

/* === Section Common === */
section { padding: 100px 24px; }
.container { max-width: 960px; margin: 0 auto; }
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
}
.section-sub {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 48px;
  max-width: 560px;
}

/* === Page Header === */
.page-header {
  padding-top: 120px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #f5f3ff 0%, #f9fafb 100%);
  text-align: center;
}
.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #f5f3ff 0%, #f9fafb 100%);
  padding-top: 80px;
}
.hero-content {
  text-align: center;
  padding: 60px 24px 40px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.btn-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--gray-100);
}
.btn-soon svg { width: 20px; height: 20px; fill: currentColor; }
.btn-soon .badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* === Free Trial Note === */
.free-trial-note {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 12px;
  text-align: center;
}
.free-trial-note--hero {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 16px;
}

/* === Features === */
.features { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 32px;
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ede9fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-600); }

/* === Video Tutorial === */
.video-tutorial {
  background: #fff;
  padding-bottom: 60px;
}
.video-thumbnail {
  position: relative;
  display: block;
  max-width: 768px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}
.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.video-play-btn svg {
  width: 68px;
  height: 48px;
}
.video-thumbnail:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* === How to Use === */
.howto { background: var(--gray-50); }
.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
}
.step-img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
}
div.step-img {
  background: var(--gray-100);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 14px;
  border: 2px dashed #d1d5db;
}
.step-content::before {
  counter-increment: step;
  content: "Step " counter(step);
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.step-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--gray-600); }

/* === How to Use Preview (Home) === */
.howto-preview {
  background: var(--gray-50);
}
.howto-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.howto-preview-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
}
.howto-preview-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ede9fe;
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.howto-preview-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.howto-preview-card p { font-size: 14px; color: var(--gray-600); }

/* === Download CTA === */
.download {
  background: var(--gray-900);
  text-align: center;
}
.download .section-title { color: #fff; }
.download .section-sub { color: #9ca3af; margin-left: auto; margin-right: auto; }
.download .btn { font-size: 18px; padding: 16px 36px; }

/* === Download Page === */
.download-page { background: #fff; }
.download-hero {
  text-align: center;
  margin-bottom: 60px;
}
.download-hero .btn { font-size: 18px; padding: 16px 36px; margin-bottom: 16px; }
.system-req {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
  background: var(--gray-50);
  border-radius: 16px;
  border: 1px solid var(--gray-100);
}
.system-req h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gray-900);
}
.system-req ul {
  list-style: none;
  padding: 0;
}
.system-req li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.system-req li:last-child { border-bottom: none; }

/* === Pricing === */
.pricing { background: #fff; }
.pricing-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #fff;
  border-radius: 24px;
  border: 2px solid var(--primary);
  text-align: center;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.12);
}
.pricing-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.pricing-card .price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray-600);
}
.pricing-card .price-sub {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
  text-align: left;
}
.pricing-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

/* === FAQ === */
.faq { background: var(--gray-50); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 768px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.5;
  gap: 16px;
}
.faq-icon {
  width: 24px;
  height: 24px;
  fill: var(--gray-600);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer p,
.faq-answer ol {
  padding: 0 24px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-answer p:last-child,
.faq-answer ol:last-child {
  padding-bottom: 24px;
}
.faq-answer p:first-child {
  padding-top: 0;
}
.faq-answer ol {
  padding-left: 48px;
  margin: 8px 0;
}
.faq-answer li {
  margin-bottom: 4px;
}

/* === Footer === */
footer {
  background: var(--gray-900);
  border-top: 1px solid #374151;
  padding: 40px 24px;
  color: #6b7280;
  font-size: 13px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy {
  text-align: center;
  color: #6b7280;
}

/* === Legal Pages === */
.page-legal {
  padding-top: 80px;
}
.page-legal .legal-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.page-legal h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}
.page-legal .last-updated {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.page-legal h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: var(--gray-900);
}
.page-legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.page-legal p {
  margin-bottom: 16px;
  color: #374151;
}
.page-legal a { color: var(--primary); text-decoration: none; }
.page-legal a:hover { text-decoration: underline; }
.page-legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}
.page-legal th,
.page-legal td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--gray-100);
  color: #374151;
}
.page-legal th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-900);
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero-content { padding: 40px 24px 30px; }
  .page-header h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .howto-preview-grid { grid-template-columns: 1fr; }
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .pricing-card { padding: 36px 24px; }
  .pricing-card .price { font-size: 40px; }
}
