/* =====================================================
   pvalabs — Design System
   White + Emerald Luxury
   ===================================================== */

:root {
  /* Mobile drawer: set via JS from navbar position (fallback if JS fails) */
  --mobile-drawer-top: 113px;
  --base: #FFFFFF;
  --soft-bg: #F8FAFC;
  --accent-light: #ECFDF5;
  --primary-dark: #0F172A;
  --emerald: #059669;
  --accent-green: #10B981;
  --highlight: #34D399;
  --muted: #64748B;
  --success: #22C55E;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--base);
  color: var(--primary-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* =====================================================
   TOP INFO BAR
   ===================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--emerald), var(--accent-green));
  color: white;
  font-size: 13px;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar-rotator {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.top-bar-rotator span {
  display: inline-block;
  animation: rotateText 12s infinite;
}
@keyframes rotateText {
  0%, 20% { opacity: 1; transform: translateX(0); }
  25%, 45% { opacity: 0; transform: translateX(-20px); }
  50%, 70% { opacity: 1; transform: translateX(0); }
  75%, 95% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}
.top-bar-links a {
  color: white;
  margin-left: 16px;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.top-bar-links a:hover { opacity: 1; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
/* backdrop-filter can trap fixed children — disable on small screens */
@media (max-width: 768px) {
  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--emerald);
}
.brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--emerald), var(--accent-green));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--primary-dark); background: var(--soft-bg); }
.nav-links a.active { color: var(--emerald); background: var(--accent-light); }
.nav-cta {
  background: linear-gradient(135deg, var(--emerald), var(--accent-green));
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Mega Dropdown */
.mega-wrap { position: relative; }
.mega-trigger {
  cursor: pointer;
  display: flex; align-items: center; gap: 4px;
}
.mega-trigger svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
@media (min-width: 769px) {
  .mega-wrap:hover .mega-trigger svg { transform: rotate(180deg); }
}
.mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  min-width: 720px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
@media (min-width: 769px) {
  .mega-wrap:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
  }
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mega-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.mega-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--primary-dark);
  transition: color 0.2s;
}
.mega-col a:hover { color: var(--emerald); }

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.mobile-toggle:hover { background: var(--soft-bg); }
.mobile-toggle:active { transform: scale(0.96); }

body.nav-open { overflow: hidden; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236,253,245,0.8) 0%, rgba(255,255,255,0.95) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--emerald);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge span {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--emerald);
  font-style: normal;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-btns {
  display: flex;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--accent-green));
  color: white;
  box-shadow: 0 4px 20px rgba(5,150,105,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(5,150,105,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  width: 280px;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}
.hero-card:nth-child(2) {
  position: absolute;
  top: 60px; right: 0;
  width: 220px;
  animation-delay: -2s;
}
.hero-card:nth-child(3) {
  position: absolute;
  bottom: 40px; left: 20px;
  width: 200px;
  animation-delay: -4s;
}
.hero-card img {
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}
.hero-card .price {
  font-weight: 700;
  color: var(--emerald);
  font-size: 18px;
}
.hero-card .tag {
  font-size: 12px;
  color: var(--muted);
}

/* =====================================================
   GLASS CARDS
   ===================================================== */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5,150,105,0.2);
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 80px 0;
}
.section-alt { background: var(--soft-bg); }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--muted);
  font-size: 16px;
}
.section-label {
  display: inline-block;
  background: var(--accent-light);
  color: var(--emerald);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* =====================================================
   CATEGORY GRID
   ===================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald);
}
.cat-card .icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--emerald);
}
.cat-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.cat-card p {
  font-size: 13px;
  color: var(--muted);
}

/* =====================================================
   FEATURED PRODUCTS
   ===================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card img {
  width: 100%; height: 160px;
  object-fit: cover;
}
.product-card .body {
  padding: 20px;
}
.product-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.product-card .desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.product-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card .price {
  font-weight: 700;
  color: var(--emerald);
  font-size: 18px;
}
.product-card .order-btn {
  padding: 8px 16px;
  background: var(--accent-light);
  color: var(--emerald);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.product-card .order-btn:hover {
  background: var(--emerald);
  color: white;
}

/* =====================================================
   PRICING
   ===================================================== */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.pricing-tab {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: white;
  color: var(--muted);
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}
.pricing-tab.active {
  background: linear-gradient(135deg, var(--emerald), var(--accent-green));
  color: white;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card .platform {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.pricing-card .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 4px;
}
.pricing-card .unit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.pricing-card .select-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent-light);
  color: var(--emerald);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pricing-card .select-btn:hover {
  background: var(--emerald);
  color: white;
}

/* Aged Account Packs */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pack-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.pack-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}
.pack-card .qty {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
}
.pack-card .qty-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.pack-card .pack-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 12px;
}

/* =====================================================
   CAROUSEL
   ===================================================== */
.carousel-wrap {
  overflow: hidden;
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 20px;
  animation: scrollCarousel 30s linear infinite;
}
@keyframes scrollCarousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.carousel-item {
  min-width: 260px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.carousel-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.carousel-item .cprice {
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 12px;
}

/* =====================================================
   TRUST / FEATURES
   ===================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  text-align: center;
  padding: 32px;
}
.trust-card .icon {
  width: 64px; height: 64px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--emerald);
}
.trust-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.trust-card p {
  font-size: 14px;
  color: var(--muted);
}

/* =====================================================
   KNOWLEDGE HUB / BLOG
   ===================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card .thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--accent-light), var(--soft-bg));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  color: var(--emerald);
}
.blog-card .body {
  padding: 20px;
}
.blog-card .cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card .excerpt {
  font-size: 13px;
  color: var(--muted);
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--emerald); }
.faq-q svg {
  width: 20px; height: 20px;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--emerald), var(--accent-green));
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  color: white;
  margin: 0 24px;
}
.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  opacity: 0.9;
  font-size: 16px;
  margin-bottom: 28px;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s;
  background: white;
  color: var(--emerald);
  border: none;
  cursor: pointer;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.cta-btn.outline {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}
.cta-btn.outline:hover {
  background: rgba(255,255,255,0.25);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--highlight);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.footer-desc {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #E2E8F0;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #94A3B8;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--highlight); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748B;
}

/* =====================================================
   FLOATING BUTTONS
   ===================================================== */
.float-btns {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.wa { background: #25D366; }
.float-btn.tg { background: #0088CC; }

/* =====================================================
   MODAL
   ===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal .modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.modal-row label {
  font-size: 14px;
  font-weight: 500;
}
.modal-row input[type="number"] {
  width: 80px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}
.modal-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--emerald);
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--soft-bg);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--muted);
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}
.breadcrumb a:hover { color: var(--emerald); }
.breadcrumb .sep { opacity: 0.5; }

/* =====================================================
   SERVICE PAGE HERO
   ===================================================== */
.svc-hero {
  background: linear-gradient(135deg, var(--accent-light), var(--soft-bg));
  padding: 60px 0 40px;
}
.svc-hero h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}
.svc-hero p {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
}
.svc-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 24px;
  box-shadow: var(--shadow-lg);
}
.svc-hero-img img { width: 100%; height: 320px; object-fit: cover; }

/* =====================================================
   SERVICE FEATURES
   ===================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
}
.feature-card .icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  color: var(--emerald);
}
.feature-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 13px;
  color: var(--muted);
}

/* =====================================================
   TABLES
   ===================================================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.data-table th,
.data-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
}
.data-table th {
  background: var(--soft-bg);
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.data-table td { border-top: 1px solid var(--border); color: var(--muted); }
.data-table .price-cell {
  font-weight: 700;
  color: var(--emerald);
}
.data-table .action-cell {
  text-align: right;
}

/* =====================================================
   ORDER PAGE
   ===================================================== */
.order-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}
.order-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.order-card .sub {
  color: var(--muted);
  margin-bottom: 24px;
}
.order-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.order-step .num {
  width: 36px; height: 36px;
  background: var(--accent-light);
  color: var(--emerald);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.order-step h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.order-step p {
  font-size: 13px;
  color: var(--muted);
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.contact-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}
.contact-card .icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--emerald);
  flex-shrink: 0;
}
.contact-card h4 { font-size: 15px; font-weight: 600; }
.contact-card p { font-size: 13px; color: var(--muted); }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-hero {
  background: linear-gradient(135deg, var(--accent-light), var(--soft-bg));
  padding: 80px 0 60px;
  text-align: center;
}
.about-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}
.about-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.stat-card .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--emerald);
  margin-bottom: 4px;
}
.stat-card .label {
  font-size: 14px;
  color: var(--muted);
}

/* =====================================================
   PRIVACY PAGE
   ===================================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* =====================================================
   BLOG PAGE
   ===================================================== */
.blog-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.blog-filter button {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.blog-filter button:hover,
.blog-filter button.active {
  background: var(--emerald);
  color: white;
  border-color: var(--emerald);
}


/* =====================================================
   PRICING FEATURES LIST
   ===================================================== */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}
.pricing-features li {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-card-featured {
  border: 2px solid var(--emerald);
  position: relative;
}
.pricing-card-featured::before {
  content: "Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--emerald), var(--accent-green));
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

/* =====================================================
   PRICING PANEL HIDDEN
   ===================================================== */
.pricing-panel.hidden { display: none; }

/* =====================================================
   ORDER CARD MODAL
   ===================================================== */
.order-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal-overlay.open .order-card { transform: scale(1); }

.order-card-header {
  text-align: center;
  margin-bottom: 20px;
}
.order-card-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.order-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary-dark);
}
.order-card-header .modal-sub {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.order-card-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--soft-bg);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}
.order-price-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.order-price-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--emerald);
}
.order-card-cta-text {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}
.order-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}
.order-channel:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.order-channel.whatsapp:hover { border-color: #25D366; background: #f0fdf4; }
.order-channel.telegram:hover { border-color: #2AABEE; background: #eff9ff; }
.order-channel.email:hover { border-color: var(--emerald); background: var(--accent-light); }
.order-channel-icon {
  font-size: 24px;
  width: 36px;
  text-align: center;
}
.order-channel-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
}
.order-channel-desc {
  font-size: 12px;
  color: var(--muted);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-dropdown { min-width: 560px; }
}

@media (max-width: 768px) {
  /* Hero: copy first, visuals stacked below */
  .hero-inner {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    gap: 36px;
    text-align: center;
    align-items: center;
  }
  .hero-inner > div:first-child { order: 0; width: 100%; }
  .hero-visual {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    position: relative;
    width: 100%;
    margin-top: 8px;
    order: 1;
  }
  .hero-card {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: calc(50% - 8px) !important;
    max-width: 200px;
    margin: 0;
    /* Restore floating animation on mobile */
    animation: floatCard 6s ease-in-out infinite !important;
    transform-origin: center center;
  }
  .hero-card:nth-child(1) {
    animation-delay: 0s !important;
  }
  .hero-card:nth-child(2) {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: calc(50% - 8px) !important;
    max-width: 200px;
    animation-delay: -2s !important;
  }
  .hero-card:nth-child(3) {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: calc(50% - 8px) !important;
    max-width: 200px;
    animation-delay: -4s !important;
  }
  .hero h1 { font-size: 36px; }
  .hero p { margin: 0 auto 32px; max-width: none; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .cat-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  /* Mobile drawer: full viewport width, below measured header (top-bar + navbar)
     Keep z-index below .modal-overlay (2000) so order modal stays on top */
  .navbar {
    z-index: 1500;
  }
  .nav-inner {
    position: relative;
    z-index: 1;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    padding-top: 16px;
    padding-bottom: max(28px, env(safe-area-inset-bottom, 20px));
    top: var(--mobile-drawer-top, 113px) !important;
    height: calc(100vh - var(--mobile-drawer-top, 113px));
    height: calc(100dvh - var(--mobile-drawer-top, 113px));
    max-height: calc(100dvh - var(--mobile-drawer-top, 113px));
    bottom: auto;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 1510;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links > a {
    padding: 16px 18px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-dark);
  }
  .nav-links > a:active {
    background: var(--soft-bg);
  }
  .nav-links .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
  .nav-links .mega-wrap {
    width: 100%;
  }
  .mega-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 16px 18px !important;
    min-height: 48px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    box-sizing: border-box;
  }
  .mega-dropdown {
    position: static !important;
    left: auto !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100%;
    margin: 0;
    padding: 0 12px;
    box-shadow: none;
    background: var(--soft-bg);
    border-radius: var(--radius-md);
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  }
  .mega-wrap.open .mega-dropdown {
    max-height: 2800px;
    padding: 16px 12px;
    margin-top: 6px;
    margin-bottom: 8px;
  }
  .mega-wrap:not(.open) .mega-dropdown {
    padding-top: 0;
    padding-bottom: 0;
    border: none;
  }
  .mega-wrap.open .mega-trigger svg {
    transform: rotate(180deg);
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mega-col a {
    padding: 14px 10px !important;
    min-height: 46px;
    display: flex !important;
    align-items: center;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }
  .mega-col a:active {
    background: rgba(5, 150, 105, 0.08);
  }
  .mega-col h4 { margin-top: 8px; }
  .mega-col h4:first-child { margin-top: 0; }

  .mobile-toggle { display: flex; }
  .cta-section { padding: 40px 24px; margin: 0 12px; }
  .cta-section h2 { font-size: 28px; }
  .cta-btns { flex-direction: column; }
  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 6px 0;
  }
  .top-bar-rotator {
    width: 100%;
    text-align: center;
    overflow: hidden;
  }
  .top-bar-rotator span {
    display: block;
    white-space: normal;
    line-height: 1.4;
    font-size: 11px;
    padding: 0 8px;
    animation: none;
    opacity: 1;
    transform: none;
  }
  .top-bar-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
  }
  .top-bar-links a {
    margin-left: 0;
    padding: 3px 10px;
    background: rgba(255,255,255,0.18);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-header h2 { font-size: 28px; }
  .stat-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   UTILITY
   ===================================================== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.justify-between { justify-content: space-between; }

/* =====================================================
   MOBILE SEO / UX ENHANCEMENTS
   ===================================================== */

/* Ensure top-bar text wraps gracefully on all screens */
.top-bar-text {
  display: inline-block;
  word-break: break-word;
}

/* Hero card mobile float animation - staggered */
@keyframes floatCardMobile {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@media (max-width: 768px) {
  /* Override floatCard for mobile with gentler version */
  .hero-card {
    animation: floatCardMobile 5s ease-in-out infinite !important;
  }
  .hero-card:nth-child(2) { animation-delay: -1.7s !important; }
  .hero-card:nth-child(3) { animation-delay: -3.3s !important; }

  /* Ensure top bar stays fully visible on mobile */
  .top-bar {
    overflow: visible;
    height: auto;
  }

  /* Better mobile spacing for top-bar */
  .top-bar-inner {
    padding: 8px 16px;
  }

  /* Hero visual on mobile - proper 2-column grid */
  .hero-visual {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .hero-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 200px;
    margin: 0 auto;
  }

  /* Fix nav drawer top calculation to account for taller top-bar */
  :root {
    --mobile-drawer-top: 130px;
  }
}

@media (max-width: 480px) {
  .top-bar-rotator span {
    font-size: 11px;
  }
  .top-bar-links a {
    font-size: 11px;
    padding: 3px 8px;
  }
  /* Adjust mobile drawer for very small screens */
  :root {
    --mobile-drawer-top: 130px;
  }
}
