/* ========================================
   PDF Diff AI - Landing Page
   ======================================== */

:root {
  --lp-blue-50: #f0f4ff;
  --lp-blue-100: #e0e8ff;
  --lp-blue-500: #4467ee;
  --lp-blue-600: #3553d4;
  --lp-blue-700: #2a44b0;
  --lp-dark: #1a1a2e;
  --lp-dark-2: #16213e;
  --lp-text: #1a1a2e;
  --lp-muted: rgba(0, 0, 0, 0.6);
  --lp-faint: rgba(0, 0, 0, 0.08);
  --lp-bg-alt: #fafbff;
  --lp-yellow-bg: #fff3cd;
  --lp-yellow-border: #f0d97a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: var(--lp-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lp-blue-600);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-faint);
}
.lp-header .lp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.lp-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--lp-blue-500), var(--lp-blue-700));
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
}
.lp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.lp-nav a { color: var(--lp-text); }
.lp-nav-cta {
  background: var(--lp-dark);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.lp-nav-cta:hover {
  background: var(--lp-blue-700);
  text-decoration: none !important;
}

/* ---------- Hero ---------- */
.lp-hero {
  background: linear-gradient(180deg, var(--lp-blue-50) 0%, #fff 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-hero-visual { order: -1; }
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lp-blue-100);
  color: var(--lp-blue-700);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.lp-hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--lp-blue-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.lp-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.25;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lp-hero-sub {
  font-size: 17px;
  color: var(--lp-muted);
  margin: 0 0 32px;
  max-width: 560px;
}
.lp-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.lp-hero-fineprint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--lp-muted);
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lp-dark);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 4px 14px rgba(26, 26, 46, 0.18);
}
.lp-btn-primary:hover {
  background: var(--lp-blue-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 26, 46, 0.24);
  text-decoration: none !important;
}
.lp-btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}
.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--lp-text) !important;
}
.lp-btn-ghost:hover {
  background: var(--lp-blue-50);
  text-decoration: none !important;
}

/* Hero visual: stacked PDF cards */
.lp-hero-visual {
  position: relative;
  height: 340px;
}
.lp-doc-card {
  position: absolute;
  width: 200px;
  height: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.12);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-doc-card-1 {
  top: 20px;
  left: 10%;
  transform: rotate(-6deg);
  border: 1px solid var(--lp-faint);
}
.lp-doc-card-2 {
  top: 40px;
  right: 10%;
  transform: rotate(5deg);
  border: 1px solid var(--lp-faint);
}
.lp-doc-line {
  height: 8px;
  background: #e2e6f0;
  border-radius: 3px;
  width: 100%;
}
.lp-doc-line.short { width: 60%; }
.lp-doc-line.highlight {
  background: var(--lp-yellow-bg);
  border: 1px solid var(--lp-yellow-border);
}
.lp-diff-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: var(--lp-blue-500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(68, 103, 238, 0.4);
}

/* ---------- Sections ---------- */
.lp-section {
  padding: 80px 0;
}
.lp-section-alt {
  background: var(--lp-bg-alt);
}
.lp-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 48px;
  letter-spacing: -0.01em;
}

/* Steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .lp-steps { grid-template-columns: 1fr; }
}
.lp-step {
  background: #fff;
  border: 1px solid var(--lp-faint);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}
.lp-step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--lp-blue-500), var(--lp-blue-700));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.lp-step h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
}

/* Features */
.lp-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .lp-features { grid-template-columns: 1fr; }
}
.lp-feature {
  background: #fff;
  border: 1px solid var(--lp-faint);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.lp-feature-icon {
  width: 56px;
  height: 56px;
  background: var(--lp-blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.lp-feature h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.lp-feature p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
}

/* Privacy */
.lp-privacy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .lp-privacy { grid-template-columns: 1fr; }
}
.lp-privacy-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.lp-privacy-icon {
  width: 48px;
  height: 48px;
  background: var(--lp-blue-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.lp-privacy-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.lp-privacy-item p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 14px;
}

/* CTA */
.lp-cta {
  background: linear-gradient(135deg, var(--lp-dark), var(--lp-dark-2));
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.lp-cta h2 {
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 800;
}
.lp-cta p {
  font-size: 17px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.75);
}
.lp-cta .lp-btn-primary {
  background: #fff;
  color: var(--lp-dark) !important;
}
.lp-cta .lp-btn-primary:hover {
  background: var(--lp-blue-50);
}

/* Footer */
.lp-footer {
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  color: var(--lp-muted);
  border-top: 1px solid var(--lp-faint);
}
.lp-footer p {
  margin: 4px 0;
}
.lp-footer-small {
  font-size: 12px;
}
