/* ==========================================================================
   UR PHOTO SHOP — AI Photography & Video Studio — Complete Robust Master Stylesheet
   Vibrant, Joyful & Ultra-Professional (Fixed Modal Display & 100% Visibility)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Vibrant & Joyful Palette */
  --gradient-main: linear-gradient(90deg, #FF0F7B 0%, #F89B29 100%);
  --gradient-banner: linear-gradient(90deg, #FF0F7B 0%, #FF3366 50%, #FF8C00 100%);
  --gradient-btn: linear-gradient(90deg, #FF0F7B 0%, #F89B29 100%);
  
  --color-pink: #FF0F7B;
  --color-orange: #F89B29;
  --color-coral: #F47353;
  --color-green: #00D084;
  --color-gold: #FFB800;
  
  --bg-dark: #0A0A0E;
  --bg-surface: #121218;
  --bg-card: #181822;
  --bg-input: #111116;
  
  --text-white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-dim: rgba(255, 255, 255, 0.45);
  
  --border-color: rgba(255, 255, 255, 0.12);
  --border-active: #F47353;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover { opacity: 0.85; }

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Top Promo Banner (Vibrant Pink/Orange)
   -------------------------------------------------------------------------- */
.top-promo-banner {
  background: var(--gradient-banner);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px rgba(255, 15, 123, 0.35);
  position: relative;
  z-index: 1001;
}

.banner-timer-badge {
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 1px;
}

.banner-claim-btn {
  background: #fff;
  color: #000;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  margin-left: 6px;
  transition: transform 0.15s;
}

.banner-claim-btn:hover {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Rotating Animated Gradient Logo
   -------------------------------------------------------------------------- */
@keyframes rotating {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes animatedgradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.brand-icon-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-main);
  background-size: 300% 300%;
  animation: rotating 8s linear infinite, animatedgradient 6s ease infinite alternate;
  position: relative;
  box-shadow: 0 0 16px rgba(255, 15, 123, 0.5);
  flex-shrink: 0;
}

.brand-icon-logo::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: #0A0A0E;
  border-radius: 50%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.trademark-tag {
  font-size: 10px;
  vertical-align: super;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 64px;
  background: rgba(10, 10, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
}

@media (max-width: 992px) {
  .nav-menu-list { display: none; }
}

.nav-item-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item-link:hover {
  color: #fff;
}

.nav-dropdown-arrow {
  font-size: 9px;
  opacity: 0.6;
}

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

/* --------------------------------------------------------------------------
   Buttons & Badges
   -------------------------------------------------------------------------- */
.btn-gradient {
  background: var(--gradient-btn);
  background-size: 200% 200%;
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 15, 123, 0.4);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-gradient:hover {
  box-shadow: 0 6px 26px rgba(255, 15, 123, 0.7);
  transform: translateY(-2px);
}

.btn-dark {
  background: #14141E;
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-dark:hover {
  background: #20202E;
  border-color: rgba(255, 255, 255, 0.3);
}

.badge-green-pill {
  background: #00D084;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  padding: 60px 0 90px 0;
  min-height: 640px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(255, 15, 123, 0.12) 0%, transparent 60%);
}

.hero-bg-photo-fan {
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  opacity: 0.32;
  display: flex;
  justify-content: center;
  gap: 16px;
  perspective: 1000px;
  transform: scale(1.05);
  z-index: 1;
}

.fan-photo-card {
  width: 140px;
  height: 210px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  flex-shrink: 0;
}

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

.fan-1 { transform: rotate(-14deg) translateY(40px) translateZ(-60px); }
.fan-2 { transform: rotate(-8deg) translateY(15px) translateZ(-30px); }
.fan-3 { transform: rotate(-3deg) translateY(0px); }
.fan-4 { transform: rotate(4deg) translateY(10px); }
.fan-5 { transform: rotate(10deg) translateY(30px) translateZ(-40px); }
.fan-6 { transform: rotate(16deg) translateY(55px) translateZ(-80px); }

.hero-grid-2 {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid-2 {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-laurel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.laurel-stars {
  color: #FFB800;
  letter-spacing: 1px;
}

.hero-main-title {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
  color: #fff;
}

.hero-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15.5px;
  color: var(--text-white);
  line-height: 1.5;
}

.hero-bullet-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 960px) {
  .hero-bullet-row {
    justify-content: center;
  }
}

.hero-bullet-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.hero-signup-card {
  background: rgba(18, 18, 26, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 32px 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 15, 123, 0.25);
  position: relative;
  text-align: center;
  max-width: 440px;
  margin: 0 auto;
}

.card-top-pill { color: #FFFFFF !important; }

.signup-input-field {
  width: 100%;
  padding: 14px 16px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
  margin-top: 8px;
  outline: none;
  transition: border 0.2s;
}

.signup-input-field:focus {
  border-color: #FF0F7B;
}

.btn-start-taking {
  width: 100%;
  padding: 14px 20px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  margin-bottom: 12px;
}

.btn-start-taking:hover {
  background: #1e1e1e;
  border-color: #fff;
}

.live-gen-counter {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.google-login-btn {
  width: 100%;
  padding: 12px 16px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s;
  margin-bottom: 10px;
}

.google-login-btn:hover {
  background: #f5f5f5;
}

.card-subtext-login {
  font-size: 11.5px;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Press Logos Strip
   -------------------------------------------------------------------------- */
.press-strip-wrap {
  padding: 26px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #08080C;
}

.press-logos-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0.7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.press-logo-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   3D Floating Review Cards
   -------------------------------------------------------------------------- */
.perspective-reviews-section {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  margin-bottom: 50px;
}

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

@media (max-width: 900px) {
  .perspective-cards-row {
    grid-template-columns: 1fr;
  }
}

.p-quote-card {
  background: #fff;
  color: #000;
  border-radius: 16px;
  padding: 26px 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  border: 2px solid #FF0F7B;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
}

.card-angle-left {
  transform: perspective(600px) rotateY(8deg);
}

.card-angle-center {
  transform: perspective(600px) translateZ(20px);
}

.card-angle-right {
  transform: perspective(600px) rotateY(-8deg);
}

.p-quote-card:hover {
  transform: none;
  z-index: 20;
}

.p-quote-text {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #111;
  margin-bottom: 16px;
}

.p-quote-brand {
  font-weight: 800;
  font-size: 14px;
  color: #FF0F7B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Transformation Multi-Look Section
   -------------------------------------------------------------------------- */
.transformation-section {
  padding: 70px 0;
  background: #0E0E16;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.transform-person-box {
  background: #141420;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 32px;
  margin-bottom: 40px;
}

.transform-person-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.transform-grid-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 920px) {
  .transform-grid-layout {
    grid-template-columns: 1fr;
  }
}

.before-card-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.25);
  aspect-ratio: 3/4;
}

.before-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-tag-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
}

.after-looks-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 600px) {
  .after-looks-row {
    grid-template-columns: 1fr;
  }
}

.after-look-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--color-coral);
  aspect-ratio: 3/4;
  box-shadow: 0 10px 30px rgba(244, 115, 83, 0.25);
  transition: transform 0.2s;
}

.after-look-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.after-look-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.after-look-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, transparent 100%);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

/* --------------------------------------------------------------------------
   CRITICAL: Modal Dialogs (MUST BE DISPLAY: NONE BY DEFAULT)
   -------------------------------------------------------------------------- */
.modal-backdrop,
.studio-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  z-index: 99999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto !important;
  padding: 20px 16px !important;
}

.modal-backdrop.open,
.studio-modal.open {
  display: flex !important;
}

.studio-modal-box {
  background: #14141E;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  max-width: 860px;
  width: 100%;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  position: relative;
}

.modal-header-bar {
  padding: 20px 24px;
  background: #0E0E14;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.modal-close-icon:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-body-content {
  padding: 28px;
}

.modal-steps-ticker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.modal-step-item {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-step-item.active {
  color: #fff;
}

.modal-step-item.active .step-num {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #222;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.photo-drop-area {
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 44px 20px;
  text-align: center;
  background: #0E0E14;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 20px;
}

.photo-drop-area:hover {
  border-color: var(--color-coral);
  background: #181824;
}

.uploaded-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.thumb-item {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-box {
  text-align: center;
  padding: 40px 20px;
}

.training-spinner-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: var(--gradient-main);
  animation: rotating 3s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 15, 123, 0.5);
}

.training-spinner-logo::after {
  content: '';
  width: 50px;
  height: 50px;
  background: #14141E;
  border-radius: 50%;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #222;
  border-radius: 20px;
  margin: 24px 0 12px 0;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  width: 0%;
  background: var(--gradient-main);
  border-radius: 20px;
  transition: width 0.3s ease;
}

.results-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .results-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-section {
  padding: 50px 0 30px 0;
  background: #07070A;
  border-top: 1px solid var(--border-color);
}
