/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-accent: #1a1a1a;
  --color-accent-hover: #333333;
  --color-border: #e5e5e5;
  --color-section-alt: #f5f5f0;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1080px;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--color-text);
}

/* === Buttons === */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--color-accent-hover);
}

.btn-small {
  padding: 8px 20px;
  font-size: 14px;
}

/* === Hero === */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 19px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* === Sections === */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--color-section-alt);
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

.section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* === Grids === */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

/* === Cards === */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.card-icon {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* === Stats === */
.stats {
  padding: 72px 0;
  background: var(--color-accent);
  color: white;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.5;
}

/* === Process === */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.process-step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === For Whom === */
.for-whom {
  max-width: 640px;
  margin: 48px auto 0;
}

.check-item {
  padding: 16px 0 16px 36px;
  position: relative;
  font-size: 17px;
  border-bottom: 1px solid var(--color-border);
}

.check-item:last-child {
  border-bottom: none;
}

.check-item::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-accent);
}

/* === Results === */
.result-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.result-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  background: var(--color-accent);
  color: white;
}

.result-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.result-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* === Before/After === */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.ba-column {
  border-radius: var(--radius);
  padding: 32px;
}

.ba-before {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.ba-after {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.ba-column h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.ba-before h3 {
  color: #991b1b;
}

.ba-after h3 {
  color: #166534;
}

.ba-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ba-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ba-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.ba-value {
  display: block;
  font-size: 15px;
  line-height: 1.5;
}

.ba-bad {
  color: #991b1b;
}

.ba-good {
  color: #166534;
}

/* === Pricing === */
.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-featured {
  border-color: var(--color-accent);
  border-width: 2px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.price-detail {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.pricing-list {
  list-style: none;
  text-align: left;
}

.pricing-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--color-text-muted);
}

.pricing-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-accent);
}

/* === Guarantee === */
.guarantee-section {
  max-width: 820px;
  text-align: center;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.guarantee-box {
  padding: 36px 32px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  background: var(--color-surface);
  text-align: left;
}

.guarantee-box h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.guarantee-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.guarantee-text:last-of-type {
  margin-bottom: 0;
}

.guarantee-sub {
  margin-top: 24px;
  font-size: 15px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* === Pricing Note === */
.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* === Contact === */
.contact-section {
  max-width: 560px;
  text-align: center;
}

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: var(--font);
  background: var(--color-surface);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form .btn {
  width: 100%;
  text-align: center;
}

/* === Footer === */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-note {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  /* Hamburger menu */
  .nav-toggle-label {
    display: block;
    z-index: 102;
  }

  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 101;
  }

  nav a {
    font-size: 17px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  nav a.btn {
    margin-top: 16px;
    border-bottom: none;
    text-align: center;
  }

  .nav-toggle:checked ~ nav {
    transform: translateX(0);
  }

  /* Hamburger animation */
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Close menu on link click (via checkbox) */
  nav a.nav-link {
    color: var(--color-text);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .header .container {
    height: 56px;
  }

  .hero {
    padding: 100px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .stats {
    padding: 48px 0;
  }

  .stat-number {
    font-size: 36px;
  }

  .result-card {
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .process {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .guarantee-box {
    padding: 28px 24px;
  }
}
