/* LuminaSkin — COD test landing */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --border: #e5e2dd;
  --accent: #2d6a4f;
  --accent-hover: #1b4332;
  --accent-light: #d8f3dc;
  --gold: #b8860b;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

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

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.header-nav a:hover {
  color: var(--text);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Hero */

.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

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

.hero-image {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.hero-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.price-old {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-gold {
  background: #fff8e1;
  color: var(--gold);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  text-align: center;
}

/* Benefits */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.benefit-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Description */

.description-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Reviews */

.reviews-summary {
  text-align: center;
  margin-bottom: 2rem;
}

.stars {
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.rating-text {
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.review-card .stars {
  font-size: 1rem;
}

.review-author {
  font-weight: 600;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.review-location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* CTA strip */

.cta-strip {
  text-align: center;
  padding: 3rem 0;
}

.cta-strip p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Order page */

.order-page {
  padding: 2rem 0 4rem;
}

.order-page h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.order-subtitle {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.order-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.order-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.form-section-title:not(:first-child) {
  margin-top: 1.75rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group label .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.payment-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.payment-box input[type="radio"] {
  width: auto;
  accent-color: var(--accent);
}

.payment-box label {
  margin: 0;
  font-weight: 500;
}

.package-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.package-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.package-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-light);
}

.package-option input {
  width: auto;
  accent-color: var(--accent);
}

.package-option-content {
  flex: 1;
}

.package-option-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.package-option-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.package-discount {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Order summary */

.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}

.order-summary h2 {
  font-size: 1.1rem;
  margin: 0 0 1.25rem;
  text-align: left;
}

.summary-product {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.summary-thumb {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8f5e9, #a5d6a7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.summary-product-info h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.summary-product-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.summary-line.discount {
  color: var(--accent);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.summary-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.trust-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.trust-icon {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Thank you */

.thankyou-page {
  padding: 4rem 0;
  text-align: center;
}

.thankyou-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.thankyou-card h1 {
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.thankyou-order-id {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  margin: 1rem 0;
}

.thankyou-note {
  color: var(--text-muted);
  margin: 1.25rem 0;
  line-height: 1.7;
}

.thankyou-summary {
  background: var(--bg);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-align: left;
}

.thankyou-summary dt {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.75rem;
}

.thankyou-summary dt:first-child {
  margin-top: 0;
}

.thankyou-summary dd {
  margin: 0.15rem 0 0;
  font-weight: 500;
}

/* Footer */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.footer-note,
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
}

/* Responsive */

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-price,
  .badges {
    justify-content: center;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
    order: -1;
  }

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

  .header-nav a:not(.btn) {
    display: none;
  }
}
