:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #dbeafe;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-lg {
  padding: 13px 28px;
  font-size: 16px;
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo svg {
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero-copy {
  flex: 1;
  max-width: 560px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-copy > p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Hero decorative art: stacked file cards, pure CSS */

.hero-art {
  flex: 1;
  position: relative;
  min-height: 320px;
  max-width: 440px;
}

.file-card {
  position: absolute;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.file-card-back {
  width: 240px;
  height: 180px;
  top: 0;
  right: 20px;
  transform: rotate(6deg);
  background: var(--blue-soft);
  border-color: transparent;
}

.file-card-mid {
  width: 250px;
  height: 190px;
  top: 40px;
  right: 110px;
  transform: rotate(-5deg);
  background: #eff6ff;
  border-color: transparent;
}

.file-card-front {
  width: 280px;
  height: 210px;
  top: 70px;
  right: 50px;
  padding: 24px;
}

.file-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.file-card-lines .line {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: var(--border);
  margin-bottom: 10px;
}

.line-1 { width: 75%; }
.line-2 { width: 55%; }
.line-3 { width: 65%; }

.file-card-bar {
  margin-top: 20px;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  overflow: hidden;
}

.bar-fill {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 4px;
  background: var(--blue);
}

/* ---------- Features ---------- */

.features {
  padding: 88px 0 104px;
}

.features h2 {
  font-size: 36px;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ---------- Pricing ---------- */

.pricing {
  padding: 88px 0 104px;
  background: var(--bg-alt);
}

.pricing h2 {
  font-size: 36px;
  letter-spacing: -0.01em;
  text-align: center;
  margin-bottom: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  position: relative;
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.price {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 8px;
}

.price-amount {
  color: var(--text);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.price-list li {
  font-size: 15px;
  padding: 7px 0 7px 26px;
  position: relative;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg) scale(0.8);
}

.btn-block {
  display: block;
  text-align: center;
}

/* ---------- About ---------- */

.about {
  padding: 88px 0 104px;
}

.about-inner {
  display: flex;
  gap: 64px;
  align-items: center;
}

.about-copy {
  flex: 1;
}

.about-copy h2 {
  font-size: 36px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
  max-width: 520px;
}

.about-stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  background: var(--bg-alt);
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-brand .logo {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col {
  min-width: 140px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-art {
    width: 100%;
    min-height: 300px;
  }

  .file-card-back { right: calc(50% - 160px); }
  .file-card-mid { right: calc(50% - 30px); }
  .file-card-front { right: calc(50% - 130px); }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .about-inner {
    flex-direction: column;
    gap: 40px;
  }

  .about-stats {
    width: 100%;
  }
}

@media (max-width: 620px) {
  /* ponytail: no JS means no hamburger menu — nav links hide on mobile, footer anchors still cover them */
  .nav-links {
    display: none;
  }

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