/* ========================================
   SESIPOTRET — Global CSS / Landing Page
   ======================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary: #7C3AED;
  --primary-light: #9D5CF6;
  --primary-dark: #5B21B6;
  --accent: #F472B6;
  --accent-2: #38BDF8;
  --neon: #A78BFA;
  --bg: #0A0714;
  --bg-2: #0F0A1E;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(124, 58, 237, 0.5);
  --text: #F1F0FB;
  --text-muted: rgba(241, 240, 251, 0.55);
  --text-faint: rgba(241, 240, 251, 0.3);
  --glass: rgba(15, 10, 30, 0.7);
  --shadow-primary: 0 0 40px rgba(124, 58, 237, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::before { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* --- User Dropdown & Auth in Navbar --- */
.guest-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.user-nav-dropdown {
  position: relative;
  display: inline-block;
}
.user-nav-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px 6px 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}
.user-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}
.user-avatar {
  font-size: 1.15rem;
  background: rgba(124, 58, 237, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-role-admin {
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-caret {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(124,58,237,0.15);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}
.user-dropdown-menu.show {
  display: flex;
}
.user-menu-header {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-menu-header strong { font-size: 0.9rem; color: var(--text); }
.user-menu-header small { font-size: 0.75rem; color: var(--text-muted); }

.user-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  transition: var(--transition);
}
.user-menu-item:hover {
  background: rgba(124, 58, 237, 0.15);
  color: var(--text);
}
.user-menu-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.menu-icon { font-size: 1rem; }


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

/* --- Section Shared --- */
.section { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--primary-light);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  transition: var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--accent); }
.logo-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981, 0 0 4px #34D399;
  animation: pulseLive 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  display: inline-block;
  margin-left: 2px;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero > * { position: relative; z-index: 2; }

/* Background orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: floatOrb 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary), transparent 70%);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  bottom: -150px; right: -100px;
  animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -6s;
  opacity: 0.15;
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Hero Layout */
.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 0 24px 0 calc((100vw - 1200px)/2 + 24px);
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
  margin-bottom: 24px;
}
.hero-formats-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease 0.35s both;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.h-fmt-item {
  color: #F1F5F9;
  letter-spacing: 0.02em;
}
.h-fmt-dot {
  color: var(--primary-light);
  opacity: 0.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-number { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual — Photo Strip Mockup */
.hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-left: 40px;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.photo-strip-mockup {
  background: linear-gradient(180deg, #1a1a2e, #16213e);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 16px;
  width: 220px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-primary);
  position: relative;
  z-index: 2;
}
.strip-header {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.strip-photo {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(244,114,182,0.2));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
}
.photo-placeholder { font-size: 3rem; animation: bobble 3s ease infinite; }
.strip-photo-1 .photo-placeholder { animation-delay: 0s; }
.strip-photo-2 .photo-placeholder { animation-delay: -1s; }
.strip-photo-3 .photo-placeholder { animation-delay: -2s; }

@keyframes bobble {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(-3deg); }
  75% { transform: scale(1.05) rotate(3deg); }
}

.strip-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-faint);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  animation: floatBadge 4s ease-in-out infinite;
}
.fb-1 { top: 10%; right: 0; animation-delay: 0s; }
.fb-2 { bottom: 35%; left: -20px; animation-delay: -1.5s; }
.fb-3 { bottom: 15%; right: 10px; animation-delay: -3s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works { background: var(--bg-2); }

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.step-card {
  flex: 1;
  max-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.step-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-6px); }
.step-card:hover::before { opacity: 1; }

.step-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 12px;
}
.step-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  flex-shrink: 0;
  opacity: 0.4;
  position: relative;
}
.step-connector::after {
  content: '›';
  position: absolute;
  right: -6px; top: -10px;
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.6;
}

/* ========================================
   FEATURES
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(124,58,237,0.08), transparent 70%);
  transition: var(--transition);
}
.feature-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature-card:hover::after { width: 150px; height: 150px; }

.feature-large {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(244,114,182,0.05));
}

.feature-icon-big { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.feature-tags span {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--primary-light);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ========================================
   GALLERY SECTION (ALL TEMPLATES SHOWCASE)
   ======================================== */
.gallery {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

.gallery-controls-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 32px 0 40px;
}

/* Category Filter Pills */
.gallery-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.gal-cat-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.gal-cat-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.gal-cat-btn.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4);
}

.gal-cat-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  font-weight: 800;
}

.gal-cat-btn.active .gal-cat-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* Format Switcher (4x1 vs 2x2) */
.gallery-format-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 7, 20, 0.75);
  padding: 6px 10px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gal-fmt-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gal-fmt-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gal-fmt-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

.gal-fmt-btn.active {
  background: #FFFFFF;
  color: #0A0714;
  border-color: #FFFFFF;
  box-shadow: 0 3px 12px rgba(255, 255, 255, 0.25);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  justify-content: center;
  align-items: start;
  min-height: 300px;
  transition: all 0.3s ease;
}

.gallery-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  border-radius: 16px;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  z-index: 10;
}

/* Base Strip Styling */
.gallery-strip {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.gallery-item:hover .gallery-strip {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(124, 58, 237, 0.3);
}

/* Format 4x1 Strip */
.gallery-strip.format-4x1 {
  min-height: 480px;
}

.gallery-strip.format-4x1 .gs-slots-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Format 3x1 Strip */
.gallery-strip.format-3x1 {
  min-height: 410px;
}

.gallery-strip.format-3x1 .gs-slots-container {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* Format 2x2 Grid */
.gallery-strip.format-2x2 {
  min-height: 380px;
}

.gallery-strip.format-2x2 .gs-slots-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

/* Strip Header & Footer */
.gs-header {
  text-align: center;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.15);
}

.gs-header-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0.8;
  margin-bottom: 2px;
}

.gs-header-title {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-header-sub {
  font-size: 0.55rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-slot {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.gallery-strip.format-4x1 .gs-slot {
  height: 72px;
  font-size: 1.6rem;
}

.gallery-strip.format-3x1 .gs-slot {
  height: 85px;
  font-size: 1.6rem;
}

.gallery-strip.format-2x2 .gs-slot {
  height: 90px;
  font-size: 1.6rem;
}

.gs-footer {
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Hover Overlay Actions */
.gal-item-hover-box {
  position: absolute;
  inset: 0;
  background: rgba(10, 7, 20, 0.88);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  gap: 12px;
  z-index: 5;
}

.gallery-item:hover .gal-item-hover-box {
  opacity: 1;
  pointer-events: auto;
}

.gal-hover-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #A78BFA;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gal-hover-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
}

.gal-hover-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.btn-use-frame {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}

.btn-use-frame:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(244, 114, 182, 0.6);
  color: #FFFFFF;
}

/* Gallery Footer CTA */
.gallery-footer-action {
  margin-top: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gallery-footer-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testi-card::before {
  content: '“';
  position: absolute;
  top: 15px;
  right: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.testi-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.15);
}

.testi-stars {
  color: #FBBF24;
  letter-spacing: 3px;
  font-size: 1.1rem;
}

.testi-quote {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testi-avatar {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-user strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

.testi-user span {
  font-size: 0.78rem;
  color: var(--primary-light);
  font-weight: 500;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section { padding: 80px 0; }

.cta-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(244,114,182,0.08));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}
.cta-orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--primary), transparent);
  top: -100px; left: -80px;
}
.cta-orb-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, var(--accent), transparent);
  bottom: -80px; right: -60px;
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.cta-content p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 36px; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--bg-2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); margin-top: 12px; max-width: 280px; line-height: 1.7; }
.footer-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.footer-trust-pills span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-links h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-large { grid-column: span 1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .step-connector { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 100px 0 60px; }
  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }
  .hero-actions { justify-content: center; }
  .hero-formats-pill { justify-content: center; flex-wrap: wrap; font-size: 0.78rem; gap: 8px; }
  .hero-stats { justify-content: center; }
  .hero-visual { padding: 40px 24px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .floating-badge { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-strip { width: 140px; }
  .cta-card { padding: 48px 20px; }
}

/* ========================================
   NAVBAR USER DROPDOWN & AUTH BADGE
   ======================================== */
.user-nav-dropdown {
  position: relative;
  display: inline-block;
}
.user-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
}
.user-nav-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary-light);
}
.user-avatar { font-size: 1.1rem; }
.badge-role-admin {
  background: linear-gradient(135deg, #7C3AED, #C084FC);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-caret { font-size: 0.75rem; opacity: 0.6; }

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: rgba(18, 12, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), var(--shadow-primary);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}
.user-dropdown-menu.show { display: flex; }
.user-menu-header {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
}
.user-menu-header strong { font-size: 0.88rem; color: #fff; }
.user-menu-header small { font-size: 0.75rem; color: var(--text-muted); word-break: break-all; }
.user-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}
.user-menu-item {
  background: transparent;
  border: none;
  color: #E5E7EB;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  text-align: left;
  width: 100%;
}
.user-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.user-menu-item.text-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
}

/* ========================================
   UNIVERSAL AUTH MODAL
   ======================================== */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}
.auth-modal-overlay.show { display: flex; animation: fadeIn 0.25s ease; }
.auth-modal-card {
  width: 100%;
  max-width: 440px;
  background: rgba(20, 14, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px rgba(124, 58, 237, 0.25);
  position: relative;
  color: #fff;
  animation: popScale 0.25s ease;
}
.auth-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  color: #9CA3AF;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-modal-close:hover { color: #fff; transform: scale(1.15); }
