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

html {
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* =========================
   GLOBAL ELEMENTS
========================= */
img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  font-weight: 500;
}

ul {
  padding-left: 1.2rem;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

/* =========================
   LAYOUT
========================= */
.site-header,
.site-footer,
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* =========================
   HEADER
========================= */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 48px;
  height: 48px;
}

.tagline {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =========================
   THEME BUTTONS
========================= */
.theme-buttons {
  display: flex;
  gap: 0.5rem;
}

.theme-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.theme-btn.active {
  border-width: 2px;
}

/* =========================
   TRUST BAR
========================= */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.75rem 1rem;
  margin: 1rem 0 2rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* =========================
   CALCULATOR CARD
========================= */
.calculator-card {
  max-width: 500px;
  margin: 0 auto 2rem;
  padding: 1.75rem;
  border-radius: 14px;
}

.calculator-card h2 {
  text-align: center;
  margin-bottom: 1.2rem;
}

/* =========================
   FORM
========================= */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

label {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

input {
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  font-size: 1rem;
  border: 1px solid;
}

.form-actions {
  text-align: center;
  margin-top: 0.75rem;
}

#resetBtn {
  padding: 0.45rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* =========================
   RESULTS
========================= */
.results {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

/* =========================
   VALUE SECTION
========================= */
.value-section {
  max-width: 700px;
  margin: 3rem auto;
}

.value-section h2 {
  margin-bottom: 0.75rem;
}

/* =========================
   ADS (NON-INTRUSIVE)
========================= */
.ad-slot {
  max-width: 100%;
  margin: 1.5rem auto;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  border-radius: 6px;
  opacity: 0.85;
}

.ad-top {
  margin-top: 0.5rem;
}

.ad-inline {
  max-width: 500px;
}

.ad-footer {
  margin-top: 2rem;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  text-align: center;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}


/* =========================
   CHARGE TYPE SELECTOR
========================= */
.charge-type {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
  }
  
  .charge-type label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    cursor: pointer;
  }
  
  .charge-type input[type="radio"] {
    accent-color: currentColor;
    cursor: pointer;
  }
  
  /* =========================
     RESULTS POLISH
  ========================= */
  .results {
    padding-top: 1rem;
    border-top: 1px dashed;
  }
  
  .result-item strong {
    font-size: 1.05rem;
  }


/* =========================
   FAQ / CONTENT SPACING
========================= */
.main-content h1 {
    margin-bottom: 1.5rem;
  }
  
  .main-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .main-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
  }
  
  .main-content p {
    margin-bottom: 1rem;
    max-width: 800px;
  }
  
  .main-content section {
    margin-bottom: 2rem;
  }
  