/* ============================================================
   BROVYAPARI — Global Stylesheet
   ============================================================ */

@font-face {
  font-family: 'RobotoNormal';
  src: url('../fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'RobotoBold';
  src: url('../fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'RobotoNormal', Roboto, sans-serif;
  background: #ffffff;
  color: #000000;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- CSS Variables ---------- */
:root {
  --primary: #3C38FB;
  --amber:   #FBBC05;
  --green:   #009906;
  --white:   #ffffff;
  --black:   #000000;
  --gray:    #666666;
  --radius:  8px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.navbar__logo {
  height: 42px;
  width: auto;
  cursor: pointer;
}

/* ============================================================
   FLOATING BUY BAR (bottom)
   ============================================================ */
.floating-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 122px;
  background: var(--amber);
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 8px;
  gap: 8px;
}

.floating-bar__left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 6;
}

.floating-bar__product-img {
  width: 75px;
  height: 92px;
  object-fit: contain;
  flex-shrink: 0;
}

.floating-bar__title {
  font-family: 'RobotoBold', sans-serif;
  font-size: 14px;
  color: var(--black);
  line-height: 1.3;
}

.floating-bar__sub {
  font-size: 10px;
  color: var(--black);
  margin-top: 2px;
}

.floating-bar__offer {
  font-size: 10px;
  color: var(--black);
  font-style: italic;
  margin-top: 6px;
}

.floating-bar__right {
  flex: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.floating-bar__price {
  font-family: 'RobotoBold', sans-serif;
  font-size: 24px;
  color: var(--black);
}

.floating-bar__original {
  font-size: 11px;
  color: var(--black);
  text-decoration: line-through;
  text-decoration-color: red;
}

.floating-bar__btn {
  background: var(--white);
  color: #2562FF;
  font-family: 'RobotoBold', sans-serif;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.floating-bar__btn:hover { opacity: 0.9; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 32px 16px 160px; /* bottom padding leaves room for floating bar */
}

.footer__grid {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.footer__col h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer__col p,
.footer__col a {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  display: block;
  line-height: 1.8;
}

.footer__col a:hover { text-decoration: underline; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-family: 'RobotoNormal', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(60,56,251,0.3);
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn-primary:hover { opacity: 0.88; }

/* ============================================================
   PAGE WRAPPER (accounts for fixed navbar + floating bar)
   ============================================================ */
.page-body {
  padding-top: 70px;
  padding-bottom: 140px; /* space above floating bar */
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 16px 60px;
  text-align: center;
}

.hero__headline {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 640px;
}

.hero__headline .blue  { color: var(--primary); }
.hero__headline .highlight { background: var(--amber); }

.hero__trust {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero__trust img.people { width: 100px; height: auto; }
.hero__trust img.rating { width: 100px; height: auto; }

.hero__trust-text {
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   YOUTUBE PLAYER AREA
   ============================================================ */
.yt-section {
  display: flex;
  justify-content: center;
  padding: 0 16px 50px;
}

.yt-wrap {
  width: 90%;
  max-width: 560px;
  position: relative;
  cursor: pointer;
}

.yt-wrap iframe,
.yt-wrap .yt-thumb-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  border: none;
}

.yt-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.yt-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: #FF0000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.yt-play-btn svg { width: 40px; height: 40px; fill: white; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-section {
  display: flex;
  justify-content: center;
  padding: 0 16px 50px;
}

.product-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.product-card__img {
  width: 100%;
  height: 400px;
  object-fit: fill;
}

.product-card__body {
  padding: 16px;
}

.product-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 16px;
  margin-bottom: 8px;
}

.product-card__original {
  text-align: right;
  font-size: 16px;
  text-decoration: line-through;
  text-decoration-color: red;
}

.product-card__price {
  text-align: right;
  font-size: 26px;
  font-family: 'RobotoBold', sans-serif;
  color: var(--green);
  margin-bottom: 16px;
}

.product-card__cta {
  display: flex;
  justify-content: flex-end;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.section {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section__title .blue       { color: var(--primary); }
.section__title .highlight  { background: var(--amber); }

.section__body {
  max-width: 700px;
  width: 100%;
  font-size: 16px;
  line-height: 1.7;
}

.module-label {
  color: var(--primary);
  font-family: 'RobotoBold', sans-serif;
  font-size: 18px;
}

/* ============================================================
   FEATURE LIST (check items)
   ============================================================ */
.features {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 700px;
  width: 100%;
}

.feature-item img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item span {
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================================
   AD / BOX IMAGE
   ============================================================ */
.image-center {
  display: flex;
  justify-content: center;
  padding: 16px;
}

.image-center img { max-width: 700px; width: 100%; border-radius: var(--radius); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  text-align: center;
  padding: 24px 16px;
}

.pricing__original {
  font-size: 18px;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-color: red;
  margin-bottom: 4px;
}

.pricing__amount {
  font-family: 'RobotoBold', sans-serif;
  font-size: 48px;
  color: var(--green);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.review-card {
  background: var(--primary);
  border-radius: 15px;
  padding: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__name {
  font-size: 18px;
  font-family: 'RobotoBold', sans-serif;
  color: var(--white);
}

.review-card__date {
  font-size: 10px;
  color: var(--white);
}

.review-card__rating { width: 50px; height: 12px; margin-bottom: 8px; }

.review-card__text {
  font-size: 10px;
  color: var(--white);
  line-height: 1.6;
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
}

.policy-page h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.policy-page p {
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-line;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.thankyou-page {
  min-height: calc(100vh - 70px - 122px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  text-align: center;
}

.thankyou-page img.icon { width: 150px; height: 150px; margin-bottom: 20px; }

.thankyou-page .body-text {
  max-width: 600px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.thankyou-page .body-text .highlight { background: var(--amber); }

.thankyou-page h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 14px;
}

.social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-row img { width: 30px; height: 30px; cursor: pointer; }

/* ============================================================
   DESKTOP BREAKPOINT (> 600px)
   ============================================================ */
@media (min-width: 601px) {

  .hero__headline { font-size: 70px; max-width: 760px; }
  .hero__trust img.people { width: 160px; }
  .hero__trust img.rating { width: 160px; }
  .hero__trust-text { font-size: 28px; }

  .yt-wrap { width: 50%; }

  .floating-bar__left { flex: 2; }
  .floating-bar__right { flex: 1; }
  .floating-bar { justify-content: center; }

  .image-center img { max-width: 60%; }
  .section__body { max-width: 60%; }
  .features .feature-item { max-width: 60%; }
}

/* ============================================================
   ACCESSIBILITY / SEO UTILITIES
   ============================================================ */

/* Visually hidden but readable by screen readers and search engines */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer social icons */
.footer__social {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: inline-flex;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.footer__social a:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer__social img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
}
