/* Reset and Variables */
:root {
  --bg-dark: #07080c;
  --bg-card: rgba(255, 255, 255, 0.02);
  --border-glass: rgba(255, 255, 255, 0.06);
  --accent-gold: #e5c158;
  --accent-gold-dark: #c59e35;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-premium: 0 25px 60px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Helpers */
.hidden {
  display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, .logo {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, #c59e35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: var(--text-muted);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2rem;
  background: rgba(7, 8, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--accent-gold);
}

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

.cart-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.6rem;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.cart-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.cart-icon {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-gold);
  color: #07080c;
  font-size: 0.75rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(229, 193, 88, 0.4);
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 5rem 2rem;
  min-height: 95vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.06) 0%, rgba(7, 8, 12, 0) 75%);
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #e5c158 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #07080c;
  box-shadow: 0 4px 20px rgba(229, 193, 88, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(229, 193, 88, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid var(--border-glass);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
  display: block;
  width: 100%;
  padding: 1.1rem;
  font-size: 1.1rem;
}

/* Multi-Device Mockups Showcase */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-showcase {
  position: relative;
  width: 100%;
  height: 340px;
  margin-bottom: 2rem;
}

.mockup {
  position: absolute;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

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

/* TV Frame styling */
.tv-mock {
  top: 0;
  left: 10%;
  width: 80%;
  z-index: 10;
}

.tv-bezel {
  background: #111;
  padding: 8px;
  border-radius: 8px;
  border: 2px solid #282828;
}

.tv-screen {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
  border-radius: 2px;
  display: flex;
}

.tv-stand {
  width: 110px;
  height: 8px;
  background: #1a1a1a;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

/* Laptop Frame styling */
.laptop-mock {
  bottom: 0;
  left: 0;
  width: 48%;
  z-index: 20;
}

.laptop-screen {
  aspect-ratio: 16/10;
  background: #000;
  border: 6px solid #1c1c1c;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: flex;
}

.laptop-base {
  height: 6px;
  background: #2a2a2a;
  border-radius: 0 0 6px 6px;
  border-bottom: 2px solid #111;
}

/* Phone Frame styling */
.phone-mock {
  bottom: -10px;
  right: 5%;
  width: 18%;
  z-index: 30;
}

.phone-case {
  aspect-ratio: 9/19.5;
  background: #111;
  border: 5px solid #222;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 17px;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 14px;
  background: #111;
  border-radius: 10px;
}

/* Slide Indicator Controls */
.slide-controls {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slide-dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

/* Features */
.features {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-subheader {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 3rem 2rem;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(229, 193, 88, 0.25);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

/* Gallery Controls & Catalog */
.gallery {
  padding: 8rem 2rem;
  background: rgba(255, 255, 255, 0.005);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.gallery-controls {
  max-width: 1200px;
  margin: -2rem auto 3.5rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.search-box {
  position: relative;
  width: 320px;
}

.search-box input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.gallery-tabs {
  display: flex;
  gap: 0.8rem;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
  background: var(--accent-gold);
  color: #07080c;
  border-color: var(--accent-gold);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(229, 193, 88, 0.15);
}

/* Gallery Grid */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--border-glass);
  background: #000;
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.3s ease;
}

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

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(to top, rgba(7, 8, 12, 0.98) 0%, rgba(7, 8, 12, 0.8) 60%, rgba(7, 8, 12, 0) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-info-text {
  flex-grow: 1;
  text-align: left;
  margin-right: 0.8rem;
}

.gallery-info h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.gallery-info span {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.gallery-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-card-buy {
  background: var(--accent-gold);
  color: #07080c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-card-buy:hover {
  background: #fff;
}

.btn-card-quick {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-card-quick:hover {
  background: rgba(255, 255, 255, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item:hover .gallery-info {
  opacity: 1;
  transform: translateY(0);
}

/* Pricing Section */
.pricing {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pricing-card.primary-card {
  border-color: rgba(229, 193, 88, 0.4);
  background: radial-gradient(circle at top left, rgba(229, 193, 88, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  box-shadow: 0 20px 50px rgba(229, 193, 88, 0.04);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.primary-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 25px 60px rgba(229, 193, 88, 0.1);
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #fff;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.8rem;
}

.old-price {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: var(--text-muted);
  font-weight: 400;
}

.price-desc {
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 3.5rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 1.1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-main);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.secure-checkout {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 1.2rem;
  border-radius: 30px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Modals & Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 8, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.close-modal-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-modal-btn:hover {
  color: #fff;
}

/* Quick View Detail Modal */
.detail-modal {
  background: #0d0f14;
  border: 1px solid var(--border-glass);
  width: 90%;
  max-width: 950px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-premium);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .detail-modal {
  transform: scale(1);
}

.detail-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  z-index: 50;
}

.detail-modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.detail-visual-panel {
  background: #07080b;
  padding: 4rem 2.5rem 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-glass);
}

.detail-mockup-wrapper {
  width: 100%;
  text-align: center;
}

.device-frame-container {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 2.5rem;
}

.detail-mock {
  display: none;
  width: 100%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.4s ease;
}

.detail-mock.active-frame {
  display: block;
}

.detail-mock.tv-frame {
  width: 90%;
}

.detail-mock.laptop-frame {
  width: 80%;
}

.detail-mock.phone-frame {
  width: 32%;
}

.device-selector-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem;
  border-radius: 30px;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--border-glass);
}

.device-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.device-tab.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.detail-info-panel {
  padding: 4rem 3rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.detail-price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.8rem 0 1.5rem 0;
}

.detail-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.license-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px solid var(--border-glass);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.detail-desc {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.included-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 1.2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.included-box h5 {
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.included-box ul {
  list-style: none;
}

.included-box li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
  position: relative;
}

.included-box li::before {
  content: '•';
  color: var(--accent-gold);
  position: absolute;
  left: 0;
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: #0d0f14;
  border-left: 1px solid var(--border-glass);
  z-index: 1600;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-drawer-btn:hover {
  color: #fff;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
}

/* Cart items list */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-glass);
}

.cart-item-img {
  width: 80px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
  text-align: left;
}

.cart-item-details h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.1rem;
}

.cart-item-details span {
  font-size: 0.8rem;
  color: var(--accent-gold);
  display: block;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.remove-item-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem;
}

.remove-item-btn:hover {
  color: #ef4444;
}

/* Cart Upsell Banner */
.cart-upsell {
  background: rgba(229, 193, 88, 0.05);
  border: 1px solid rgba(229, 193, 88, 0.15);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.upsell-icon {
  font-size: 1.5rem;
}

.upsell-text {
  flex-grow: 1;
  text-align: left;
}

.upsell-text p {
  color: var(--text-main);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.btn-upsell-apply {
  background: var(--accent-gold);
  color: #07080c;
  border: none;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
}

.btn-upsell-apply:hover {
  background: #fff;
}

/* Cart Footer totals */
.cart-footer {
  padding: 2rem;
  border-top: 1px solid var(--border-glass);
  background: rgba(7, 8, 12, 0.98);
}

.cart-totals {
  margin-bottom: 1.5rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.grand-total {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  border-top: 1px solid var(--border-glass);
  padding-top: 0.6rem;
  margin-top: 0.6rem;
}

/* Checkout payment modal forms */
.payment-modal {
  background: #0d0f14;
  border: 1px solid var(--border-glass);
  width: 90%;
  max-width: 440px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-premium);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.payment-header {
  padding: 1.8rem 2rem 1.2rem 2rem;
  border-bottom: 1px solid var(--border-glass);
  position: relative;
}

.payment-header .close-modal-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.secure-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.3rem;
}

.payment-body {
  padding: 2rem;
}

.order-summary-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

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

.summary-price {
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
}

.stripe-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 0.8rem 1rem;
  border-radius: 6px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

.card-input-wrapper {
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  overflow: hidden;
}

.card-input-wrapper input {
  border: none;
  background: none;
  width: 100%;
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border-glass);
}

.card-row input:first-child {
  border-right: 1px solid var(--border-glass);
}

.stripe-badges {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

/* Payment processing state overlay */
.processing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d0f14;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 3px solid rgba(229, 193, 88, 0.1);
  border-radius: 50%;
  border-top-color: var(--accent-gold);
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Download Portal styling */
#download-portal-page {
  padding: 8rem 2rem 5rem 2rem;
  animation: fadeIn 0.5s ease;
}

.portal-container {
  max-width: 850px;
  margin: 0 auto;
}

.portal-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.success-icon {
  width: 70px;
  height: 70px;
  background: rgba(229, 193, 88, 0.1);
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.order-id {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--accent-gold);
  margin: 0.4rem 0 1rem 0;
}

.download-section {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-premium);
}

.download-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.download-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.download-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.download-item-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.download-item-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
}

.download-item-thumb {
  width: 90px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.download-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-item-meta h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.download-item-meta p {
  font-size: 0.8rem;
}

.download-item-actions {
  display: flex;
  gap: 0.8rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* Accordion Instructions */
.setup-instructions {
  text-align: left;
  margin-bottom: 3.5rem;
}

.setup-instructions h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.instructions-accordion {
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border-glass);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  border: none;
  color: #fff;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 500px;
}

.accordion-content ol, .accordion-content ul {
  padding-left: 1.5rem;
}

.accordion-content li {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.accordion-content p {
  margin-bottom: 0.8rem;
}

.portal-actions {
  text-align: center;
}

/* Footer styling */
footer {
  padding: 4rem 2rem;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

footer p {
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero-text {
    margin: 0 auto 2rem auto;
  }
  .device-showcase {
    height: 280px;
  }
  .features-grid, .gallery-grid, .pricing-wrapper {
    grid-template-columns: 1fr;
  }
  .pricing-wrapper {
    gap: 2.5rem;
    max-width: 500px;
  }
  .gallery-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    width: 100%;
  }
  .gallery-tabs {
    justify-content: space-between;
  }
  .tab-btn {
    flex-grow: 1;
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    text-align: center;
  }
  .detail-modal-grid {
    grid-template-columns: 1fr;
  }
  .detail-visual-panel {
    border-right: none;
    border-bottom: 1px solid var(--border-glass);
    padding: 3rem 2rem 2rem 2rem;
  }
  .device-frame-container {
    height: 200px;
  }
}
