/* ==========================================================================
   Penny Boom - Master Stylesheet
   Modern, Premium, High-Converting Dark Theme
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --bg-main: #0d0d0d;
  --bg-card: #161616;
  --bg-card-alt: #1e1e1e;
  --bg-yellow: #f5c400;
  --bg-green-dark: #0f240f;
  --bg-green-card: #153115;
  --bg-red-section: #c8151a;
  
  --color-gold: #f2c94c;
  --color-gold-bright: #ffe066;
  --color-red: #e30613;
  --color-red-hover: #b0040e;
  --color-green: #2e7d32;
  --color-text-main: #f0f0f0;
  --color-text-sub: #b0b0b0;
  --color-text-dark: #111111;
  --color-error: #ff4d4f;
  
  --font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --max-width: 440px;
  --border-radius: 8px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: var(--font-family);
  background-color: #050505;
  color: var(--color-text-main);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max-width);
  width: 100%;
  background: var(--bg-main);
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  min-height: 100vh;
  padding-bottom: 20px;
}

img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Sticky Order Floating Badge --- */
.sticky-order {
  position: fixed;
  top: 40%;
  left: max(0px, calc(50% - (var(--max-width) / 2)));
  background: linear-gradient(135deg, #e30613, #a0000a);
  color: #ffffff;
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 800;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 0 8px 8px 0;
  z-index: 99;
  cursor: pointer;
  box-shadow: 2px 2px 12px rgba(227, 6, 19, 0.6);
  letter-spacing: 1px;
  transition: transform 0.2s ease, background 0.2s ease;
  user-select: none;
}

.sticky-order:hover,
.sticky-order:active {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff1a27, #c80510);
}

/* --- Hero Banner Section --- */
.hero-banner {
  position: relative;
  background: linear-gradient(180deg, #2b1d10 0%, #120b04 100%);
  border-bottom: 2px solid var(--color-gold);
}

.hero-top-strip {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 10px 0 6px;
}

.hero-top-strip .brand {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 2px;
  color: #f5e6c8;
  text-shadow: 0 0 10px rgba(245, 230, 200, 0.3);
}

.hero-top-strip .tagline {
  font-size: 11px;
  letter-spacing: 4px;
  color: #e0c9a0;
  font-weight: 600;
  margin-top: 2px;
}

.hero-top-strip .subtag {
  background: linear-gradient(90deg, #b8860b, #f2c94c, #b8860b);
  color: #111111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 0;
  margin-top: 6px;
  text-transform: uppercase;
}

.hero-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}

.hero-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.real-feel-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #d9141b, #8b0000);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 20px;
  transform: rotate(2deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.hero-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  background: rgba(0, 0, 0, 0.6);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(242, 201, 76, 0.3);
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 700;
}

.badge-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* --- Call To Action Buttons --- */
.order-btn {
  display: block;
  width: 90%;
  margin: 14px auto;
  background: linear-gradient(180deg, #e30613 0%, #a80008 100%);
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  padding: 14px 12px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 15px rgba(227, 6, 19, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.order-btn:hover,
.order-btn:active {
  background: linear-gradient(180deg, #ff1a27 0%, #c80510 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(227, 6, 19, 0.6);
}

/* --- Headline Section --- */
.headline-section {
  background: #111111;
  color: #ffffff;
  text-align: center;
  padding: 16px 14px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.headline-section h1 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
}

.headline-section h1 .accent {
  color: var(--color-gold);
  text-shadow: 0 0 8px rgba(242, 201, 76, 0.3);
}

.stat-bar {
  background: linear-gradient(90deg, #1a1a1a, #262626, #1a1a1a);
  color: var(--color-gold);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 10px;
  margin: 6px 14px;
  border-radius: 6px;
  border: 1px solid #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- Yellow Highlight Box --- */
.yellow-box {
  background: linear-gradient(135deg, #f5c400, #e0b000);
  color: #111111;
  text-align: center;
  padding: 16px;
  margin: 16px 0;
  box-shadow: 0 4px 15px rgba(245, 196, 0, 0.2);
}

.yellow-box h2 {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.yellow-box p {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.intro-text {
  color: #dddddd;
  font-size: 13px;
  line-height: 1.7;
  padding: 0 16px 12px;
  text-align: left;
}

/* --- Ingredients Grid --- */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 8px 12px 18px;
}

.ingredient-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 8px;
  border: 1px solid #282828;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ingredient-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
}

.ingredient-card img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  background: #222;
}

.ingredient-card .name {
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 800;
  margin-top: 6px;
  padding: 0 4px;
}

.ingredient-card .desc {
  color: #aaaaaa;
  font-size: 9.5px;
  padding: 2px 4px 0;
  line-height: 1.3;
}

/* --- Red Section Titles --- */
.section-title-red {
  background: linear-gradient(90deg, #a80008, #e30613, #a80008);
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  padding: 12px;
  margin-top: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.section-sub {
  color: #ffffff;
  background: #111111;
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  border-bottom: 1px solid #222;
}

/* --- Problem Grid --- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}

.problem-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  border: 1px solid #2a2a2a;
  padding-bottom: 8px;
}

.problem-card img {
  width: 100%;
  height: 115px;
  object-fit: cover;
}

.problem-card .cap {
  color: #e0e0e0;
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
  padding: 0 6px;
  line-height: 1.4;
}

.problem-note {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px 16px 16px;
  line-height: 1.6;
}

/* --- Green Product Feature Banner --- */
.green-banner-img {
  width: 100%;
  overflow: hidden;
  margin: 12px 0;
  border-top: 1px solid #264d26;
  border-bottom: 1px solid #264d26;
  background: #0a180a;
}

.green-banner-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* --- Icon Energy Banner Image --- */
.icon-banner-img {
  width: 100%;
  overflow: hidden;
  margin: 12px 0;
  border-top: 1px solid #2e5c2e;
  border-bottom: 1px solid #2e5c2e;
  background: #0a180a;
}

.icon-banner-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.green-banner h2 {
  color: var(--color-gold);
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 4px;
}

.green-banner .sub {
  font-size: 12px;
  color: #cfe8cf;
  margin-bottom: 12px;
}

.green-banner .bottle-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.green-banner .bottle-ph {
  flex: 0 0 42%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2e5c2e;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.green-banner .bottle-ph img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.badge-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}

.badge-list div {
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8f5e8;
}

.bullet-list {
  padding: 12px 20px;
  font-size: 13px;
  line-height: 2.2;
  color: #eeeeee;
  background: #111;
}

.bullet-list div {
  border-bottom: 1px solid #222;
  padding: 4px 0;
}

/* --- White Ancient Ayurveda Section --- */
.white-section {
  background: #f4f1ea;
  color: #222222;
  text-align: center;
  padding: 24px 18px;
}

.white-section h2 {
  color: #7a3b12;
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 10px;
}

.white-section p {
  font-size: 12px;
  line-height: 1.8;
  color: #333333;
}

/* --- Energy & Icon Section --- */
.icon-section {
  background: linear-gradient(135deg, #173d17 0%, #0a1b0a 100%);
  padding: 18px 14px;
  color: #ffffff;
}

.icon-section h2 {
  color: var(--color-gold);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 2px;
}

.icon-section .sub {
  text-align: center;
  font-size: 12px;
  color: #cfe8cf;
  margin-bottom: 14px;
}

.icon-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-bottle-ph {
  flex: 0 0 40%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2e5c2e;
}

.icon-bottle-ph img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.icon-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
}

.icon-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 4px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-item .emoji {
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}

.green-tag {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #111111;
  background: var(--color-gold);
  margin: 14px auto 0;
  padding: 7px;
  border-radius: 6px;
  width: 95%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* --- Check lists --- */
.check-list,
.who-list {
  background: #111111;
  padding: 16px 20px;
  color: #eeeeee;
  font-size: 12.5px;
  line-height: 2.2;
}

.check-list .item::before,
.who-list .item::before {
  content: "✔ ";
  color: #4caf50;
  font-weight: bold;
}

/* --- Benefits Grid --- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px;
}

.benefit-box {
  background: var(--bg-card);
  border-radius: 8px;
  text-align: center;
  padding: 12px 6px;
  color: #eeeeee;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid #2a2a2a;
}

.benefit-box .emoji {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
}

/* --- Direction of Use --- */
.direction-list {
  background: #111111;
  color: #eeeeee;
  padding: 16px 18px;
  font-size: 12px;
  line-height: 2;
}

.direction-list .step {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #333;
}

.direction-list .step:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.trust-line {
  text-align: center;
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 800;
  padding: 16px 16px 8px;
  letter-spacing: 0.5px;
}

/* --- Order Form Section --- */
.order-form-container {
  scroll-margin-top: 20px;
}

.order-form {
  background: linear-gradient(180deg, #1c1c1c 0%, #121212 100%);
  margin: 12px 14px;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  color: #eeeeee;
  border: 2px solid var(--color-gold);
  box-shadow: 0 6px 25px rgba(242, 201, 76, 0.15);
}

.order-form .form-heading {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 4px;
  color: #ffffff;
}

.order-form .price {
  color: var(--color-gold);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 12px;
  text-align: left;
}

.order-form input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #444444;
  background: #080808;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-form input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 8px rgba(242, 201, 76, 0.3);
}

.order-form input.is-invalid {
  border-color: var(--color-error) !important;
  box-shadow: 0 0 8px rgba(255, 77, 79, 0.4) !important;
}

.order-form .phone-row {
  display: flex;
  gap: 8px;
}

.order-form .phone-row .code {
  width: 65px;
  text-align: center;
  font-weight: 700;
  background: #181818;
  color: var(--color-gold);
  border-color: #333;
}

.error-msg {
  color: var(--color-error);
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  display: none;
  text-align: left;
}

.error-msg.active {
  display: block;
}

.order-form button.confirm {
  width: 100%;
  background: linear-gradient(180deg, #e30613 0%, #9e0007 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  padding: 14px;
  border: none;
  border-radius: 6px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(227, 6, 19, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-form button.confirm:hover:not(:disabled) {
  background: linear-gradient(180deg, #ff1a27 0%, #c80510 100%);
  transform: translateY(-1px);
}

.order-form button.confirm:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- Spinner for loading state --- */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --- Pride / Platform Logos --- */
.pride-section {
  text-align: center;
  padding: 16px;
  color: #eeeeee;
}

.pride-section h2 {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 6px;
  color: #ffffff;
}

.pride-section p {
  font-size: 12px;
  color: #aaaaaa;
  margin-bottom: 12px;
}

.platform-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.platform-logos img {
  height: 44px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  background: #181818;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(242, 201, 76, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* --- Testimonials --- */
.testimonials-title {
  background: linear-gradient(90deg, #a80008, #e30613, #a80008);
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  font-size: 15px;
  padding: 12px;
}

.testimonial {
  background: var(--bg-card);
  margin: 12px 14px;
  border-radius: 8px;
  padding: 12px 14px;
  color: #eeeeee;
  border: 1px solid #282828;
}

.testimonial .name {
  font-weight: 700;
  font-size: 13px;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.testimonial .avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-gold);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.testimonial p {
  font-size: 11.5px;
  line-height: 1.6;
  color: #cccccc;
}

.testimonial .tphoto-wrap {
  margin-top: 10px;
  border-radius: 6px;
  overflow: hidden;
}

.testimonial .tphoto-wrap img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

/* --- FAQ Accordion Section --- */
.faq-section {
  padding: 14px;
  background: #111111;
}

.faq-title {
  color: var(--color-gold);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.faq-item {
  background: var(--bg-card);
  margin-bottom: 8px;
  border-radius: 6px;
  border: 1px solid #282828;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 12.5px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-question .icon {
  color: var(--color-gold);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  font-size: 11.5px;
  line-height: 1.6;
  padding: 0 14px;
  background: #111111;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 10px 14px 14px;
}

/* --- Disclaimer & Footer --- */
.disclaimer {
  background: #080808;
  color: #888888;
  padding: 18px 16px 24px;
  font-size: 10px;
  line-height: 1.7;
  border-top: 1px solid #1a1a1a;
}

.disclaimer h3 {
  color: #bbbbbb;
  font-size: 11.5px;
  margin: 12px 0 4px;
}

.footer-copy {
  text-align: center;
  color: #666666;
  font-size: 9.5px;
  margin-top: 16px;
  padding-bottom: 10px;
}

/* --- Responsive Adjustments --- */
@media (min-width: 480px) {
  .page {
    border-left: 1px solid #222;
    border-right: 1px solid #222;
  }
}
