/* CardIsValid — Premium Redesign */

:root {
  --navy:        #0A1628;
  --navy-mid:    #12253F;
  --green:       #10B981;
  --green-dark:  #059669;
  --white:       #FFFFFF;
  --grey-bg:     #F8FAFC;
  --grey-text:   #64748B;
  --grey-border: #E2E8F0;
  --gold:        #F59E0B;
  --primary-color: #0A1628;
  --secondary-color: #12253F;
  --border-radius: 0.75rem;
  --box-shadow: 0 4px 24px rgba(10,22,40,0.10);
  --transition: all 0.25s ease;
}

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

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition); }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  background: var(--navy) !important;
  padding: 12px 1.5rem;
  min-height: 68px;
  box-shadow: 0 2px 16px rgba(10,22,40,0.18);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo-icon {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  flex-shrink: 0;
}

.navbar-logo-text {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.navbar-logo-text span { color: var(--green); }

.navbar-logo-sub {
  color: #64748B;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-top: -4px;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.2);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.7%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: #CBD5E1 !important;
  font-size: 14px;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.nav-link:hover { color: #fff !important; }

.nav-cta-btn {
  background: var(--green);
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.2s;
}
.nav-cta-btn:hover { background: var(--green-dark) !important; color: #fff !important; }

/* ── HERO ────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a5c 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(16,185,129,0.05);
  top: -250px; right: -150px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.28);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

.hero-section h1 {
  color: #fff;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-section h1 .text-green { color: var(--green); }

.hero-section .lead {
  color: #94A3B8;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-btn-primary {
  background: var(--green);
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
  border: none;
}
.hero-btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }

.hero-btn-outline {
  background: transparent;
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.hero-btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* Hero Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero-stat-card.accent {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.22);
}

.hero-stat-card .stat-num {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  display: block;
}

.hero-stat-card.accent .stat-num { color: var(--green); }

.hero-stat-card .stat-label {
  color: #94A3B8;
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
}

/* Hero Slider (kept functional) */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  width: 100%;
  height: 340px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.slide {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* ── TRUST STRIP ─────────────────────────── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  padding: 18px 0;
}

.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--grey-text);
  font-size: 13px;
  font-weight: 500;
}

.trust-item i { color: var(--green); font-size: 15px; }

/* ── BRANDS MARQUEE ──────────────────────── */
.streaming-section {
  background: var(--grey-bg);
  padding: 48px 0;
  overflow: hidden;
}

.brands-section-title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--grey-text);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.marquee-wrapper { overflow: hidden; }

.marquee-track {
  display: flex;
  gap: 14px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-pill {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ── HOW IT WORKS ────────────────────────── */
.how-section {
  padding: 80px 0;
  background: var(--white);
}

.section-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.section-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--grey-text);
  font-size: 15px;
  margin-bottom: 52px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 16px;
  border: 1px solid var(--grey-border);
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}

.step-card:hover {
  box-shadow: 0 8px 32px rgba(10,22,40,0.09);
  transform: translateY(-3px);
}

.step-num {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 18px;
}

.step-card.active .step-num { background: var(--green); }

.step-card h5 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--grey-text); line-height: 1.65; margin: 0; }

/* ── VALIDATE SECTION ────────────────────── */
.validate-section {
  background: var(--grey-bg);
  padding: 80px 0;
}

.validate-section h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.validate-check-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}

.validate-check-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--navy);
}

.validate-check-list i { color: var(--green); font-size: 16px; }

/* The validation form card */
.validate-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 40px rgba(10,22,40,0.10);
  border: 1px solid var(--grey-border);
}

.validate-card-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--grey-border);
}

.validate-card-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--green), #34D399);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  flex-shrink: 0;
}

.validate-card-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.validate-card-sub   { font-size: 12px; color: var(--grey-text); }

/* Form overrides */
.form-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-control, .form-select {
  border: 1.5px solid var(--grey-border);
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 14px;
  color: var(--navy);
  background: #FAFAFA;
  transition: border-color 0.2s, background 0.2s;
  font-family: 'Inter', 'Poppins', sans-serif;
}

.form-control:focus, .form-select:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}

.btn-validate {
  width: 100%;
  background: var(--navy);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', 'Poppins', sans-serif;
  transition: background 0.2s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px;
}

.btn-validate:hover { background: var(--green); transform: translateY(-1px); }
.btn-validate:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* Keep old .btn-dark working for other pages */
.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: var(--green); border-color: var(--green); color: #fff; }

.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.text-custom-primary { color: var(--green) !important; }
.bg-custom-primary   { background-color: var(--navy) !important; }

/* ── REVIEWS SECTION ─────────────────────── */
.reviews-section {
  background: var(--navy);
  padding: 80px 0;
  overflow: hidden;
}

.reviews-section .section-eyebrow { color: rgba(255,255,255,0.4); }
.reviews-section .section-heading { color: #fff; }
.reviews-section .section-sub     { color: #94A3B8; }

.reviews-container {
  height: 420px;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.reviews-scroll {
  display: flex;
  flex-direction: column;
  animation: scrollReviews 180s linear infinite;
}

@keyframes scrollReviews {
  0%   { transform: translateY(0); }
  10%  { transform: translateY(0); }
  90%  { transform: translateY(-100%); }
  100% { transform: translateY(-100%); }
}

.review-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 16px;
  min-height: 130px;
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

.review-item .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.review-item .reviewer-name { font-weight: 700; color: #fff; font-size: 14px; }
.review-item .review-rating { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.review-item .review-text   { color: rgba(255,255,255,0.85); line-height: 1.6; font-size: 14px; margin-bottom: 8px; }
.review-item .review-meta   { color: rgba(255,255,255,0.45); font-size: 12px; }

/* ── VIDEO SECTION ───────────────────────── */
.video-section {
  background: var(--grey-bg);
  padding: 70px 0;
}

.video-container {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--grey-border);
  padding: 12px;
  box-shadow: var(--box-shadow);
}

.video-container video {
  border-radius: 10px;
  max-height: 420px;
  object-fit: cover;
}

/* ── BUY SECTION ─────────────────────────── */
.buy-section {
  background: var(--white);
  padding: 80px 0;
}

.buy-right-panel {
  background: var(--navy);
  border-radius: 20px;
  padding: 32px;
}

.buy-brand-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.buy-brand-item i { font-size: 20px; display: block; margin-bottom: 7px; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--navy);
  color: #94A3B8;
  padding: 56px 0 28px;
}

.footer-logo-text { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-logo-text span { color: var(--green); }

footer p { font-size: 14px; line-height: 1.7; }

.footer-col-title {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-link {
  display: block;
  color: #94A3B8;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--green); }

.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 32px 0 24px;
}

.ssl-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--green);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* ── PAGINATION OVERRIDE ─────────────────── */
.page-link {
  color: var(--navy);
  border-color: var(--grey-border);
}
.page-link:hover {
  color: var(--green);
  background: #F0FDF4;
  border-color: var(--green);
}
.page-item.active .page-link {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.page-item.active .page-link:hover {
  background: var(--green);
  border-color: var(--green);
}

/* ── ADMIN / LOGIN (unchanged) ───────────── */
.dashboard-header {
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}

.submissions-table {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.table thead th {
  background: #f8f9fa;
  font-weight: 600;
  border-color: #eee;
}

.table tbody tr { transition: var(--transition); }
.table tbody tr:hover { background-color: rgba(10,22,40,0.04); }
.table td { vertical-align: middle; border-color: #eee; }

.login-container { max-width: 450px; margin: 5rem auto; }
.login-logo { text-align: center; margin-bottom: 2rem; }

.modal-content { border-radius: var(--border-radius); border: none; }
.modal-header  { border-bottom: 1px solid #eee; }
.modal-footer  { border-top: 1px solid #eee; }

.alert {
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.img-thumbnail {
  border-radius: var(--border-radius);
  border: 1px solid #eee;
  cursor: pointer;
  transition: var(--transition);
}
.img-thumbnail:hover { transform: scale(1.05); box-shadow: var(--box-shadow); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 992px) {
  .hero-section h1 { font-size: 2rem; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-section { padding: 56px 0 48px; text-align: center; }
  .hero-section .d-flex { justify-content: center; }
  .hero-stats-grid { display: none; }
  .trust-strip { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .validate-card { padding: 24px 18px; }
  .buy-right-panel { margin-top: 32px; }
  footer .row > div { margin-bottom: 28px; }
}
