/* Modern Emerald & Mint Styles for Prostalis Care */
:root {
  --bg-dark: #071f17;
  --bg-card: rgba(13, 50, 38, 0.75);
  --bg-glass: rgba(16, 75, 56, 0.45);
  --border-glass: rgba(52, 211, 153, 0.2);
  --primary-emerald: #0d4b38;
  --accent-mint: #10b981;
  --accent-mint-glow: rgba(16, 185, 129, 0.4);
  --accent-gold: #f59e0b;
  --text-white: #ffffff;
  --text-muted: #cbd5e1;
  --text-dark: #0f172a;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 10px 30px -5px rgba(16, 185, 129, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
}

body {
  background: radial-gradient(circle at 50% 0%, #0d4b38 0%, #071f17 70%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, #064e3b 0%, #047857 50%, #064e3b 100%);
  border-bottom: 1px solid rgba(52, 211, 153, 0.3);
  padding: 10px 0;
  font-size: 14px;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.stock-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 31, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  padding: 15px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.brand-name span {
  color: var(--accent-mint);
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-mint);
}

.header-cta-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 40px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-tag-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.hero-title span {
  color: #34d399;
  background: linear-gradient(135deg, #34d399 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(13, 50, 38, 0.6);
  border: 1px solid var(--border-glass);
  padding: 15px 20px;
  border-radius: var(--radius-md);
}

.highlight-item .icon {
  font-size: 24px;
  background: rgba(16, 185, 129, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 16px;
  color: var(--text-white);
}

.highlight-item span {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-primary-glow {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6);
}

.trust-rating .stars {
  color: var(--accent-gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.trust-rating span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Top Photos Gallery */
.top-photos-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.photo-card-featured, .photo-card-sub {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.photo-card-featured img, .photo-card-sub img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-card-featured:hover img, .photo-card-sub:hover img {
  transform: scale(1.03);
}

.photo-overlay-tag {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(7, 31, 23, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-dot {
  width: 12px;
  height: 12px;
  background-color: #34d399;
  border-radius: 50%;
}

.badge-icon {
  font-size: 20px;
}

.tag-info strong {
  display: block;
  font-size: 15px;
  color: var(--text-white);
}

.tag-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Section Common Styling */
.section-padding {
  padding: 70px 0;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.section-head {
  margin-bottom: 35px;
}

.section-head.text-center {
  text-align: center;
}

.section-subtitle {
  color: var(--accent-mint);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* Story Section */
.story-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.story-body p {
  margin-bottom: 18px;
}

.story-quote {
  font-size: 19px;
  font-style: italic;
  color: #a7f3d0;
  border-left: 4px solid var(--accent-mint);
  padding-left: 20px;
  margin-bottom: 25px !important;
}

/* 3-Step Timeline */
.timeline-wrapper {
  margin-top: 40px;
}

.timeline-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 25px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.timeline-step-card {
  background: rgba(16, 75, 56, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 25px;
  transition: transform 0.3s ease;
}

.timeline-step-card:hover {
  transform: translateY(-5px);
}

.timeline-step-card.highlight {
  border-color: var(--accent-mint);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.step-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-mint);
}

.step-days {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.timeline-step-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.timeline-step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.story-result-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-top: 35px;
}

.result-badge {
  font-weight: 800;
  font-size: 18px;
  color: #34d399;
  margin-bottom: 10px;
}

.story-result-box p {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* Science Section Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-mint);
}

.pillar-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.pillar-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Ingredients Section */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.ing-card {
  background: rgba(16, 75, 56, 0.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 25px;
}

.ing-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ing-symbol {
  font-size: 24px;
}

.ing-header h4 {
  font-size: 17px;
  color: var(--text-white);
}

.ing-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.usage-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 20px 25px;
  border-radius: var(--radius-md);
}

.usage-icon {
  font-size: 32px;
}

.usage-text strong {
  display: block;
  font-size: 17px;
  color: #fbbf24;
}

.usage-text span {
  font-size: 15px;
  color: var(--text-white);
}

/* Comparison Matrix */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.comp-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-glass);
}

.comp-card.standard {
  background: rgba(30, 41, 59, 0.7);
}

.comp-card.premium {
  background: rgba(13, 50, 38, 0.85);
  border-color: var(--accent-mint);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.comp-badge {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 25px;
  color: #94a3b8;
}

.comp-badge.gold {
  color: #34d399;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-list li {
  font-size: 16px;
}

/* Certificates Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-item {
  text-align: center;
  padding: 20px;
}

.cert-badge-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.cert-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.cert-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Order Section & Form */
.order-section {
  padding-bottom: 90px;
}

.order-card-container {
  background: linear-gradient(135deg, rgba(13, 50, 38, 0.95) 0%, rgba(7, 31, 23, 0.95) 100%);
  border: 2px solid var(--accent-mint);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.order-header {
  text-align: center;
  margin-bottom: 40px;
}

/* CHANGED TO YELLOW DISCOUNT PILL AS REQUESTED BY USER */
.discount-pill {
  display: inline-block;
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #071f17;
  font-weight: 900;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 16px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

.order-header h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 10px;
}

.order-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.order-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.product-image-box {
  text-align: center;
  margin-bottom: 25px;
}

.product-image-box img {
  max-width: 280px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.price-box {
  text-align: center;
  background: rgba(16, 185, 129, 0.15);
  border: 1px dashed var(--accent-mint);
  padding: 20px;
  border-radius: var(--radius-md);
}

.old-price {
  font-size: 18px;
  text-decoration: line-through;
  color: #94a3b8;
}

.new-price {
  font-size: 42px;
  font-weight: 900;
  color: #34d399;
}

.price-note {
  font-size: 12px;
  color: var(--text-muted);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(7, 31, 23, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-mint);
  box-shadow: 0 0 15px var(--accent-mint-glow);
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
}

.phone-prefix {
  background: rgba(16, 75, 56, 0.8);
  border: 1px solid var(--border-glass);
  border-right: none;
  padding: 16px 16px;
  border-top-left-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
  font-weight: 800;
  color: #34d399;
}

.phone-input-wrapper .form-input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.validation-hint {
  display: none;
  color: #f87171;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.validation-hint.active {
  display: block;
}

.btn-submit-order {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 20px;
  border: none;
  border-radius: 40px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6);
}

.order-guarantees {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: #04140e;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 15px;
}

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

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.footer-reg-info {
  font-size: 13px;
  color: var(--accent-mint);
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-white);
}

.footer-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  transition: color 0.2s ease;
}

.modal-btn:hover {
  color: var(--accent-mint);
}

.copyright {
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: #0d3226;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.modal-close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.modal-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-mint);
}

.modal-body-content {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-card-grid, .order-content-grid, .comparison-grid {
    grid-template-columns: 1fr;
  }

  .timeline-grid, .pillars-grid, .ingredients-grid, .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-info-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .timeline-grid, .pillars-grid, .ingredients-grid, .cert-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 28px;
  }

  .glass-card, .order-card-container {
    padding: 25px 20px;
  }
}
