/* ===================================================================
   ShoppieeHub Jockey Brand Landing Page Stylesheet
   Design System: Clean, Modern, Premium E-Commerce
=================================================================== */

/* CSS Variables & Tokens */
:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Primary & Accent Colors */
  --color-primary: #ea580c;
  --color-primary-hover: #c2410c;
  --color-primary-light: #fff7ed;
  --color-primary-border: #ffedd5;
  --color-primary-glow: rgba(234, 88, 12, 0.42);
  --color-cta-gradient: linear-gradient(135deg, #f95724 0%, #ea3815 100%);
  --color-cta-gradient-hover: linear-gradient(135deg, #ff6535 0%, #f4421d 100%);
  
  /* Neutral Colors */
  --bg-page: #f5f7fa;
  --bg-card: #ffffff;
  --bg-nav: #161c24;
  --border-card: #eef2f6;
  --border-light: #e2e8f0;
  
  /* Text Colors */
  --text-dark: #0f172a;
  --text-heading: #1e293b;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-white: #ffffff;
  
  /* Verified Partner Green */
  --color-verified-bg: #ecfdf5;
  --color-verified-border: #bbf7d0;
  --color-verified-text: #16a34a;
  
  /* Radius & Shadows */
  --radius-card: 20px;
  --radius-btn: 14px;
  --radius-pill: 9999px;
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.03);
  --shadow-cta: 0 8px 24px -2px rgba(234, 56, 21, 0.42), 0 3px 8px rgba(234, 56, 21, 0.25);
  --shadow-cta-hover: 0 12px 28px -2px rgba(234, 56, 21, 0.55), 0 5px 12px rgba(234, 56, 21, 0.3);
  
  /* Transitions */
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===================================================================
   Top Navigation Bar
=================================================================== */
.navbar {
  background-color: var(--bg-nav);
  height: 68px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.95;
}

.logo-icon-wrap {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 6px rgba(249, 87, 36, 0.4));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.brand-white {
  color: var(--text-white);
}

.brand-orange {
  color: #ff5a22;
}

.brand-tagline {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.tagline-highlight {
  color: #ff5a22;
  font-weight: 600;
}

/* Nav Menu Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-item {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 4px 0;
}

.nav-item:hover {
  color: var(--text-white);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #ff5a22;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-item:hover::after {
  width: 100%;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ===================================================================
   Main Content Layout
=================================================================== */
.main-wrapper {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 50px 32px;
}

/* Breadcrumbs */
.breadcrumb-container {
  margin-bottom: 22px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--color-primary);
}

.home-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 600;
}

/* ===================================================================
   Two-Column Deal Showcase Grid
=================================================================== */
.deal-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* ===================================================================
   Left Column: Hero Banner Card
=================================================================== */
.hero-banner-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #0d1117;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-banner-card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* Banner Image & Overlay */
.banner-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner-card:hover .banner-bg-img {
  transform: scale(1.025);
}

/* High-contrast multi-stop directional gradients to match the screenshot */
.banner-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Horizontal dark shadow on the left half for crystal-clear readability */
    linear-gradient(90deg, 
      rgba(10, 13, 18, 0.94) 0%, 
      rgba(10, 13, 18, 0.82) 34%, 
      rgba(10, 13, 18, 0.45) 54%, 
      rgba(10, 13, 18, 0.1) 75%, 
      rgba(10, 13, 18, 0) 100%
    ),
    /* Vertical dark vignette at the bottom */
    linear-gradient(0deg, 
      rgba(8, 10, 15, 0.88) 0%, 
      rgba(8, 10, 15, 0.4) 30%, 
      rgba(8, 10, 15, 0) 65%
    );
  pointer-events: none;
}

/* Overlay Content Box */
.banner-content {
  position: relative;
  z-index: 2;
  padding: 44px 44px 38px 44px;
  max-width: 520px;
}

/* Sale Pill Badge */
.sale-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #ea580c;
  color: var(--text-white);
  padding: 5.5px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.35);
  margin-bottom: 12px;
}

.badge-flame-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.badge-text {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Big 40-70% Off Headline */
.banner-headline {
  font-size: 3.1rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.05;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Subheading */
.banner-subheadline {
  font-size: 1.15rem;
  font-weight: 500;
  color: #f1f5f9;
  margin-bottom: 22px;
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Glassmorphism Cashback Badge */
.cashback-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.cashback-pill-badge:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.sparkle-icon {
  font-size: 0.95rem;
  color: #ffd166;
}

.cashback-pill-text {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1px;
}

/* Slider Pagination Indicators */
.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
}

.carousel-indicators .indicator {
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-smooth);
}

.carousel-indicators .indicator.active {
  width: 24px;
  height: 4px;
  border-radius: var(--radius-pill);
  background-color: #ffffff;
}

.carousel-indicators .indicator:not(.active) {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
}

.carousel-indicators .indicator:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ===================================================================
   Right Column: Stacked White Cards
=================================================================== */
.deal-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.info-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: #e2e8f0;
}

/* -------------------------------------------------------------------
   Card 1: Jockey Coupon Codes
------------------------------------------------------------------- */
.coupon-info-card {
  padding: 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coupon-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Jockey Brand Logo Box */
.brand-badge-box {
  width: 68px;
  height: 68px;
  background-color: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.jockey-brand-img {
  width: 100%;
  height: 100%;
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
  display: block;
}

/* Title & Partner Verified Badge */
.coupon-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.coupon-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--color-verified-bg);
  border: 1px solid var(--color-verified-border);
  color: var(--color-verified-text);
  padding: 2.5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 600;
  width: fit-content;
}

.verified-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.verified-text {
  line-height: 1;
}

/* Description Text */
.coupon-body {
  margin-top: 16px;
}

.coupon-desc {
  font-size: 0.865rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.more-content {
  display: none;
  transition: opacity 0.3s ease;
}

.more-content.expanded {
  display: inline;
}

.more-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.825rem;
  font-weight: 600;
  font-family: var(--font-primary);
  cursor: pointer;
  margin-top: 8px;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.more-toggle-btn:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.chevron-down {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}

.chevron-down.rotated {
  transform: rotate(180deg);
}

/* -------------------------------------------------------------------
   Card 2: Boosted Cashback Rate & Action Button
------------------------------------------------------------------- */
.cashback-action-card {
  padding: 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Old Rate & Boosted Badge */
.cashback-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.original-rate {
  font-size: 0.885rem;
  color: var(--text-subtle);
  text-decoration: line-through;
  font-weight: 500;
}

.boosted-badge {
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary-border);
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
}

/* Huge Rate Display */
.cashback-rate-heading {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin: 4px 0 3px 0;
}

/* Subtitle */
.cashback-scope-text {
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Rates Link */
.cashback-rates-row {
  margin-bottom: 22px;
}

.view-rates-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.865rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.view-rates-link:hover {
  color: var(--color-primary-hover);
  transform: translateX(2px);
}

.arrow-right-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.view-rates-link:hover .arrow-right-icon {
  transform: translateX(3px);
}

/* High Conversion CTA Button */
.cta-earn-button,
.cta-earn-button:hover,
.cta-earn-button:focus,
.cta-earn-button:active,
.cta-earn-button * {
  text-decoration: none !important;
}

.cta-earn-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-cta-gradient);
  color: var(--text-white);
  text-decoration: none !important;
  border: none;
  border-radius: var(--radius-btn);
  padding: 14.5px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.cta-earn-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.cta-earn-button:hover {
  background: var(--color-cta-gradient-hover);
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
}

.cta-earn-button:hover::before {
  left: 100%;
}

.cta-earn-button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-cta);
}

.cta-flame {
  font-size: 1.1rem;
  line-height: 1;
}

.cta-btn-text {
  letter-spacing: 0.1px;
}

.cta-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.cta-earn-button:hover .cta-arrow {
  transform: translateX(3px);
}

/* ===================================================================
   Responsive Media Queries
=================================================================== */
@media (max-width: 1024px) {
  .deal-showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* On mobile and tablet: 8.5% Cashback card on top, Jockey Coupon Codes below */
  .deal-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .cashback-action-card {
    order: 1;
    display: flex;
    flex-direction: column;
  }

  /* Earn Cashback button on top, text section below */
  .cashback-action-card .cta-earn-button {
    order: 1;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .cashback-action-card .cashback-details-wrap {
    order: 2;
  }

  .cashback-action-card .cashback-rates-row {
    margin-bottom: 0;
  }

  .coupon-info-card {
    order: 2;
  }
  
  .hero-banner-card {
    min-height: 420px;
  }
  
  .banner-content {
    padding: 32px 32px 28px 32px;
  }

  .banner-headline {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 62px;
  }

  .nav-container {
    padding: 0 20px;
  }

  .nav-links {
    display: none; /* hidden on mobile unless toggled */
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background-color: var(--bg-nav);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .mobile-toggle {
    display: none !important;
  }

  .main-wrapper {
    padding: 16px 16px 40px 16px;
  }

  .hero-banner-card {
    min-height: 380px;
  }

  .banner-content {
    padding: 24px 20px;
  }

  .banner-headline {
    font-size: 2.25rem;
  }

  .banner-subheadline {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .coupon-info-card,
  .cashback-action-card {
    padding: 20px;
  }

  .cashback-rate-heading {
    font-size: 2rem;
  }
}
