/* ========================================================
   M21 Love PDF - Landing Page Stylesheet
   Maestro21 Design System
   ======================================================== */

:root {
  --m21-blue: #032773;
  --m21-blue-dark: #021a4f;
  --m21-blue-light: #eef2ff;
  --m21-cyan: #00a5e7;
  --m21-red: #e5252a;
  --m21-red-hover: #c61f23;
  --m21-red-light: #fee2e2;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(3, 39, 115, 0.08);
  --shadow-lg: 0 16px 36px rgba(3, 39, 115, 0.12);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   Header / Navigation
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 14px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  padding: 2px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--m21-blue);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.btn-header-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--m21-red);
  color: white;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(229, 37, 42, 0.25);
  transition: all 0.2s;
}

.btn-header-install:hover {
  background: var(--m21-red-hover);
  transform: translateY(-1px);
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(0, 165, 231, 0.08) 0%, transparent 60%);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--m21-blue-light);
  border: 1px solid rgba(3, 39, 115, 0.15);
  border-radius: 30px;
  color: var(--m21-blue);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--m21-blue);
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 900px;
  margin: 0 auto 20px;
}

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

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--m21-red), var(--m21-red-hover));
  color: white;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(229, 37, 42, 0.3);
  transition: all 0.2s;
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 37, 42, 0.4);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: white;
  border: 1.5px solid var(--border);
  color: var(--m21-blue);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.btn-cta-secondary:hover {
  border-color: var(--m21-blue);
  background: var(--m21-blue-light);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: #10b981;
}

/* Hero Showcase Image */
.hero-mockup-wrap {
  margin: 50px auto 0;
  max-width: 1000px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: white;
}

.hero-mockup-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================================
   Comparison Section (M21 vs Online PDF Services)
   ======================================================== */
.section-padding {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--m21-cyan);
  margin-bottom: 8px;
}

.section-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--m21-blue);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

.comparison-table-wrap {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.comparison-table th {
  background: #f8fafc;
  font-weight: 800;
  color: var(--text-main);
}

.comparison-table th.col-m21 {
  background: var(--m21-blue-light);
  color: var(--m21-blue);
  font-size: 15px;
}

.comparison-table td.col-m21 {
  background: rgba(238, 242, 255, 0.4);
  font-weight: 700;
  color: var(--m21-blue);
}

/* ========================================================
   11 Tools Grid
   ======================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tool-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.tool-card:hover {
  border-color: rgba(3, 39, 115, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tool-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--m21-blue-light);
  border: 1px solid rgba(3, 39, 115, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m21-blue);
}

.tool-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.tool-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================================
   Pricing / Licensing Section
   ======================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border-color: var(--m21-blue);
  box-shadow: var(--shadow-lg);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  right: 28px;
  background: var(--m21-red);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.pricing-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--m21-blue);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

.pricing-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

.btn-pricing-free {
  padding: 12px;
  text-align: center;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}

.btn-pricing-free:hover {
  background: #e2e8f0;
}

.btn-pricing-pro {
  padding: 12px;
  text-align: center;
  background: #25d366;
  border-radius: var(--radius-sm);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s;
}

.btn-pricing-pro:hover {
  background: #20ba5a;
  transform: translateY(-1px);
}

/* ========================================================
   Privacy Document Styles (`privacy.html`)
   ======================================================== */
.privacy-container {
  max-width: 860px;
  margin: 40px auto 80px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.privacy-container h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--m21-blue);
  margin-bottom: 8px;
}

.privacy-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.privacy-container h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--m21-blue);
  margin: 28px 0 12px;
}

.privacy-container p, .privacy-container li {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 14px;
}

.privacy-container ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-highlight-box {
  background: var(--m21-blue-light);
  border-left: 4px solid var(--m21-blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

.privacy-highlight-box p {
  color: var(--m21-blue);
  font-weight: 600;
  margin: 0;
}

/* ========================================================
   Footer
   ======================================================== */
.site-footer {
  background: #0f172a;
  color: white;
  padding: 50px 0 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 13px;
  color: #94a3b8;
  max-width: 380px;
}

.footer-links-group h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-group a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-links-group a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 32px; }
  .tools-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .privacy-container { padding: 24px; }
}
