/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --red: #D90429;
  --red-hover: #b5021f;
  --red-alpha: rgba(217, 4, 41, 0.15);
  --red-alpha-hover: rgba(217, 4, 41, 0.25);
  --black: #0D0D0D;
  --card: #181818;
  --card2: #1f1f1f;
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.18);
  --white: #ffffff;
  --off-white: #E0E0E0;
  --muted: #888888;
  --muted2: #555555;
  --amber: #F59E0B;
  --amber-alpha: rgba(245, 158, 11, 0.08);
  --amber-alpha-hover: rgba(245, 158, 11, 0.18);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: 'DM Sans', sans-serif;
}

/* ==========================================
   BASE STYLES & LAYOUT
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 80px;
  animation: pageFadeIn 0.5s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   NAVIGATION & HEADER
   ========================================== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 32px;
}

.topbar-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
  text-decoration: none;
}

.topbar-icons a:hover {
  color: var(--white);
  transform: translateY(-1px);
}

.topbar-icons svg {
  width: 18px;
  height: 18px;
}

.home-btn {
  width: 36px;
  height: 36px;
  background: var(--red-alpha);
  border: 1px solid rgba(217, 4, 41, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  text-decoration: none;
  transition: var(--transition);
}

.home-btn:hover {
  background: var(--red-alpha-hover);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.15);
}

.home-btn svg {
  width: 17px;
  height: 17px;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 28px;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--white);
  transform: translateX(-2px);
}

.back-link svg {
  width: 15px;
  height: 15px;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  padding-left: 12px;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.profile-role {
  font-size: 16px;
  color: var(--muted);
  font-weight: 400;
}

.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: #1b1b1b;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-placeholder {
  font-size: 10px;
  color: var(--muted2);
  text-align: center;
  padding: 8px;
  line-height: 1.3;
}

.profile:hover .profile-photo {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
}

/* ==========================================
   SECTION & PAGE HEADERS
   ========================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.2px;
}

.section-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.section-link:hover {
  color: var(--white);
  transform: translateX(2px);
}

.section-link svg {
  width: 15px;
  height: 15px;
}

.section-block {
  margin-bottom: 36px;
}

.page-header {
  margin-bottom: 40px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.page-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 12px;
  margin-top: 32px;
}

.section-label:first-of-type {
  margin-top: 0;
}

/* ==========================================
   FILTER TABS
   ========================================== */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.tab:hover {
  border-color: var(--border-hover);
  color: var(--white);
}

.tab.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* ==========================================
   CARDS & GRID
   ========================================== */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 10px;
  transition: var(--transition);
}

.card:last-child {
  margin-bottom: 0;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Call Card (Wide Rows) */
.call-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.call-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: var(--transition);
}

.call-card-icon svg {
  width: 18px;
  height: 18px;
}

.call-card-body {
  flex: 1;
}

.call-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.call-card-desc {
  font-size: 12px;
  color: var(--muted);
}

.link-arrow {
  color: var(--muted2);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--card2);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: var(--transition);
}

.link-arrow svg {
  width: 13px;
  height: 13px;
}

.card:hover .link-arrow,
a:hover .link-arrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translate(1px, -1px);
}

/* 2-Column Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.grid-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 16px 16px 18px;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition);
  min-height: 120px;
}

.grid-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.grid-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.grid-card-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--card2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.grid-card-icon svg {
  width: 16px;
  height: 16px;
}

.grid-card-icon.red-icon {
  background: rgba(217, 4, 41, 0.15);
  border-color: rgba(217, 4, 41, 0.25);
}

.grid-card-icon.red-icon svg {
  color: var(--red);
}

.grid-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.grid-card-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.grid-card.accent-green {
  background: #16a34a;
  border-color: #22c55e;
}

.grid-card.accent-green .grid-card-title { color: #fff; }
.grid-card.accent-green .grid-card-desc { color: rgba(255, 255, 255, 0.7); }
.grid-card.accent-green .grid-card-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Product Card */
.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 40px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.product-card:last-child {
  margin-bottom: 0;
}

.product-img {
  width: 100%;
  aspect-ratio: 16/8;
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.03);
}

.product-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 24px;
}

.product-img-label {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Red Left Border Style for Cards */
.product-img.bordered-left {
  border-left: 3px solid var(--red);
  aspect-ratio: 16/8;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  position: relative;
}

.product-img.bordered-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.product-img .product-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.15;
  padding: 24px;
  pointer-events: none;
  opacity: 0.4;
  user-select: none;
}

.product-tag-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.product-tag-sub {
  font-size: 13px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

/* Price & Category Badges */
.price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.price-badge.free {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--amber);
}

.cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(6px);
  z-index: 2;
}

/* Product Meta Row */
.product-meta {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.product-meta-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.product-meta-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

.product-meta-sub {
  font-size: 12px;
  color: var(--muted);
}

/* Free Card Variant */
.free-card {
  background: var(--amber-alpha);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--transition);
}

.free-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.05);
}

.free-card .product-meta {
  border-top: 1px solid rgba(245, 158, 11, 0.12);
}

.free-meta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  font-family: var(--font-family);
  cursor: pointer;
}

.buy-btn:hover {
  background: var(--red-alpha);
  border-color: rgba(217, 4, 41, 0.3);
  color: var(--white);
}

.buy-btn-arrow {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.buy-btn:hover .buy-btn-arrow {
  transform: translate(1px, -1px);
  background: rgba(217, 4, 41, 0.25);
}

.buy-btn-arrow svg {
  width: 11px;
  height: 11px;
}

.get-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0A0A0A;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  font-family: var(--font-family);
}

.get-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

/* ==========================================
   SOCIAL CARD LIST
   ========================================== */
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.social-card:last-child {
  margin-bottom: 0;
}

.social-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.social-icon.ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-icon.li { background: #0a66c2; }
.social-icon.yt { background: #ff0000; }
.social-icon.be { background: #1769ff; }
.social-icon.em { background: var(--card2); border: 1px solid var(--border); }

.social-card:hover .social-icon {
  transform: scale(1.05);
}

.social-text {
  flex: 1;
}

.social-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.social-handle {
  font-size: 12px;
  color: var(--muted);
}

/* ==========================================
   DETAIL PAGE SPECIFICS
   ========================================== */
/* Hero Image Detail */
.hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f0f0f;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 28px;
  border-left: 3px solid var(--red);
}

.hero-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-img-watermark {
  font-size: 52px;
  font-weight: 700;
  color: rgba(217, 4, 41, 0.07);
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.1;
  user-select: none;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.hero-img-content {
  position: absolute;
  bottom: 22px;
  left: 24px;
  right: 24px;
  z-index: 2;
}

.hero-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(217, 4, 41, 0.15);
  border: 1px solid rgba(217, 4, 41, 0.3);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.hero-cat-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.product-header {
  margin-bottom: 24px;
}

.product-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Buy row detailing */
.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 32px;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-amount {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.price-usd {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.buy-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  font-family: var(--font-family);
  cursor: pointer;
}

.buy-btn-main:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.4);
}

.buy-btn-main svg {
  width: 16px;
  height: 16px;
}

/* Works With section */
.works-with {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.works-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.works-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--off-white);
}

.works-pill svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
}

/* Content Details */
.sec-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}

.body-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.body-text strong {
  color: var(--off-white);
  font-weight: 600;
}

/* Checklists */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition);
}

.check-item:hover {
  border-color: var(--border-hover);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--red-alpha);
  border: 1px solid rgba(217, 4, 41, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  color: var(--red);
}

.check-text {
  flex: 1;
}

.check-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.check-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Targets */
.for-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.for-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--off-white);
  font-weight: 500;
}

.for-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Problem-Outcome */
.problem-outcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.po-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.po-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.po-label.before { color: var(--muted); }
.po-label.after { color: var(--red); }

.po-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.po-item:last-child {
  margin-bottom: 0;
}

.po-item.after {
  color: var(--off-white);
}

.po-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted2);
  flex-shrink: 0;
  margin-top: 6px;
}

.po-bullet.red {
  background: var(--red);
}

/* Quote blocks */
.quote-block {
  border-left: 3px solid var(--red);
  padding: 16px 18px;
  background: var(--card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 4px 0;
}

.quote-text {
  font-size: 15px;
  color: var(--off-white);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 10px;
}

.quote-author {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Up Next / Link cards */
.next-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.next-product:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.next-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.next-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.next-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.next-arrow {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--card2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.next-product:hover .next-arrow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: translate(1px, -1px);
}

.next-arrow svg {
  width: 15px;
  height: 15px;
}

/* ==========================================
   FOOTER & DIVIDERS
   ========================================== */
.divider {
  height: 1px;
  background: var(--border);
  margin: 36px 0;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.footer-role {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-email {
  font-size: 12px;
  color: var(--red);
  text-decoration: none;
  transition: var(--transition);
}

.footer-email:hover {
  text-decoration: underline;
  color: var(--white);
}

.footer-right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--white);
}

.scroll-top {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: var(--transition);
  margin-top: 8px;
  align-self: flex-end;
}

.scroll-top:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 14px;
  height: 14px;
}

/* hidden class for filtering */
.resource-item {
  margin-bottom: 40px;
  transition: opacity 0.22s ease-in-out, transform 0.22s ease-in-out;
}

.resource-item.hidden {
  display: none;
}

.resource-item .product-card,
.resource-item .free-card {
  margin-bottom: 0;
}

/* ==========================================
   RESPONSIVENESS & MEDIA QUERIES
   ========================================== */
@media (max-width: 520px) {
  .page {
    padding: 0 16px 60px;
  }
  
  .profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .profile-photo {
    width: 110px;
    height: 110px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .problem-outcome {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .buy-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 20px;
  }
  
  .buy-btn-main {
    justify-content: center;
  }
  
  .footer {
    flex-direction: column;
    gap: 24px;
  }
  
  .footer-right {
    align-items: flex-start;
  }
  
  .scroll-top {
    align-self: flex-start;
  }
}

/* ==========================================
   PAYMENT MODAL & DIALOG
   ========================================== */
.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

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

.payment-modal {
  background: rgba(24, 24, 24, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  transform: scale(0.96) translateY(8px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  position: relative;
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.payment-modal-overlay.active .payment-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  text-align: center;
  line-height: 1.25;
}

.modal-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  text-align: center;
}

/* Prices grid inside modal */
.modal-prices {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
}

.modal-prices::after {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  background: var(--border);
}

.modal-price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.modal-price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-price-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
}

/* Actions wrapper */
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

/* Razorpay styling: Sleek Dark button with Blue Accent on hover */
.payment-option-btn.razorpay-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--white);
  border-left: 4px solid #0029FF; /* Razorpay Blue Accent */
}

.payment-option-btn.razorpay-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 41, 255, 0.12);
}

/* PayPal styling: Signature Gold/Yellow button */
.payment-option-btn.paypal-btn {
  background: #FFC439; /* PayPal Gold */
  border: 1px solid #E5AF2F;
  color: #003087; /* PayPal dark blue font */
  border-left: 4px solid #0079C1; /* PayPal light blue accent */
}

.payment-option-btn.paypal-btn:hover {
  background: #F2B224;
  border-color: #DDA320;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 57, 0.3);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  flex: 1;
}

.btn-primary-text {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.btn-secondary-text {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
  line-height: 1.1;
}

.razorpay-btn .btn-secondary-text {
  color: var(--muted);
}

.paypal-btn .btn-secondary-text {
  color: rgba(0, 48, 135, 0.75);
}

.payment-btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: var(--transition);
}

.payment-option-btn:hover .payment-btn-arrow {
  transform: translateX(2px);
  opacity: 1;
}

.payment-btn-arrow svg {
  width: 14px;
  height: 14px;
}

/* ==========================================
   CAROUSEL SPECIFICS (HERO SLIDER)
   ========================================== */
.carousel-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: var(--transition);
  z-index: 5;
}

.carousel-btn:hover {
  opacity: 1;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.45);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
  background: rgba(10, 10, 10, 0.4);
  padding: 4px 8px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background: var(--white);
  width: 12px;
  border-radius: 100px;
}

/* ==========================================
   THEME TOGGLE BUTTON
   ========================================== */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.theme-toggle-btn:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: var(--card2);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.4s ease;
}

.theme-toggle-btn:hover svg {
  transform: rotate(25deg);
}

/* ==========================================
   LIGHT MODE OVERRIDES
   ========================================== */
html.light-mode {
  --black: #F4F4F6;
  --card: #FFFFFF;
  --card2: #EAEAEA;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.16);
  --white: #111115;
  --off-white: #2F3035;
  --muted: #6B6C76;
  --muted2: #92939E;
}

/* Specific Light Mode Adjustments */
html.light-mode .payment-modal {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

html.light-mode .modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

html.light-mode .payment-option-btn {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
}

html.light-mode .payment-option-btn:hover {
  border-color: var(--border-hover);
  background: #F9F9FB;
}

html.light-mode .payment-option-btn .btn-secondary-text {
  color: var(--muted);
}

html.light-mode .modal-price-item {
  background: #F9F9FB;
  border-color: rgba(0, 0, 0, 0.06);
}

html.light-mode .carousel-btn {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--white);
}

html.light-mode .carousel-btn:hover {
  background: var(--red);
  color: #FFFFFF;
  border-color: var(--red);
}

html.light-mode .carousel-dots {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

html.light-mode .carousel-dot {
  background: rgba(0, 0, 0, 0.25);
}

html.light-mode .carousel-dot.active {
  background: var(--white);
}


