/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #F6F9FA 0%, #FFFFFF 50%, #EBF4F5 100%);
  color: #263339;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 50px;
}

/* Molecule background top-left */
.bg-molecules {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.75;
}

/* Navbar Header */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 228, 232, 0.8);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1E2D34;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-highlight {
  color: #6DB824;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  color: #3A4B53;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #6DB824;
}

.nav-btn {
  background: #6DB824;
  color: #FFFFFF !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(109, 184, 36, 0.3);
  transition: all 0.25s ease;
}

.nav-btn:hover {
  background: #5CA31C;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(109, 184, 36, 0.4);
}

/* Page Layout */
.page-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.hero-header {
  text-align: center;
  margin-bottom: 35px;
}

.headline {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.title-primary {
  color: #F1A000;
}

.title-secondary {
  color: #EE9800;
  font-weight: 900;
}

/* Article Section (Main Text) */
.article-section {
  max-width: 900px;
  margin: 0 auto 60px auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 35px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(230, 235, 238, 0.8);
}

.article-paragraph {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  font-weight: 500;
  color: #24353C;
  line-height: 1.68;
  margin-bottom: 22px;
}

.article-paragraph:last-child {
  margin-bottom: 0;
}

/* Recipes Section (Opskrifter) */
.recipes-section {
  margin-bottom: 50px;
  padding-top: 10px;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.recipe-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(230, 235, 238, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.recipe-image-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.recipe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recipe-card:hover .recipe-img {
  transform: scale(1.05);
}

.recipe-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(109, 184, 36, 0.92);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.recipe-content {
  padding: 24px;
}

.recipe-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E2D34;
  margin-bottom: 16px;
}

.recipe-block {
  margin-bottom: 16px;
}

.recipe-block h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6DB824;
  margin-bottom: 8px;
  font-weight: 800;
}

.ingredient-list {
  list-style: disc inside;
  font-size: 0.95rem;
  color: #3E5057;
  line-height: 1.5;
}

.ingredient-list li {
  margin-bottom: 4px;
}

.recipe-instructions {
  font-size: 0.95rem;
  color: #3E5057;
  line-height: 1.55;
}

.recipe-cta-banner {
  background: linear-gradient(135deg, #1E2D34 0%, #293D47 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 38px 30px;
  text-align: center;
  margin: 45px auto 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.cta-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-content p {
  font-size: 1.05rem;
  color: #B5C5CD;
  margin-bottom: 22px;
}

.btn-cta {
  display: inline-block;
  background: #6DB824;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(109, 184, 36, 0.4);
  transition: all 0.25s ease;
}

.btn-cta:hover {
  background: #5CA31C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109, 184, 36, 0.5);
}

/* Offer & Form Section (Below Text) */
.offer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  justify-items: center;
  max-width: 960px;
  margin: 0 auto 50px;
  padding-top: 20px;
}

/* Product Image Wrapper */
.product-wrapper {
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.18));
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.product-image:hover {
  transform: translateY(-5px) scale(1.02);
}

/* Form Card */
.form-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 38px 34px 30px;
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(230, 235, 238, 0.8);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1E2D34;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Price Container */
.price-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.old-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #A3ADB2;
  text-decoration: line-through;
}

.new-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: #6DB824;
}

/* Form Styles */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group input {
  width: 100%;
  height: 54px;
  background-color: #EEF2F3;
  border: 1px solid #E1E6E8;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 1.05rem;
  font-family: inherit;
  color: #1E2D34;
  outline: none;
  transition: all 0.25s ease;
}

.input-group input::placeholder {
  color: #3D4F57;
  opacity: 0.9;
}

.input-group input:focus {
  background-color: #FFFFFF;
  border-color: #6DB824;
  box-shadow: 0 0 0 3px rgba(109, 184, 36, 0.2);
}

/* Input validation styles */
.input-error-msg {
  font-size: 0.78rem;
  font-weight: 600;
  color: #E53935;
  margin-top: 6px;
  min-height: 18px;
  display: none;
  transition: all 0.25s ease;
  text-align: left;
  padding-left: 4px;
  line-height: 1.3;
}

.input-error-msg.show {
  display: block;
}

.input-error-msg.success {
  color: #2E7D32;
}

.input-error-msg.warning {
  color: #E65100;
}

.input-group input.is-invalid {
  border-color: #E53935 !important;
  background-color: #FFF5F5 !important;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15) !important;
}

.input-group input.is-valid {
  border-color: #4CAF50 !important;
  background-color: #F1F8E9 !important;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15) !important;
}

/* Submit Button */
.btn-submit {
  height: 56px;
  background: linear-gradient(180deg, #7CD027 0%, #68B420 100%);
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(109, 184, 36, 0.38);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 8px;
}

.btn-submit:hover {
  background: linear-gradient(180deg, #84DB2B 0%, #6FC022 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(109, 184, 36, 0.48);
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(109, 184, 36, 0.3);
}

/* Security Badge */
.security-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding-top: 10px;
}

.lock-icon {
  width: 26px;
  height: 26px;
  background-color: #6DB824;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  margin-top: 2px;
}

.security-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #23353D;
  line-height: 1.35;
}

/* Form Disclaimer Below Security Text */
.form-disclaimer {
  font-size: 0.76rem;
  color: #6C7D85;
  line-height: 1.42;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #E1E6E8;
  text-align: left;
}

/* Thank You Page Styles */
.thankyou-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0 50px;
}

.thankyou-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 45px 40px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(230, 235, 238, 0.9);
}

.thankyou-icon-box {
  margin-bottom: 20px;
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7CD027 0%, #68B420 100%);
  color: #FFFFFF;
  font-size: 2.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(109, 184, 36, 0.35);
}

.thankyou-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #1E2D34;
  margin-bottom: 10px;
}

.thankyou-subtitle {
  font-size: 1.15rem;
  color: #52646C;
  margin-bottom: 30px;
  font-weight: 500;
}

.thankyou-info-box {
  background: #F6F9FA;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 26px;
  border: 1px solid #E4EAEF;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.98rem;
}

.info-label {
  color: #6C7D85;
  font-weight: 500;
}

.info-value {
  color: #1E2D34;
  font-weight: 700;
}

.price-highlight {
  color: #6DB824;
  font-size: 1.15rem;
}

.status-badge {
  background: #E8F5E9;
  color: #2E7D32;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.thankyou-message {
  font-size: 1rem;
  color: #3E5057;
  line-height: 1.6;
  margin-bottom: 30px;
}

.keep-phone-ready {
  font-weight: 700;
  color: #1E2D34;
  margin-top: 10px;
  font-size: 1.05rem;
}

.btn-home {
  display: inline-block;
  background: #6DB824;
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(109, 184, 36, 0.35);
  transition: all 0.25s ease;
}

.btn-home:hover {
  background: #5CA31C;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(109, 184, 36, 0.45);
}

/* Footer Section */
.footer {
  background: #1A262C;
  color: #9AABB3;
  padding: 45px 20px 30px;
  border-top: 3px solid #6DB824;
  margin-top: 40px;
}

.footer-container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-tagline {
  font-size: 0.92rem;
  color: #7D9099;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 0.9rem;
}

.footer-links a {
  color: #C2D1D8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #6DB824;
}

.footer-separator {
  color: #43545C;
}

.footer-disclaimer {
  max-width: 750px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #687982;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #556770;
  margin-top: 10px;
}

/* Bottom Green Bar */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #6DB824;
  z-index: 10;
}

/* Modal Windows */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 35px 30px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.policy-modal-content {
  max-width: 650px;
  text-align: left;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #A0ADB2;
  cursor: pointer;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: #6DB824;
  color: #FFFFFF;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.modal-title {
  font-size: 1.4rem;
  color: #1E2D34;
  margin-bottom: 12px;
  font-weight: 700;
}

.modal-desc {
  font-size: 1rem;
  color: #4A5B63;
  line-height: 1.5;
  margin-bottom: 24px;
}

.policy-body {
  font-size: 0.95rem;
  color: #33444C;
  line-height: 1.6;
  margin-top: 15px;
}

.policy-body h4 {
  font-size: 1.1rem;
  margin: 16px 0 8px;
  color: #1E2D34;
}

.modal-btn {
  width: 100%;
  height: 48px;
  background: #6DB824;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-btn:hover {
  background: #5CA31C;
}

/* Responsive Media Queries */
@media (max-width: 860px) {
  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .article-section {
    padding: 25px 20px;
  }

  .offer-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-wrapper {
    max-width: 340px;
  }

  .thankyou-card {
    padding: 30px 20px;
  }
}
