/* ============================================================
   ROOT & BASE
   ============================================================ */
:root {
  --accent: #ff007f;
  --accent-glow: #7a00ff;
  --gold: #d4af37;
  --gold-glow: rgba(212,175,55,0.4);
  --dark: #080808;
  --soft-dark: #121212;
  --light-black: #1a1a1a;
  --white: #ffffff;
  /* T.html palette */
  --t-bg: #0d0b0b;
  --t-gold: #c4965a;
  --t-cream: #f0ebe3;
  --t-muted: #6a5a4a;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--white);
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.25;
}

/* ============================================================
   NAV (ULTRA MINIMALIST - UBUREBURE BUKE, AMAJAMBO ABONEKA)
   ============================================================ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3%; /* Ikigero cyagabanutse gato ngo bijyane n'uburebure */
  background: rgba(8,8,8,0.98);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,0,127,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 26px; /* Uburebure bwagabanutse bwavuye kuri 32px bujya kuri 26px */
}

.logo-wrapper { 
  height: 100%; 
  overflow: hidden; 
  cursor: pointer; 
  display: flex;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem; /* Yagabanutse biva kuri 0.95rem */
  font-weight: 800; 
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px; /* Umwanya w'inyandiko wagabanutse gato */
  transition: 0.8s cubic-bezier(0.4,0,0.2,1);
  text-shadow: 0 0 8px rgba(255,0,127,0.4);
}

.nav-right { 
  display: flex; 
  align-items: center; 
  gap: 8px; /* Umwanya hagati ya tabs n'imbuga nkoranyambaga wagabanutse (12px -> 8px) */
  flex-wrap: nowrap; 
}

.nav-tabs { 
  display: flex; 
  gap: 3px; /* Umwanya hagati ya buto wagabanutse (4px -> 3px) */
}

.nav-tab {
  background: transparent;
  color: #ffffff; 
  border: 1px solid #333;
  padding: 0px 6px; /* Buto zashyizwe ku gipimo gito cyane (1px 9px -> 0px 6px) */
  border-radius: 50px;
  font-size: 0.55rem; /* Inyandiko yagabanutseho gato (0.62rem -> 0.55rem) */
  font-weight: 800; 
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
  font-family: inherit;
}
.nav-tab:hover, .nav-tab.active {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(255,0,127,0.08);
  box-shadow: 0 0 6px rgba(255,0,127,0.2);
}
.nav-tab.active { background: rgba(255,0,127,0.15); }

/* ============================================================
   NAV SOCIALS (AMABARA NYAKURI + HIGH PREMIUM NEON GLOW)
   ============================================================ */
.nav-socials { 
  display: flex; 
  gap: 6px; /* Umwanya hagati y'ibirango wagabanutse (10px -> 6px) */
}

.nav-socials a { 
  font-size: 0.75rem; /* Ingano y'ibirango (icons) yagabanutse (0.85rem -> 0.75rem) */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* 1. WhatsApp Glow (Green Neon) */
.nav-socials a[href*="wa.me"], 
.nav-socials a[href*="whatsapp"] {
  color: #25D366 !important;
  filter: drop-shadow(0 0 4px #25D366) drop-shadow(0 0 8px #25D366);
}

/* 2. Instagram Glow (Pink/Red Neon) */
.nav-socials a[href*="instagram"] {
  color: #E1306C !important;
  filter: drop-shadow(0 0 4px #E1306C) drop-shadow(0 0 8px #E1306C);
}

/* 3. YouTube Glow (Red Neon) */
.nav-socials a[href*="youtube"] {
  color: #FF0000 !important;
  filter: drop-shadow(0 0 4px #FF0000) drop-shadow(0 0 8px #FF0000);
}

/* 4. Facebook Glow (Blue Neon) */
.nav-socials a[href*="facebook"] {
  color: #1877F2 !important;
  filter: drop-shadow(0 0 4px #1877F2) drop-shadow(0 0 8px #1877F2);
}

/* Iyo ukozeho (Hover Anim/Glow Boost) */
.nav-socials a:hover { 
  transform: scale(1.2) translateY(-1px);
  filter: brightness(1.3) drop-shadow(0 0 6px currentColor) drop-shadow(0 0 12px currentColor) !important;
}

/* Kuri Telephone - Kugira ngo bigume muli layout nziza */
@media (max-width: 600px) {
  .nav-socials a {
    font-size: 0.8rem;
    filter: drop-shadow(0 0 3px currentColor) drop-shadow(0 0 6px currentColor);
  }
}

#langSwitcher {
  background: #121212;
  color: var(--accent);
  border: 1px solid rgba(255,0,127,0.4);
  padding: 1px 6px;
  border-radius: 50px;
  font-size: 0.62rem;
  cursor: pointer;
  outline: none;
  font-weight: 800;
}

/* KURI TELEPHONE GUSA */
@media (max-width: 600px) {
  nav {
    padding: 0 3%;
    height: 28px;
  }
  .logo {
    font-size: 0.88rem;
    letter-spacing: 1px;
  }
  .nav-tab {
    padding: 1px 6px;
    font-size: 0.58rem;
  }
  .nav-socials a {
    font-size: 0.8rem;
  }
  #langSwitcher {
    font-size: 0.58rem;
    padding: 1px 5px;
  }
}

/* ============================================================
   PAGE SECTIONS
   ============================================================ */
.page-section { display: none; animation: fadeIn 0.5s ease; position: relative; z-index: 1; }
.page-section.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HOME PAGE — LOGIN (style T.html)
   ============================================================ */
#login-view {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #0d0b0b 0%, #1a0f0a 50%, #0d0b0b 100%);
  position: relative;
}

.login-accent {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,120,60,0.1) 0%, transparent 70%);
  top: -5%; right: -5%;
  pointer-events: none;
}
.login-accent2 {
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,120,60,0.06) 0%, transparent 70%);
  bottom: 5%; left: -5%;
  pointer-events: none;
}

.brand {
  text-align: center;
  margin-bottom: 2.5rem;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--t-cream);
  line-height: 1.1;
}
.brand-name em { font-style: italic; color: var(--t-gold); }
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-top: 0.5rem;
}
.brand-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--t-gold), transparent);
  margin: 1rem auto;
}

.login-card {
  background: rgba(255,255,255,0.025);
  border: 0.5px solid rgba(196,150,90,0.25);
  border-radius: 4px;
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 2;
}
.login-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #c4a882;
  margin-bottom: 0.4rem;
}
.login-card > p {
  font-size: 0.78rem;
  color: #5a5048;
  margin-bottom: 1.8rem;
  letter-spacing: 0.02em;
}

.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7a6a5a;
  margin-bottom: 0.5rem;
}
.field input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(196,150,90,0.2);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  color: var(--t-cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus { border-color: rgba(196,150,90,0.55); }
.field input::placeholder { color: #2e2820; }

.t-error-msg {
  font-size: 0.75rem;
  color: #c4604a;
  margin-top: 0.8rem;
  text-align: center;
  min-height: 1rem;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.btn-t-login {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, #c4965a, #a87840);
  border: none;
  border-radius: 2px;
  color: #0d0b0b;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-t-login:hover { opacity: 0.85; transform: translateY(-1px); }

.login-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.65rem;
  color: #2e2820;
  letter-spacing: 0.1em;
}

.client-link-btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--t-gold);
  border: 0.5px solid rgba(196,150,90,0.25);
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  transition: all 0.3s ease;
  margin: 0 6px;
}
.client-link-btn:hover {
  background: rgba(196,150,90,0.08);
  border-color: var(--t-gold);
  box-shadow: 0 0 15px rgba(196,150,90,0.2);
  transform: translateY(-2px);
}

/* ============================================================
   HOME PAGE — DASHBOARD (style T.html)
   ============================================================ */
#dashboard-view { display: none; min-height: 100vh; }

.dash-header {
  background: rgba(13,11,11,0.97);
  border-bottom: 0.5px solid rgba(196,150,90,0.2);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 60px; z-index: 50;
  backdrop-filter: blur(8px);
}
.dash-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--t-gold);
  letter-spacing: 0.06em;
}
.dash-brand em { font-style: italic; }

.dash-user { display: flex; align-items: center; gap: 0.8rem; }
.dash-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c4965a, #6a3a1a);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--t-cream);
  letter-spacing: 0.05em;
}
.dash-username { font-size: 0.82rem; color: #c4a882; }

.btn-logout {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4a3a2a;
  cursor: pointer;
  border: 0.5px solid rgba(196,150,90,0.15);
  background: transparent;
  font-family: 'Jost', sans-serif;
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-logout:hover { color: var(--t-gold); border-color: rgba(196,150,90,0.4); }

.dash-welcome {
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(26,15,10,0.5) 0%, transparent 100%);
}
.welcome-tag {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--t-gold);
  margin-bottom: 0.5rem;
}
.welcome-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--t-cream);
  line-height: 1.15;
}
.welcome-name em { font-style: italic; color: var(--t-gold); }
.client-code-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  background: rgba(196,150,90,0.08);
  border: 0.5px solid rgba(196,150,90,0.25);
  color: #8a6a3a;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  margin-top: 0.8rem;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(196,150,90,0.08);
  margin: 1.5rem 2rem;
  border: 0.5px solid rgba(196,150,90,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.stat-box { background: #0d0b0b; padding: 1.2rem 1rem; text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--t-gold);
}
.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a2a1a;
  margin-top: 0.25rem;
}

.gallery-section { padding: 0 2rem 3rem; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 1.8rem 0 1.2rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #c4a882;
  letter-spacing: 0.05em;
}
.section-count {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a2a1a;
}

.t-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.t-photo-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: #1a1410;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}
@keyframes fadeInUp { to { opacity:1; transform: translateY(0); } }

.t-photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s;
  opacity: 0.8;
  display: block;
}
.t-photo-item:hover img { transform: scale(1.05); opacity: 1; }

.t-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,2,1,0.9) 0%, rgba(5,2,1,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 4px;
  gap: 3px;
}
.t-photo-item:hover .t-photo-overlay { opacity: 1; }

.t-photo-btn {
  background: rgba(196,150,90,0.92);
  border: none;
  border-radius: 3px;
  padding: 3px 0;
  width: 100%;
  font-size: 0.52rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0d0b0b;
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  text-align: center;
}
.t-photo-btn:hover { background: #f0b060; }
.t-photo-btn.view-btn { background: rgba(255,255,255,0.18); color: var(--t-cream); }
.t-photo-btn.view-btn:hover { background: rgba(255,255,255,0.28); }

#dl-progress-wrap {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 4px;
  background: rgba(255,255,255,0.1);
  z-index: 9999; display: none;
}
#dl-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--t-gold), #ffcc80);
  box-shadow: 0 0 15px var(--t-gold);
  transition: width 0.4s ease;
}

.circle-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); z-index: 9000;
  align-items: center; justify-content: center; flex-direction: column;
}
.circle-wrapper { position: relative; }

.t-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.88); z-index: 200;
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.t-modal-overlay.open { display: flex; }
.t-modal-box {
  background: #111010;
  border: 0.5px solid rgba(196,150,90,0.28);
  border-radius: 4px;
  max-width: 680px; width: 100%;
  overflow: hidden; position: relative;
  animation: fadeInScale 0.25s ease;
}
@keyframes fadeInScale {
  from { opacity:0; transform: scale(0.96); }
  to   { opacity:1; transform: scale(1); }
}
.t-modal-img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.t-modal-footer {
  padding: 1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 0.5px solid rgba(196,150,90,0.12);
}
.t-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300; color: #c4a882;
}
.t-modal-close {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: rgba(0,0,0,0.65);
  border: 0.5px solid rgba(196,150,90,0.3);
  border-radius: 2px; color: #c4a882;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; font-family: 'Jost', sans-serif;
  transition: background 0.2s; line-height: 1;
}
.t-modal-close:hover { background: rgba(196,150,90,0.2); }
.t-modal-dl-btn {
  background: linear-gradient(135deg, #c4965a, #a87840);
  border: none; border-radius: 2px; color: #0d0b0b;
  font-family: 'Jost', sans-serif;
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; cursor: pointer;
  transition: opacity 0.2s;
  display: flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.t-modal-dl-btn:hover { opacity: 0.85; }

.notification {
  position: fixed; bottom: 2rem; right: 2rem;
  background: rgba(196,150,90,0.95);
  color: #0d0b0b; font-size: 0.73rem; font-weight: 500;
  letter-spacing: 0.1em; padding: 0.75rem 1.3rem;
  border-radius: 2px; z-index: 300;
  transform: translateY(80px); opacity: 0; transition: all 0.3s ease;
}
.notification.show { transform: translateY(0); opacity: 1; }

/* ============================================================
   HOME PAGE — QUICK ACCESS & STATUS
   ============================================================ */
.status-box {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,0,127,0.05); padding: 10px 20px;
  border-radius: 30px; border: 1px solid rgba(255,0,127,0.2);
  cursor: pointer; transition: 0.3s; text-decoration: none; margin-bottom: 20px;
}
.status-box:hover { background: rgba(255,0,127,0.1); border-color: var(--accent); }
.status-dot { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; animation: status-glow 1.5s infinite; box-shadow: 0 0 10px var(--accent); }
.status-label { font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
@keyframes status-glow {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:0.4; transform: scale(1.2); }
}

@keyframes pulse-animation {
  0%   { transform: scale(1); background-color: #ff007f; box-shadow: 0 0 10px #ff007f; }
  50%  { transform: scale(1.03); background-color: #7a00ff; box-shadow: 0 0 25px #7a00ff; }
  100% { transform: scale(1); background-color: #ff007f; box-shadow: 0 0 10px #ff007f; }
}
.btn-whatsapp-book {
  display: inline-flex; align-items: center; gap: 10px;
  color: white; padding: 15px 30px; border-radius: 50px;
  text-decoration: none; font-weight: bold; font-size: 1rem;
  transition: 0.3s; animation: pulse-animation 4s infinite;
}
.whatsapp-booking { text-align: center; margin: 20px auto 10px; }

/* ============================================================
   QUICK ACCESS (QA GRID) - HORIZONTAL ROW ALWAYS ON MOBILE
   ============================================================ */
.quick-access {
    max-width: 900px;
    margin: 10px auto 20px;
    padding: 0 10px;
    text-align: center;
}

.qa-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #444;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.qa-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

.qa-card {
    flex: 1 !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(25px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(196, 150, 90, 0.12) !important;
    border-radius: 16px !important;
    padding: 15px 4px !important;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.qa-card:hover {
    background: rgba(196, 150, 90, 0.08) !important;
    border-color: rgba(196, 150, 90, 0.4) !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(196, 150, 90, 0.1);
}

.qa-card .qa-icon, .qa-card i, .qa-card img {
    font-size: 1.4rem !important;
    margin-bottom: 8px !important;
    filter: drop-shadow(0 0 8px rgba(196, 150, 90, 0.3));
    transition: 0.3s ease;
}

.qa-grid a[href*="wa.me"], 
.qa-grid a[href*="whatsapp"],
.qa-card:nth-child(3) i {
    color: #25d366 !important;
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.5)) !important;
}

.qa-title {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
    color: #f3d0a0 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.qa-sub {
    font-size: 0.48rem !important;
    color: #666 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.qa-arrow { 
    display: none !important;
}

@media (min-width: 600px) {
    .qa-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
    }
    .qa-card {
        padding: 24px 16px 20px !important;
    }
    .qa-title {
        font-size: 0.95rem !important;
        white-space: normal !important;
    }
    .qa-sub {
        font-size: 0.68rem !important;
        white-space: normal !important;
    }
}
.qa-arrow { margin-top: 8px; font-size: 1.1rem; color: var(--accent); opacity: 0; transition: 0.3s; transform: translateX(-5px); }
.qa-card:hover .qa-arrow { opacity: 1; transform: translateX(0); }

.apk-bottom-container { text-align: center; margin: 30px auto 50px; }
.btn-apk-mid {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1a1a1a; color: white; padding: 12px 25px;
  border-radius: 50px; text-decoration: none; font-weight: bold;
  font-size: 0.8rem; border: 1px solid var(--accent);
  animation: pulse-animation 3s infinite;
}

.btn-loading { position: relative; pointer-events: none; color: transparent !important; }
.btn-loading::after {
  content: "\f030"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); font-size: 18px; color: white;
  animation: camera-spin 1s infinite linear;
}
@keyframes camera-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ============================================================
   PAGE 2: TARIF
   ============================================================ */
.tarif-header { text-align: center; padding: 60px 20px 40px; }
.tarif-header h1 {
  color: var(--gold); font-family: 'Playfair Display', serif;
  text-transform: uppercase; letter-spacing: 3px; font-size: 2rem;
  text-shadow: 0 0 10px var(--gold-glow); margin-bottom: 10px;
}
.tarif-header p { color: #888; font-size: 0.85rem; letter-spacing: 1px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  width: 92%;
  margin: 0 auto;
  padding-bottom: 60px;
}
@keyframes fadeInUp2 {
  from { opacity:0; transform: translateY(30px); }
  to   { opacity:1; transform: translateY(0); }
}
.card {
  background: #1d1d1d; border: 1px solid #333; border-radius: 12px;
  padding: 35px 25px; text-align: center;
  transition: 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  position: relative; overflow: hidden;
  animation: fadeInUp2 0.8s ease backwards;
}
.card:hover { border-color: var(--gold); transform: translateY(-12px); box-shadow: 0 10px 30px var(--gold-glow); }
.card.featured { border: 2px solid var(--gold); background: #191919; box-shadow: 0 0 15px rgba(212,175,55,0.15); }

.badge {
  background: var(--gold); color: black;
  position: absolute; top: 20px; right: -35px;
  transform: rotate(45deg); padding: 5px 40px;
  font-size: 11px; font-weight: bold;
}
.package-name { font-size: 22px; color: var(--gold); margin-bottom: 8px; font-weight: bold; font-family: 'Playfair Display', serif; }
.price { font-size: 32px; font-weight: bold; margin-bottom: 20px; }
.price span { font-size: 13px; color: #777; }
.features { list-style: none; padding: 0; margin-bottom: 30px; text-align: left; }
.features li { padding: 10px 0; border-bottom: 1px solid #2a2a2a; font-size: 14px; color: #ccc; }
.features li::before { content: "📸"; margin-right: 10px; }

.btn-card {
  display: block; background: transparent; color: var(--gold);
  border: 2px solid var(--gold); padding: 13px;
  text-transform: uppercase; font-weight: bold; transition: 0.3s;
  cursor: pointer; width: 100%; font-family: inherit;
  font-size: 0.85rem; letter-spacing: 1px; border-radius: 4px;
}
.btn-card:hover { background: var(--gold); color: black; box-shadow: 0 0 20px var(--gold); }
.btn-card.filled { background: var(--gold); color: black; }
.btn-card.filled:hover { background: transparent; color: var(--gold); }

.about-section {
  max-width: 900px; margin: 10px auto 60px; padding: 40px;
  background: #141414; border-radius: 15px; border-left: 5px solid var(--gold);
  text-align: center; width: 90%;
}
.about-section h2 { color: var(--gold); text-transform: uppercase; margin-bottom: 20px; font-size: 1.3rem; letter-spacing: 2px; }
.about-section p { line-height: 1.9; color: #ccc; font-size: 16px; }

/* Contact Modal */
.modal-overlay {
  position: fixed; top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.92); display: none;
  justify-content: center; align-items: center; z-index: 2000;
  backdrop-filter: blur(8px);
}
.modal-content {
  background: #1a1a1a; padding: 40px; border-radius: 15px;
  border: 1px solid var(--gold); text-align: center;
  width: 90%; max-width: 440px; box-shadow: 0 0 40px var(--gold-glow);
}
.modal-content h2 { color: var(--gold); margin-bottom: 25px; font-size: 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 15px; background: #252525; border-radius: 8px;
  color: white; text-decoration: none; font-size: 13px;
  transition: 0.3s; border: 1px solid transparent;
}
.contact-item i { font-size: 24px; margin-bottom: 8px; color: var(--gold); }
.contact-item:hover { background: #333; border-color: var(--gold); transform: translateY(-3px); }
.close-btn { margin-top: 25px; color: #666; cursor: pointer; display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.close-btn:hover { color: var(--gold); }

/* ============================================================
   PAGE 3: PAYMENT/GALERIE
   ============================================================ */
.galerie-header { text-align: center; padding: 60px 20px 40px; }
.galerie-header h1 {
  color: var(--gold); font-family: 'Playfair Display', serif;
  text-transform: uppercase; letter-spacing: 3px; font-size: 2rem;
  text-shadow: 0 0 15px var(--gold-glow); margin-bottom: 10px;
}
.galerie-header p { color: #888; font-size: 0.85rem; }

.pricing-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
}
.g-card {
  background: var(--light-black); border: 1px solid #333; border-radius: 18px;
  padding: 35px 25px; text-align: center; position: relative;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  overflow: hidden; cursor: pointer; animation: fadeInUp2 0.8s ease backwards;
}
.g-card:hover { transform: translateY(-12px); border-color: var(--gold); box-shadow: 0 10px 40px rgba(212,175,55,0.2); }
.g-card.pro-plan { border: 2px solid var(--gold); box-shadow: 0 0 20px var(--gold-glow); animation: pulse-gold 3s infinite, fadeInUp2 0.8s ease backwards; }
@keyframes pulse-gold {
  0%,100% { box-shadow: 0 0 15px rgba(212,175,55,0.2); }
  50% { box-shadow: 0 0 30px rgba(212,175,55,0.5); }
}
.g-card h3 { color: var(--gold); font-size: 1.4rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 2px; font-family: 'Playfair Display', serif; }
.g-price { font-size: 26px; font-weight: bold; margin: 18px 0; background: linear-gradient(to right,#fbf5b7,#d4af37,#996515); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.g-duration { font-size: 13px; color: #888; display: block; margin-top: 4px; -webkit-text-fill-color: #888; }
.g-features { list-style: none; padding: 0; margin: 25px 0; color: #bbb; text-align: left; }
.g-features li { padding: 8px 0; font-size: 14px; }
.g-features li::before { content: "✦"; color: var(--gold); margin-right: 10px; }
.btn-g {
  display: block; background: transparent; border: 2px solid var(--gold);
  color: var(--gold); padding: 12px 20px; text-decoration: none;
  border-radius: 50px; font-weight: bold; transition: all 0.3s;
  cursor: pointer; font-family: inherit; font-size: 0.85rem; width: 100%;
}
.btn-g:hover { background: var(--gold); color: var(--dark); box-shadow: 0 0 15px var(--gold); }

.pay-modal {
  display: none; position: fixed; z-index: 2000; left:0; top:0;
  width:100%; height:100%; background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px); justify-content: center; align-items: center;
}
.pay-modal-content {
  background: var(--light-black); padding: 35px; border: 1px solid var(--gold);
  width: 90%; max-width: 400px; border-radius: 18px; text-align: center;
  box-shadow: 0 0 40px var(--gold-glow);
}
.pay-modal-content h2 { color: var(--gold); margin-bottom: 15px; font-size: 1.3rem; }
.payment-box { background: #222; padding: 15px; border-radius: 10px; margin: 18px 0; border-left: 4px solid var(--gold); text-align: left; }
.payment-box p { margin: 5px 0; font-size: 14px; }
.whatsapp-link { display: block; background: #25D366; color: white; padding: 15px; text-decoration: none; border-radius: 10px; font-weight: bold; margin-top: 15px; transition: 0.3s; }
.whatsapp-link:hover { background: #1fa855; }
.pay-close { color: #555; cursor: pointer; margin-top: 18px; display: inline-block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.pay-close:hover { color: var(--gold); }

/* ============================================================
   GLOBAL OVERLAYS
   ============================================================ */
#lightbox {
  display: none; position: fixed; top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.92); z-index: 3000;
  justify-content: center; align-items: center;
}
#lightbox img { max-width: 90%; max-height: 85%; border: 2px solid var(--accent); }

#calendar-overlay {
  display: none; position: fixed; top:0; left:0; width:100%; height:100%;
  background: var(--dark); z-index: 5000; overflow-y: auto;
}
.cal-header { padding: 20px; text-align: center; border-bottom: 1px solid #222; position: relative; }
.close-cal { position: absolute; right: 20px; top: 25px; color: var(--accent); font-size: 1.5rem; cursor: pointer; }
.cal-frame-container { width: 100%; height: 80vh; overflow: hidden; border: none; background: white; }
#googleCal { width: 100%; height: 100%; border: none; }

footer {
  text-align: center; padding: 40px; color: #444; font-size: 0.8rem;
  border-top: 1px solid #111; position: relative; z-index: 1;
}

/* Responsive Breakpoints */
@media (max-width: 600px) {
  .brand-name { font-size: 2rem; }
  .dash-header { padding: 0.8rem 1rem; }
  .dash-stats { margin: 1rem; }
  .gallery-section { padding: 0 1rem 2rem; }
  .dash-welcome { padding: 1.5rem 1rem 1rem; }
  .welcome-name { font-size: 1.8rem; }
  .t-photo-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .dash-username { display: none; }
  .nav-tab { padding: 5px 8px; font-size: 0.6rem; }
  .tarif-header h1, .galerie-header h1 { font-size: 1.5rem; }
  .pricing-grid { width: 95%; gap: 15px; grid-template-columns: 1fr; }
  .pricing-container { width: 95%; gap: 14px; grid-template-columns: repeat(2, 1fr); }
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(13, 11, 11, 0.98);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(196, 150, 90, 0.2);
}

.dash-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--t-gold);
    letter-spacing: 1px;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-logout {
    font-size: 0.65rem;
    border: 1px solid #444;
    padding: 6px 12px;
    border-radius: 4px;
    background: transparent;
    color: #888;
    text-transform: uppercase;
}
#status-badge-container {
    margin-top: 10px;
}

.premium-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    color: #d4af37;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    animation: premium-pulse 2s infinite;
}

.expired-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.2);
}

@keyframes premium-pulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
    50% { transform: scale(1.02); box-shadow: 0 0 25px rgba(212, 175, 55, 0.5); }
    100% { transform: scale(1); box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
}

.abonnement-soon-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 120, 0, 0.07);
  border: 1px solid #ff7800;
  color: #ff9a3c;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  animation: expire-glow 1.5s ease-in-out infinite;
  margin-bottom: 8px;
}

@keyframes expire-glow {
  0%   { box-shadow: 0 0 8px rgba(255,120,0,0.3);  border-color: #ff7800; }
  50%  { box-shadow: 0 0 22px rgba(255,120,0,0.7); border-color: #ffaa44; }
  100% { box-shadow: 0 0 8px rgba(255,120,0,0.3);  border-color: #ff7800; }
}

.expire-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff7800;
  flex-shrink: 0;
  animation: expire-dot-blink 1s infinite;
  display: inline-block;
}

@keyframes expire-dot-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.15; }
}

.abonnement-expired-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(180, 30, 30, 0.07);
  border: 1px solid rgba(200, 50, 50, 0.4);
  border-left: 3px solid #cc3333;
  border-radius: 12px;
  padding: 16px 20px;
  max-width: 480px;
  margin: 0 auto 12px;
  animation: expired-pulse 2.5s ease-in-out infinite;
}

@keyframes expired-pulse {
  0%,100% { box-shadow: 0 0 0 rgba(200,50,50,0); }
  50%      { box-shadow: 0 0 18px rgba(200,50,50,0.25); }
}

.aeb-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.aeb-body { flex: 1; text-align: left; }

.aeb-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #e05555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.aeb-sub {
  font-size: 0.72rem;
  color: #888;
  line-height: 1.5;
  margin-bottom: 12px;
}

.aeb-btn {
  display: inline-block;
  background: linear-gradient(135deg, #c4965a, #a87840);
  color: #0d0b0b;
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: inherit;
  text-transform: uppercase;
}
.aeb-btn:hover { opacity: 0.85; transform: translateY(-1px); }

@media (max-width: 600px) {
  .abonnement-expired-box { flex-direction: column; gap: 8px; }
  .aeb-icon { font-size: 1.4rem; }
}
.btn-back-dash {
    background: rgba(196, 150, 90, 0.05);
    border: 1px solid rgba(196, 150, 90, 0.3);
    color: #c4a882;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back-dash:hover {
    background: rgba(196, 150, 90, 0.15);
    border-color: #c4965a;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 1. UNIVERSAL BACKGROUND (Smooth Deep Noir & Gold Glow) */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(circle at 50% -20%, #1a150e 0%, #050505 100%) !important;
    background-attachment: fixed !important;
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
}

/* 2. FULL GLASS SYSTEM (Kugira ngo byose bise nk'ibiratwa) */
.login-card, .qa-card, .card, .pricing-card, .stat-box, .dash-header, .page-section, .modal-content, .btn-back-dash {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(196, 150, 90, 0.1) !important;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 3. GUKURAHO BYOSE BITANDUKANYA (Seamless Look) */
#login-view, #dashboard-view, #page-galerie, .page-section, footer, nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 4. PREMIUM GOLD GLOW (Izahabu inyereza amaso) */
.brand-name em, .gold-text, .stat-num, #welcome-first, .pricing-card h3 {
    background: linear-gradient(135deg, #d4af37 0%, #f3d0a0 50%, #c4965a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.2));
}

/* 5. SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

* {
    -webkit-tap-highlight-color: transparent;
}
.btn-glass-back {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(196, 150, 90, 0.3) !important;
    color: #f3d0a0 !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-glass-back:hover {
    background: rgba(196, 150, 90, 0.2) !important;
    border-color: #c4965a !important;
    transform: translateX(-5px);
    box-shadow: 0 0 20px rgba(196, 150, 90, 0.2);
}

.btn-glass-back i {
    font-size: 0.9rem;
}
.login-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: -10px;
    margin-top: -40px;
}

.login-logo-circle {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(196, 150, 90, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(196, 150, 90, 0.2);
    overflow: hidden;
    z-index: 10;
}

.login-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.btn-t-login {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #c4965a 0%, #8e6d43 100%) !important;
    color: #000 !important;
    font-weight: 700;
    letter-spacing: 2px;
    border: none !important;
    box-shadow: 0 0 15px rgba(196, 150, 90, 0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-t-login:disabled {
    background: #111 !important;
    color: #c4965a !important;
    opacity: 1 !important;
    box-shadow: 0 0 25px rgba(196, 150, 90, 0.6);
    animation: gold-pulse 1.5s infinite;
}

@keyframes gold-pulse {
    0% { box-shadow: 0 0 10px rgba(196, 150, 90, 0.4); }
    50% { box-shadow: 0 0 30px rgba(196, 150, 90, 0.8); }
    100% { box-shadow: 0 0 10px rgba(196, 150, 90, 0.4); }
}

.mini-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(196, 150, 90, 0.2);
    border-top: 3px solid #d4af37;
    border-radius: 50%;
    display: inline-block;
    margin-left: 12px;
    vertical-align: middle;
    filter: drop-shadow(0 0 5px #d4af37);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.btn-t-login {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #c4965a 0%, #8e6d43 100%) !important;
    color: #000 !important;
    font-weight: 800;
    letter-spacing: 2px;
    border: none !important;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 0 15px rgba(196, 150, 90, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: constant-glow 2.5s infinite ease-in-out;
}

.btn-t-login::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shiny-slide 3s infinite;
}

@keyframes constant-glow {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 15px rgba(196, 150, 90, 0.4); 
    }
    50% { 
        transform: scale(1.03); 
        box-shadow: 0 0 30px rgba(196, 150, 90, 0.7); 
    }
}

@keyframes shiny-slide {
    0% { left: -60%; }
    20% { left: 120%; }
    100% { left: 120%; }
}
.qa-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(25px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid rgba(196, 150, 90, 0.12) !important;
    border-radius: 22px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qa-card:hover {
    background: rgba(196, 150, 90, 0.08) !important;
    border-color: rgba(196, 150, 90, 0.4) !important;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(196, 150, 90, 0.1);
}

.qa-card i, .qa-card img {
    font-size: 2rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px rgba(196, 150, 90, 0.3));
    transition: 0.3s ease;
}

.qa-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #f3d0a0;
    letter-spacing: 1px;
}

.qa-card p {
    font-size: 0.65rem;
    color: #888;
    margin: 0;
    line-height: 1.4;
}
.qa-card:nth-child(3) i {
    color: #25d366 !important;
    filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.4));
}

.footer-photo-strip {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    background: transparent;
}

.footer-photo-strip-inner {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: slowInfiniteScroll 60s linear infinite; 
}

@keyframes slowInfiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.footer-photo-strip:hover .footer-photo-strip-inner {
    animation-play-state: paused;
}

.footer-photo-item {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(196, 150, 90, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.footer-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.dash-stats {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 25px 15px;
}

.stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(196, 150, 90, 0.15);
    border-radius: 18px;
    padding: 15px 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.55rem;
    letter-spacing: 1px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #c4965a;
    background: rgba(196, 150, 90, 0.05);
}

.home-icon-glow {
    color: #d4af37;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.download-all-btn {
    background: rgba(196, 150, 90, 0.08);
}

.gold-glow {
    color: #c4965a;
}

.selected-btn {
    background: #c4965a !important;
    border: none !important;
}
.selected-btn .stat-num, 
.selected-btn .stat-label {
    color: #000 !important;
}

/* ============================================================
   KURI TELEPHONE YOSE: RESPONSIVE SCALING NZIZA (100% FIXED)
   - Ibisiga ipaji yose hagati neza (Centered) kuri screen zose
   ============================================================ */
@media (max-width: 600px) {
  html {
    transform: scale(1.0); /* Subijwe kuri 100% isanzwe ngo itanyita */
    transform-origin: top center;
    width: 100%;
    overflow-x: hidden !important;
    touch-action: pan-y !important;
  }

  body {
    overflow-x: hidden !important;
    width: 100% !important;
    -webkit-text-size-adjust: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Ibi bituma isite iza HAGATI (Center) */
    justify-content: flex-start !important;
    margin: 0 auto !important;
  }

  nav, footer, main, section, .container {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 390px) {
  html {
    transform: scale(1.0);
    width: 100%;
  }
}

@media (max-width: 360px) {
  html {
    transform: scale(1.0);
    width: 100%;
  }
}

@media (max-width: 320px) {
  html {
    transform: scale(1.0);
    width: 100%;
  }
}

/* ============================================================
   TABLET BREAKPOINT (768px)
   ============================================================ */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   KUKWIRANISHA CALENDAR PAGE YOSE (FULLSCREEN FIXED)
   ============================================================ */
#calendar-overlay {
  display: none; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100vw !important;
  height: 100vh !important;
  background: #ffffff !important;
  z-index: 99999 !important;
  overflow: hidden !important;
}

.cal-frame-container {
  width: 100% !important;
  height: calc(100vh - 50px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

#googleCal {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

.cal-header {
  height: 50px;
  background: #080808 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px !important;
  border-bottom: 1px solid rgba(255, 0, 127, 0.2) !important;
}

.close-cal {
  position: static !important;
  font-size: 1.8rem !important;
  color: var(--accent) !important;
  cursor: pointer;
}

@media (max-width: 600px) {
  html:has(#calendar-overlay[style*="display: block"]),
  html:has(#calendar-overlay[style*="display: flex"]) {
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* ============================================================
   EXPIRED BLOCK MODAL
   ============================================================ */
.exp-modal-box {
  background: #100c0c;
  border: 1px solid rgba(200,50,50,0.4);
  border-top: 3px solid #cc3333;
  border-radius: 16px;
  padding: 36px 28px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  animation: fadeInScale 0.25s ease;
  box-shadow: 0 0 40px rgba(180,30,30,0.25);
}

.exp-modal-icon { font-size: 3rem; margin-bottom: 14px; }

.exp-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #e05555;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.exp-modal-sub {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.7;
  margin-bottom: 22px;
}

.exp-modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.exp-modal-wa:hover { background: #1fa855; }

.exp-modal-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #c4965a, #a87840);
  color: #0d0b0b;
  border: none;
  border-radius: 50px;
  padding: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  transition: opacity 0.2s;
  margin-bottom: 16px;
}
.exp-modal-btn:hover { opacity: 0.85; }

.exp-modal-close {
  font-size: 0.68rem;
  color: #444;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.exp-modal-close:hover { color: #888; }

/* ============================================================
   DOWNLOAD CONFIRM MODAL
   ============================================================ */
.dlc-box {
  background: #0f0d0d;
  border: 0.5px solid rgba(196,150,90,0.3);
  border-radius: 16px;
  padding: 0 0 24px;
  max-width: 340px;
  width: 100%;
  overflow: hidden;
  animation: fadeInScale 0.22s ease;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.dlc-preview-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.dlc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #c4a882;
  text-align: center;
  margin: 18px 20px 4px;
  letter-spacing: 0.5px;
}

.dlc-name {
  font-size: 0.65rem;
  color: #4a3a2a;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.dlc-btns {
  display: flex;
  gap: 10px;
  padding: 0 20px;
}

.dlc-btn {
  flex: 1;
  padding: 11px;
  border: none;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.15s;
}

.dlc-yes {
  background: linear-gradient(135deg, #c4965a, #a87840);
  color: #0d0b0b;
}
.dlc-yes:hover { opacity: 0.85; transform: translateY(-1px); }

.dlc-no {
  background: rgba(255,255,255,0.05);
  color: #666;
  border: 1px solid #2a2a2a;
}
.dlc-no:hover { background: rgba(255,255,255,0.08); color: #999; }

/* ============================================================
   SINGLE DOWNLOAD PROGRESS BAR (bottom toast)
   ============================================================ */
#single-dl-progress {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.sdl-inner {
  background: rgba(13,11,11,0.97);
  border: 1px solid rgba(196,150,90,0.35);
  border-radius: 50px;
  padding: 10px 22px;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sdl-title {
  font-size: 0.68rem;
  color: #c4a882;
  letter-spacing: 1px;
  text-align: center;
  font-family: 'Jost', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdl-bar-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 50px;
  height: 5px;
  overflow: hidden;
}

.sdl-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c4965a, #f0c070);
  border-radius: 50px;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(196,150,90,0.5);
}

.sdl-pct {
  font-size: 0.6rem;
  color: #c4965a;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
}
/* ============================================================
   DASHBOARD — RESPONSIVE COMPLETE (MOBILE ≤ 600px)
   Kugira ngo client yinjiye abone dashboard neza nk'i desktop
   ============================================================ */

@media (max-width: 600px) {

  /* ── Header wa dashboard ── */
  .dash-header {
    padding: 10px 4% !important;
    top: 0 !important;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .dash-brand {
    font-size: 1rem !important;
    white-space: nowrap;
  }

  .dash-user {
    gap: 8px;
  }

  .dash-avatar {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.6rem !important;
  }

  .dash-username {
    display: none !important;
  }

  .btn-logout {
    padding: 5px 10px !important;
    font-size: 0.58rem !important;
    white-space: nowrap;
  }

  /* ── Welcome section ── */
  .dash-welcome {
    padding: 1.2rem 1rem 0.8rem !important;
  }

  .welcome-tag {
    font-size: 0.55rem !important;
    letter-spacing: 0.25em;
  }

  .welcome-name {
    font-size: 1.6rem !important;
    line-height: 1.2;
  }

  .client-code-badge {
    font-size: 0.55rem !important;
    padding: 0.22rem 0.6rem !important;
    margin-top: 0.5rem;
  }

  /* ── Badge abonnement ── */
  #status-badge-container {
    margin-top: 6px;
  }

  .premium-badge {
    font-size: 0.58rem !important;
    padding: 5px 12px !important;
    letter-spacing: 0.5px;
  }

  .expired-badge {
    font-size: 0.58rem !important;
    padding: 5px 12px !important;
  }

  .abonnement-expired-box {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 14px 14px !important;
    border-radius: 10px !important;
    margin: 0 0 8px !important;
  }

  .aeb-icon { font-size: 1.3rem !important; }

  .aeb-title {
    font-size: 0.72rem !important;
    margin-bottom: 4px;
  }

  .aeb-sub {
    font-size: 0.65rem !important;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .aeb-btn {
    font-size: 0.65rem !important;
    padding: 7px 14px !important;
  }

  .abonnement-soon-box {
    font-size: 0.62rem !important;
    padding: 7px 14px !important;
  }

  /* ── Stat boxes (3 boutons: Home / ALL / Selected) ── */
  .dash-stats {
    margin: 12px 10px !important;
    gap: 8px !important;
    display: flex !important;
    flex-direction: row !important;
  }

  .stat-box {
    padding: 12px 4px !important;
    border-radius: 14px !important;
    flex: 1;
  }

  .stat-num {
    font-size: 1.1rem !important;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 0.45rem !important;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }

  /* ── Gallery section ── */
  .gallery-section {
    padding: 0 8px 2rem !important;
  }

  .section-header {
    margin: 1rem 0 0.8rem !important;
  }

  .section-title {
    font-size: 0.95rem !important;
  }

  .section-count {
    font-size: 0.55rem !important;
  }

  /* ── Photo grid: 4 colonnes ── */
  .t-photo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2px !important;
  }

  /* ── Overlay buttons sur les photos ── */
  .t-photo-overlay {
    padding: 4px 3px !important;
    gap: 2px !important;
  }

  .t-photo-btn {
    font-size: 0.45rem !important;
    padding: 2px 0 !important;
  }

  /* Checkbox selection */
  .photo-checkbox {
    width: 12px !important;
    height: 12px !important;
  }
}

/* ── iPhone SE et très petits écrans (< 380px) ── */
@media (max-width: 380px) {
  .welcome-name {
    font-size: 1.4rem !important;
  }

  .dash-brand {
    font-size: 0.88rem !important;
  }

  .dash-stats {
    gap: 6px !important;
    margin: 10px 8px !important;
  }

  .stat-box {
    padding: 10px 2px !important;
  }

  .stat-num {
    font-size: 0.95rem !important;
  }

  .stat-label {
    font-size: 0.40rem !important;
  }

  /* 3 colonnes sur très petits écrans */
  .t-photo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2px !important;
  }

  .t-photo-btn {
    font-size: 0.40rem !important;
  }
}

/* ── Kuri mobile: dash-header ntiba sticky (nav irimo haruguru) ── */
@media (max-width: 600px) {
  .dash-header {
    position: relative !important;
    top: auto !important;
  }
}
/* ── Lazy loading + Skeleton shimmer ── */
.t-photo-item .lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.t-photo-item .lazy-img.loaded {
  opacity: 0.85;
}
.t-photo-item:hover .lazy-img.loaded {
  opacity: 1;
  transform: scale(1.05);
}

/* ── Photo Skeleton ── */
.photo-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #1a1410 25%,
    #2a2018 50%,
    #1a1410 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  transition: opacity 0.35s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Camera Loader SVG-style ── */
.camera-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  animation: cam-breathe 1.6s ease-in-out infinite;
}

@keyframes cam-breathe {
  0%, 100% { transform: scale(1);   opacity: 0.55; }
  50%       { transform: scale(1.1); opacity: 1; }
}

.cam-body {
  position: relative;
  width: 28px;
  height: 20px;
  background: rgba(196,150,90,0.18);
  border: 1.5px solid rgba(196,150,90,0.55);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cam-lens {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,150,90,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lens-spin 2.4s linear infinite;
}

@keyframes lens-spin {
  0%   { box-shadow: 0 0 0 0 rgba(196,150,90,0.5); }
  50%  { box-shadow: 0 0 6px 2px rgba(196,150,90,0.7); }
  100% { box-shadow: 0 0 0 0 rgba(196,150,90,0.5); }
}

.cam-lens-inner {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(196,150,90,0.9);
  animation: iris-pulse 1.6s ease-in-out infinite;
}

@keyframes iris-pulse {
  0%, 100% { transform: scale(1);   background: rgba(196,150,90,0.6); }
  50%       { transform: scale(1.4); background: rgba(240,192,112,1); }
}

.cam-flash {
  position: absolute;
  top: -1px;
  right: 4px;
  width: 5px;
  height: 3px;
  background: rgba(196,150,90,0.5);
  border-radius: 1px;
}

.cam-shutter {
  width: 6px;
  height: 2px;
  background: rgba(196,150,90,0.6);
  border-radius: 1px;
  animation: shutter-click 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes shutter-click {
  0%, 85%, 100% { transform: scaleX(1);   opacity: 0.6; }
  90%            { transform: scaleX(0.5); opacity: 1; }
   }
