:root {
  --invoice-primary: #2563eb;
  --invoice-secondary: #64748b;
  --invoice-dark: #0f172a;
  --text-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --mesh-gradient: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.1) 0, transparent 50%), 
                   radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.1) 0, transparent 50%);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .hero-section .display-3 { font-size: 3rem; }
}

@media (max-width: 991px) {
  .hero-section { padding: 100px 0 60px; text-align: center; }
  .hero-content .d-flex { justify-content: center; }
  .hero-visual-wrapper { margin-top: 50px; }
}

/* Header Overrides */
.product-details-page .header {
  background-color: #ffffff !important;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1) !important;
}

.product-details-page .header .navmenu ul li a {
  color: #444 !important;
}

.product-details-page .header .navmenu ul li a.active {
  color: var(--invoice-primary) !important;
}

.text-gradient {
  background: var(--text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fw-extrabold { font-weight: 800; }

/* Hero Redesign */
.hero-section {
  background: #ffffff;
  background-image: var(--mesh-gradient);
  padding: 120px 0 80px;
}

.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.shape-1 {
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.08);
}

.shape-2 {
  bottom: 0%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.05);
}

/* Premium Buttons & Badges */
.premium-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-radius: 14px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 200px;
  position: relative;
  overflow: hidden;
}

.premium-badge-dark {
  background: #000000;
  color: #ffffff !important;
  border: 1px solid #333;
}

.premium-badge-outline {
  background: #ffffff;
  color: #000000 !important;
  border: 1px solid #e2e8f0;
}

.premium-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.premium-badge-dark:hover {
  background: #111;
  border-color: #555;
}

.premium-badge .badge-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.premium-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.premium-badge .badge-text .small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.premium-badge .badge-text .large {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Color Gradients for Icons */
.icon-play-store {
  background: linear-gradient(135deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.icon-web-app {
  background: var(--text-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Visual Wrapper */
.hero-visual-wrapper {
  position: relative;
  max-width: 450px;
  margin: 0 auto;
}

.main-device-frame {
  background: #0f172a;
  padding: 12px;
  border-radius: 40px;
  border: 4px solid #1e293b;
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-visual-wrapper:hover .main-device-frame {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.floating-ui-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5;
  min-width: 200px;
}

.ui-card-1 {
  top: 15%;
  right: -25%;
}

.ui-card-2 {
  bottom: 15%;
  left: -25%;
}

.ui-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ui-details { display: flex; flex-direction: column; }
.ui-label { font-size: 0.75rem; color: #64748b; font-weight: 600; }
.ui-value { font-size: 1.1rem; color: #0f172a; font-weight: 700; }

@media (max-width: 991px) {
  .ui-card-1, .ui-card-2 { position: static; margin-bottom: 15px; width: 100%; }
  .main-device-frame { transform: none; }
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1) !important;
  border-color: var(--invoice-primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--invoice-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 1.8rem;
}

/* Floating Badges */
.hero-image-container {
  position: relative;
  padding: 20px;
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: float 3s ease-in-out infinite;
}

.badge-1 {
  top: 20%;
  left: -10%;
}

.badge-2 {
  bottom: 20%;
  right: -5%;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Custom List */
.custom-list i {
  font-size: 1.2rem;
}

/* Tech Pills */
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.05);
  color: var(--invoice-primary);
  border-radius: 50px;
  margin: 5px;
  font-weight: 500;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--invoice-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 20;
}

.stat-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--invoice-primary);
  display: block;
}

.stat-label {
  color: #64748b;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: #f1f5f9;
  border-radius: 100px;
  margin: 5px;
  font-weight: 500;
  color: #475569;
  transition: all 0.3s ease;
}

.tech-pill:hover {
  background: var(--invoice-primary);
  color: white;
  transform: scale(1.05);
}

.tech-pill i {
  margin-right: 8px;
  color: var(--invoice-secondary);
}

.tech-pill:hover i {
  color: white;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 991px) {
  .product-hero .project-title {
    font-size: 3rem;
  }
}

/* Screenshots Gallery */
.screenshots-section {
  background: var(--invoice-bg);
  padding: 80px 0;
}

.col-xl-2-5 {
  flex: 0 0 auto;
  width: 20%;
}

@media (max-width: 1199px) {
  .col-xl-2-5 {
    width: 25%;
  }
}

@media (max-width: 991px) {
  .col-xl-2-5 {
    width: 33.333333%;
  }
}

@media (max-width: 767px) {
  .col-xl-2-5 {
    width: 50%;
  }
}

.screenshot-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  border: 4px solid #1e293b;
  position: relative;
}

.screenshot-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.screenshot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(37, 99, 235, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  color: white;
  font-size: 2rem;
}

.screenshot-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
  border-color: var(--invoice-primary);
}

.screenshot-item:hover img {
  transform: scale(1.1);
}

.screenshot-item:hover .screenshot-overlay {
  opacity: 1;
}

.landscape-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


