/* ============================================================
   BIRTHDAY KARTS — Navigation & Header Component
   ============================================================ */

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease-out);
}

#navbar.scrolled {
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(108,99,255,0.4);
  position: relative;
  overflow: hidden;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: rgba(255,255,255,0.15);
  border-radius: 0 0 50% 50%;
}
.nav-logo-text {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--primary-light); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  position: relative;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

/* Dropdown — click + hover */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: rgba(8, 13, 32, 0.97);
  backdrop-filter: var(--blur-lg);
  -webkit-backdrop-filter: var(--blur-lg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(108,99,255,0.08);
  z-index: 1100;
}
/* Open on hover (desktop) */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Open on click (js adds .open class) */
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Active arrow indicator */
.nav-dropdown .nav-link[aria-expanded="true"] {
  color: var(--text);
  background: rgba(108,99,255,0.12);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.nav-dropdown-item:hover {
  background: rgba(108,99,255,0.1);
  color: var(--text);
}
.nav-dropdown-item .item-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(108,99,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 0.4rem 0;
}

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Mobile Menu Toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: left;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(1px, -1px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(1px, 1px); }

/* Mobile Nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.98);
  backdrop-filter: var(--blur-xl);
  -webkit-backdrop-filter: var(--blur-xl);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-link {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-secondary);
  color: var(--text-secondary);
  padding: 0.5rem 2rem;
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--primary-light); }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta .btn--ghost { display: none; }
}

/* ============================================================
   FOOTER COMPONENT
   ============================================================ */
footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--glass-border);
  padding-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--glass-border);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 1rem 0;
  font-family: var(--font-tertiary);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(108,99,255,0.2);
  border-color: rgba(108,99,255,0.4);
  color: var(--primary-light);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-tertiary);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-tertiary);
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer-newsletter input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  color: var(--text);
  outline: none;
  font-family: var(--font-tertiary);
}
.footer-newsletter input:focus { border-color: var(--primary); }
.footer-newsletter input::placeholder { color: var(--text-muted); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   CURSOR
   ============================================================ */
#cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
  mix-blend-mode: normal;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(108,99,255,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s;
}
.cursor-hover #cursor-ring {
  width: 64px; height: 64px;
  border-color: rgba(108,99,255,0.4);
  background: rgba(108,99,255,0.08);
}
.cursor-hover #cursor-dot { transform: translate(-50%, -50%) scale(0); }

@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: bounce-y 3s ease-in-out infinite;
}
#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 48px rgba(37,211,102,0.65);
}
#whatsapp-float .wa-tooltip {
  position: absolute;
  right: 120%;
  white-space: nowrap;
  background: rgba(8,13,32,0.9);
  backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.6s, visibility 0.6s;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 1.5s ease infinite;
}
.loader-bar {
  width: 160px; height: 2px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: load-bar 1.5s var(--ease-out) forwards;
}
@keyframes load-bar {
  from { width: 0%; }
  to { width: 100%; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35em 0.9em;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  font-family: var(--font-tertiary);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-secondary);
  color: var(--text);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-family: var(--font-tertiary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-float-card {
  position: absolute;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-size: 0.8rem;
}
.hero-float-card .hf-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero-float-card .hf-label { font-weight: 600; color: var(--text); }
.hero-float-card .hf-sub { color: var(--text-secondary); font-size: 0.7rem; }

.hero-central-orb {
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(108,99,255,0.6), rgba(139,92,246,0.3) 50%, rgba(5,8,22,0) 70%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 7s ease-in-out infinite;
}
.hero-central-orb::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(255,255,255,0.08), transparent);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-orb-rings {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px solid rgba(108,99,255,0.15);
  animation: spin-slow 20s linear infinite;
}
.hero-orb-rings::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px dashed rgba(108,99,255,0.08);
  animation: spin-slow 30s linear infinite reverse;
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
}

/* ============================================================
   SECTION — MARQUEE TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 2rem 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  font-family: var(--font-primary);
}
.trust-item svg, .trust-item span.icon { color: var(--primary-light); }

/* ============================================================
   SECTION — SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
}

/* ============================================================
   SECTION — PRODUCTS SHOWCASE
   ============================================================ */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.product-showcase.reverse { direction: rtl; }
.product-showcase.reverse > * { direction: ltr; }

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: var(--font-tertiary);
  line-height: 1.5;
}
.product-feature-item .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,208,132,0.15);
  border: 1px solid rgba(0,208,132,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.65rem;
  color: var(--success);
}

.product-mockup {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(108,99,255,0.08), rgba(139,92,246,0.04));
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
}
.product-mockup-screen {
  width: 85%;
  height: 85%;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .product-showcase { grid-template-columns: 1fr; direction: ltr; }
}

/* ============================================================
   SECTION — STATS COUNTER
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, rgba(108,99,255,0.06), rgba(139,92,246,0.04));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stats-item {
  padding: var(--space-lg) var(--space-md);
  border-right: 1px solid var(--glass-border);
  position: relative;
}
.stats-item:last-child { border-right: none; }
.stats-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  font-family: var(--font-secondary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stats-suffix { color: var(--accent); }
.stats-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-family: var(--font-tertiary);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2) { border-right: none; }
  .stats-item:nth-child(3) { border-right: 1px solid var(--glass-border); border-top: 1px solid var(--glass-border); }
  .stats-item:nth-child(4) { border-right: none; border-top: 1px solid var(--glass-border); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-item { border-right: none !important; border-top: 1px solid var(--glass-border); }
  .stats-item:first-child { border-top: none; }
}

/* ============================================================
   SECTION — TESTIMONIALS SLIDER
   ============================================================ */
.testimonials-track {
  display: flex;
  gap: var(--space-md);
  transition: transform 0.6s var(--ease-out);
}
.testimonials-slide {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
}
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--space-md);
}
.testimonials-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: var(--transition);
}
.testimonials-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.slider-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 1rem;
}
.slider-btn:hover { background: rgba(108,99,255,0.2); color: var(--primary-light); }

@media (max-width: 1024px) { .testimonials-slide { flex: 0 0 calc(50% - 0.5rem); } }
@media (max-width: 640px) { .testimonials-slide { flex: 0 0 100%; } }

/* ============================================================
   SECTION — CTA FULL WIDTH
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(255,90,95,0.06), rgba(139,92,246,0.08));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.15), transparent);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ============================================================
   SECTION — GALLERY
   ============================================================ */
.gallery-masonry {
  columns: 3;
  column-gap: 1rem;
  gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,8,22,0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: flex-end;
  padding: 1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (max-width: 768px) { .gallery-masonry { columns: 2; } }
@media (max-width: 480px) { .gallery-masonry { columns: 1; } }

/* ============================================================
   SKYLIGHT SERVICES — API SECTION
   ============================================================ */
#skylight-services {
  position: relative;
}

.skylight-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3em 0.85em;
  background: rgba(56,189,248,0.1);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--email-color);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.api-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  .api-channels-grid { grid-template-columns: 1fr; }
}

.api-stat-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.api-stat-value {
  font-weight: 700;
  color: var(--text);
  font-size: 0.85rem;
}

.api-type-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}
.api-type-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.2em 0.65em;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  border: 1px solid;
}
.pill-bulk {
  background: rgba(108,99,255,0.1);
  border-color: rgba(108,99,255,0.3);
  color: var(--primary-light);
}
.pill-transactional {
  background: rgba(255,209,102,0.1);
  border-color: rgba(255,209,102,0.3);
  color: var(--warning);
}

/* Terminal Mockup */
.terminal-mockup {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  box-shadow: var(--shadow-lg);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #FF5F57; }
.terminal-dot.yellow { background: #FEBC2E; }
.terminal-dot.green { background: #28C840; }
.terminal-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  flex: 1;
  text-align: center;
}
.terminal-body { padding: 1.25rem; min-height: 200px; }
.terminal-line { display: flex; gap: 0.5rem; }
.terminal-prompt { color: #00D084; user-select: none; }
.terminal-cmd { color: #e6edf3; }
.terminal-output { color: #8b949e; }

/* Uptime Badge */
.uptime-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4em 0.9em;
  background: rgba(0,208,132,0.08);
  border: 1px solid rgba(0,208,132,0.2);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--success);
}

/* Integration Logos Row */
.integration-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.integration-logo-chip {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25em 0.65em;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* ============================================================
   SCROLL ANIMATIONS — Initial States
   (GSAP will manage the final states)
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}
[data-animate="fade-left"] { transform: translateX(-30px); }
[data-animate="fade-right"] { transform: translateX(30px); }
[data-animate="scale"] { transform: scale(0.92); }
[data-animate="blur"] { filter: blur(8px); transform: translateY(15px); }
[data-animate].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.toggle-switch {
  width: 44px; height: 24px;
  background: var(--primary);
  border-radius: 12px;
  position: relative;
  transition: var(--transition);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out);
}
.toggle-switch.yearly::after { transform: translateX(20px); }
.pricing-annual-badge {
  font-size: 0.65rem;
  background: rgba(0,208,132,0.15);
  color: var(--success);
  border: 1px solid rgba(0,208,132,0.25);
  border-radius: var(--radius-full);
  padding: 0.15em 0.6em;
  font-weight: 700;
}

/* ============================================================
   APP STORE DOWNLOAD BUTTONS
   ============================================================ */
.app-download-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.25rem;
}
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  min-width: 148px;
  position: relative;
  overflow: hidden;
}
.app-store-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  transform: translateX(-100%) skewX(-10deg);
  transition: transform 0.4s var(--ease-out);
}
.app-store-btn:hover::before { transform: translateX(150%) skewX(-10deg); }
.app-store-btn:hover {
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.app-store-btn.play-store:hover {
  border-color: rgba(0,208,132,0.4);
  box-shadow: 0 8px 24px rgba(0,208,132,0.15);
}
.app-store-btn.apple-store:hover {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}
.app-store-btn.web-app:hover {
  border-color: rgba(56,189,248,0.4);
  box-shadow: 0 8px 24px rgba(56,189,248,0.15);
}
.app-store-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.app-store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.app-store-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.app-store-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-primary);
}

/* Download badge strip on product card */
.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

/* ============================================================
   MEGA PRODUCT NAV CARD
   ============================================================ */
.nav-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}
.nav-product-card:hover {
  background: rgba(108,99,255,0.08);
  border-color: rgba(108,99,255,0.2);
}
.nav-product-card .npc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-product-card .npc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.nav-product-card .npc-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
}
.nav-product-card .npc-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding-left: calc(32px + 0.6rem);
}
.nav-product-card .npc-pills {
  display: flex;
  gap: 0.3rem;
  padding-left: calc(32px + 0.6rem);
}
.npc-pill {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.npc-pill.android { background: rgba(61,220,132,0.15); color: #3DDC84; }
.npc-pill.ios     { background: rgba(255,255,255,0.08); color: #c8c8c8; }
.npc-pill.web     { background: rgba(56,189,248,0.12); color: var(--email-color); }
.npc-pill.api     { background: rgba(108,99,255,0.15); color: var(--primary-light); }
