/* Purefoamfreshness - Modern Mobile-First Stylesheet */
:root {
  --pf-white: #ffffff;
  --pf-bg-light: #f8fafc;
  --pf-bg-card: #ffffff;
  --pf-mint-light: #ecfdf5;
  --pf-mint: #10b981;
  --pf-mint-dark: #059669;
  --pf-turquoise-light: #ccfbf1;
  --pf-turquoise: #14b8a6;
  --pf-turquoise-dark: #0f766e;
  --pf-blue-light: #f0f9ff;
  --pf-blue-border: #bae6fd;
  --pf-blue-accent: #0284c7;
  --pf-dark-navy: #0f172a;
  --pf-text-main: #1e293b;
  --pf-text-muted: #64748b;
  --pf-danger: #ef4444;
  --pf-danger-bg: #fef2f2;
  --pf-radius-sm: 8px;
  --pf-radius-md: 14px;
  --pf-radius-lg: 20px;
  --pf-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --pf-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --pf-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --pf-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--pf-font);
  background-color: #e2e8f0;
  color: var(--pf-text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

/* Outer layout container */
.pf-container {
  max-width: 580px;
  margin: 0 auto;
  background-color: var(--pf-white);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for sticky bar */
}

/* Top announcement bar */
.pf-top-bar {
  background: linear-gradient(90deg, #0f766e, #0d9488);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 0.01em;
}

/* Header branding */
.pf-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.pf-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--pf-dark-navy);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pf-logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--pf-turquoise), var(--pf-mint));
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
}

.pf-badge-geo {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pf-turquoise-dark);
  background: var(--pf-turquoise-light);
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

/* Hero Section */
.pf-hero {
  padding: 20px 20px 24px;
  background: radial-gradient(circle at top right, #e6fffa 0%, #ffffff 70%);
}

.pf-tag {
  display: inline-block;
  background: #f0fdf4;
  color: var(--pf-mint-dark);
  border: 1px solid #bbf7d0;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pf-title {
  font-size: 27px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--pf-dark-navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.pf-subtitle {
  font-size: 15px;
  color: var(--pf-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.pf-hero-image-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--pf-radius-md);
  overflow: hidden;
  box-shadow: var(--pf-shadow-md);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.pf-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pf-discount-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  letter-spacing: 0.02em;
}

/* Pricing Card */
.pf-price-box {
  background: #ffffff;
  border: 2px solid var(--pf-turquoise-light);
  border-radius: var(--pf-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  box-shadow: var(--pf-shadow-sm);
}

.pf-price-left {
  display: flex;
  flex-direction: column;
}

.pf-price-label {
  font-size: 12px;
  color: var(--pf-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pf-old-price {
  font-size: 17px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.pf-current-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--pf-dark-navy);
  line-height: 1.1;
}

.pf-save-badge {
  background: var(--pf-mint-light);
  color: var(--pf-mint-dark);
  border: 1px solid #a7f3d0;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--pf-radius-sm);
  text-align: right;
  line-height: 1.3;
}

/* Primary CTA Button */
.pf-btn-cta {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-radius: var(--pf-radius-md);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.pf-btn-cta:hover, .pf-btn-cta:active {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
}

/* Trust bullet list */
.pf-trust-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.pf-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pf-dark-navy);
  line-height: 1.35;
}

.pf-trust-icon {
  color: var(--pf-mint-dark);
  flex-shrink: 0;
  font-size: 14px;
}

/* Section Common */
.pf-section {
  padding: 30px 20px;
  border-top: 8px solid #f1f5f9;
}

.pf-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--pf-dark-navy);
  line-height: 1.3;
  margin-bottom: 8px;
  text-align: center;
}

.pf-section-sub {
  font-size: 14px;
  color: var(--pf-text-muted);
  text-align: center;
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* Bundles Grid */
.pf-bundles {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-bundle-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pf-bundle-card:hover {
  border-color: var(--pf-turquoise);
}

.pf-bundle-card.pf-bundle-popular {
  border-color: var(--pf-mint);
  background: #f0fdf4;
}

.pf-bundle-card.pf-bundle-best {
  border-color: var(--pf-turquoise-dark);
  background: #f0fdfa;
}

.pf-bundle-card.active {
  border-color: var(--pf-mint-dark);
  box-shadow: 0 0 0 2px var(--pf-mint-light), var(--pf-shadow-md);
}

.pf-bundle-badge {
  position: absolute;
  top: -10px;
  left: 18px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.pf-badge-green {
  background: var(--pf-mint-dark);
  color: #ffffff;
}

.pf-badge-teal {
  background: var(--pf-turquoise-dark);
  color: #ffffff;
}

.pf-bundle-info {
  display: flex;
  flex-direction: column;
}

.pf-bundle-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--pf-dark-navy);
}

.pf-bundle-desc {
  font-size: 12.5px;
  color: var(--pf-text-muted);
  margin-top: 2px;
}

.pf-bundle-pricing {
  text-align: right;
}

.pf-bundle-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--pf-dark-navy);
  line-height: 1.1;
}

.pf-bundle-old {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.pf-bundle-btn {
  margin-top: 4px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--pf-mint-dark);
}

/* AIDA Steps */
.pf-step-card {
  background: var(--pf-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--pf-shadow-sm);
}

.pf-step-text {
  padding: 18px 20px;
}

.pf-step-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pf-turquoise-dark);
  margin-bottom: 6px;
  display: inline-block;
}

.pf-step-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--pf-dark-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.pf-step-desc {
  font-size: 14.5px;
  color: var(--pf-text-main);
  line-height: 1.6;
}

.pf-step-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Grid */
.pf-features-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--pf-shadow-sm);
}

.pf-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--pf-mint-light);
  color: var(--pf-mint-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.pf-feature-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pf-dark-navy);
  margin-bottom: 4px;
}

.pf-feature-content p {
  font-size: 13.5px;
  color: var(--pf-text-muted);
  line-height: 1.5;
}

/* Specifications Table */
.pf-specs-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  overflow: hidden;
  box-shadow: var(--pf-shadow-sm);
  margin-bottom: 20px;
}

.pf-specs-img {
  width: 100%;
  height: auto;
  display: block;
}

.pf-specs-list {
  list-style: none;
  padding: 14px 18px;
}

.pf-specs-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
  gap: 12px;
}

.pf-specs-row:last-child {
  border-bottom: none;
}

.pf-specs-label {
  font-weight: 600;
  color: var(--pf-text-muted);
  flex-shrink: 0;
  max-width: 45%;
}

.pf-specs-value {
  font-weight: 600;
  color: var(--pf-dark-navy);
  text-align: right;
}

/* Ordering Steps */
.pf-how-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pf-how-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  padding: 16px 18px;
}

.pf-how-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pf-turquoise-dark);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-how-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--pf-dark-navy);
  margin-bottom: 4px;
}

.pf-how-desc {
  font-size: 13.5px;
  color: var(--pf-text-muted);
  line-height: 1.45;
}

/* FAQ Accordion */
.pf-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.pf-faq-header {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: #ffffff;
  gap: 10px;
}

.pf-faq-question {
  font-size: 15px;
  font-weight: 700;
  color: var(--pf-dark-navy);
}

.pf-faq-toggle {
  font-size: 18px;
  font-weight: 700;
  color: var(--pf-turquoise-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.pf-faq-body {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--pf-text-main);
  line-height: 1.55;
  display: none;
}

.pf-faq-item.active .pf-faq-body {
  display: block;
}

.pf-faq-item.active .pf-faq-toggle {
  transform: rotate(45deg);
}

/* Order Form Section */
.pf-form-card {
  background: #ffffff;
  border: 2px solid var(--pf-turquoise-light);
  border-radius: var(--pf-radius-lg);
  padding: 24px 20px;
  box-shadow: var(--pf-shadow-md);
}

.pf-form-header {
  text-align: center;
  margin-bottom: 22px;
}

.pf-form-title {
  font-size: 23px;
  font-weight: 900;
  color: var(--pf-dark-navy);
  margin-bottom: 6px;
}

.pf-form-sub {
  font-size: 14px;
  color: var(--pf-text-muted);
}

.pf-form-group {
  margin-bottom: 16px;
}

.pf-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pf-dark-navy);
  margin-bottom: 6px;
}

.pf-input, .pf-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--pf-dark-navy);
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--pf-radius-sm);
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.pf-input:focus, .pf-select:focus {
  border-color: var(--pf-turquoise);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.pf-input.pf-invalid {
  border-color: var(--pf-danger);
  background: var(--pf-danger-bg);
}

.pf-error-hint {
  font-size: 12px;
  color: var(--pf-danger);
  margin-top: 4px;
  display: none;
  font-weight: 600;
}

.pf-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
}

.pf-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 6px;
  color: var(--pf-text-muted);
}

.pf-summary-row strong {
  color: var(--pf-dark-navy);
}

.pf-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px dashed #cbd5e1;
  font-size: 16px;
  font-weight: 800;
  color: var(--pf-dark-navy);
}

.pf-summary-total-val {
  font-size: 22px;
  color: var(--pf-mint-dark);
}

.pf-form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--pf-text-muted);
  margin-top: 12px;
  text-align: center;
}

.pf-form-message {
  padding: 12px 14px;
  border-radius: var(--pf-radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
  display: none;
  font-weight: 600;
}

.pf-form-message.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Sticky Bottom Bar */
.pf-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e2e8f0;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.pf-sticky-bar-inner {
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pf-sticky-info {
  display: flex;
  flex-direction: column;
}

.pf-sticky-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--pf-dark-navy);
}

.pf-sticky-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--pf-mint-dark);
}

.pf-sticky-btn {
  padding: 10px 20px;
  font-size: 14.5px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pf-mint), var(--pf-mint-dark));
  color: #ffffff;
  border-radius: var(--pf-radius-sm);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Footer */
.pf-footer {
  background: var(--pf-dark-navy);
  color: #94a3b8;
  padding: 32px 20px 24px;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.pf-footer-brand {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.pf-footer-contact {
  color: #cbd5e1;
  margin-bottom: 12px;
}

.pf-footer-contact a {
  color: var(--pf-turquoise);
  text-decoration: none;
}

.pf-footer-note {
  font-size: 12px;
  margin-bottom: 18px;
  color: #64748b;
}

.pf-footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 20px;
  padding: 0;
}

.pf-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.15s;
}

.pf-footer-links a:hover {
  color: var(--pf-turquoise);
  text-decoration: underline;
}

.pf-footer-copy {
  font-size: 11.5px;
  color: #64748b;
  border-top: 1px solid #1e293b;
  padding-top: 16px;
}

/* Cookie Banner */
.pf-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
  padding: 16px 20px;
  font-size: 13.5px;
  color: var(--pf-text-main);
  display: none;
}

.pf-cookie-inner {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .pf-cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pf-cookie-text a {
  color: var(--pf-turquoise-dark);
  text-decoration: underline;
}

.pf-cookie-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pf-cookie-accept {
  background: var(--pf-mint-dark);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.pf-cookie-decline {
  background: #e2e8f0;
  color: var(--pf-dark-navy);
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

/* Responsive adjustments for 360, 390, 430, 768, 1440 */
@media (max-width: 400px) {
  .pf-title { font-size: 24px; }
  .pf-current-price { font-size: 28px; }
  .pf-trust-list { grid-template-columns: 1fr; }
  .pf-price-box { padding: 12px 14px; }
  .pf-bundle-card { padding: 14px 12px; }
  .pf-bundle-name { font-size: 15px; }
  .pf-bundle-price { font-size: 19px; }
}

@media (min-width: 768px) {
  .pf-container {
    border-radius: 16px;
    margin: 24px auto;
  }
}
