:root {
  --red: #e5322d;
  --red-dark: #cc2622;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f5f5f7;
  --card: #ffffff;
  --line: #e5e7eb;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.section-space {
  padding: 20px 0 80px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 24px;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red), #ff7559);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.highlight {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.nav-links a:hover {
  background: #f1f5f9;
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(229, 50, 45, 0.24);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero {
  padding: 72px 0 36px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 16px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p {
  width: min(820px, 100%);
  margin: 18px auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.upload-box {
  margin: 28px auto 6px;
  width: min(820px, 100%);
  background: #fff;
  border: 2px dashed #f4b3af;
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.upload-box p {
  margin: 12px 0 0;
  font-size: 14px;
}

.hidden-input {
  display: none;
}

.file-name {
  margin-top: 12px;
  font-weight: 700;
  color: #111827;
}

.section-title {
  text-align: center;
  margin-bottom: 26px;
}

.section-title h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.section-title p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.7;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.tool-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 231, 235, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  width: 68px;
  height: 68px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.red { background: linear-gradient(135deg, #e5322d, #ff6b57); }
.purple { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.blue { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }
.orange { background: linear-gradient(135deg, #ea580c, #fb923c); }
.pink { background: linear-gradient(135deg, #be185d, #f472b6); }
.green { background: linear-gradient(135deg, #166534, #4ade80); }
.gray { background: linear-gradient(135deg, #374151, #9ca3af); }
.navy { background: linear-gradient(135deg, #111827, #4b5563); }
.gold { background: linear-gradient(135deg, #a16207, #facc15); }

.tool-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.tool-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.mini-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.feature-wrap,
.steps-grid,
.faq-list {
  display: grid;
  gap: 22px;
}

.feature-wrap {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature,
.step-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827, #4b5563);
  color: #fff;
  font-size: 24px;
}

.feature h4,
.step-card h4,
.faq-item h4 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.feature p,
.step-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fee2e2;
  color: var(--red);
  font-weight: 800;
}

.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .tool-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-wrap,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 12px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .hero {
    padding-top: 48px;
  }

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

  .upload-box {
    border-radius: 26px;
  }
}
