@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg-main: #0B111A; /* Deep cold depressed dark blue/grey */
  --bg-card: #121A26;
  --bg-card-hover: #182334;
  --primary-accent: #7DD3FC; /* Icy dead frost blue */
  --primary-accent-hover: #BAE6FD;
  --primary-accent-glow: rgba(125, 211, 252, 0.1);
  --text-main: #CBD5E1; /* Muted pale text */
  --text-muted: #64748B; /* Darker slate */
  --border-light: rgba(255, 255, 255, 0.05);
  --font-family: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  background-color: var(--bg-main) !important;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-main) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients */
.glow-bubble {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  display: none;
}

.glow-1 {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  top: 80%;
  right: -300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(40px, 5vw, 62px);
  letter-spacing: -1.5px;
  text-align: center;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 48px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 32px auto;
  text-align: center;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  position: relative;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  backdrop-filter: blur(12px) grayscale(50%);
  border-bottom: 1px solid var(--border-light);
  background: rgba(11, 17, 26, 0.8) !important; /* Frosty dark bar */
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
  color: #FFFFFF !important;
}

.navbar .nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.navbar .btn-primary {
  background: var(--bg-card);
  color: var(--primary-accent);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}

.navbar .btn-primary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-accent);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

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

.nav-links a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--primary-accent);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--primary-accent-glow);
}

.btn-primary:hover {
  background: var(--primary-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-accent-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 180px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.pill .tag {
  background: var(--primary-accent);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
  font-size: 11px;
  font-weight: 600;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.featured-image img {
  max-width: 350px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

.dashboard-mockup {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8), 0 0 40px var(--primary-accent-glow);
}

.dashboard-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cards (Features & Benefits) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(132, 85, 253, 0.3);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  color: var(--primary-accent);
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  text-align: left;
  margin: 0;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 64px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.popular {
  border-color: var(--primary-accent);
  box-shadow: 0 0 30px var(--primary-accent-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-accent);
  color: white;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.price span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  margin-top: 32px;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary-accent);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
  margin-top: 32px;
}

/* Detailed Service Tables */
.service-table-container {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-top: 48px;
  overflow: hidden;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.service-table th {
  background: rgba(0, 0, 0, 0.015);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-light);
}

.service-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.service-table tr:last-child td {
  border-bottom: none;
}

.service-table tr:hover td {
  background: rgba(0, 0, 0, 0.015);
}

.service-table td h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.service-table td p {
  font-size: 13px;
  margin: 0;
  text-align: left;
  line-height: 1.4;
}

.service-table td.price-cell {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

/* Custom Order Banner */
.custom-order-banner {
  margin-top: 64px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0));
  border: 1px dashed var(--primary-accent);
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.custom-order-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary-accent-glow);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.custom-order-banner > * {
  position: relative;
  z-index: 1;
}

.custom-order-banner h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.custom-order-banner p {
  margin-bottom: 32px;
}

/* App Store Layouts */
.app-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: var(--text-main);
}

.app-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-accent);
  transform: translateY(-4px);
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 1px solid var(--border-light);
}

/* Larger icon inside retail product cards */
.retail-card .app-icon {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  border: none;
  font-size: 48px;
}

.app-card-content h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.app-card-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

.download-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.download-panel .app-icon-large {
  width: 96px;
  height: 96px;
  font-size: 48px;
  border-radius: 24px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.download-meta {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  padding: 16px 32px;
  background: rgba(0, 0, 0, 0.015);
  border-radius: 16px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meta-item span.label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-item span.value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

/* Testimonials (Masonry style emulation for now) */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-stat {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-accent);
  margin-bottom: 8px;
}

.testimonial-quote {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 24px;
  font-style: italic;
  text-align: left;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
}

.author-info h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 12px;
  margin: 0;
  text-align: left;
}

/* Animations Layer */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- E-COMMERCE UPGRADES --- */

.nav-search {
  flex: 1;
  max-width: 400px;
  position: relative;
  margin: 0 32px;
}
.nav-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(0,0,0,0.2);
  font-size: 14px;
  outline: none;
  color: var(--text-main);
}
.nav-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cart-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-light);
  color: var(--primary-accent);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}
.nav-cart-btn:hover {
  background: rgba(255,255,255,0.1);
}

.featured-billboard {
  margin-top: 0;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-accent-glow) 100%);
  border-radius: 24px;
  padding: 64px;
  display: flex;
  align-items: center;
  gap: 64px;
  border: 1px solid var(--border-light);
}
.featured-content {
  flex: 1;
}
.featured-content h1 {
  text-align: left;
  font-size: 48px;
  color: var(--text-main);
  margin-bottom: 24px;
}
.featured-content .price-badge {
  display: inline-block;
  background: #10B981;
  color: white;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 24px;
}
.featured-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.featured-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.trust-banner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.retail-card {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 26, 38, 0.9) 0%, rgba(11, 17, 26, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  color: var(--text-main);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.retail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.retail-card:hover {
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(125, 211, 252, 0.05);
  transform: translateY(-8px);
}

.retail-card:hover::before {
  opacity: 1;
}

.retail-badge,
.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(255, 75, 43, 0.4);
  z-index: 10;
}

.retail-badge[style*="BESTSELLER"], .retail-badge[style*="--primary-accent"], .retail-badge.bestseller {
  background: linear-gradient(135deg, #00C9FF, #92FE9D) !important;
  box-shadow: 0 4px 10px rgba(0, 201, 255, 0.4) !important;
  color: #000 !important;
}

.card-stars {
  color: #FBBF24;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-stars span {
  letter-spacing: 0;
  font-size: 12px;
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-muted);
}

.card-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.card-price-amount {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #10B981, #34D399); /* Vibrant green to indicate money/sales */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.card-price-old {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 12px;
  opacity: 0.6;
}

.retail-hero-img {
  width: calc(100% + 56px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: -28px -28px 20px -28px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: var(--bg-card);
}

.retail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.retail-card:hover .retail-hero-img img {
  transform: scale(1.05);
}

.sales-trigger {
  font-size: 12px;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  margin-bottom: 2px;
  font-weight: 600;
}

.add-to-cart-btn {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #000;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  margin-top: 16px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.add-to-cart-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: all 0.4s ease;
}

.add-to-cart-btn:hover {
  background: linear-gradient(135deg, #4FACFE, #00F2FE);
  color: #000;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.6);
  transform: scale(1.03);
}

.add-to-cart-btn:hover::after {
  left: 150%;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .store-wrapper {
    grid-template-columns: 1fr;
  }
  .store-sidebar {
    display: none;
  }
  .hero {
    padding-top: 140px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Storefront Architecture Additions
   ========================================================================== */

.announcement-bar {
  background: linear-gradient(90deg, #FF416C, #FF4B2B);
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 1001;
  position: relative;
}

.store-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.store-sidebar {
  position: sticky;
  top: 100px;
  background: rgba(18, 26, 38, 0.5);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.sidebar-title {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 12px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  color: white;
}

.sidebar-menu .icon {
  font-size: 18px;
}

.price-slider {
  width: 100%;
  accent-color: var(--primary-accent);
}

.live-ticker-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 9999;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.live-ticker-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.ticker-img {
  font-size: 32px;
  background: rgba(255,255,255,0.05);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.ticker-content p {
  margin: 0;
  text-align: left;
  line-height: 1.4;
}

.ticker-text {
  font-size: 13px;
  color: var(--text-muted);
}

.ticker-product {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-accent);
}

.ticker-time {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ==========================================================================
   Checkout Modal Elements
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.checkout-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  padding: 40px;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  position: relative;
}

.modal-overlay.active .checkout-modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.2s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-main);
}

.coin-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.coin-btn {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.coin-btn.active {
  background: rgba(125, 211, 252, 0.1);
  border-color: var(--primary-accent);
  color: var(--text-main);
  box-shadow: inset 0 0 15px rgba(125, 211, 252, 0.1);
}

.address-box {
  background: rgba(0,0,0,0.3);
  border: 1px dashed var(--border-light);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  word-break: break-all;
}

.address-text {
  color: var(--primary-accent);
  font-family: monospace;
  font-size: 13px;
}

.copy-btn {
  background: var(--text-main);
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  transition: 0.2s;
  white-space: nowrap;
  margin-left: 12px;
}

.copy-btn:hover {
  background: var(--primary-accent);
}

/* ==========================================================================
   Mobile Optimizations & Bottom Navbar
   ========================================================================== */

/* Initially hidden on desktop */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Hide the desktop sidebar */
  .store-sidebar {
    display: none !important;
  }
  
  /* Reset grid columns */
  .store-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* Fix Hero blocks and headers */
  .product-hero {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding: 40px 0;
  }
  
  .product-hero .hero-text p {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  
  .featured-billboard {
    flex-direction: column;
    padding: 32px;
    text-align: center;
    gap: 32px;
  }
  
  .featured-content h1 {
    text-align: center;
    font-size: 32px;
  }

  .nav-search {
    display: none; /* Hide search on small mobile to save space */
  }

  /* --- Mobile Bottom Nav Bar --- */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(11, 17, 26, 0.85);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding: 0 12px;
    padding-bottom: env(safe-area-inset-bottom, 0px); /* iPhone safe area */
  }

  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    width: 33%;
    height: 100%;
    transition: var(--transition-smooth);
  }

  .mobile-bottom-nav a .icon {
    font-size: 20px;
    margin-bottom: 4px;
    transition: transform 0.2s;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a.active {
    color: var(--text-main);
  }
  
  .mobile-bottom-nav a.active .icon {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
  }

  /* Add padding to body to prevent footer overlapping content */
  body {
    padding-bottom: 80px;
  }
  
  footer {
    margin-top: 40px;
    padding: 40px 0 80px;
  }
}
