@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* 1. STANDART TEMA: Doğal Terracotta, Krem & Zeytin */
  --bg-color: #F5F0E8;
  --bg-elevated: #FAF7F2;
  --card-bg: #E8DFD2;
  --card-glass: rgba(255, 255, 255, 0.80);
  --card-border: rgba(120, 131, 106, 0.26);
  --border-strong: rgba(48, 59, 47, 0.18);
  --text-main: #303B2F;
  --text-muted: #5A6658;
  --text-sub: #78836A;
  --primary: #C46F52;
  --primary-light: #D98A6C;
  --primary-dark: #9E5036;
  --secondary: #78836A;
  --accent: #594438;
  --olive-deep: #2A3529;
  --star-color: #A85D44;
  --white: #FFFFFF;
  --surface-subtle: rgba(255, 255, 255, 0.58);
  --gradient: linear-gradient(135deg, #C46F52 0%, #9E5036 55%, #303B2F 100%);
  --gradient-Warm: linear-gradient(135deg, #C46F52 0%, #DF9A7E 100%);
  --shadow-card: 0 18px 42px -10px rgba(48, 59, 47, 0.10), 0 4px 14px -3px rgba(196, 111, 82, 0.08);
  --shadow-hover: 0 26px 56px -12px rgba(48, 59, 47, 0.17), 0 8px 22px -4px rgba(196, 111, 82, 0.20);
  --shadow-pill: 0 10px 28px rgba(48, 59, 47, 0.11);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
}

[data-theme="princess"] {
  /* 2. PRINCESS TEMA: Romantik Pastel Atelier */
  --bg-color: #FCF8FF;
  --bg-elevated: #FFF9FB;
  --card-bg: #FFE8EC;
  --card-glass: rgba(255, 255, 255, 0.86);
  --card-border: rgba(135, 133, 162, 0.22);
  --border-strong: rgba(126, 83, 84, 0.22);
  --text-main: #58393A;
  --text-muted: #7E5354;
  --text-sub: #8785A2;
  --primary: #E07A86;
  --primary-light: #FFAEB7;
  --primary-dark: #B95863;
  --secondary: #8785A2;
  --accent: #7E5354;
  --olive-deep: #58393A;
  --star-color: #D96B78;
  --white: #FFFFFF;
  --surface-subtle: rgba(255, 255, 255, 0.66);
  --gradient: linear-gradient(135deg, #E07A86 0%, #B47EB3 55%, #7E5354 100%);
  --gradient-Warm: linear-gradient(135deg, #E07A86 0%, #FFB5BE 100%);
  --shadow-card: 0 18px 42px -10px rgba(126, 83, 84, 0.11), 0 4px 14px -3px rgba(224, 122, 134, 0.12);
  --shadow-hover: 0 26px 56px -12px rgba(126, 83, 84, 0.18), 0 8px 22px -4px rgba(224, 122, 134, 0.22);
}

[data-theme="midnight"] {
  /* 3. MIDNIGHT RUNWAY TEMA: Gece Podyumu Lüks Koyu Mod */
  --bg-color: #111512;
  --bg-elevated: #181E19;
  --card-bg: #1F2721;
  --card-glass: rgba(26, 33, 28, 0.84);
  --card-border: rgba(196, 111, 82, 0.26);
  --border-strong: rgba(245, 240, 232, 0.22);
  --text-main: #F5F0E8;
  --text-muted: #C7C0B5;
  --text-sub: #95A092;
  --primary: #E08263;
  --primary-light: #F3A48A;
  --primary-dark: #C46F52;
  --secondary: #8FA084;
  --accent: #D4AF37;
  --olive-deep: #0B0E0C;
  --star-color: #E08263;
  --white: #222B24;
  --surface-subtle: rgba(34, 43, 36, 0.72);
  --gradient: linear-gradient(135deg, #E08263 0%, #C46F52 50%, #78836A 100%);
  --gradient-Warm: linear-gradient(135deg, #E08263 0%, #B85D3E 100%);
  --shadow-card: 0 20px 50px -10px rgba(0, 0, 0, 0.55), 0 4px 16px -3px rgba(224, 130, 99, 0.14);
  --shadow-hover: 0 28px 64px -12px rgba(0, 0, 0, 0.72), 0 8px 26px -4px rgba(224, 130, 99, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(196, 111, 82, 0.13) 0%, transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(120, 131, 106, 0.13) 0%, transparent 42%),
    radial-gradient(circle at 50% 85%, rgba(196, 111, 82, 0.10) 0%, transparent 45%);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* =========================================================
   1. AÇILIŞ ANİMASYONU (SPLASH INTRO CURTAIN)
   ========================================================= */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 42%, #FAF5EC 0%, #EFE6D8 55%, #E3D6C3 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.85s cubic-bezier(0.77, 0, 0.175, 1),
              transform 0.95s cubic-bezier(0.77, 0, 0.175, 1),
              visibility 0.95s;
  overflow: hidden;
}

[data-theme="princess"] .splash-overlay {
  background: radial-gradient(circle at 50% 42%, #FFFBFD 0%, #FFEBEF 60%, #F7DFEA 100%);
}

[data-theme="midnight"] .splash-overlay {
  background: radial-gradient(circle at 50% 42%, #1D251F 0%, #121713 60%, #0B0E0C 100%);
}

.splash-overlay.is-hidden {
  opacity: 0;
  transform: scale(1.06) translateY(-24px);
  visibility: hidden;
  pointer-events: none;
}

.splash-ambient-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px dashed rgba(196, 111, 82, 0.25);
  animation: spinSlow 28s linear infinite;
  pointer-events: none;
}

.splash-ambient-ring--outer {
  width: 680px;
  height: 680px;
  border: 1px solid rgba(48, 59, 47, 0.1);
  animation: spinSlowReverse 38s linear infinite;
}

.splash-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  max-width: 560px;
}

.splash-logo-card {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 65px rgba(48, 59, 47, 0.16), 0 0 0 10px rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  animation: splashFloatIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: hidden;
}

.splash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 42px;
  animation: logoRevealScale 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-sparkle {
  position: absolute;
  color: var(--primary);
  pointer-events: none;
  animation: sparklePulse 2.1s ease-in-out infinite;
}

.splash-sparkle--1 { top: -16px; right: -18px; width: 38px; height: 38px; animation-delay: 0.1s; }
.splash-sparkle--2 { bottom: -14px; left: -18px; width: 30px; height: 30px; animation-delay: 0.5s; }
.splash-sparkle--3 { top: 25%; left: -34px; width: 22px; height: 22px; animation-delay: 0.9s; }
.splash-sparkle--4 { bottom: 25%; right: -34px; width: 24px; height: 24px; animation-delay: 0.3s; }

.splash-vector-svg {
  width: 210px;
  height: 110px;
  margin-bottom: 6px;
}

.splash-hanger-path {
  fill: none;
  stroke: var(--text-main);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: drawPath 1.6s cubic-bezier(0.35, 0, 0.25, 1) 0.15s forwards;
}

.splash-hanger-accent {
  fill: none;
  stroke: var(--secondary);
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: drawPath 1.5s cubic-bezier(0.35, 0, 0.25, 1) 0.35s forwards;
}

.splash-star-main {
  fill: var(--primary);
  transform-origin: 110px 76px;
  opacity: 0;
  animation: starPopRotate 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s forwards;
}

.splash-star-mini {
  fill: var(--primary);
  transform-origin: 150px 30px;
  opacity: 0;
  animation: starPopRotate 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}

.splash-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeSlideUp 0.7s ease 0.45s forwards;
}

.splash-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeSlideUp 0.7s ease 0.65s forwards;
}

.splash-loader-bar {
  width: 220px;
  height: 4px;
  background: rgba(120, 131, 106, 0.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: fadeSlideUp 0.5s ease 0.75s forwards;
}

.splash-loader-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  animation: loaderProgress 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.splash-skip-btn {
  position: absolute;
  top: 28px;
  right: 32px;
  background: var(--card-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-pill);
  z-index: 5;
}

.splash-skip-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* =========================================================
   2. HEADER & NAVIGATION
   ========================================================= */
header {
  border-bottom: 1px solid var(--card-border);
  background-color: rgba(245, 240, 232, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

[data-theme="princess"] header {
  background-color: rgba(252, 248, 255, 0.86);
}

[data-theme="midnight"] header {
  background-color: rgba(17, 21, 18, 0.86);
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.brand-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid rgba(196, 111, 82, 0.35);
  box-shadow: 0 6px 16px rgba(48, 59, 47, 0.12);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-identity:hover .brand-avatar {
  transform: rotate(-4deg) scale(1.07);
}

.brand-wordmark-wrap {
  display: flex;
  flex-direction: column;
}

.brand-script-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  mix-blend-mode: multiply;
  transition: filter 0.3s ease;
}

[data-theme="princess"] .brand-script-img {
  mix-blend-mode: darken;
}

[data-theme="midnight"] .brand-script-img {
  mix-blend-mode: normal;
  filter: brightness(1.08) contrast(1.05);
}

.brand-tagline-mini {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-switch-btn,
.intro-replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-glass);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(48, 59, 47, 0.06);
}

.theme-switch-btn:hover,
.intro-replay-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(196, 111, 82, 0.18);
}

/* =========================================================
   3. CANLI STİL TICKER BANDI
   ========================================================= */
.live-ticker-bar {
  background: var(--olive-deep);
  color: #F5F0E8;
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(196, 111, 82, 0.3);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  animation: marqueeScroll 34s linear infinite;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-badge {
  background: rgba(196, 111, 82, 0.25);
  color: #F3B39B;
  border: 1px solid rgba(196, 111, 82, 0.45);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

/* =========================================================
   4. HERO & CANLI RANDOM KOMBİN + AI STİLİST SAHNESİ
   ========================================================= */
.hero-arena {
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
  padding: 40px 24px 36px;
}

.hero-top-intro {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 36px;
}

.hero-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero-brand-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
  animation: livePulse 1.8s infinite;
}

.hero-top-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-top-intro h1 .highlight-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  padding-right: 4px;
}

.hero-top-intro p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 670px;
  margin: 0 auto 26px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px -6px rgba(196, 111, 82, 0.55);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -6px rgba(196, 111, 82, 0.65);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: var(--card-glass);
  border: 1.5px solid var(--card-border);
  color: var(--text-main);
  box-shadow: var(--shadow-pill);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
}

/* =========================================================
   5. CANLI AI KOMBİN STÜDYOSU (3D TILT + LOUPE + RADAR)
   ========================================================= */
.studio-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 14px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(120, 131, 106, 0.14);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: rgba(196, 111, 82, 0.16);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--text-main);
  color: var(--bg-color);
  box-shadow: 0 4px 12px rgba(48, 59, 47, 0.2);
}

.stream-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--text-main);
}

.action-chip--primary {
  background: var(--gradient-Warm);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(196, 111, 82, 0.5);
}

.action-chip--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 26px -4px rgba(196, 111, 82, 0.65);
}

.action-chip:hover {
  border-color: var(--primary);
}

.action-chip.is-paused,
.action-chip.is-active {
  background: rgba(196, 111, 82, 0.18);
  color: var(--primary);
  border-color: var(--primary);
}

.cycle-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(120, 131, 106, 0.16);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}

.cycle-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.1s linear;
}

.ai-runway-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 26px;
  align-items: stretch;
  perspective: 1200px;
}

/* LEFT COLUMN: OUTFIT CARD WITH 3D TILT & LOUPE */
.outfit-stage-card {
  position: relative;
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease-out, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.outfit-user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 4px 6px;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  padding: 2px;
  background: var(--white);
}

.user-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: var(--text-main);
}

.verified-star {
  color: var(--primary);
  font-size: 14px;
}

.user-sub-line {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
}

.style-vibe-tag {
  background: rgba(196, 111, 82, 0.15);
  color: var(--primary);
  border: 1px solid rgba(196, 111, 82, 0.32);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* Visual Frame & Fabric Loupe Magnifier */
.outfit-visual-frame {
  position: relative;
  width: 100%;
  height: 510px;
  border-radius: 22px;
  overflow: hidden;
  background: #232A22;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.outfit-visual-frame.loupe-enabled {
  cursor: crosshair;
}

.outfit-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.fabric-loupe-lens {
  position: absolute;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), inset 0 0 14px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s ease;
  background-repeat: no-repeat;
}

.fabric-loupe-lens.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.fabric-loupe-label {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(25, 31, 24, 0.9);
  color: #F5F0E8;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.outfit-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 28, 23, 0.25) 0%,
    rgba(24, 28, 23, 0.02) 35%,
    rgba(24, 28, 23, 0.15) 65%,
    rgba(24, 28, 23, 0.88) 100%
  );
  pointer-events: none;
}

.ai-scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #FFB08E 25%, #C46F52 50%, #FFB08E 75%, transparent 100%);
  box-shadow: 0 0 22px 6px rgba(196, 111, 82, 0.85);
  z-index: 8;
  opacity: 0;
  pointer-events: none;
}

.outfit-visual-frame.is-scanning .ai-scan-beam {
  opacity: 1;
  animation: laserScanMove 1.35s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.ai-scan-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 9;
  background: rgba(25, 31, 24, 0.82);
  backdrop-filter: blur(10px);
  color: #F5F0E8;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.color-palette-strip {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 9;
  background: rgba(25, 31, 24, 0.75);
  backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.palette-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Hotspots */
.hotspot-pin {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.hotspot-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(196, 111, 82, 0.94);
  border: 2px solid #FFFFFF;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
  position: relative;
}

.hotspot-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  animation: hotspotRipple 2s infinite;
}

.hotspot-pin:hover .hotspot-dot,
.hotspot-pin.is-active .hotspot-dot {
  transform: scale(1.18);
  background: #303B2F;
}

.hotspot-card {
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  background: rgba(25, 31, 24, 0.94);
  backdrop-filter: blur(12px);
  color: #F5F0E8;
  padding: 8px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.22s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.hotspot-pin.hotspot-left .hotspot-card {
  left: auto;
  right: 36px;
}

.hotspot-pin:hover .hotspot-card,
.hotspot-pin.is-active .hotspot-card {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.hotspot-brand {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #F3B39B;
  display: block;
}

.hotspot-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.outfit-overlay-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9;
  color: #fff;
}

.outfit-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.outfit-caption-text {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.outfit-footer-bar {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.piece-tags-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.piece-mini-badge {
  font-size: 11.5px;
  font-weight: 700;
  background: var(--bg-color);
  color: var(--text-main);
  border: 1px solid var(--card-border);
  padding: 4px 10px;
  border-radius: 999px;
}

.social-quick-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-btn.is-liked {
  background: #FEE2E2;
  border-color: #EF4444;
  color: #B91C1C;
}

.social-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

/* =========================================================
   6. RIGHT COLUMN: AI PANEL + SVG RADAR CHART + STORY EXPORT
   ========================================================= */
.ai-critique-panel {
  background: var(--card-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ai-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}

.ai-agent-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-orb {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 10px 22px -4px rgba(196, 111, 82, 0.55);
  position: relative;
}

.ai-orb::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 18px;
  border: 1.5px solid rgba(196, 111, 82, 0.4);
  animation: livePulse 2.4s infinite;
}

.ai-agent-title {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-live-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(34, 197, 94, 0.16);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
}

.ai-agent-sub {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
}

.persona-tabs {
  display: flex;
  background: rgba(120, 131, 106, 0.14);
  padding: 4px;
  border-radius: 999px;
  gap: 4px;
}

.persona-tab {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.persona-tab.active {
  background: var(--white);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 3-Column Metrics Showcase: Score Dial + 4 Bars + 5-Axis Radar */
.ai-score-showcase {
  display: grid;
  grid-template-columns: 145px 1fr 165px;
  gap: 16px;
  align-items: center;
  margin: 16px 0;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
}

.score-dial-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.score-ring-svg {
  width: 118px;
  height: 118px;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: rgba(120, 131, 106, 0.2);
  stroke-width: 9;
}

.score-ring-meter {
  fill: none;
  stroke: url(#looksyScoreGrad);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.score-dial-center {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-number-big {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
}

.score-out-of {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-sub);
  margin-top: 2px;
}

.score-verdict-pill {
  margin-top: 6px;
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gradient-Warm);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(196, 111, 82, 0.35);
}

.submetrics-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.submetric-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.submetric-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.submetric-val {
  color: var(--primary);
  font-weight: 800;
}

.submetric-bar-bg {
  width: 100%;
  height: 6.5px;
  background: rgba(120, 131, 106, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.submetric-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* SVG Radar Chart Box */
.radar-chart-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.radar-svg {
  width: 155px;
  height: 145px;
  overflow: visible;
}

.radar-grid-poly {
  fill: none;
  stroke: rgba(120, 131, 106, 0.25);
  stroke-width: 1;
}

.radar-axis-line {
  stroke: rgba(120, 131, 106, 0.22);
  stroke-width: 1;
  stroke-dasharray: 2 2;
}

.radar-data-poly {
  fill: rgba(196, 111, 82, 0.28);
  stroke: var(--primary);
  stroke-width: 2.2;
  transition: points 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.radar-label {
  font-size: 9px;
  font-weight: 800;
  fill: var(--text-muted);
  text-anchor: middle;
}

/* Commentary Box */
.ai-commentary-box {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 14px;
  min-height: 112px;
}

.commentary-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.commentary-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.story-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(196, 111, 82, 0.14);
  border: 1px solid rgba(196, 111, 82, 0.35);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-export-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.ai-commentary-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.62;
  font-weight: 500;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--primary);
  margin-left: 3px;
  vertical-align: middle;
  animation: blinkCursor 0.8s infinite;
}

.ai-insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.insight-mini-card {
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 11px 14px;
}

.insight-mini-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-sub);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.insight-mini-body {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.recent-stream-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
  flex-wrap: wrap;
}

.recent-stream-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}

.mini-avatars-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.mini-outfit-thumb {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: all 0.22s ease;
}

.mini-outfit-thumb:hover,
.mini-outfit-thumb.active {
  opacity: 1;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.06);
}

/* =========================================================
   7. FOTOĞRAF YÜKLE & GERÇEK RENK ANALİZİ STÜDYOSU
   ========================================================= */
.section-block {
  max-width: 1260px;
  margin: 58px auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-header p {
  font-size: 15.5px;
  color: var(--text-muted);
}

.upload-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
  background: var(--card-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.upload-dropzone-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upload-preview-stage {
  position: relative;
  height: 410px;
  border-radius: 22px;
  border: 2px dashed rgba(196, 111, 82, 0.45);
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
}

.upload-preview-stage.dragover {
  border-color: var(--primary);
  background: rgba(196, 111, 82, 0.12);
}

.upload-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-overlay-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(25, 31, 24, 0.85);
  backdrop-filter: blur(8px);
  color: #F5F0E8;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 12;
}

.upload-actions-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.extracted-palette-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.extracted-swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  font-size: 11.5px;
  font-weight: 700;
}

.extracted-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
}

/* =========================================================
   8. KOMBİN DÜELLOSU ("HANGİSİ DAHA ŞIK?" — STYLE BATTLE)
   ========================================================= */
.battle-arena-card {
  background: var(--card-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.battle-stage-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.battle-contender {
  background: var(--bg-elevated);
  border: 2px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.battle-contender.is-winner {
  border-color: var(--primary);
  box-shadow: 0 16px 38px rgba(196, 111, 82, 0.25);
}

.battle-photo-wrap {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.battle-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.battle-contender:hover .battle-photo-wrap img {
  transform: scale(1.04);
}

.battle-vote-overlay {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(25, 31, 24, 0.86);
  backdrop-filter: blur(10px);
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff;
}

.battle-pct-bar {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.battle-pct-fill {
  height: 100%;
  width: 50%;
  background: var(--gradient-Warm);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.battle-vs-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(196, 111, 82, 0.45);
}

.battle-contender-body {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.battle-verdict-banner {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--surface-subtle);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   9. HAVA DURUMU & DAVET KONSEPTİ + KOMBİN SİMÜLATÖRÜ
   ========================================================= */
.dual-labs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.custom-ai-lab {
  background: var(--card-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.builder-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.selector-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.selector-group label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
}

.looksy-select {
  appearance: none;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--white);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.looksy-select:focus {
  outline: none;
  border-color: var(--primary);
}

.lab-result-card {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 20px;
}

.lab-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}

.lab-score-badge {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 800;
  color: var(--primary);
}

.weather-recipe-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

/* =========================================================
   10. 3D MOBİL UYGULAMA ÖNİZLEMESİ & QR KOD VİTRİNİ
   ========================================================= */
.app-showcase-deck {
  background: var(--card-glass);
  backdrop-filter: blur(18px);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.qr-download-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 18px;
  margin-top: 22px;
}

.qr-svg-frame {
  width: 104px;
  height: 104px;
  padding: 8px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(196, 111, 82, 0.35);
  flex-shrink: 0;
}

.phone-3d-stage {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup-frame {
  width: 285px;
  height: 550px;
  background: #1A1F1A;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 32px 64px -12px rgba(24, 30, 24, 0.45), 0 0 0 2px rgba(196, 111, 82, 0.45);
  transform: rotateY(-10deg) rotateX(4deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.phone-mockup-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen-inner {
  background: var(--bg-color);
  color: var(--text-main);
  flex: 1;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-notch {
  width: 96px;
  height: 20px;
  background: #1A1F1A;
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
}

/* =========================================================
   11. FLOATING QR BADGE & STORY PREVIEW MODAL
   ========================================================= */
.floating-qr-widget {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 10px 14px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s ease;
}

.floating-qr-widget:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.floating-qr-mini {
  width: 42px;
  height: 42px;
  background: #fff;
  padding: 3px;
  border-radius: 8px;
}

.story-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(15, 19, 16, 0.82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.story-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.story-modal-card {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 24px;
  max-width: 430px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-hover);
}

.story-canvas-preview {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  margin: 14px 0;
}

/* =========================================================
   12. TOPLULUK KEŞFET & ÖZELLİKLER & LEGAL
   ========================================================= */
.live-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px;
}

.feed-outfit-card {
  background: var(--card-glass);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.feed-outfit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feed-card-media {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.feed-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feed-outfit-card:hover .feed-card-media img {
  transform: scale(1.06);
}

.feed-ai-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(25, 31, 24, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.feed-ai-pill span {
  color: #F3B39B;
}

.feed-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.feed-card-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.feed-card-user img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.feed-card-quote {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.feed-card-inspect {
  margin-top: auto;
  padding-top: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.feature-card {
  background: var(--card-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(196, 111, 82, 0.14);
  border: 1px solid rgba(196, 111, 82, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Legal pages */
.container {
  max-width: 940px;
  margin: 44px auto;
  padding: 0 24px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.legal-card {
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 46px;
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.legal-meta {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 22px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 16px;
  font-weight: 600;
}

.legal-toc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.legal-toc-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  color: var(--text-main);
}

.legal-toc-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.legal-card h2 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-card p,
.legal-card li {
  color: var(--text-main);
  font-size: 15px;
  margin-bottom: 12px;
}

.legal-card ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.highlight-box {
  background: rgba(196, 111, 82, 0.12);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 24px 0;
  color: var(--text-main);
}

footer {
  border-top: 1px solid var(--card-border);
  padding: 44px 24px;
  background: rgba(232, 223, 210, 0.45);
  margin-top: auto;
  position: relative;
  z-index: 2;
}

[data-theme="princess"] footer {
  background: rgba(255, 226, 226, 0.35);
}

[data-theme="midnight"] footer {
  background: rgba(11, 14, 12, 0.75);
}

.footer-content {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-col img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--card-border);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 600;
}

@keyframes drawPath { to { stroke-dashoffset: 0; } }
@keyframes starPopRotate {
  0% { opacity: 0; transform: scale(0.2) rotate(-45deg); }
  70% { opacity: 1; transform: scale(1.12) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes splashFloatIn {
  0% { opacity: 0; transform: translateY(24px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes logoRevealScale {
  0% { transform: scale(1.12); filter: blur(6px); }
  100% { transform: scale(1); filter: blur(0); }
}
@keyframes sparklePulse {
  0%, 100% { transform: scale(0.85) rotate(0deg); opacity: 0.65; }
  50% { transform: scale(1.18) rotate(12deg); opacity: 1; }
}
@keyframes fadeSlideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderProgress {
  0% { width: 0%; }
  65% { width: 82%; }
  100% { width: 100%; }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes spinSlowReverse { to { transform: rotate(-360deg); } }
@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.7; }
}
@keyframes hotspotRipple {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.65); opacity: 0; }
}
@keyframes laserScanMove {
  0% { top: 4%; opacity: 0.95; }
  50% { top: 92%; opacity: 1; }
  100% { top: 4%; opacity: 0.95; }
}
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1040px) {
  .ai-runway-grid,
  .upload-studio-grid,
  .dual-labs-grid,
  .app-showcase-deck {
    grid-template-columns: 1fr;
  }
  .ai-score-showcase {
    grid-template-columns: 140px 1fr;
  }
  .radar-chart-box {
    grid-column: 1 / -1;
  }
  .battle-stage-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .nav-container { flex-wrap: wrap; }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 8px;
    border-top: 1px solid var(--card-border);
  }
  .ai-score-showcase,
  .ai-insights-grid,
  .builder-selectors {
    grid-template-columns: 1fr;
  }
  .floating-qr-widget { display: none; }
  .legal-card { padding: 26px 20px; }
  .footer-content { flex-direction: column; text-align: center; }
}
