/* MintQR QR landing — local styles only (qr-code-generator) */

.qr-hero {
  padding: 120px 0 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 901px) {
  .qr-hero {
    padding-top: 140px;
  }
}

/* Hero copy: πρώτη γραμμή — κεντραρισμένο κείμενο πάνω από το εργαλείο */
.qr-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 40px;
  display: block;
}

.qr-hero-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.qr-hero-copy .qr-hero-badge,
.qr-hero-copy .qr-hero-trust,
.qr-hero-copy .qr-hero-cta {
  justify-content: center;
}

/* Δεύτερη γραμμή: πλήρες πλάτος viewport, κάτω από το hero copy */
.qr-hero-tool-row {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  padding: 40px 0 56px;
  background: linear-gradient(180deg, rgba(240, 244, 242, 0.65) 0%, rgba(250, 252, 251, 0.95) 40%, var(--white) 100%);
  border-top: 1px solid rgba(46, 204, 143, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  box-sizing: border-box;
}

.qr-hero-tool-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.qr-hero-tool {
  width: 100%;
  min-width: 0;
}

.qr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-dark);
  margin-bottom: 16px;
}

.qr-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(46, 204, 143, 0.2);
}

.qr-hero .qr-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--obsidian);
  margin: 0 0 16px;
}

.qr-hero .qr-hero-h1 em {
  font-style: italic;
  color: var(--mint-dark);
}

.qr-hero-lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mist);
  font-weight: 300;
  margin: 0 0 18px;
}

.qr-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 22px;
}

.qr-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qr-hero-trust svg {
  flex-shrink: 0;
  color: var(--mint-dark);
}

.qr-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.qr-hero-cta .btn-primary,
.qr-hero-cta .btn-secondary {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
}

.qr-hero-cta .btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Generator card */
.qr-gen-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .qr-gen-card {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

.qr-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.qr-type-tab {
  appearance: none;
  border: 1px solid rgba(44, 49, 48, 0.14);
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.qr-type-tab:hover {
  border-color: rgba(46, 204, 143, 0.45);
  color: var(--obsidian);
}

.qr-type-tab[aria-selected="true"] {
  background: rgba(46, 204, 143, 0.12);
  border-color: rgba(46, 204, 143, 0.55);
  color: var(--obsidian);
}

.qr-type-panel[hidden] {
  display: none !important;
}

.qr-gen-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.qr-gen-actions-row .btn-secondary {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
}

.qr-gen-preview-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-preview-frame {
  width: 100%;
  max-width: min(100%, 400px);
  padding: 20px;
  overflow: auto;
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 242, 0.85));
  border: 1px solid rgba(46, 204, 143, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 40px rgba(13, 15, 14, 0.06);
}

/* Square stage: κεντράρει το QR· το placeholder καλύπτει την ίδια περιοχή και εμφανίζεται στο κέντρο */
.qr-preview-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-preview-stage .qr-preview-canvas {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: auto;
  height: auto !important;
  display: block;
  border-radius: 4px;
}

.qr-preview-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--mist);
  text-align: center;
  line-height: 1.55;
  max-width: none;
  pointer-events: none;
}

.qr-preview-placeholder[hidden] {
  display: none !important;
}

.qr-gen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.qr-gen-actions .btn-primary {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.qr-gen-actions .btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.qr-gen-actions .btn-secondary {
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.qr-color-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qr-color-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-color-field input[type="color"] {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(44, 49, 48, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--white);
}

.qr-color-field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 4px;
}

.qr-color-field input[type="color"]::-webkit-color-swatch {
  border-radius: 6px;
  border: none;
}

.qr-status.err {
  display: block;
  background: #fde8e8;
  color: #8b1a1a;
}

/* Benefit strip */
.qr-benefits {
  padding: 28px 40px 56px;
  position: relative;
  z-index: 1;
}

.qr-benefits-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .qr-benefits-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.qr-benefit-pill {
  background: var(--white);
  border: 1px solid rgba(44, 49, 48, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--obsidian);
  box-shadow: var(--shadow-soft);
}

.qr-benefit-pill span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--mist);
  margin-top: 4px;
}

/* Sections */
.qr-section {
  padding: 72px 40px;
  position: relative;
  z-index: 1;
}

.qr-section--pearl {
  background: var(--pearl);
}

/* «Πώς λειτουργεί» πριν το generator — ίδιο full-bleed με το qr-hero-tool-row */
.qr-hero .qr-section.qr-section--hero-prelude {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  padding-top: 44px;
  padding-bottom: 36px;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .qr-hero .qr-section.qr-section--hero-prelude {
    padding-top: 32px;
    padding-bottom: 28px;
  }
}

.qr-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.qr-section .section-title {
  margin-bottom: 12px;
}

.qr-section-intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mist);
  font-weight: 300;
  max-width: 640px;
  margin-bottom: 36px;
}

/* Steps */
.qr-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .qr-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.qr-step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  border: 1px solid rgba(44, 49, 48, 0.1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.qr-step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(46, 204, 143, 0.55);
  font-weight: 600;
}

.qr-step-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--obsidian);
  margin: 0 0 10px;
  padding-right: 48px;
}

.qr-step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  margin: 0;
}

/* Use cases */
.qr-use-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .qr-use-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .qr-use-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.qr-use-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(44, 49, 48, 0.1);
  transition: box-shadow 0.25s ease;
}

.qr-use-card:hover {
  box-shadow: var(--shadow-card);
}

.qr-use-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(46, 204, 143, 0.1);
  color: var(--mint-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.qr-use-icon svg {
  width: 22px;
  height: 22px;
}

.qr-use-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--obsidian);
  margin: 0 0 8px;
}

.qr-use-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
  margin: 0;
}

/* Bridge / CTA blocks */
.qr-bridge {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .qr-bridge {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
  }
}

.qr-bridge-list {
  margin: 16px 0 0;
  padding-left: 1.15em;
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate);
}

.qr-bridge-list li {
  margin-bottom: 8px;
}

.qr-cta-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(46, 204, 143, 0.35);
  box-shadow: 0 10px 36px rgba(46, 204, 143, 0.12);
}

.qr-cta-panel h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--obsidian);
  margin: 0 0 10px;
}

.qr-cta-panel p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mist);
  margin: 0 0 20px;
}

.qr-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.qr-cta-row .btn-primary,
.qr-cta-row .btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qr-cta-section {
  padding: 80px 40px;
}

.qr-cta-section--strong {
  background: linear-gradient(165deg, rgba(46, 204, 143, 0.08) 0%, rgba(240, 244, 242, 0.9) 50%, var(--white) 100%);
}

/* FAQ */
.qr-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.qr-faq-item {
  border: 1px solid rgba(44, 49, 48, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}

.qr-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--obsidian);
  position: relative;
  padding-right: 40px;
}

.qr-faq-item summary::-webkit-details-marker {
  display: none;
}

.qr-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--mint-dark);
  line-height: 1;
}

.qr-faq-item[open] summary::after {
  content: '−';
}

.qr-faq-body {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

.qr-faq-body a {
  color: var(--mint-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qr-faq-body a:hover {
  color: var(--obsidian);
}

/* SEO block */
.qr-seo-block {
  max-width: 800px;
  margin: 0 auto;
}

.qr-seo-block p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26, 29, 28, 0.88);
  margin: 0 0 16px;
}

.qr-seo-block p:last-child {
  margin-bottom: 0;
}

/* Final CTA */
.qr-final-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.qr-final-cta h2 {
  margin-bottom: 12px;
}

.qr-final-cta > p {
  font-size: 16px;
  color: var(--mist);
  margin-bottom: 22px;
}

.qr-final-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.qr-final-cta-btns a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Page bottom spacing before footer */
.qr-page-end {
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  .qr-hero {
    padding-top: 112px;
  }

  .qr-hero-grid {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 28px;
  }

  .qr-hero-tool-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .qr-hero-tool-row {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .qr-benefits {
    padding: 20px 24px 40px;
  }

  .qr-section {
    padding: 56px 24px;
  }

  .qr-color-row {
    grid-template-columns: 1fr;
  }
}

textarea.v4-form-input-grow {
  min-height: 100px;
  resize: vertical;
}

.v4-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(44, 49, 48, 0.12);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
}

.v4-form select:focus {
  outline: 2px solid rgba(46, 204, 143, 0.35);
  outline-offset: 1px;
}
