/* ============================================
   ElitePDFSuite.com — Design System
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a56db;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1e40af;
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--gray {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: #64748b;
  font-size: 1.125rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: #1a56db;
  color: #fff;
}

.btn--primary:hover {
  background: #1e40af;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.btn--secondary {
  background: #fff;
  color: #1a56db;
  border: 2px solid #1a56db;
}

.btn--secondary:hover {
  background: #eff6ff;
  color: #1e40af;
  transform: translateY(-1px);
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn--white {
  background: #fff;
  color: #1a56db;
}

.btn--white:hover {
  background: #f0f0f0;
  color: #1e40af;
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Header / Nav --- */
.header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.logo:hover {
  color: #0f172a;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a.active {
  color: #1a56db;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #0f172a;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 5rem 0;
}

.hero .container {
  text-align: center;
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 1.25rem;
  font-size: 3rem;
}

.hero h1 span {
  color: #1a56db;
}

.hero p {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  color: #16a34a;
  flex-shrink: 0;
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.product-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-card__badge {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.product-card__icon {
  width: 56px;
  height: 56px;
  background: #eff6ff;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.product-card__icon svg {
  width: 28px;
  height: 28px;
  color: #1a56db;
}

.product-card h3 {
  margin-bottom: 0.75rem;
}

.product-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.product-card__features {
  margin-bottom: 2rem;
}

.product-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: #334155;
  font-size: 0.9375rem;
}

.product-card__features li svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature-item__icon {
  width: 64px;
  height: 64px;
  background: #eff6ff;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.feature-item__icon svg {
  width: 28px;
  height: 28px;
  color: #1a56db;
}

.feature-item h4 {
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: #64748b;
  font-size: 0.9375rem;
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-item__number {
  width: 48px;
  height: 48px;
  background: #1a56db;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}

.step-item h4 {
  margin-bottom: 0.5rem;
}

.step-item p {
  color: #64748b;
  font-size: 0.9375rem;
}

/* --- System Requirements --- */
.sysreq {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.sysreq h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.sysreq ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9375rem;
  color: #334155;
}

.sysreq ul li:last-child {
  border-bottom: none;
}

.sysreq ul li strong {
  min-width: 140px;
  color: #0f172a;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #bfdbfe;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .hero-buttons {
  margin-bottom: 0;
}

/* --- Landing Page Specific --- */
.landing-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 4rem 0;
}

.landing-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.landing-hero__content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.landing-hero__content h1 span {
  color: #1a56db;
}

.landing-hero__content p {
  font-size: 1.125rem;
  color: #475569;
  margin-bottom: 2rem;
}

.landing-hero__screenshot {
  background: #e2e8f0;
  border-radius: 0.75rem;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.875rem;
  border: 2px dashed #cbd5e1;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.landing-feature {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 2rem;
}

.landing-feature svg {
  width: 24px;
  height: 24px;
  color: #1a56db;
  margin-bottom: 1rem;
}

.landing-feature h4 {
  margin-bottom: 0.5rem;
}

.landing-feature p {
  color: #64748b;
  font-size: 0.9375rem;
}

/* --- Content Pages --- */
.page-header {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #64748b;
  font-size: 1.125rem;
}

.page-content {
  padding: 4rem 0;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: #334155;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content ul li,
.page-content ol li {
  padding: 0.25rem 0;
  color: #334155;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: #64748b;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  color: #1a56db;
  flex-shrink: 0;
}

.contact-detail span {
  color: #334155;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.375rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .section { padding: 3rem 0; }

  /* Nav */
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav-toggle {
    display: block;
  }

  /* Hero */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.0625rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Landing */
  .landing-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-hero__content h1 {
    font-size: 2rem;
  }

  .landing-features {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }

  .container {
    padding: 0 1rem;
  }

  .btn--large {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}
