/* ==========================================================================
   Pramod (DizitalTrends) - Portfolio & CodeCanyon Showcase Stylesheet
   Theme: Light, Ultra-Clean, Modern, Aesthetic & Highly Attractive
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-surface-elevated: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.15);

  --accent-purple: #7c3aed;
  --accent-purple-light: #f5f3ff;
  
  --fiverr-green: #1dbf73;
  --fiverr-green-hover: #19a463;
  --fiverr-light: #ecfdf5;

  --cc-green: #79a633;
  --whatsapp-green: #25d366;
  
  --border-subtle: #e2e8f0;
  --border-card: rgba(226, 232, 240, 0.8);
  --border-focus: #818cf8;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.1), 0 8px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(79, 70, 229, 0.18);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Ambient Glow */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow-1 {
  width: 550px;
  height: 550px;
  top: -100px;
  right: -50px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
}

.glow-2 {
  width: 500px;
  height: 500px;
  top: 35%;
  left: -150px;
  background: radial-gradient(circle, rgba(29, 191, 115, 0.1), transparent 70%);
}

.glow-3 {
  width: 600px;
  height: 600px;
  bottom: -100px;
  right: 10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 70%);
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #eef2ff 0%, #f0fdf4 100%);
  border-bottom: 1px solid rgba(79, 70, 229, 0.1);
  padding: 8px 0;
  font-size: 0.85rem;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.announcement-text {
  color: var(--text-secondary);
}

.announcement-link {
  font-weight: 600;
  color: var(--fiverr-green);
  transition: var(--transition-fast);
}

.announcement-link:hover {
  text-decoration: underline;
  color: var(--fiverr-green-hover);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 0.72rem;
  background: var(--primary-light);
  color: var(--primary);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.badge-count {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-actions {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 0.96rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.38);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-subtle);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-fiverr {
  background: var(--fiverr-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 191, 115, 0.25);
}

.btn-fiverr:hover {
  background: var(--fiverr-green-hover);
  box-shadow: 0 6px 18px rgba(29, 191, 115, 0.35);
  transform: translateY(-2px);
}

.fiverr-icon {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  background: #ffffff;
  color: var(--fiverr-green);
  padding: 1px 4px;
  border-radius: 4px;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20ba59;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-buy-cc {
  background: linear-gradient(135deg, #82b440 0%, #689230 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(130, 180, 64, 0.25);
}

.btn-buy-cc:hover {
  background: linear-gradient(135deg, #74a237 0%, #5b802a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(130, 180, 64, 0.35);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.badge-star {
  color: #eab308;
  font-weight: 700;
}

.badge-sep {
  color: var(--text-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Hero Profile Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.profile-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 390px;
  transition: var(--transition-normal);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px -10px rgba(15, 23, 42, 0.12);
}

.profile-avatar-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.online-status {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: #10b981;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.profile-tag {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Floating Tech Badges */
.floating-tech {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
  text-align: left;
  z-index: 2;
  transition: var(--transition-fast);
}

.floating-tech:hover {
  transform: scale(1.05);
}

.floating-tech strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.floating-tech small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.tech-icon {
  font-size: 1.25rem;
}

.flutter-tag {
  top: 25px;
  left: -40px;
}

.laravel-tag {
  bottom: 70px;
  right: -35px;
}

.rating-tag {
  top: 155px;
  right: -40px;
}

.profile-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.mini-badge {
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Tech Stack Ribbon
   ========================================================================== */
.tech-ribbon {
  padding: 30px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.ribbon-label {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.tech-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-main);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.tech-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tech-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.flutter-dot { background: #02569b; }
.laravel-dot { background: #ff2d20; }
.api-dot { background: #10b981; }
.firebase-dot { background: #f5820d; }
.mysql-dot { background: #00758f; }
.payment-dot { background: #6366f1; }
.admob-dot { background: #ea4335; }
.deploy-dot { background: #34a853; }

/* ==========================================================================
   Section Header Commons
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Products Showcase Section
   ========================================================================== */
.products-section {
  padding: 85px 0;
  position: relative;
}

.filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.product-overlay-actions {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition-fast);
}

.product-card:hover .product-overlay-actions {
  opacity: 1;
}

.overlay-btn {
  background: #ffffff;
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.overlay-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.product-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-price-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.off-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}

.product-footer-pricing {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price-strike del {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-direct-bold {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #15803d;
}

.usd-compare {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.product-features-list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.product-features-list li span.dot {
  width: 5px;
  height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-tech-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.tech-pill {
  font-size: 0.72rem;
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.buy-btn-small {
  padding: 8px 14px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

/* Products Bottom Callout */
.products-cta-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-md);
}

.cta-box-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-box-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-box-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 85px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.service-card:hover {
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-glow);
}

.service-card.featured-service {
  background: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.featured-service-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-blue { background: #e0e7ff; color: #4338ca; }
.icon-purple { background: #ede9fe; color: #6d28d9; }
.icon-red { background: #fee2e2; color: #b91c1c; }
.icon-green { background: #dcfce7; color: #15803d; }
.icon-orange { background: #ffedd5; color: #c2410c; }
.icon-teal { background: #ccfbf1; color: #0f766e; }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: #10b981;
  font-weight: bold;
}

.service-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.service-link:hover {
  color: var(--primary-hover);
  transform: translateX(4px);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 85px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-rating {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.reviewer-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Inquiry & Interactive Calculator Section
   ========================================================================== */
.inquiry-section {
  padding: 85px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-card);
}

.inquiry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.inquiry-tag {
  display: inline-block;
  background: rgba(29, 191, 115, 0.1);
  color: var(--fiverr-green-hover);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.inquiry-info h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.inquiry-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.inquiry-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bullet-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.bullet-item strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.bullet-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.inquiry-direct-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Inquiry Form Card */
.inquiry-card {
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.inquiry-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.radio-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.chip-label:hover {
  border-color: var(--primary);
}

.chip-label input {
  accent-color: var(--primary);
}

.inquiry-btn-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.w-100 {
  width: 100%;
}

/* ==========================================================================
   Product Modal Lightbox
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalScale 0.25s ease-out;
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image-pane {
  background: #f8fafc;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--border-subtle);
}

.modal-image-pane img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-height: 380px;
  object-fit: contain;
}

.modal-details-pane {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.modal-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}

.modal-price-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.modal-price-combo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.modal-orig-strike del {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.modal-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #15803d;
}

.modal-off-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.modal-currency {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-features-list {
  list-style: none;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
}

.modal-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-card);
  padding: 70px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: #047857;
}

.footer-links-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links-col ul a:hover {
  color: var(--primary);
}

.footer-contact-p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.fiverr-social:hover {
  background: var(--fiverr-light);
  color: var(--fiverr-green-hover);
  border-color: var(--fiverr-green);
}

.cc-social:hover {
  background: #f7fee7;
  color: #65a30d;
  border-color: #84cc16;
}

.wa-social:hover {
  background: #ecfdf5;
  color: #059669;
  border-color: #10b981;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  font-size: 0.84rem;
  color: var(--text-light);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .products-grid, .services-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .nav-container {
    position: relative;
    padding: 0 16px;
    height: auto;
    min-height: 56px;
  }

  .brand-logo {
    gap: 10px;
  }

  .logo-symbol {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.7rem;
  }

  .nav-actions {
    gap: 8px;
  }

  /* Hide CodeCanyon and Hire Me from mobile navbar header (placed inside mobile menu drawer) */
  #navCCBtn,
  #navFiverrBtn {
    display: none;
  }

  #navSignInBtn {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 10px;
    border-top: 1px solid var(--border-card);
    border-bottom: 2px solid var(--border-card);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
    display: none;
    z-index: 9999;
  }

  .nav-menu.mobile-open {
    display: flex !important;
    animation: mobileMenuSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

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

  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 12px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary);
  }

  .nav-link:hover {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.04);
    border-radius: var(--radius-sm);
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
    font-weight: 600;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .products-grid, .services-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }

  .products-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-box-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-box-actions .btn {
    width: 100%;
  }

  .inquiry-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .modal-content-grid {
    grid-template-columns: 1fr;
  }

  .modal-image-pane {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }

  .floating-tech {
    display: none; /* Keep clean on small mobile */
}

@media (max-width: 480px) {
  .top-announcement {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .announcement-text {
    display: none;
  }

  .pulse-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
  }

  .announcement-link {
    font-size: 0.75rem;
  }

  .brand-sub, 
  .brand-badge {
    display: none;
  }

  #navFiverrBtn {
    display: none;
  }

  #navSignInBtn {
    padding: 6px 10px;
    font-size: 0.78rem;
    gap: 5px;
  }

  #navSignInBtn span {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   E-Commerce, Auth, Checkout & Orders Center Styles
   ========================================================================== */

/* Product Card Actions Dual */
.product-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-actions-dual {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8px;
  width: 100%;
}

.btn-direct-buy {
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  transition: var(--transition-fast);
}

.btn-direct-buy:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.btn-cc-sm {
  background: var(--bg-surface-subtle);
  color: #475569;
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition-fast);
}

.btn-cc-sm:hover {
  background: #f7fee7;
  color: #65a30d;
  border-color: #bef264;
}

/* User Account in Navbar */
.nav-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-user-badge:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.nav-avatar {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-user-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-orders-count {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* Auth Modal */
.auth-modal-container {
  max-width: 440px;
  padding: 32px 28px;
}

.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  padding: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-align: center;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.auth-alert {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  margin-bottom: 18px;
  line-height: 1.4;
}

.auth-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-alert.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.form-group-checkbox {
  margin-bottom: 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.form-group-checkbox input {
  margin-right: 6px;
}

.hidden {
  display: none !important;
}

/* Checkout Modal */
.checkout-modal-container {
  max-width: 520px;
  padding: 34px 30px;
}

.checkout-header {
  margin-bottom: 18px;
}

.checkout-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.checkout-product-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.checkout-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
}

.checkout-product-row h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.checkout-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-price-box {
  margin-left: auto;
  text-align: right;
}

.checkout-orig-price del {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.checkout-discounted-row {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.checkout-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #15803d;
  display: inline-block;
}

.checkout-discount-pill {
  font-size: 0.68rem;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 2px 6px;
  border-radius: 9999px;
}

.checkout-curr {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.checkout-perks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  border-radius: var(--radius-md);
}

.perk-item {
  font-size: 0.76rem;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 4px;
}

.payment-method-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.pay-chip {
  flex: 1;
  padding: 10px 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pay-chip input {
  display: none;
}

.pay-chip.active {
  border-color: var(--primary);
  background: #eef2ff;
  color: var(--primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Cashfree Gateway Badge & Pills */
.gateway-badge-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.gateway-tag {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.gateway-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gateway-badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.test-mode-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d97706;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Success Screen */
.checkout-success-box {
  text-align: center;
  padding: 10px 0;
}

.success-icon-anim {
  font-size: 3rem;
  margin-bottom: 8px;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 6px;
}

.success-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.success-details-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.success-label {
  color: var(--text-muted);
}

.success-val {
  color: var(--text-primary);
  font-family: monospace;
}

.success-license-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
}

.license-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.license-key-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.license-key-wrapper code {
  flex: 1;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.btn-copy-license {
  background: #eef2ff;
  color: var(--primary);
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-copy-license:hover {
  background: var(--primary);
  color: #ffffff;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Orders / Purchases Modal */
.orders-modal-container {
  max-width: 820px;
  padding: 34px 30px;
}

.orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.orders-user-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.order-card-item {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: var(--transition-fast);
}

.order-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.order-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.order-product-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.order-product-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.order-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.order-license-box {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.license-key-pill {
  font-family: monospace;
  font-size: 0.78rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2px 8px;
  border-radius: 4px;
  color: #0f172a;
  font-weight: 600;
}

.btn-copy-key {
  font-size: 0.74rem;
  background: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.btn-copy-key:hover {
  text-decoration: underline;
}

.order-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.btn-download-zip {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.25);
  transition: var(--transition-fast);
}

.btn-download-zip:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.order-empty-state {
  text-align: center;
  padding: 40px 20px;
}

.order-empty-state svg {
  margin: 0 auto 14px;
  color: var(--text-light);
}

.order-empty-state h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.order-empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

/* Loading Spinner */
.loading-spinner-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 0;
  color: var(--text-muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(79, 70, 229, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
