/* ── Contenta Converter — Download Page Stylesheet ────────────────────
   Dark-themed homepage for contenta-converter.com
   Adapted from VideoRecompress Studio design system
   ------------------------------------------------------------------ */

/* ── CSS Variables ───────────────────────────────────────────────── */

:root {
  --dl-bg-root: #0A0E14;
  --dl-bg-panel: #111827;
  --dl-bg-card: #0D1321;
  --dl-border: #1E2D40;
  --dl-blue: #3B82F6;
  --dl-blue-hover: #2563EB;
  --dl-text-main: #E2E8F0;
  --dl-text-dim: #94A3B8;
  --dl-text-muted: #64748B;
  --dl-green: #10B981;
  --dl-amber: #F59E0B;
  --dl-radius-sm: 4px;
  --dl-radius: 6px;
  --dl-radius-lg: 8px;
  --dl-radius-xl: 12px;
  --dl-shadow-card: 0 1px 3px rgba(0,0,0,.4);
  --dl-shadow-elevated: 0 4px 16px rgba(0,0,0,.5);
  --dl-transition: 200ms ease;
}

/* ── Hero Section ────────────────────────────────────────────────── */

.dl-hero {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px 30px;
  position: relative;
}

.dl-hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, rgba(37,99,235,0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.dl-hero-inner {
  position: relative;
  z-index: 1;
}

.dl-hero .dl-product {
  font-size: 15px;
  font-weight: 600;
  color: var(--dl-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.dl-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.dl-hero h1 .text-blue {
  color: var(--dl-blue);
}

.dl-hero .dl-sub {
  font-size: 1.35rem;
  color: var(--dl-text-dim);
  margin: 0 auto 28px;
  max-width: 640px;
  line-height: 1.7;
}

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

.dl-hero .dl-trial {
  font-size: 16px;
  color: var(--dl-text-dim);
  font-weight: 500;
  margin-top: 18px;
}

.dl-hero .dl-version {
  font-size: 14px;
  color: var(--dl-text-muted);
  margin-top: 8px;
}

/* Hero screenshot */
.dl-hero-screenshot {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.dl-hero-screenshot img {
  width: 100%;
  border-radius: var(--dl-radius-xl);
  border: 1px solid var(--dl-border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(37,99,235,0.08);
}

/* ── Mobile email form ─────────────────────────────────────────── */

.dl-mobile-form { margin-top: 10px; }
.dl-mobile-form p { font-size: 16px; color: #ccc; margin-bottom: 10px; }
.dl-mobile-form input[type="text"] {
  padding: 10px 14px; border-radius: var(--dl-radius); border: 1px solid var(--dl-border);
  background: var(--dl-bg-card); color: #fff; font-size: 16px; width: 260px;
}
.dl-mobile-form input[type="submit"] {
  padding: 10px 24px; border-radius: var(--dl-radius); border: none;
  background: var(--dl-blue); color: #fff; font-weight: 600; font-size: 16px;
  cursor: pointer; margin-top: 8px;
}

/* ── Buttons ─────────────────────────────────────────────────────── */

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: var(--dl-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--dl-transition), color var(--dl-transition),
    border-color var(--dl-transition), transform 100ms ease,
    box-shadow var(--dl-transition);
  user-select: none;
}

.dl-btn:hover { text-decoration: none !important; }
.dl-btn:active { transform: scale(0.97); }
a.dl-btn { text-decoration: none !important; }

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

.dl-btn-primary:hover {
  background: var(--dl-blue-hover) !important;
  border-color: var(--dl-blue-hover) !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(59,130,246,.3);
  text-decoration: none !important;
}

.dl-btn-primary img { height: 20px; width: auto; max-width: 80px; object-fit: contain; }

.dl-btn-ghost {
  background: transparent !important;
  color: var(--dl-blue) !important;
  border-color: var(--dl-blue) !important;
}

.dl-btn-ghost:hover {
  background: var(--dl-blue) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ── Stats Bar ───────────────────────────────────────────────────── */

.dl-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(16,185,129,0.03));
  border-radius: var(--dl-radius-xl);
  border: 1px solid var(--dl-border);
}

.dl-stat-item { text-align: center; }

.dl-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.dl-stat-label {
  font-size: 0.95rem;
  color: var(--dl-text-dim);
  margin-top: 4px;
}

/* ── Sections ────────────────────────────────────────────────────── */

.dl-section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.dl-section-full {
  padding: 80px 0;
}

.dl-section-alt {
  background: var(--dl-bg-panel);
}

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

.dl-section-title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dl-text-main);
  margin-bottom: 0.4em;
}

.dl-section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--dl-text-dim);
  font-size: 1.2rem;
  line-height: 1.7;
}

/* ── Format Strip ────────────────────────────────────────────────── */

.dl-format-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Badges ──────────────────────────────────────────────────────── */

.dl-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--dl-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.dl-badge-blue {
  background: rgba(37,99,235,.15);
  color: var(--dl-blue);
}

.dl-badge-green {
  background: rgba(16,185,129,.15);
  color: var(--dl-green);
}

/* ── Trust Strip ─────────────────────────────────────────────────── */

.dl-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Feature Cards ───────────────────────────────────────────────── */

.dl-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.dl-feature-card {
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: border-color var(--dl-transition), transform var(--dl-transition);
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.dl-feature-card:hover {
  border-color: var(--dl-blue);
  transform: translateY(-2px);
  text-decoration: none !important;
}

a.dl-feature-card,
a.dl-feature-card:hover,
a.dl-feature-card:focus,
a.dl-feature-card:visited {
  text-decoration: none !important;
  color: inherit !important;
}

.dl-feature-card .dl-feature-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  color: var(--dl-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-feature-card .dl-feature-icon svg {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  flex-shrink: 0;
}

.dl-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dl-text-main);
  margin-bottom: 8px;
}

.dl-feature-card p {
  font-size: 1.05rem;
  color: var(--dl-text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ── Screenshot Showcase ─────────────────────────────────────────── */

.dl-screenshot-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
  height: 340px;
}

.dl-showcase-item {
  display: block;
  position: relative;
  border-radius: var(--dl-radius-lg);
  overflow: hidden;
  border: 1px solid var(--dl-border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s;
  flex-shrink: 0;
}

.dl-showcase-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl-showcase-center {
  width: 56%;
  height: 100%;
  z-index: 3;
  box-shadow: 0 16px 50px rgba(0,0,0,0.6), 0 0 30px rgba(37,99,235,0.08);
}

.dl-showcase-left {
  width: 30%;
  height: 80%;
  z-index: 2;
  margin-right: -28px;
  transform: perspective(800px) rotateY(6deg) scale(0.95);
  opacity: 0.85;
}

.dl-showcase-right {
  width: 30%;
  height: 80%;
  z-index: 2;
  margin-left: -28px;
  transform: perspective(800px) rotateY(-6deg) scale(0.95);
  opacity: 0.85;
}

.dl-showcase-item:hover {
  z-index: 10;
  transform: scale(1.04);
  opacity: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(37,99,235,0.12);
}

.dl-showcase-left:hover {
  transform: perspective(800px) rotateY(0deg) scale(1.04);
}

.dl-showcase-right:hover {
  transform: perspective(800px) rotateY(0deg) scale(1.04);
}

/* ── Persona Cards ───────────────────────────────────────────────── */

.dl-persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.dl-persona-card {
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: border-color var(--dl-transition), transform var(--dl-transition);
}

.dl-persona-card:hover {
  border-color: var(--dl-blue);
  transform: translateY(-2px);
}

.dl-persona-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  line-height: 1;
}

.dl-persona-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dl-text-main);
  margin-bottom: 8px;
}

.dl-persona-card p {
  font-size: 1.05rem;
  color: var(--dl-text-dim);
  margin: 0;
  line-height: 1.6;
}

/* ── Before/After Comparison ─────────────────────────────────────── */

.dl-comparison-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.dl-comparison-card {
  flex: 1;
  min-width: 220px;
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.dl-comparison-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.dl-comparison-before .dl-comparison-label { color: #EF4444; }
.dl-comparison-after .dl-comparison-label { color: var(--dl-green); }

.dl-comparison-detail {
  font-size: 1rem;
  color: var(--dl-text-dim);
  margin-bottom: 4px;
}

.dl-comparison-size {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 8px 0;
}

.dl-comparison-before .dl-comparison-size { color: var(--dl-text-dim); }
.dl-comparison-after .dl-comparison-size { color: var(--dl-green); }

.dl-comparison-arrow {
  font-size: 2.2rem;
  color: var(--dl-text-muted);
}

.dl-savings-bar {
  max-width: 500px;
  margin: 24px auto 0;
  text-align: center;
  padding: 0 20px;
}

.dl-savings-track {
  width: 100%;
  height: 8px;
  background: var(--dl-bg-card);
  border-radius: 4px;
  overflow: hidden;
}

.dl-savings-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--dl-blue), var(--dl-green));
  border-radius: 4px;
  transition: width 1s ease;
}

.dl-savings-text {
  font-size: 1.05rem;
  color: var(--dl-green);
  font-weight: 600;
  margin-top: 10px;
}

/* ── Steps ───────────────────────────────────────────────────────── */

.dl-steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.dl-step-item {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.dl-step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--dl-bg-card);
  border: 2px solid var(--dl-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dl-blue);
}

.dl-step-number svg {
  width: 24px;
  height: 24px;
}

.dl-step-connector {
  flex: 0 0 60px;
  height: 2px;
  background: var(--dl-border);
  margin-top: 28px;
}

.dl-step-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dl-text-main);
  margin-bottom: 6px;
}

.dl-step-item p {
  font-size: 0.95rem;
  color: var(--dl-text-dim);
  margin: 0;
  line-height: 1.5;
}

.dl-steps-img {
  max-width: 100%;
  margin: 24px auto 0;
  display: block;
}

.dl-steps-note {
  font-size: 0.95rem;
  color: var(--dl-text-dim);
  margin-top: 12px;
  text-align: center;
}

/* ── Testimonials ────────────────────────────────────────────────── */

.dl-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.dl-testimonial-card {
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  padding: 28px 24px;
  transition: border-color var(--dl-transition);
}

.dl-testimonial-card:hover {
  border-color: #2a3f5a;
}

.dl-testimonial-stars {
  color: var(--dl-amber);
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.dl-testimonial-text {
  font-size: 1.1rem;
  color: var(--dl-text-dim);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 14px;
}

.dl-testimonial-author {
  font-size: 0.95rem;
  color: var(--dl-text-muted);
  font-weight: 600;
}

.dl-rating-agg {
  text-align: center;
  font-size: 1.05rem;
  color: var(--dl-text-dim);
  margin-top: 24px;
}

.dl-rating-agg strong {
  color: var(--dl-amber);
}

/* ── Pricing CTA ─────────────────────────────────────────────────── */

.dl-cta-pricing {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.dl-cta-pricing h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dl-text-main);
  margin-bottom: 8px;
}

.dl-cta-pricing .dl-lead {
  font-size: 1.2rem;
  color: var(--dl-text-dim);
  margin-bottom: 20px;
}

.dl-price-tag {
  font-size: 3.7rem;
  font-weight: 800;
  color: var(--dl-blue);
  line-height: 1.1;
  margin-bottom: 4px;
}

.dl-price-tag .dl-currency {
  font-size: 1.6rem;
  vertical-align: super;
}

.dl-price-period {
  color: var(--dl-text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}

/* ── FAQ Accordion ───────────────────────────────────────────────── */

.dl-faq-list {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.dl-faq-item {
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--dl-transition);
}

.dl-faq-item:hover {
  border-color: #2a3f5a;
}

.dl-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--dl-text-main);
  user-select: none;
  gap: 16px;
}

.dl-faq-question::after {
  content: "\25BE";
  font-size: 1.3rem;
  color: var(--dl-text-muted);
  flex-shrink: 0;
  transition: transform var(--dl-transition);
}

.dl-faq-item.active .dl-faq-question::after {
  transform: rotate(180deg);
}

.dl-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
}

.dl-faq-item.active .dl-faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

.dl-faq-answer p {
  margin-bottom: 0;
  color: var(--dl-text-dim);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ── Unlock Strip ────────────────────────────────────────────────── */

.dl-unlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  margin: 0 auto 0;
  max-width: 1100px;
  background: var(--dl-bg-card);
  border: 1px solid var(--dl-border);
  border-radius: var(--dl-radius-lg);
  text-align: center;
}

.dl-unlock span { font-size: 0.95rem; color: var(--dl-text-muted); line-height: 1.5; }
.dl-unlock a { font-size: 1rem; font-weight: 600; color: var(--dl-blue); text-decoration: none; }
.dl-unlock a:hover { text-decoration: underline; }

/* ── Terms ───────────────────────────────────────────────────────── */

.dl-terms {
  max-width: 1100px;
  margin: 0 auto 20px auto;
  padding: 40px 20px;
  color: var(--dl-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.dl-terms h3 {
  font-size: 16px;
  color: var(--dl-text-dim);
  margin: 20px 0 8px 0;
}

.dl-terms ul {
  padding-left: 18px;
  margin: 0;
}

.dl-terms-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.dl-terms-cols > div {
  flex: 1;
  min-width: 250px;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 991px) {
  .dl-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-persona-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-stats-bar { gap: 32px; }
}

@media (max-width: 767px) {
  .dl-hero { padding: 40px 20px 20px; }
  .dl-hero h1 { font-size: 2.2rem; }
  .dl-hero .dl-sub { font-size: 1.15rem; }
  .dl-hero-glow { display: none; }
  .dl-hero-screenshot { margin-top: 24px; }
  .dl-hero-actions { flex-direction: column; align-items: center; }

  .dl-section { padding: 48px 20px; }
  .dl-section-full { padding: 48px 0; }
  .dl-section-title { margin-bottom: 32px; }
  .dl-section-title h2 { font-size: 1.7rem; }

  .dl-stats-bar { gap: 24px; padding: 24px 20px; }
  .dl-stat-value { font-size: 1.7rem; }

  .dl-steps-grid { flex-direction: column; gap: 24px; }
  .dl-step-connector { width: 2px; height: 24px; flex: 0 0 24px; margin: 0 auto; }

  .dl-screenshot-showcase {
    flex-direction: column;
    height: auto;
    gap: 12px;
    padding: 0 20px;
  }
  .dl-showcase-item {
    width: 90% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .dl-showcase-item img { height: auto; }

  .dl-comparison-arrow { transform: rotate(90deg); }
}

@media (max-width: 575px) {
  .dl-feature-grid { grid-template-columns: 1fr; }
  .dl-persona-grid { grid-template-columns: 1fr; }
  .dl-testimonial-grid { grid-template-columns: 1fr; }
  .dl-hero h1 { font-size: 1.9rem; }
}
