/* discnxt.com — Theme Stylesheet
   Warm, grounded, Main Street. Not Silicon Valley.
   Playfair Display (headings) + Inter (body) */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2c2826;
  background: #faf8f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #c8624a; text-decoration: none; transition: color 0.2s; }
a:hover { color: #b04d36; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.25;
  color: #2c2826;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c8624a;
  margin-bottom: 0.75rem;
}

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

.section {
  padding: 5rem 0;
}

.section-light { background: #faf8f5; }
.section-warm { background: #f5f2ed; }
.section-white { background: #ffffff; }
.section-accent { background: #c8624a; color: #fff; }
.section-accent h1, .section-accent h2,
.section-accent h3, .section-accent p { color: #fff; }
.section-accent .eyebrow { color: #fce8e0; }

/* === NAV === */
nav {
  background: #fff;
  border-bottom: 1px solid #e0d8d0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2826;
}

.logo span { color: #c8624a; }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a4542;
}

.nav-links a:hover { color: #c8624a; }

.nav-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #c8624a;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.nav-cta:hover { background: #b04d36; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2c2826;
  cursor: pointer;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.2;
}

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

.btn-primary:hover {
  background: #b04d36;
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #2c2826;
  border: 2px solid #d4ccc4;
}

.btn-secondary:hover {
  border-color: #c8624a;
  color: #c8624a;
}

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

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* === HERO === */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}

.hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }

.hero p {
  font-size: 1.125rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  color: #5a5550;
}

/* === COMPARISON TABLE === */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e0d8d0;
  vertical-align: top;
}

.comparison-table th {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a7570;
  border-bottom: 2px solid #d4ccc4;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .highlight {
  background: #faf0ec;
  font-weight: 600;
  color: #c8624a;
}

.comparison-table .highlight-bar {
  border-left: 3px solid #c8624a;
}

.comparison-table .yes { color: #4a7c59; font-weight: 600; }
.comparison-table .no { color: #a09890; }

/* === PRICE DISPLAY === */
.price-block {
  text-align: center;
  padding: 2.5rem;
  background: #fff;
  border: 2px solid #e0d8d0;
  border-radius: 12px;
}

.price-block .price {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: #c8624a;
  line-height: 1;
  margin: 0.5rem 0;
}

.price-block .price-label {
  font-size: 0.875rem;
  color: #7a7570;
}

.price-block.featured {
  border-color: #c8624a;
  box-shadow: 0 4px 20px rgba(200, 98, 74, 0.12);
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: #fff;
  border: 1px solid #e0d8d0;
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(44, 40, 38, 0.06);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: #f5f2ed;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

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

.card p {
  font-size: 0.9375rem;
  color: #5a5550;
}

/* === STEPS === */
.steps {
  counter-reset: step;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e0d8d0;
}

.step:last-child { border-bottom: none; }

.step-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #c8624a;
  line-height: 1;
}

.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { color: #5a5550; }

/* === TWO-COLUMN LAYOUT === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* === TRUST ROW === */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-row h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.trust-row p {
  font-size: 0.875rem;
  color: #7a7570;
}

/* === FORMS === */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: #2c2826;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  border: 1px solid #d4ccc4;
  border-radius: 8px;
  background: #fff;
  color: #2c2826;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c8624a;
  box-shadow: 0 0 0 3px rgba(200, 98, 74, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* === CALLOUT BOX === */
.callout {
  padding: 1.5rem 2rem;
  background: #faf0ec;
  border-left: 4px solid #c8624a;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.callout h4 { color: #c8624a; margin-bottom: 0.5rem; }
.callout p { font-size: 0.9375rem; color: #4a4542; }

.callout-info {
  background: #f0f2e8;
  border-left-color: #4a7c59;
}

.callout-info h4 { color: #4a7c59; }

/* === RESPONSE TIME BANNER === */
.response-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  background: #f5f2ed;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.response-banner h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.response-banner p { font-size: 0.875rem; color: #5a5550; margin: 0; }

/* === SECTION DIVIDERS === */
.section-label {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label p {
  color: #5a5550;
  font-size: 1.0625rem;
}

/* === COMPETITOR BREAKDOWN === */
.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.breakdown-card {
  background: #fff;
  border: 1px solid #e0d8d0;
  border-radius: 12px;
  padding: 2rem;
}

.breakdown-card h4 { margin-bottom: 1rem; }
.breakdown-card table { width: 100%; font-size: 0.875rem; }
.breakdown-card td { padding: 0.4rem 0; }
.breakdown-card td:last-child { text-align: right; font-weight: 600; }

/* === HIGHLIGHT BADGE === */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #f0e6e2;
  color: #c8624a;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

/* === FOOTER === */
footer {
  background: #2c2826;
  color: #b5ada5;
  padding: 3rem 0;
  font-size: 0.875rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a { color: #d4ccc4; }
footer a:hover { color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse { direction: ltr; }
  .breakdown-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .response-banner { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3.5rem 0 2.5rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid #e0d8d0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  }

  .nav-links.open { display: flex; }

  .mobile-toggle { display: block; }

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

  .comparison-table th,
  .comparison-table td {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  .btn-group { flex-direction: column; align-items: stretch; }
}

@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-number { font-size: 1.5rem; }

  .comparison-table {
    font-size: 0.75rem;
  }
}
