:root {
  --bg-primary: #080a0f;
  --bg-secondary: #11141d;
  --bg-card: #171b26;
  --bg-card-hover: #1f2433;
  --bg-glass: rgba(17, 20, 29, 0.88);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-color: #6366f1;
  --accent-hover: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --accent-gradient-subtle: linear-gradient(180deg, rgba(99, 102, 241, 0.15) 0%, rgba(17, 20, 29, 0.6) 100%);
  --live-color: #ef4444;
  --live-glow: rgba(239, 68, 68, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.6);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Poppins', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* -------------------------------------------------------------
 * App Header & Navigation
 * ------------------------------------------------------------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 20px;
}

.header-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.admin-logo {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.title-group h1 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.photographer-tag {
  font-size: 12px;
  color: var(--text-secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .desktop-only {
    display: none !important;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* -------------------------------------------------------------
 * Buttons & UI Badges
 * ------------------------------------------------------------- */
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.pill-btn {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.upgrade-pill-btn {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}

.upgrade-pill-btn:hover {
  background: rgba(99, 102, 241, 0.25);
}

.primary-btn {
  background: var(--accent-gradient);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.text-btn {
  background: transparent;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 600;
}

.text-btn:hover {
  text-decoration: underline;
}

.delete-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.delete-btn:hover {
  background: rgba(239, 68, 68, 0.3);
}

.section-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}

/* -------------------------------------------------------------
 * Landing Hero Section
 * ------------------------------------------------------------- */
.hero-section {
  position: relative;
  text-align: center;
  max-width: 1000px;
  margin: 70px auto 40px;
  padding: 0 20px;
}

.hero-glow-backdrop {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 80%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
}

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

.hero-subtitle {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 740px;
  margin: 0 auto 34px;
}

.hero-cta-group {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-cta-btn {
  padding: 13px 28px;
  font-size: 15px;
}

.hero-demo-btn {
  padding: 13px 24px;
  font-size: 15px;
}

/* Hero Mockup Pipeline Grid */
.hero-mockup-container {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 20px;
}

.mockup-header {
  background: var(--bg-secondary);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 8px;
}

.mockup-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.mockup-node {
  flex: 1;
  min-width: 160px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
}

.mockup-node.highlight-node {
  border-color: var(--accent-color);
  background: rgba(99, 102, 241, 0.1);
}

.node-icon {
  font-size: 26px;
  margin-bottom: 8px;
}

.mockup-node h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mockup-node p {
  font-size: 11px;
  color: var(--text-secondary);
}

.mockup-arrow {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 18px;
}

@media (max-width: 768px) {
  .mockup-arrow { display: none; }
}

/* -------------------------------------------------------------
 * Live Stats Bar (Real Data Ticker)
 * ------------------------------------------------------------- */
.live-stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 20px;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
 * How It Works Section
 * ------------------------------------------------------------- */
.how-it-works-section {
  max-width: 1200px;
  margin: 90px auto;
  padding: 0 20px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card.featured-step {
  border-color: var(--border-focus);
  background: var(--accent-gradient-subtle);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.35;
}

.step-icon {
  font-size: 38px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * Features Matrix Grid
 * ------------------------------------------------------------- */
.features-section {
  max-width: 1200px;
  margin: 90px auto;
  padding: 0 20px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  text-align: left;
  margin-top: 40px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color var(--transition-fast);
}

.feature-box:hover {
  border-color: var(--border-focus);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * Pricing Section
 * ------------------------------------------------------------- */
.pricing-section {
  max-width: 1150px;
  margin: 90px auto;
  padding: 0 20px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured-plan {
  border-color: var(--accent-color);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, var(--bg-card) 100%);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.25);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.plan-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 800;
}

.plan-price {
  font-size: 36px;
  font-weight: 800;
  margin: 12px 0 4px;
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.plan-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.plan-features li strong {
  color: #fff;
}

.plan-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
}

/* -------------------------------------------------------------
 * Testimonials Section
 * ------------------------------------------------------------- */
.testimonials-section {
  max-width: 1200px;
  margin: 90px auto;
  padding: 0 20px;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

.stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  font-size: 24px;
}

.author-info strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.author-info span {
  font-size: 11px;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
 * FAQ Accordion Section
 * ------------------------------------------------------------- */
.faq-section {
  max-width: 860px;
  margin: 90px auto 120px;
  padding: 0 20px;
  text-align: center;
}

.faq-accordion {
  margin-top: 40px;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.faq-icon {
  font-size: 20px;
  color: var(--accent-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* -------------------------------------------------------------
 * Global Footer
 * ------------------------------------------------------------- */
.app-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 860px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 18px;
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
}

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links-col a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
 * Dashboard & Admin Metrics Styling
 * ------------------------------------------------------------- */
.dashboard-container {
  max-width: 1200px;
  margin: 30px auto 80px;
  padding: 0 20px;
}

.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.stat-box h2 {
  font-size: 28px;
  font-weight: 800;
  margin-top: 6px;
  color: #fff;
}

.dashboard-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-left h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-left p {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 600px;
}

.apk-download-btn {
  padding: 12px 22px;
}

.events-section {
  margin-top: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.event-card-header h4 {
  font-size: 17px;
  font-weight: 800;
}

.event-photographer-tag {
  font-size: 12px;
  color: var(--text-secondary);
}

.event-card-body {
  display: flex;
  gap: 16px;
  flex: 1;
  margin-bottom: 16px;
}

.qr-thumbnail-box {
  width: 96px;
  height: 96px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 4px;
  cursor: pointer;
  text-align: center;
  flex-shrink: 0;
}

.qr-thumbnail-box img {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-tap-hint {
  display: block;
  font-size: 9px;
  color: #000;
  font-weight: 700;
  margin-top: 2px;
}

.event-metrics-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.metric-chip {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
}

.chip-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.metric-chip strong {
  font-size: 14px;
  color: #fff;
}

.event-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

/* -------------------------------------------------------------
 * Light Luxury Theme for Photographer Dashboard
 * ------------------------------------------------------------- */
.dashboard-body.light-theme {
  background-color: #f8fafc;
  color: #0f172a;
}

.dashboard-header-light {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.light-logo {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #fff;
}

.title-dark {
  color: #0f172a !important;
  font-weight: 800;
}

.tag-dark {
  color: #64748b !important;
}

.pill-light {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

.pill-light:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.upgrade-pill-light {
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  color: #4f46e5 !important;
}

.upgrade-pill-light:hover {
  background: #e0e7ff !important;
}

/* Light Plan Status Card */
.plan-status-card-light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.plan-status-card-light h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.plan-tier-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 6px;
}

.badge-amber {
  background: #fef3c7;
  color: #b45309;
}

.badge-blue {
  background: #eef2ff;
  color: #4f46e5;
}

.badge-green {
  background: #ecfdf5;
  color: #047857;
}

.progress-bar-track-light {
  width: 100%;
  height: 8px;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 10px 0 8px;
}

.progress-bar-fill-light {
  height: 100%;
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.progress-text-row-light {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* Light Overview Grid */
.stats-overview-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box-light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-icon-wrapper.blue { background: #eef2ff; }
.stat-icon-wrapper.purple { background: #f3e8ff; }
.stat-icon-wrapper.green { background: #ecfdf5; }
.stat-icon-wrapper.amber { background: #fef3c7; }
.stat-icon-wrapper.teal { background: #f0fdfa; }

.stat-label-light {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.stat-box-light h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

/* Hero Companion Card Light */
.dashboard-hero-card-light {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.3);
}

.dashboard-hero-card-light h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.dashboard-hero-card-light p {
  font-size: 13px;
  color: #e0e7ff;
  max-width: 600px;
  line-height: 1.5;
}

.section-header-light {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header-light h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.text-secondary-light {
  font-size: 13px;
  color: #64748b;
}

/* -------------------------------------------------------------
 * Wide Modern Event Cards (Spacious & Clean Luxury UI)
 * ------------------------------------------------------------- */
.events-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 28px;
}

@media (max-width: 580px) {
  .events-grid-light {
    grid-template-columns: 1fr;
  }
}

.event-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.09), 0 6px 12px -2px rgba(15, 23, 42, 0.04);
}

.event-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.event-title-group {
  flex: 1;
}

.event-status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.event-name-text {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 2px 0 8px 0;
}

.event-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.meta-separator {
  color: #cbd5e1;
}

.slug-badge {
  background: #eef2ff;
  color: #4f46e5;
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
}

.delete-btn-subtle {
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  color: #e11d48;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.delete-btn-subtle:hover {
  background: #fecdd3;
  color: #be123c;
}

.event-card-middle {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 22px;
}

.qr-preview-box {
  width: 105px;
  height: 105px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease;
}

.qr-preview-box:hover {
  transform: scale(1.04);
  border-color: #4f46e5;
}

.qr-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-zoom-label {
  display: none;
}

.metrics-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.metric-item-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}

.metric-item-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 3px;
}

.metric-item-value {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.event-card-bottom {
  display: flex;
  gap: 10px;
  align-items: center;
}

.card-action-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  flex: 1;
  text-align: center;
}

.card-action-btn:hover {
  background: #f1f5f9 !important;
}

.card-qr-btn {
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  color: #4f46e5 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  flex: 1;
  text-align: center;
}

.card-qr-btn:hover {
  background: #e0e7ff !important;
}

.card-gallery-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  flex: 1.2;
  text-align: center !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25) !important;
}

.card-gallery-btn:hover {
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35) !important;
}

/* -------------------------------------------------------------
 * Horizontal 2-Column Wide Details Popup Modal
 * ------------------------------------------------------------- */
.modal-wide-card {
  max-width: 820px !important;
  width: 94% !important;
  padding: 34px !important;
  border-radius: 22px !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
}

.modal-title-header {
  margin-bottom: 22px;
  text-align: left;
}

.modal-title-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.modal-two-column-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .modal-two-column-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.modal-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  gap: 14px;
}

.qr-standee-box {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.qr-standee-box img {
  width: 100%;
  max-width: 210px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
}

.download-qr-btn-full {
  width: 100%;
  text-align: center;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 11px 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3) !important;
}

.qr-link-box-compact {
  display: flex;
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.qr-link-box-compact input {
  flex: 1;
  border: none;
  font-size: 12px;
  padding: 8px 10px;
  color: #0f172a;
  outline: none;
  background: transparent;
}

.modal-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.config-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.app-config-card {
  background: #f8faff;
  border-color: #c7d2fe;
}

.ftp-config-card {
  background: #fcfcfd;
  border-color: #e2e8f0;
}

.config-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.config-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: #4f46e5;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
}

.config-badge.ftp-badge {
  background: #0284c7;
}

.config-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #f1f5f9;
}

.config-row:last-child {
  border-bottom: none;
}

.config-label {
  color: #64748b;
  font-weight: 600;
  min-width: 85px;
}

.config-value {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 10px;
  border-radius: 6px;
  flex: 1;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.config-value.slug-highlight {
  color: #4f46e5;
  background: #eef2ff;
  border-color: #c7d2fe;
}

.copy-icon-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-icon-btn:hover {
  background: #f1f5f9;
  border-color: #4f46e5;
}

.modal-footer-action {
  margin-top: 12px;
}

.view-gallery-wide-btn {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 13px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3) !important;
}




/* -------------------------------------------------------------
 * Admin Table
 * ------------------------------------------------------------- */
.admin-table-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.table-responsive {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.admin-table th {
  background: var(--bg-secondary);
  padding: 12px 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
}

.text-accent {
  color: var(--accent-color);
  font-weight: 700;
}

/* -------------------------------------------------------------
 * Forms, Modals & Checkout Styling
 * ------------------------------------------------------------- */
.qr-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.qr-modal.hidden {
  display: none !important;
}

.qr-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 1 !important;
}

.qr-card-light {
  position: relative !important;
  z-index: 10 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  color: #0f172a !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* 1. Specific Size for Create Event Modal */
.create-event-card-light {
  max-width: 480px !important;
  width: 92% !important;
  padding: 32px 28px !important;
  text-align: left !important;
}

.create-event-card-light h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
}

.form-group-light {
  margin-bottom: 16px !important;
  width: 100% !important;
  text-align: left !important;
}

.form-group-light label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 6px !important;
}

.form-group-light input {
  width: 100% !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}

.form-group-light input:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
}

/* 2. Specific Size for Buy Credits Modal */
.checkout-card-light {
  max-width: 520px !important;
  width: 92% !important;
  padding: 32px 28px !important;
  text-align: left !important;
}

.checkout-card-light h3 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
}

.plan-selection-radios-light {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 18px 0 16px !important;
  width: 100% !important;
}

.plan-radio-label-light {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.plan-radio-label-light:hover {
  border-color: #4f46e5 !important;
  background: #eef2ff !important;
}

.plan-radio-label-light input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: #4f46e5 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.radio-content-light {
  flex: 1 !important;
  text-align: left !important;
}

.radio-content-light strong {
  display: block !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 2px !important;
}

.radio-content-light span {
  font-size: 12px !important;
  color: #64748b !important;
}

.checkout-summary-box-light {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 18px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.summary-row-light {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.auth-submit-btn {
  width: 100% !important;
  padding: 13px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
}

.qr-close-btn-light {
  position: absolute !important;
  top: 16px !important;
  right: 20px !important;
  font-size: 26px !important;
  color: #64748b !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.qr-close-btn-light:hover {
  color: #0f172a !important;
}

.qr-card {
  position: relative !important;
  z-index: 10 !important;
  background: #11141d !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 18px !important;
  padding: 32px 28px !important;
  max-width: 440px !important;
  width: 92% !important;
  text-align: center !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  display: block !important;
}

.auth-card {
  max-width: 440px !important;
  width: 92% !important;
  background: #11141d !important;
  text-align: left !important;
}

.legal-card {
  max-width: 560px !important;
  width: 92% !important;
  background: #11141d !important;
  text-align: left !important;
}

.legal-content {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 14px;
}

.legal-content p {
  margin-bottom: 12px;
}

.qr-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  color: var(--text-muted);
  background: none;
}

.qr-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.qr-subtext {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.upi-payment-card-light {
  max-width: 440px !important;
  width: 92% !important;
  text-align: center !important;
}

.upi-modal-header {
  margin-bottom: 16px;
}

.upi-qr-frame {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.upi-qr-frame img {
  width: 200px;
  height: 200px;
  display: block;
}

.upi-amount-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: #334155;
}

.upi-amount-pill strong {
  font-size: 16px;
  color: #0f172a;
}

.upi-intent-btn {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
}

.form-group {
  text-align: left;
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent-color);
}

.auth-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  margin-top: 10px;
  font-size: 14px;
}

.auth-toggle-box {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Checkout Box */
.checkout-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
  text-align: left;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
}

.summary-sub {
  font-size: 12px;
  color: var(--accent-color);
  margin-top: 4px;
  font-weight: 600;
}

.payment-method-selector {
  margin-bottom: 18px;
  text-align: left;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-secondary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-focus);
  font-size: 13px;
  font-weight: 600;
}

.checkout-security-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

.plan-selection-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  text-align: left;
}

.plan-radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  cursor: pointer;
}

.radio-content strong {
  display: block;
  font-size: 14px;
}

.radio-content span {
  font-size: 11px;
  color: var(--text-secondary);
}

.ftp-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
  margin-bottom: 16px;
  font-size: 12px;
}

.ftp-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.ftp-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.copy-small-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.qr-link-box {
  display: flex;
  gap: 8px;
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.qr-link-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 12px;
  padding: 0 14px;
  outline: none;
}

.modal-actions-row {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

/* -------------------------------------------------------------
 * Gallery Grid & Lightbox
 * ------------------------------------------------------------- */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px;
}

.gallery-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.meta-badge {
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
}

.photo-card {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.photo-card:hover {
  transform: translateY(-2px);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card .select-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
}

.select-mode-active .photo-card .select-overlay {
  display: flex;
}

.photo-card.selected {
  border-color: var(--accent-color);
}

.photo-card.selected .select-overlay {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.photo-card.selected .select-overlay::after {
  content: '✓';
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.lightbox-counter {
  font-size: 14px;
  color: var(--text-secondary);
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-body {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.lightbox-image-wrapper {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.lightbox-image-wrapper img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-action-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: calc(100% - 32px);
  max-width: 500px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  padding: 8px 14px;
  transition: all var(--transition-normal);
}

.hidden {
  display: none !important;
}

/* -------------------------------------------------------------
 * Super Admin Dynamic Settings & Navigation Tabs
 * ------------------------------------------------------------- */
.admin-nav-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.admin-tab-btn.active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.settings-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.settings-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

@media (max-width: 580px) {
  .settings-cards-grid {
    grid-template-columns: 1fr;
  }
}

.settings-card-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.settings-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.settings-card-header h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.settings-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: #4f46e5;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
}

.settings-badge.r2-badge {
  background: #f97316;
}

.settings-badge.pricing-badge {
  background: #10b981;
}

.settings-badge.brand-badge {
  background: #8b5cf6;
}

.pricing-setting-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  align-items: flex-start;
}

.save-settings-btn {
  padding: 11px 22px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
}

.save-settings-btn-large {
  padding: 16px 36px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  display: block;
  margin: 0 auto;
  min-width: 320px;
}

.settings-footer-save {
  text-align: center;
  margin: 20px 0 60px;
}

.admin-table-section-light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.admin-table-light {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.admin-table-light th {
  background: #f8fafc;
  padding: 14px 16px;
  color: #475569;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table-light td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}

/* -------------------------------------------------------------
 * PixVibe Signature Luxury Design System (Electric Indigo & Violet)
 * ------------------------------------------------------------- */
body.pixvibe-luxury-theme {
  background-color: #ffffff !important;
  color: #475569 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  overflow-x: clip !important;
  margin: 0;
  padding: 0;
}

body.pixvibe-luxury-theme a {
  color: inherit;
  text-decoration: none;
}

:root {
  --brand: #4f46e5;
  --brand-soft: #eef2ff;
  --brand-dark: #3730a3;
  --brand-2: #7c3aed;
  --brand-cyan: #06b6d4;
  --brand-grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #06b6d4 100%);
  --brand-grad-subtle: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
  --ink: #0f172a;
  --text-pix: #475569;
  --muted-pix: #94a3b8;
  --line-pix: #e2e8f0;
  --bg-soft-pix: #f8faff;
}

.container-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

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

/* ============ PRELOADER (PixVibe Electric Engine) ============ */
.pix-preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(800px 500px at 50% 50%, #ffffff 0%, #eef2ff 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
.pix-preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.preloading {
  overflow: hidden;
}

.pix-pulse-stage {
  position: relative;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
}
.pix-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(79, 70, 229, 0.4);
}
.pix-orbit-ring.ring-1 {
  width: 80px;
  height: 80px;
  animation: pix-spin 6s linear infinite;
}
.pix-orbit-ring.ring-2 {
  width: 96px;
  height: 96px;
  border-color: rgba(6, 182, 212, 0.35);
  animation: pix-spin 10s linear infinite reverse;
}
@keyframes pix-spin {
  to { transform: rotate(360deg); }
}

.pix-center-bolt {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.4);
  animation: pix-bolt-pulse 2s ease-in-out infinite;
}
@keyframes pix-bolt-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(79, 70, 229, 0.4); }
  50% { transform: scale(1.1); box-shadow: 0 0 32px rgba(6, 182, 212, 0.6); }
}

.pix-brand-text {
  margin-top: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.pix-brand-text .dot { color: var(--brand); }
.pix-brand-tagline {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-pix);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

.pix-progress-bar {
  margin-top: 18px;
  width: 140px;
  height: 4px;
  background: rgba(79, 70, 229, 0.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.pix-progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: pix-bar-slide 1.4s linear infinite;
}
@keyframes pix-bar-slide {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* ============ FLOATING PILL NAVBAR ============ */
.pix-header {
  position: sticky;
  top: 0;
  background: transparent;
  padding: 24px 0 10px;
  z-index: 1000;
  transition: all .25s ease;
}
.pix-header.scrolled {
  padding: 12px 0 8px;
}

.pix-nav-pill {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(79, 70, 229, 0.15);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  border-radius: 999px;
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pix-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pix-logo-bolt {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.pix-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.pix-logo-text strong {
  color: var(--brand);
}

.pix-nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.pix-nav-link {
  color: var(--text-pix);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all .2s ease;
}
.pix-nav-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.pix-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pix-nav-selection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid rgba(79, 70, 229, 0.2);
  transition: all .2s ease;
}
.pix-selection-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #4f46e5;
  color: #fff;
  font-size: 11px;
}
.pix-nav-selection:hover {
  background: #e0e7ff;
  transform: translateY(-1px);
}
@media (max-width: 900px) { .pix-nav-selection { display: none; } }

.pix-nav-login {
  color: var(--text-pix);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.pix-nav-login:hover { color: var(--brand); background: var(--brand-soft); }

.pix-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-grad);
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
  position: relative;
  overflow: hidden;
  transition: all .2s ease;
}
.pix-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.45);
}

.pix-mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
@media (max-width: 991px) {
  .pix-nav-center, .pix-nav-login { display: none; }
  .pix-mobile-toggle { display: grid; place-items: center; }
  .pix-mobile-menu {
    position: fixed;
    top: 76px; left: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--line-pix);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
    padding: 16px;
    z-index: 99;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all .25s ease;
  }
  .pix-mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .pix-mobile-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--text-pix);
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
  }
  .pix-mobile-menu a:hover { background: var(--brand-soft); color: var(--brand); }
}
@media (min-width: 992px) { .pix-mobile-menu { display: none; } }

/* ============ HERO SECTION ============ */
.pix-hero-section {
  padding: 60px 0 40px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.pix-hero-section::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12), transparent 70%);
  pointer-events: none;
}
.pix-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991px) {
  .pix-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.pix-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(79, 70, 229, 0.2);
  margin-bottom: 20px;
}
.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
  animation: pix-dot-pulse 1.5s ease-in-out infinite;
}
@keyframes pix-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.pix-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(34px, 4.3vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px;
}
.pix-hero-lead {
  font-size: 16.5px;
  color: var(--text-pix);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 28px;
}

.pix-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-pix-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-grad);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  transition: all .2s ease;
}
.btn-pix-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.5);
}

.btn-pix-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line-pix);
  cursor: pointer;
  transition: all .2s;
}
.btn-pix-line:hover { border-color: var(--brand); color: var(--brand); }

.pix-watch-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line-pix);
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink);
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}
.pix-watch-demo-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.15);
}
.pix-play-circle {
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
}
.pix-play-text small {
  color: var(--muted-pix);
  font-size: 11.5px;
  display: block;
}

.pix-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pix-avatar-stack { display: flex; }
.pix-avatar-stack span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(15,23,42,.1);
}
.pix-avatar-stack span:first-child { margin-left: 0; }
.pix-trust-text strong { color: var(--ink); font-weight: 800; font-size: 14px; display: block; }
.pix-trust-text small { color: var(--text-pix); font-size: 12px; }
.gold-stars { color: #fbbc05; font-size: 13px; margin-right: 4px; }

/* ============ AI HERO VISUAL ============ */
.pix-ai-canvas {
  position: relative;
  background: transparent;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pix-ai-glow-core {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  animation: pix-halo-pulse 4s ease-in-out infinite;
}
@keyframes pix-halo-pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.pix-ai-face-icon {
  position: absolute;
  font-size: 130px;
  color: var(--brand);
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(79, 70, 229, 0.3));
}

.pix-ai-rings-wrapper {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}
.ai-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ai-ring.r1 { width: 90px; height: 18px; border: 1.5px solid rgba(79, 70, 229, 0.5); animation: pix-ring-spin 8s linear infinite; }
.ai-ring.r2 { width: 170px; height: 32px; border: 1.5px solid rgba(124, 58, 237, 0.35); animation: pix-ring-spin 12s linear infinite reverse; }
.ai-ring.r3 { width: 260px; height: 48px; border: 1.5px solid rgba(6, 182, 212, 0.25); animation: pix-ring-spin 18s linear infinite; }
@keyframes pix-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pix-canvas-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-pix);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  z-index: 4;
}
.live-dot-cyan {
  width: 7px;
  height: 7px;
  background: #06b6d4;
  border-radius: 50%;
  box-shadow: 0 0 8px #06b6d4;
}
.tag-tl { top: 14px; left: 14px; }
.tag-tr { top: 14px; right: 14px; }
.tag-bl { bottom: 14px; left: 14px; }
.tag-br { bottom: 14px; right: 14px; }

/* ============ MARQUEE STRIP ============ */
.pix-marquee-strip {
  overflow: hidden;
  background: var(--bg-soft-pix);
  border-top: 1px solid var(--line-pix);
  border-bottom: 1px solid var(--line-pix);
  padding: 18px 0;
  position: relative;
}
.pix-marquee-track {
  display: flex;
  gap: 44px;
  animation: pix-marquee-scroll 32s linear infinite;
  width: max-content;
}
.pix-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-pix);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.m-tag {
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}
.m-tag.brand { background: var(--brand); }
.m-tag.cyan { background: #0891b2; }
.m-tag.alt { background: #fff; color: var(--ink); border: 1px solid var(--line-pix); }
@keyframes pix-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ USE CASES CAROUSEL ============ */
.pix-section-wrapper {
  padding: 85px 0;
}
.pix-section-heading {
  text-align: center;
  margin-bottom: 44px;
}
.pix-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pix-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.pix-section-sub {
  font-size: 15.5px;
  color: var(--text-pix);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.pix-uc-carousel {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
}
.pix-uc-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: pix-uc-scroll-anim 35s linear infinite;
}
.pix-uc-track:hover { animation-play-state: paused; }
@keyframes pix-uc-scroll-anim { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.pix-uc-card {
  background: #fff;
  border: 1px solid var(--line-pix);
  border-radius: 16px;
  padding: 22px 24px;
  width: 240px;
  flex-shrink: 0;
  transition: all .2s ease;
}
.pix-uc-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.12);
}
.pix-uc-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
  font-size: 18px;
  margin-bottom: 14px;
}
.pix-uc-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}
.pix-uc-card p {
  font-size: 13px;
  color: var(--text-pix);
  margin: 0;
  line-height: 1.5;
}

/* ============ HOW IT WORKS ============ */
.pix-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.pix-step-card {
  background: #fff;
  border: 1px solid var(--line-pix);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  box-shadow: 0 4px 14px rgba(15,23,42,.03);
}
.pix-step-badge {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-soft);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.pix-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.pix-step-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}
.pix-step-card p {
  font-size: 14px;
  color: var(--text-pix);
  line-height: 1.6;
  margin: 0;
}

/* ============ SHOWCASE SECTIONS ============ */
.pix-showcase-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.pix-showcase-split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}
@media (max-width: 900px) {
  .pix-showcase-split, .pix-showcase-split.reverse { grid-template-columns: 1fr; gap: 36px; }
}

.pix-showcase-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.2;
}
.pix-showcase-desc {
  font-size: 15.5px;
  color: var(--text-pix);
  line-height: 1.65;
  margin-bottom: 22px;
}
.pix-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.pix-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 12px;
}
.pix-feature-list li i {
  color: #10b981;
  font-size: 16px;
  margin-top: 2px;
}
.pix-showcase-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pix-mockup-frame, .pix-flipbook-card {
  background: #fff;
  border: 1px solid var(--line-pix);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15,23,42,.08);
}
.pix-mockup-bar {
  background: #f8fafc;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-pix);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-pix);
}
.pix-dots { display: flex; gap: 5px; }
.pix-dots span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.pix-mockup-body { padding: 26px; text-align: center; }

.pix-selfie-box {
  background: var(--brand-soft);
  border: 1.5px dashed var(--brand);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.pix-selfie-icon { font-size: 38px; }
.pix-match-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 999px;
}

.pix-matched-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.pix-thumb {
  aspect-ratio: 1;
  border-radius: 10px;
}
.pix-thumb.t1 { background: linear-gradient(135deg, #c7d2fe, #818cf8); }
.pix-thumb.t2 { background: linear-gradient(135deg, #fed7aa, #fb923c); }
.pix-thumb.t3 { background: linear-gradient(135deg, #a7f3d0, #34d399); }
.pix-thumb.t4 { background: linear-gradient(135deg, #ddd6fe, #a78bfa); }

.pix-flipbook-inner {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fff;
  padding: 54px 32px;
  text-align: center;
}
.pix-flipbook-pill {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.pix-flip-action {
  display: inline-block;
  background: #fff;
  color: #1e1b4b;
  font-weight: 800;
  font-size: 13.5px;
  padding: 11px 22px;
  border-radius: 999px;
  margin-top: 20px;
}

/* ============ MODERN 3-COLUMN SAAS PRICING GRID ============ */
.pix-pricing-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 32px;
}
@media (max-width: 960px) {
  .pix-pricing-grid-3col {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 32px;
  }
}

.pix-plan-card {
  background: #ffffff;
  border: 1px solid var(--line-pix);
  border-radius: 24px;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.pix-plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.pix-plan-card.featured-highlight {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 14px 40px rgba(79, 70, 229, 0.16);
  transform: scale(1.03);
  z-index: 2;
}
.pix-plan-card.featured-highlight:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 20px 48px rgba(79, 70, 229, 0.22);
}
@media (max-width: 960px) {
  .pix-plan-card.featured-highlight {
    transform: none;
  }
  .pix-plan-card.featured-highlight:hover {
    transform: translateY(-5px);
  }
}

.pix-plan-badge-slot {
  min-height: 28px;
  margin-bottom: 12px;
}
.pix-plan-pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.pix-plan-pill-soft.cyan {
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #cffafe;
}
.pix-plan-pill-gradient {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-grad);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.pix-plan-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.pix-plan-desc {
  font-size: 13.5px;
  color: var(--text-pix);
  line-height: 1.45;
  margin: 0 0 20px;
  min-height: 40px;
}

.pix-plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.pix-plan-currency {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.pix-plan-amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pix-plan-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-pix);
}
.pix-plan-sub-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 24px;
}
.pix-plan-sub-tag.highlight {
  color: var(--brand);
}

.btn-pix-plan-action {
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-bottom: 24px;
}
.btn-pix-plan-action.outline {
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--line-pix);
}
.btn-pix-plan-action.outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}
.btn-pix-plan-action.primary {
  background: var(--brand-grad);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}
.btn-pix-plan-action.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.48);
}

.pix-plan-divider {
  height: 1px;
  background: var(--line-pix);
  margin-bottom: 22px;
}

.pix-plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pix-plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.45;
}
.pix-plan-features-list li i {
  color: #10b981;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.pix-plan-features-list li strong {
  color: var(--ink);
}

.pix-pricing-enterprise-bar {
  background: #f8fafc;
  border: 1px solid var(--line-pix);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-pix);
  flex-wrap: wrap;
  gap: 12px;
}
.pix-pricing-enterprise-bar a {
  color: var(--brand);
  font-weight: 700;
}
.pix-pricing-enterprise-bar a:hover {
  text-decoration: underline;
}

/* ============ REVIEWS REEL ============ */
.pix-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  background: #fff;
  border: 1px solid var(--line-pix);
  border-radius: 999px;
  margin-bottom: 24px;
}
.pix-play-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #34a853 0%, #4285f4 50%, #ea4335 100%);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
}
.rate-val { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.rate-count { font-size: 11.5px; color: var(--muted-pix); display: block; }

.pix-reviews-reel {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pix-reviews-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 6px 0;
}
.pix-reviews-track.r1 { animation: pix-reel-left 38s linear infinite; }
.pix-reviews-track.r2 { animation: pix-reel-right 42s linear infinite; margin-top: 12px; }
.pix-reviews-track:hover { animation-play-state: paused; }
@keyframes pix-reel-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pix-reel-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.pix-review-card {
  background: #fff;
  border: 1px solid var(--line-pix);
  border-radius: 16px;
  padding: 18px 20px;
  width: 300px;
  flex-shrink: 0;
  position: relative;
}
.pix-review-card.tinted {
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 70%);
  border-color: #c7d2fe;
}
.pix-quote-mark {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  color: var(--brand);
  opacity: .15;
}
.pix-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.pix-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12.5px;
  background: var(--brand-grad);
}
.pix-meta-info strong { font-size: 13.5px; font-weight: 700; color: var(--ink); display: block; }
.pix-meta-info small { font-size: 11px; color: var(--muted-pix); }
.pix-stars-row { color: #fbbc05; font-size: 11px; margin-bottom: 6px; }
.pix-review-quote {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pix-review-foot { font-size: 11px; color: var(--muted-pix); }
.pix-review-foot i { color: var(--brand); margin-right: 3px; }

/* ============ FAQ ACCORDION ============ */
.pix-faq-container { display: flex; flex-direction: column; }
.pix-faq-item { border-bottom: 1px solid var(--line-pix); }
.pix-faq-header {
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
}
.pix-faq-header i { color: var(--muted-pix); transition: transform .2s; }
.pix-faq-item.open .pix-faq-header i { transform: rotate(45deg); color: var(--brand); }
.pix-faq-body {
  max-height: 0;
  overflow: hidden;
  font-size: 14.5px;
  color: var(--text-pix);
  line-height: 1.6;
  transition: max-height .25s ease, padding .25s ease;
}
.pix-faq-item.open .pix-faq-body { max-height: 300px; padding: 0 0 20px; }

/* ============ CTA BANNER ============ */
.pix-cta-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 50%, #7c3aed 100%);
  border-radius: 24px;
  padding: 54px 36px;
  text-align: center;
  box-shadow: 0 28px 64px -18px rgba(79, 70, 229, 0.4);
  color: #fff;
}
.pix-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pix-cta-box h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.pix-cta-name { color: #a5f3fc; }
.pix-cta-box p {
  color: rgba(255,255,255,.9);
  max-width: 540px;
  margin: 0 auto 26px;
  font-size: 15.5px;
}
.pix-cta-btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-pix-white {
  background: #fff;
  color: var(--brand) !important;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-pix-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  text-decoration: none;
}
.pix-cta-shield {
  margin-top: 18px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ BIG BRAND AURORA FOOTER ============ */
.pix-dark-footer {
  background: linear-gradient(180deg, #090d16 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  padding: 48px 0 24px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  color: #fff;
}
.pix-dark-footer::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  width: 520px;
  height: 420px;
  background:
    radial-gradient(circle at 35% 40%, rgba(79, 70, 229, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 70% 55%, rgba(124, 58, 237, 0.25) 0%, transparent 62%);
  filter: blur(50px);
  pointer-events: none;
  animation: pix-aurora-drift 12s ease-in-out infinite;
}
@keyframes pix-aurora-drift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%      { transform: translateX(-46%) translateY(22px) scale(1.12); }
}

.pix-footer-brand-tag { text-align: center; margin-bottom: 28px; position: relative; z-index: 1; }
.pix-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: rgba(255,255,255,.85);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pix-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr;
  gap: 32px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
@media (max-width: 860px) {
  .pix-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pix-footer-grid { grid-template-columns: 1fr; }
}

.pix-footer-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 16px;
}
.pix-footer-contact {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.pix-footer-contact i { color: #06b6d4; }

.pix-footer-col h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.pix-footer-col a {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
  transition: color .2s;
}
.pix-footer-col a:hover { color: #a5f3fc; }

.pix-social-links { display: flex; gap: 10px; margin-top: 12px; }
.pix-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  transition: background .2s;
}
.pix-social-btn:hover { background: var(--brand); }

.pix-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}
.pix-edge-note { color: #06b6d4; }

/* ============ AUTH & VIDEO MODALS ============ */
.pix-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  display: grid;
  place-items: center;
  padding: 16px;
  cursor: pointer;
}
.pix-modal-backdrop.open { opacity: 1; visibility: visible; }

.pix-auth-modal {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.4);
  overflow: hidden;
  cursor: default;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.pix-auth-banner {
  background: var(--brand-grad);
  color: #fff;
  padding: 24px 20px 22px;
  text-align: center;
  position: relative;
}
.pix-auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.pix-auth-banner h3 { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 2px; }
.pix-auth-banner p { font-size: 12px; color: rgba(255,255,255,.9); margin: 0; }
.pix-auth-trust {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  background: rgba(255,255,255,.15);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
}

.pix-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #ffffff !important;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  z-index: 100;
  transition: all 0.2s ease;
}
.pix-modal-close:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.1);
}

.qr-close-btn-light {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: #475569 !important;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  z-index: 100;
  transition: all 0.2s ease;
}
.qr-close-btn-light:hover {
  background: #fee2e2;
  color: #ef4444 !important;
  border-color: #fca5a5;
  transform: scale(1.1);
}

.pix-auth-body { padding: 22px 24px; }
.pix-auth-tabs {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.pix-auth-tabs button {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  color: #64748b;
  transition: all .2s;
}
.pix-auth-tabs button.active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.pix-auth-footer-prompt {
  text-align: center;
  font-size: 12px;
  color: var(--muted-pix);
  margin-top: 14px;
}
.pix-auth-footer-prompt a { color: var(--brand); font-weight: 700; }

.pix-video-modal-card {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  cursor: default;
}
.pix-video-modal-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.pix-video-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease;
}
.pix-video-close:hover {
  background: rgba(255,255,255,.6);
  transform: scale(1.1);
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.qr-modal.hidden {
  display: none !important;
}
.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.qr-card-light {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
  width: 100%;
  animation: modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
 * InApp Dashboard Layout Theme
 * ------------------------------------------------------------- */
.inapp-layout {
  display: flex;
  min-height: 100vh;
  background: #f4f6fb !important;
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: #0f172a !important;
  margin: 0;
  padding: 0;
}

body.photon-theme {
  background-color: #ffffff !important;
  color: #475569 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  overflow-x: clip !important;
}

body.photon-theme a {
  color: inherit;
  text-decoration: none;
}

:root {
  --brand: #e23751;
  --brand-soft: #fdecef;
  --brand-dark: #a51d38;
  --brand-2: #c22942;
  --brand-grad: linear-gradient(120deg, #e23751 0%, #e8556b 45%, #c22942 100%);
  --ink: #0f172a;
  --text-photon: #475569;
  --muted-photon: #94a3b8;
  --line-photon: #e2e8f0;
  --bg-soft-photon: #fafbfc;
}

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

/* ============ PRELOADER (Butterfly) ============ */
.preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(800px 500px at 50% 50%, #fff 0%, #fdecef 100%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.preloading {
  overflow: hidden;
}

.bf-stage {
  position: relative;
  width: 160px;
  height: 130px;
  animation: bf-hover 2.6s ease-in-out infinite;
}
@keyframes bf-hover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-8px) rotate(-3deg); }
  50%      { transform: translateY(-4px) rotate(0deg); }
  75%      { transform: translateY(-10px) rotate(3deg); }
}

.bf-body {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 60%;
  background: linear-gradient(180deg, #4a2c3a, #1a1320);
  border-radius: 50% / 30%;
  z-index: 3;
}
.bf-body::before, .bf-body::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 14px;
  background: #1a1320;
  top: -10px;
  border-radius: 1px;
}
.bf-body::before { left: -2px; transform: rotate(-25deg); }
.bf-body::after  { right: -2px; transform: rotate(25deg); }

.bf-antenna { position: absolute; top: 12%; left: 50%; transform: translateX(-50%); z-index:4; }
.bf-antenna span {
  position: absolute;
  top: -12px;
  width: 4px;
  height: 4px;
  background: #1a1320;
  border-radius: 50%;
}
.bf-antenna span:first-child { left: -8px; }
.bf-antenna span:last-child  { left: 4px; }

.bf-wing {
  position: absolute;
  top: 8%;
  width: 70px;
  height: 100px;
  background:
    radial-gradient(circle at 30% 30%, #f9a8d4 0%, transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.5) 0%, transparent 20%),
    linear-gradient(135deg, #e23751 0%, #e8556b 50%, #c22942 100%);
  box-shadow:
    inset 0 0 14px rgba(255,255,255,.20),
    0 6px 14px rgba(226, 55, 81,.25);
}
.bf-wing::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,.7);
  border-radius: 50%;
}
.bf-wing::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #1a1320;
  border-radius: 50%;
}

.bf-wing.l-top {
  left: 8px;
  border-radius: 90% 30% 60% 50% / 95% 50% 60% 70%;
  transform-origin: 100% 60%;
  animation: wing-flap-l 0.45s ease-in-out infinite alternate;
}
.bf-wing.l-top::before { top: 20%; left: 22%; }
.bf-wing.l-top::after  { top: 26%; left: 27%; }

.bf-wing.l-bot {
  left: 16px;
  top: 50%;
  width: 50px;
  height: 70px;
  border-radius: 80% 30% 80% 30% / 80% 30% 80% 30%;
  transform-origin: 100% 20%;
  animation: wing-flap-l 0.45s ease-in-out infinite alternate;
}

.bf-wing.r-top {
  right: 8px;
  border-radius: 30% 90% 50% 60% / 50% 95% 70% 60%;
  transform-origin: 0% 60%;
  animation: wing-flap-r 0.45s ease-in-out infinite alternate;
}
.bf-wing.r-top::before { top: 20%; right: 22%; }
.bf-wing.r-top::after  { top: 26%; right: 27%; }

.bf-wing.r-bot {
  right: 16px;
  top: 50%;
  width: 50px;
  height: 70px;
  border-radius: 30% 80% 30% 80% / 30% 80% 30% 80%;
  transform-origin: 0% 20%;
  animation: wing-flap-r 0.45s ease-in-out infinite alternate;
}

@keyframes wing-flap-l {
  0%   { transform: rotateY(0deg) rotateZ(-2deg); }
  100% { transform: rotateY(70deg) rotateZ(-2deg); }
}
@keyframes wing-flap-r {
  0%   { transform: rotateY(0deg) rotateZ(2deg); }
  100% { transform: rotateY(-70deg) rotateZ(2deg); }
}

.bf-sparkle {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.bf-sparkle span {
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--brand);
  animation: sparkle-rise 1.8s ease-in-out infinite;
}
.bf-sparkle span:nth-child(1) { animation-delay: 0s; }
.bf-sparkle span:nth-child(2) { animation-delay: .3s; }
.bf-sparkle span:nth-child(3) { animation-delay: .6s; }
.bf-sparkle span:nth-child(4) { animation-delay: .9s; }
.bf-sparkle span:nth-child(5) { animation-delay: 1.2s; }
@keyframes sparkle-rise {
  0%   { opacity: 0; transform: translateY(0) scale(.6); }
  50%  { opacity: 1; transform: translateY(-20px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-40px) scale(.4); }
}

.bf-brand {
  margin-top: 60px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: brand-fade 1.2s ease-out .2s forwards;
}
.bf-brand .dot { color: var(--brand); }
.bf-brand-sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted-photon);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: brand-fade 1.2s ease-out .5s forwards;
}
@keyframes brand-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bf-bar {
  margin-top: 18px;
  width: 140px;
  height: 3px;
  background: rgba(226, 55, 81,.12);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.bf-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: bar-slide 1.4s linear infinite;
}
@keyframes bar-slide {
  0%   { left: -40%; }
  100% { left: 100%; }
}

/* ============ FLOATING PILL HEADER ============ */
.header {
  position: sticky;
  top: 0;
  background: transparent;
  padding: 30px 0 6px;
  z-index: 100;
  transition: padding .25s ease;
}
.header.scrolled { padding: 14px 0 6px; }

.header .container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}

.nav-pill {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 55, 81,.12);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow:
    0 10px 30px rgba(15,23,42,.06),
    0 2px 8px rgba(226, 55, 81,.06);
  transition: box-shadow .3s ease, transform .25s ease;
  position: relative;
  overflow: hidden;
}
.nav-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 55, 81,.4), transparent);
  opacity: .6;
}
.header.scrolled .nav-pill {
  box-shadow:
    0 14px 40px rgba(15,23,42,.10),
    0 4px 12px rgba(226, 55, 81,.10);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.photon-logo-bolt {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(226, 55, 81, 0.3);
}
.photon-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.photon-logo-text strong {
  color: var(--brand);
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  margin: 0 8px;
}
.nav-link {
  color: var(--text-photon);
  font-weight: 500;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: all .2s ease;
}
.nav-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-selection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: 13.5px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(226, 55, 81, .06);
  border: 1px solid rgba(226, 55, 81, .22);
  backdrop-filter: blur(8px);
  transition: all .2s ease;
}
.nav-selection-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(226, 55, 81, .12);
  color: var(--brand);
  font-size: 12px;
}
.nav-selection:hover {
  background: var(--brand-soft);
  transform: translateY(-1px);
}
@media (max-width: 900px) { .nav-selection { display: none; } }

.nav-login {
  color: var(--text-photon);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.nav-login:hover { color: var(--brand); background: var(--brand-soft); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-grad);
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(226, 55, 81,.30);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: cta-shine 3s ease-in-out infinite;
}
@keyframes cta-shine {
  0%, 60% { left: -100%; }
  100% { left: 100%; }
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(226, 55, 81,.40);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
@media (max-width: 991px) {
  .nav-center, .nav-login { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .mobile-menu {
    position: fixed;
    top: 80px; left: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--line-photon);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
    padding: 16px;
    z-index: 99;
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: all .25s ease;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--text-photon);
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
  }
  .mobile-menu a:hover { background: var(--brand-soft); color: var(--brand); }
}
@media (min-width: 992px) { .mobile-menu { display: none; } }

/* ============ HERO SECTION ============ */
.hero {
  padding: 50px 0 30px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(226, 55, 81,.10), transparent 70%);
  pointer-events: none;
}
.hero .container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 991px) {
  .hero-grid-split { grid-template-columns: 1fr; }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ffd6e3;
  margin-bottom: 18px;
}
.hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(226, 55, 81,.15);
  animation: hero-dot-pulse 1.5s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.h-hero {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 18px;
}
.lead {
  font-size: 16px;
  color: var(--text-photon);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 26px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-grad);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(226, 55, 81, 0.3);
  transition: all .2s ease;
}
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(226, 55, 81, 0.4);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--line-photon);
  cursor: pointer;
  transition: all .2s;
}
.btn-line:hover { border-color: var(--brand); color: var(--brand); }

.watch-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line-photon);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(15,23,42,.06);
}
.watch-demo-btn:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 10px 24px rgba(226, 55, 81,.12);
}
.watch-demo-btn .play-ic {
  width: 28px;
  height: 28px;
  background: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
}
.watch-demo-btn small {
  color: var(--muted-photon);
  font-size: 11px;
  display: block;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.av-stack { display: flex; }
.av-stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background: var(--brand-grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(15,23,42,.1);
}
.av-stack span:first-child { margin-left: 0; }
.hero-trust .tx strong { color: var(--ink); font-weight: 700; font-size: 13.5px; display: block; }
.hero-trust .tx small { color: var(--text-photon); font-size: 11.5px; }
.hero-trust .tx .stars { color: #fbbc05; font-size: 12px; margin-right: 4px; }

/* ============ AI HERO VISUAL ============ */
.ai-visual {
  position: relative;
  background: transparent;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-visual::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(226, 55, 81,.18) 0%, rgba(226, 55, 81,.04) 40%, transparent 70%);
  filter: blur(8px);
  animation: halo-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes halo-pulse {
  0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.ai-face {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 130px;
  color: var(--brand);
  z-index: 2;
}
.ai-rings {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}
.ai-rings .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1.5px solid rgba(226, 55, 81,.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.ai-rings .ring:nth-child(1) { width: 60px; height: 14px; animation: ring-spin 8s linear infinite; }
.ai-rings .ring:nth-child(2) { width: 120px; height: 26px; border-color: rgba(226, 55, 81,.30); animation: ring-spin 12s linear infinite reverse; }
.ai-rings .ring:nth-child(3) { width: 200px; height: 40px; border-color: rgba(226, 55, 81,.20); animation: ring-spin 16s linear infinite; }
.ai-rings .ring:nth-child(4) { width: 280px; height: 54px; border-color: rgba(226, 55, 81,.12); animation: ring-spin 22s linear infinite reverse; }
@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotateZ(0); }
  to { transform: translate(-50%, -50%) rotateZ(360deg); }
}

.ai-core {
  position: absolute;
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, #fff 0%, var(--brand) 50%, #a51d38 100%);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--brand), 0 0 32px rgba(226, 55, 81,.5);
  z-index: 3;
}

.ai-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-photon);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  z-index: 4;
}
.ai-tag i { color: var(--brand); }
.ai-tag .live-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand);
}
.ai-tag.t-tl { top: 12px; left: 12px; }
.ai-tag.t-tr { top: 12px; right: 12px; }
.ai-tag.t-bl { bottom: 12px; left: 12px; }
.ai-tag.t-br { bottom: 12px; right: 12px; }

/* ============ MARQUEE STRIP ============ */
.marquee {
  overflow: hidden;
  background: var(--bg-soft-photon);
  border-top: 1px solid var(--line-photon);
  border-bottom: 1px solid var(--line-photon);
  padding: 16px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-photon);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.marquee-item .tag {
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
}
.marquee-item .tag.brand { background: var(--brand); }
.marquee-item .tag.alt { background: #fff; color: var(--ink); border: 1px solid var(--line-photon); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ USE CASES CAROUSEL ============ */
.s { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 34px; }
.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.h-section {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.sub {
  font-size: 15px;
  color: var(--text-photon);
  max-width: 600px;
  margin: 0 auto;
}

.uc-scroll {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}
.uc-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: uc-scroll-anim 35s linear infinite;
}
.uc-track:hover { animation-play-state: paused; }
@keyframes uc-scroll-anim { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.uc-card {
  background: #fff;
  border: 1px solid var(--line-photon);
  border-radius: 14px;
  padding: 18px 20px;
  width: 230px;
  flex-shrink: 0;
  transition: all .2s ease;
}
.uc-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(226, 55, 81,.08);
}
.uc-card .ic {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 10px;
  font-size: 16px;
  margin-bottom: 12px;
}
.uc-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.uc-card p {
  font-size: 12.5px;
  color: var(--text-photon);
  margin: 0;
  line-height: 1.45;
}

/* ============ HOW IT WORKS ============ */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.step-box {
  background: #fff;
  border: 1px solid var(--line-photon);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  box-shadow: 0 4px 12px rgba(15,23,42,.03);
}
.step-num {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-soft);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.step-box h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}
.step-box p {
  font-size: 13.5px;
  color: var(--text-photon);
  line-height: 1.6;
  margin: 0;
}

/* ============ SHOWCASE SECTIONS ============ */
.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.showcase-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}
@media (max-width: 900px) {
  .showcase-grid, .showcase-grid.reverse { grid-template-columns: 1fr; }
}

.showcase-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
}
.showcase-desc {
  font-size: 15px;
  color: var(--text-photon);
  line-height: 1.65;
  margin-bottom: 20px;
}
.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-checklist li i {
  color: var(--brand);
  margin-top: 4px;
}
.showcase-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.face-search-mockup, .flipbook-mockup-card {
  background: #fff;
  border: 1px solid var(--line-photon);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.mockup-header-bar {
  background: #f8fafc;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-photon);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-photon);
}
.mock-dots { display: flex; gap: 4px; }
.mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.mockup-content-body { padding: 24px; text-align: center; }

.selfie-scan-box {
  background: var(--brand-soft);
  border: 1.5px dashed var(--brand);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.selfie-avatar { font-size: 36px; }
.badge-matched {
  font-size: 11px;
  font-weight: 800;
  color: #065f46;
  background: #d1fae5;
  padding: 3px 8px;
  border-radius: 999px;
}

.matched-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.photo-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #e2e8f0;
}
.photo-thumb.p1 { background: linear-gradient(135deg, #fbcfe8, #f472b6); }
.photo-thumb.p2 { background: linear-gradient(135deg, #fed7aa, #fb923c); }
.photo-thumb.p3 { background: linear-gradient(135deg, #c7d2fe, #818cf8); }
.photo-thumb.p4 { background: linear-gradient(135deg, #a7f3d0, #34d399); }

.flipbook-cover {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #fff;
  padding: 48px 30px;
  text-align: center;
}
.flip-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.flip-btn-preview {
  display: inline-block;
  background: #fff;
  color: #1e1b4b;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  margin-top: 18px;
}

/* ============ STACKED PRICING ============ */
.pricing-stack {
  max-width: 620px;
  margin: 0 auto;
}
.pcard {
  border-radius: 28px;
  padding: 22px 26px;
  position: relative;
  margin-top: -20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pcard:first-child { margin-top: 0; }
.pcard:hover { transform: translateY(-3px); z-index: 5; }

.pcard.compact {
  background: var(--brand-soft);
  border: 1px solid #ffd6e3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
}
.pcard.compact:nth-of-type(even) {
  background: #fff;
  border-color: var(--line-photon);
}
.pcard.compact .ptitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-photon);
  margin-bottom: 4px;
}
.pcard.compact .pprice-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pcard.compact .pcurrency { font-size: 15px; font-weight: 700; color: var(--ink); }
.pcard.compact .pprice {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.pcard.compact .pperiod { font-size: 12px; color: var(--muted-photon); }
.pcard.compact .pchoose {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-photon);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.pcard.compact .pchoose:hover { border-color: var(--brand); color: var(--brand); }

.pcard.featured {
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, #c22942 0%, var(--brand) 45%, #ef6d80 100%);
  color: #fff;
  padding: 26px 30px 28px;
  box-shadow: 0 25px 50px rgba(226, 55, 81,.28);
  z-index: 3;
  border: 1px solid rgba(255,255,255,.18);
}
.pcard.featured .feat-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.pcard.featured .pop-badge {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 6px;
}
.pcard.featured .ptitle {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 4px;
}
.pcard.featured .pprice-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pcard.featured .pcurrency { font-size: 18px; font-weight: 700; color: #fff; }
.pcard.featured .pprice {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.pcard.featured .pperiod { font-size: 14px; color: rgba(255,255,255,.8); }
.pcard.featured .psave {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 6px;
}
.pcard.featured .pchoose {
  background: #fff;
  color: var(--brand);
  border: 1px solid #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  white-space: nowrap;
}
.pcard.featured .pchoose:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.pcard.featured ul { list-style: none; padding: 0; margin: 0; }
.pcard.featured ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  color: #fff;
  font-weight: 500;
}
.pcard.featured ul li .tick {
  width: 20px;
  height: 20px;
  background: #fff;
  color: var(--brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}

.pcontinue {
  background: var(--ink);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 10px;
  transition: all .2s;
}
.pcontinue:hover { background: #1e293b; transform: translateY(-1px); }

/* ============ REVIEWS REEL ============ */
.pr-head {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 10px;
  background: #fff;
  border: 1px solid var(--line-photon);
  border-radius: 999px;
  margin-bottom: 24px;
}
.pr-logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #34a853 0%, #4285f4 50%, #ea4335 100%);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
}
.pr-meta .rate { font-size: 14px; font-weight: 800; color: var(--ink); }
.pr-meta .lbl { font-size: 11px; color: var(--muted-photon); display: block; }

.reviews-reel {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-row {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 6px 0;
}
.reviews-row.r1 { animation: reel-left 38s linear infinite; }
.reviews-row.r2 { animation: reel-right 42s linear infinite; margin-top: 10px; }
.reviews-row:hover { animation-play-state: paused; }
@keyframes reel-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes reel-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.review-card {
  background: #fff;
  border: 1px solid var(--line-photon);
  border-radius: 14px;
  padding: 16px 18px;
  width: 290px;
  flex-shrink: 0;
  position: relative;
}
.review-card.tinted {
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 70%);
  border-color: #ffd8e4;
}
.review-card .quote-mark {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  color: var(--brand);
  opacity: .15;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-head .av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  background: var(--brand-grad);
}
.review-head .meta strong { font-size: 13px; font-weight: 700; color: var(--ink); display: block; }
.review-head .meta small { font-size: 11px; color: var(--muted-photon); }
.review-stars { color: #fbbc05; font-size: 11px; margin-bottom: 6px; }
.review-text {
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-foot { font-size: 10.5px; color: var(--muted-photon); }
.review-foot i { color: var(--brand); margin-right: 3px; }

/* ============ FAQ ACCORDION ============ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line-photon); }
.faq-q {
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.faq-q i { color: var(--muted-photon); transition: transform .2s; }
.faq-item.open .faq-q i { transform: rotate(45deg); color: var(--brand); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-photon);
  line-height: 1.6;
  transition: max-height .25s ease, padding .25s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 0 18px; }

/* ============ CTA BANNER ============ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, #c22942 60%, #8e1d31 100%);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 28px 64px -18px rgba(226, 55, 81,.45);
  color: #fff;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
}
.cta-band p {
  color: rgba(255,255,255,.9);
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 15px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band .btn-brand {
  background: #fff;
  color: var(--brand) !important;
  font-weight: 800;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  text-decoration: none;
}
.cta-note {
  margin-top: 16px;
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ BIG BRAND AURORA FOOTER ============ */
.big-brand {
  background: linear-gradient(180deg, #0f0a1f 0%, #1a0d2b 55%, #1d0f33 100%);
  position: relative;
  overflow: hidden;
  padding: 44px 0 20px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  color: #fff;
}
.big-brand::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  width: 520px;
  height: 420px;
  background:
    radial-gradient(circle at 35% 40%, rgba(226, 55, 81,.30) 0%, transparent 60%),
    radial-gradient(circle at 70% 55%, rgba(194, 41, 66,.28) 0%, transparent 62%);
  filter: blur(50px);
  pointer-events: none;
  animation: aurora-drift 12s ease-in-out infinite;
}
@keyframes aurora-drift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50%      { transform: translateX(-46%) translateY(22px) scale(1.12); }
}

.big-brand-tag { text-align: center; margin-bottom: 24px; position: relative; z-index: 1; }
.big-brand-tag .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(226, 55, 81,.22);
  color: rgba(255,255,255,.8);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-desc {
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-contact-item {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-contact-item i { color: var(--brand); }

.footer-links-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.footer-links-col a {
  display: block;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-links-col a:hover { color: var(--brand); }

.social-links-row { display: flex; gap: 10px; }
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  transition: background .2s;
}
.social-icon:hover { background: var(--brand); }

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ VIDEO MODAL ============ */
.vm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(8px);
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  display: grid;
  place-items: center;
  padding: 20px;
}
.vm-backdrop.open { opacity: 1; visibility: visible; }
.vm-modal {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(226, 55, 81,.30);
}
.vm-modal iframe { width: 100%; height: 100%; border: 0; display: block; }
.vm-close {
  position: absolute;
  top: -38px;
  right: 0;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ============ AUTH MODAL (PHOTON STYLE) ============ */
.lm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  display: grid;
  place-items: center;
  padding: 16px;
}
.lm-backdrop.open { opacity: 1; visibility: visible; }
.lm-modal {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(226, 55, 81,.25), 0 10px 30px rgba(15,23,42,.20);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lm-banner {
  background: linear-gradient(135deg, #c22942 0%, var(--brand) 50%, #ef6d80 100%);
  color: #fff;
  padding: 20px;
  text-align: center;
  position: relative;
}
.lm-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.lm-banner h3 { font-size: 19px; font-weight: 800; color: #fff; margin: 0 0 2px; }
.lm-banner p { font-size: 11.5px; color: rgba(255,255,255,.9); margin: 0; }
.lm-trust {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  background: rgba(255,255,255,.15);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
}
.lm-trust .stars { color: #fbbc05; }
.lm-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.lm-body { padding: 18px 20px; }
.lm-foot { text-align: center; font-size: 11.5px; color: var(--muted-photon); margin-top: 12px; }
.lm-foot a { color: var(--brand); font-weight: 700; }

.inapp-layout {
  display: flex;
  min-height: 100vh;
  background: #f4f6fb !important;
  font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: #0f172a !important;
  margin: 0;
  padding: 0;
}

.inapp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
}

.inapp-overlay.active {
  display: block;
}

/* Sidebar */
.inapp-sidebar {
  width: 260px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header {
  height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-bolt {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #4f46e5;
}

.sidebar-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  display: none;
}

.sidebar-menu-wrapper {
  padding: 20px 14px;
  flex: 1;
  overflow-y: auto;
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
  padding: 0 12px;
  margin-bottom: 10px;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-item .menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #475569;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.menu-item .menu-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

.menu-item.active .menu-link {
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 700;
}

.menu-item .menu-icon {
  font-size: 16px;
}

.menu-badge {
  font-size: 9px;
  font-weight: 800;
  background: #10b981;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
}

.highlight-menu {
  color: #4f46e5 !important;
  background: #fdf2f8;
}

/* Sidebar Footer Profile */
.sidebar-footer {
  padding: 16px 18px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fcfcfd;
}

.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.user-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-info-text strong {
  font-size: 13px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-credits-badge {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
}

.sidebar-logout-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.sidebar-logout-btn:hover {
  background: #fee2e2;
}

/* Main Layout Wrapper */
.inapp-main-wrapper {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.inapp-topbar {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 900;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-toggle-btn {
  display: none;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  padding: 6px 10px;
  cursor: pointer;
  color: #334155;
}

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.crumb-separator {
  color: #cbd5e1;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-credits-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 9999px;
}

.topbar-buy-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 14px !important;
}

.topbar-buy-btn:hover {
  background: #f1f5f9 !important;
}

.topbar-create-btn {
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
  border-radius: 9999px !important;
}

/* Content Body */
.inapp-content-body {
  padding: 30px 32px 60px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

.dashboard-tab-pane {
  display: block;
  width: 100%;
}

.dashboard-tab-pane.hidden {
  display: none !important;
}

.inapp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 26px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  box-sizing: border-box;
  width: 100%;
}

.quota-banner-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-color: #c7d2fe;
}

.quota-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.quota-header-left h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0;
}

.quota-subtext {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.buy-credits-btn-header {
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
}

.quota-progress-wrapper {
  margin-top: 10px;
}

.quota-progress-track {
  background: #e2e8f0;
  border-radius: 9999px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.quota-progress-fill {
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.quota-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

/* InApp Metrics Grid */
.inapp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

.inapp-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inapp-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.metric-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.metric-icon-box.blue { background: #eff6ff; }
.metric-icon-box.purple { background: #faf5ff; }
.metric-icon-box.green { background: #ecfdf5; }
.metric-icon-box.amber { background: #fffbeb; }
.metric-icon-box.teal { background: #f0fdfa; }

.metric-content {
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}

.metric-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.metric-trend {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 3px;
}

.metric-trend.positive {
  color: #059669;
}

/* App Hero Card */
.app-hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  color: #ffffff;
  border: none;
}

.hero-text-content {
  flex: 1;
  min-width: 280px;
}

.hero-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}

.hero-text-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.hero-text-content p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.download-apk-btn {
  background: #ffffff !important;
  color: #1e1b4b !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  padding: 12px 22px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
  white-space: nowrap;
}

.download-apk-btn:hover {
  background: #f8fafc !important;
}

/* Events Main Section */
.events-main-section {
  margin-top: 10px;
}

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.section-title-bar h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px 0;
}

.refresh-btn-light {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
}

.empty-state-card {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 18px;
  padding: 60px 20px;
  text-align: center;
}

.empty-state-icon {
  font-size: 44px;
  margin-bottom: 12px;
}

.empty-state-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.empty-state-card p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.launch-first-btn {
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .inapp-sidebar {
    transform: translateX(-100%);
  }

  .inapp-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close-btn {
    display: block;
  }

  .inapp-main-wrapper {
    margin-left: 0;
  }

  .topbar-toggle-btn {
    display: inline-flex;
  }

  .inapp-topbar {
    padding: 0 18px;
  }

  .inapp-content-body {
    padding: 20px 16px 40px;
  }
}

/* =============================================================
 * Luxury Responsive Live Gallery Styling
 * ============================================================= */
.gallery-body-luxury {
  background: #090d16 !important;
  color: #f8fafc !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.gallery-lux-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lux-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.lux-brand-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.lux-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  flex-shrink: 0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #ef4444; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.lux-event-titles h1 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lux-studio-tag {
  font-size: 11px;
  color: #94a3b8;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lux-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lux-btn-ai {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.lux-btn-ai:hover {
  transform: translateY(-1px);
}

.lux-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.lux-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.lux-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lux-pill-btn.active {
  background: #4f46e5;
  border-color: #4f46e5;
}

/* Gallery Container */
.gallery-lux-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 16px 80px;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
}

/* Filter Tabs Bar */
.gallery-tabs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.gallery-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.filter-pill.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.filter-pill.fav.active {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
}

.filter-pill.star.active {
  background: #eab308;
  color: #0f172a;
  border-color: #eab308;
}

.pill-count {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 7px;
  border-radius: 9999px;
}

.filter-pill.active .pill-count {
  background: rgba(0, 0, 0, 0.15);
}

.lux-text-btn {
  background: none;
  border: none;
  color: #818cf8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.meta-sep {
  color: #475569;
  font-size: 12px;
}

/* =============================================================
 * Gallery Photo Grid & Cards
 * ============================================================= */
.gallery-lux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

@media (max-width: 600px) {
  .gallery-lux-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.gallery-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #151c2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(79, 70, 229, 0.4);
}

.gallery-photo-card.selected {
  outline: 3px solid #4f46e5;
}

.photo-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f1422;
  cursor: pointer;
  overflow: hidden;
}

.photo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.photo-img-wrapper:hover img {
  transform: scale(1.03);
}

/* Floating Action Buttons on Photo */
.photo-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.photo-fav-btn:hover {
  transform: scale(1.15);
  background: rgba(239, 68, 68, 0.85);
  color: #ffffff;
}

.photo-fav-btn.active {
  background: #ef4444;
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  animation: heartPop 0.3s ease;
}

@keyframes heartPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.photo-star-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.photo-star-btn:hover {
  transform: scale(1.15);
  background: rgba(234, 179, 8, 0.85);
  color: #0f172a;
}

.photo-star-btn.active {
  background: #eab308;
  color: #0f172a;
  border-color: #eab308;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.6);
  animation: starPop 0.3s ease;
}

@keyframes starPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Card Bottom Info Bar */
.photo-card-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.8) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.photo-idx-pill {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

.photo-quick-dl {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.photo-quick-dl:hover {
  background: #4f46e5;
  border-color: #4f46e5;
}

/* Multi-select checkmark */
.lux-select-tick {
  position: absolute;
  top: 10px;
  right: 52px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 10;
}

.lux-select-tick.checked {
  background: #4f46e5;
  border-color: #4f46e5;
  display: flex;
}

.gallery-photo-card.selected .lux-select-tick {
  display: flex;
}

/* Empty State & Loader */
.gallery-empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-sparkle-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.gallery-empty-state h2 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.gallery-empty-state p {
  color: #94a3b8;
  font-size: 14px;
  max-width: 460px;
  margin: 0 auto;
}

.gallery-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 12px;
  color: #94a3b8;
  font-size: 13px;
}

.spinner-ring {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #4f46e5;
  border-radius: 50%;
  animation: spinRing 0.8s linear infinite;
}

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

/* Bottom Selection Drawer */
.lux-bottom-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 24px;
  z-index: 600;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.lux-bottom-drawer.hidden {
  display: none !important;
}

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

.drawer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.lux-drawer-download-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 10px 20px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
}

/* Lightbox Fullscreen */
.lux-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.lux-lightbox.hidden {
  display: none !important;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox-header-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: rgba(15, 23, 42, 0.6);
}

.lightbox-counter {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
}

.lightbox-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lux-lb-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lux-lb-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lux-lb-btn.close {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
}

.lightbox-stage {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.lightbox-view-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 85vh;
}

.lightbox-view-frame img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lb-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lb-nav-btn:hover {
  background: #4f46e5;
  border-color: #4f46e5;
  transform: scale(1.1);
}

/* Toast Banners */
.ai-filter-toast {
  position: sticky;
  top: 65px;
  z-index: 450;
  background: #1e1b4b;
  border-bottom: 1px solid #4338ca;
  padding: 10px 20px;
}

.ai-filter-toast.hidden {
  display: none !important;
}

.ai-filter-toast-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.toast-btn {
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.toast-btn.primary {
  background: #4f46e5;
  color: #ffffff;
}

.toast-btn.outline {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}


