
:root {
  --bg: #0a0908;             
  --surface: #141210;        
  --surface-light: #1f1c18;  
  --text: #e8e6e1;           
  --text-dim: #948f85;       
  --accent: #c2a370;         
  --border: rgba(194, 163, 112, 0.15); 
  --chat-bg: rgba(20, 18, 16, 0.9);
  
  /* --- TYPOGRAFIA --- */
  --font-head: 'Bitter', serif;
  --font-body: 'Montserrat', sans-serif;
  --font: 'Montserrat', sans-serif;

  /* --- Z-INDEX LAYER MANAGEMENT --- */
  --z-nav: 1000;
  --z-overlay: 10;
  --z-content: 5;
  --z-chat-btn: 900;
  --z-chat-win: 901;
  --z-loader: 9999;
  --z-toast: 10000;
  --z-cookie: 10001;
}

/* LIGHT THEME OVERRIDES */

body.light-theme {
  --bg: #f4f1ea; 
  --surface: #ffffff;
  --surface-light: #e8e6e1;
  --text: #1c1b1a;
  --text-dim: #6b665f;
  --accent: #9c8253;
  --border: rgba(156, 130, 83, 0.15);
  --chat-bg: rgba(255, 255, 255, 0.85);
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* HEADERS */
h1, h2, h3, h4, h5, h6, 
.apple-heading, 
.section-header, 
.footer-cta,
.brand,
.lens-overlay h1,
.pricing-mini h3,
.bento-content h3 {
  font-family: var(--font-head);
  font-weight: 600; 
  letter-spacing: -0.01em; 
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s, color 0.3s;
}

a:hover {
  color: var(--accent);
  opacity: 1;
}

/* --- LOADER --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: var(--z-loader);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(194, 163, 112, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* --- NAV --- */
.apple-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(10, 9, 8, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-nav);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  transition: background 0.3s;
}

body.light-theme .apple-nav {
  background: rgba(247, 245, 240, 0.9);
}

.nav-content {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.brand {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap; 
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
  color: var(--text-dim);
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.active-link {
  color: var(--accent) !important;
  font-weight: 500;
}

/* --- THEME TOGGLE --- */
.theme-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-btn:hover {
  background: var(--surface-light);
}

.theme-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.theme-btn .sun-icon { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
.theme-btn .moon-icon { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(90deg); }

body.light-theme .theme-btn .sun-icon { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(-90deg); }
body.light-theme .theme-btn .moon-icon { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }

/* --- HERO --- */
.hero-apple {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.5s;
}

body.light-theme .hero-bg {
  opacity: 0.25;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(10%);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 0%, var(--bg) 90%);
  z-index: 0;
}

.hero-text-container {
  z-index: 2;
  padding: 20px;
  max-width: 800px;
}

.apple-heading {
  font-size: clamp(38px, 4vw, 96px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text);
}

.text-gradient {
  background: linear-gradient(135deg, #f0e6d2 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

/* --- MANIFESTO --- */
.manifesto-section {
  padding: 200px 20px;
  background: var(--bg);
  display: flex;
  justify-content: center;
}

.reveal-text {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  color: var(--text-dim);
  text-align: center;
  max-width: 1000px;
  line-height: 1.2;
}

.highlight {
  color: var(--accent);
  font-family: var(--font-head);
  font-style: italic;
}

/* --- BENTO GRID --- */
.bento-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

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

.section-header {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.center { text-align: center; }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.bento-item {
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  will-change: transform;
  transform: translateZ(0);
}

.bento-item.wide { grid-column: span 2; aspect-ratio: 16/9; min-height: auto; }
.bento-item.tall { grid-column: span 1; aspect-ratio: 9/12; min-height: 600px; }

@media (hover: hover) {
  .bento-item {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s;
  }
  .bento-item:hover {
    transform: scale(0.99);
    border-color: var(--accent);
  }
  .bento-item:hover .bento-video {
    transform: scale(1.05);
    opacity: 1;
  }
  .bento-item:hover .bento-content {
    transform: translateY(0);
  }
}

.bento-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  opacity: 0.8;
  filter: saturate(0.9);
}

@media (hover: none) {
  .bento-video { opacity: 1; filter: none; }
}

/* --- PLAYER BUTTON UI --- */
.video-overlay-ui {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: var(--z-overlay);
  pointer-events: none;
  
  width: 80px;
  height: 80px;
  background: rgba(194, 163, 112, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(194, 163, 112, 0.3);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 1;
}

.play-icon {
  width: 30px;
  height: 30px;
  fill: var(--text);
  margin-left: 4px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.bento-item:hover .video-overlay-ui {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--accent);
}

.bento-item:hover .play-icon { fill: #000; }

.bento-item.playing .video-overlay-ui {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.5);
  pointer-events: none;
}

/* --- BENTO TEXT --- */
.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.95) 0%, transparent 100%);
  z-index: var(--z-content);
  transform: translateY(0);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  color: var(--text);
  pointer-events: none;
}

@media (hover: hover) {
   .bento-content {
     transform: translateY(10px);
     transition: transform 0.4s ease, opacity 0.4s ease;
   }
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 10px;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(5px);
}

.bento-content h3 { font-size: 28px; font-weight: 500; margin-bottom: 8px; }
.bento-content p { font-size: 14px; opacity: 0.8; font-weight: 300; }

.price-btn {
  display: inline-block;
  text-align: center;
  padding: 15px 40px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s, background 0.2s;
}

.price-btn.fill {
  background: var(--surface-light);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.price-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* --- PROCESS SECTION --- */
.process-section {
  padding: 100px 0;
  background: var(--bg);
}

.sticky-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
}

.process-visual {
  width: 50%;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-frame {
  width: 90%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.device-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-steps {
  width: 50%;
  padding-left: 60px;
  padding-top: 30vh;
  padding-bottom: 30vh;
}

.step {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.3; 
}

.step.active { opacity: 1; }

.step-num {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.step h3 { font-size: 32px; margin-bottom: 20px; color: var(--text); }

/* --- STUDIO & LENS --- */
.lens-container {
  height: 200vh;
  position: relative;
  pointer-events: none;
  z-index: 10;
}

.lens-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.lens-curtain {
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  clip-path: circle(12% at 50% 50%);
  will-change: clip-path, opacity;
}

.lens-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  opacity: 0.8;
  filter: sepia(20%);
}

.lens-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.lens-overlay h1 {
  font-size: 4vw;
  font-weight: 500;
  margin: 0;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  font-style: italic;
}

.lens-overlay p {
  font-size: 14px;
  letter-spacing: 3px;
  margin-top: 15px;
  opacity: 0.8;
  color: var(--accent);
  font-family: var(--font-body);
}

.studio-content-static {
  position: relative;
  z-index: 5;
  background: var(--bg);
  margin-top: -100vh;
  padding-top: 100px;
  padding-bottom: 100px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.studio-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.profile-photo {
  width: 100%;
  border-radius: 4px;
  transition: filter 0.5s;
}

.studio-image-wrap:hover .profile-photo { filter: grayscale(0%); }

.studio-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--accent);
  color: #000;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-body);
}

.gear-list li {
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  padding: 10px 0;
}

.gear-list strong { color: var(--accent); }

/* --- REVIEWS --- */
.reviews-section {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

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

.review-card {
  background: var(--surface);
  padding: 30px;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.review-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--font-head);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  background: var(--surface-light);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--accent);
}

.review-author strong { display: block; font-size: 14px; color: var(--text); letter-spacing: 1px; }
.review-author span { font-size: 12px; color: var(--text-dim); }

/* --- FOOTER & CONTACT --- */
.footer-reveal {
  padding: 100px 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pricing-mini { margin-bottom: 60px; }
.pricing-mini h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--accent);
}
.pricing-mini p { color: var(--text-dim); font-size: 16px; }

.footer-cta {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 60px;
  background: linear-gradient(to bottom, var(--text), var(--text-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.apple-form input,
.apple-form textarea {
  width: 100%;
  background: var(--surface-light);
  border: 1px solid transparent;
  padding: 20px;
  border-radius: 2px;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font-body);
  outline: none;
  transition: box-shadow 0.3s, border-color 0.3s;
  margin: 4px;
}

.apple-form input:focus,
.apple-form textarea:focus { 
  box-shadow: 0 0 15px rgba(194, 163, 112, 0.1); 
  border-color: var(--accent);
}

.submit-apple {
  margin-top: 20px;
  padding: 20px 40px;
  border-radius: 2px;
  background: var(--accent);
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.submit-apple:hover { transform: scale(1.02); }

.footer-links {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

.privacy-link {
    font-size: 12px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 15px;
}
.privacy-link:hover { color: var(--accent); text-decoration: underline; }

.studio-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    justify-content: flex-start;
}

.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text);
    text-decoration: none;
    min-width: 140px;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor; 
    display: block;
}

.social-item span { font-size: 14px; font-weight: 500; line-height: 1; }

.social-item:hover {
    transform: translateY(-2px);
    background: var(--accent);
    border-color: var(--accent);
    color: #000000 !important;
}

.social-item:hover .social-icon { fill: #000000; }

/* --- AI CHATBOT --- */
.ai-chat-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: var(--z-chat-btn);
  transition: transform 0.3s;
}

.ai-chat-btn:hover { transform: scale(1.1); }
.ai-icon { width: 24px; height: 24px; fill: var(--accent); }

.ai-chat-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 320px;
  height: 450px;
  background: var(--chat-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: var(--z-chat-win);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.ai-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-header {
  padding: 15px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-head);
}

.bot-avatar {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #000;
  font-weight: bold;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.msg {
  padding: 10px 14px;
  border-radius: 4px;
  max-width: 80%;
  line-height: 1.4;
}

.msg.bot {
  background: var(--surface-light);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 0;
  border: 1px solid var(--border);
}

.msg.user {
  background: var(--accent);
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 0;
  font-weight: 500;
}

.chat-input-area {
  padding: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chip {
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  cursor: pointer;
  color: var(--text-dim);
  transition: background 0.2s;
}

.chip:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* --- SCROLL TO TOP --- */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--surface-light);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s ease;
}

.scroll-top-btn:hover {
    transform: scale(1.1); 
}

.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.arrow-up { width: 20px; height: 20px; fill: var(--accent); }

/* --- NOTIFICATIONS --- */
.notification-container {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  width: auto;
}

.toast {
  background: rgba(10, 9, 8, 0.9);
  color: var(--text);
  padding: 16px 24px;
  border-radius: 50px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: auto;
  border: 1px solid var(--border);
}

.toast.active { transform: translateY(0) scale(1); opacity: 1; }

.toast.success {
  box-shadow: 0 0 30px rgba(194, 163, 112, 0.1), 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(194, 163, 112, 0.3);
}
.toast.success svg { fill: var(--accent); }

.toast.error {
  box-shadow: 0 0 30px rgba(255, 59, 48, 0.15), 0 20px 40px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 59, 48, 0.2);
}
.toast.error svg { fill: #ff3b30; }

.toast-icon { width: 18px; height: 18px; flex-shrink: 0; }

body.light-theme .toast {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: rgba(20, 18, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    padding: 25px;
    border-radius: 4px;
    z-index: var(--z-cookie);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active { transform: translateY(0); opacity: 1; }
.cookie-content h4 { font-size: 16px; margin-bottom: 10px; color: var(--text); font-family: var(--font-head); }
.cookie-content p { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 20px; }
.cookie-actions { display: flex; gap: 10px; }

.cookie-btn {
    flex: 1;
    padding: 10px;
    border-radius: 50px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}
.cookie-btn.accept { background: var(--accent); color: #000; }
.cookie-btn.accept:hover { background: #d4b886; }
.cookie-btn.policy { background: transparent; border: 1px solid var(--border); color: var(--text); }
.cookie-btn.policy:hover { border-color: var(--accent); }

/* --- 404 & OFFLINE --- */
.media-offline-box {
    background: #4a0000;
    padding: 40px;
    border: 2px solid #ff0000;
    display: inline-block;
    margin-bottom: 30px;
    transform: rotate(-2deg);
}

.warning-icon {
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    border: 3px solid #fff;
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 5px;
    margin: 0 auto 20px auto;
}

.media-offline-box h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 5px;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
}

.error-desc {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 18px;
  }

/* --- REVEAL --- */
.section-header,
.price-btn,
.pricing-mini,
.footer-cta,
.apple-form,
.footer-links,
.manifesto-section,
.reviews-grid,
.studio-title,
.studio-bio,
.gear-list,
.studio-socials,
.review-card {
  opacity: 0;
  visibility: hidden; 
  transform: translateY(30px);
}

.bento-item {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
}

.poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.bento-video {
  position: relative;
  z-index: 0;
}

.bento-item.playing .poster-img {
  opacity: 0;
}

@media (max-width: 1024px) {
  
  .bento-grid,
  .studio-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .container { padding: 0 15px; }

 .bento-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    opacity: 1;
    visibility: visible;
  }

  .bento-content h3 { font-size: 20px; margin-bottom: 5px; }
  .bento-content p {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bento-item.playing .bento-content { opacity: 0; }
  .bento-grid { gap: 20px; }
  
  .bento-item.wide,
  .bento-item.tall,
  .bento-item {
    grid-column: span 1;
    aspect-ratio: 4/5;
    min-height: 400px;
  }

  .process-section, 
  .sticky-container {
    display: none !important;
  }

  .ai-chat-window { right: 10px; left: 10px; width: auto; bottom: 90px; }
  .apple-heading { font-size: 36px; }
  .footer-cta { font-size: 42px; }
}

@media (max-width: 768px) {
  /* --- FIX NAWIGACJI NA TELEFON --- */
  .nav-content {
    padding: 0 15px; 
  }
  
  .brand {
    font-size: 13px;
    flex-shrink: 0;
  }


  .section-header{
    text-align: center;
  }

  .nav-links {
    gap: 12px;        
    font-size: 10px;
    letter-spacing: 0.5px;
    

    width: auto;
    overflow-x: auto;
    mask-image: none; 
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  
  .lens-curtain { clip-path: circle(25% at 50% 50%); }
  .lens-overlay h1 { font-size: 12vw; }
  
  .notification-container { right: 50%; transform: translateX(50%); width: 90%; }
  .toast { width: 100%; min-width: auto; }
  
  .cookie-banner { bottom: 10px; left: 10px; right: 10px; max-width: none; }
  
  .footer-links { flex-direction: column; gap: 15px; }
  .privacy-link { margin: 5px 0; }
}

@media (max-width: 480px) {
    .studio-socials { flex-direction: column; }
    .social-item { width: 100%; }
}

/* --- CLIENT HUB / STATUS TRACKER --- */

/* Główny kontener */
.tracker-page {
    padding-top: 120px; /* Miejsce na nawigację */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.tracker-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Nagłówek Klienta */
.client-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.client-header h1 {
    font-family: var(--font-head);
    color: var(--text);
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.client-header .client-id {
    font-family: var(--font-body);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
}

/* Pasek Postępu */
.progress-section {
    position: relative;
    margin: 60px 0;
    padding: 0 10px;
}

.progress-track {
    position: relative;
    height: 4px;
    background: var(--surface-light);
    border-radius: 10px;
    overflow: hidden; /* Ważne dla animacji paska */
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 20px rgba(194, 163, 112, 0.5); /* Złota poświata */
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); /* Płynna animacja */
    width: 0%; /* Startuje od 0 dla efektu */
}

/* Kropki i Etapy */
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    top: -22px; /* Pozycjonowanie kropek na pasku */
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    position: relative;
    z-index: 2;
}

.dot {
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 2px solid var(--surface-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.dot svg {
    width: 16px;
    height: 16px;
    fill: var(--text-dim);
    transition: fill 0.4s ease;
}

.step-label {
    margin-top: 12px;
    font-size: 11px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: color 0.4s ease;
    opacity: 0.6;
}

/* Stan Aktywny Kroku */
.step-node.active .dot {
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 25px rgba(194, 163, 112, 0.3);
    transform: scale(1.1);
}

.step-node.active .dot svg {
    fill: var(--accent);
}

.step-node.active .step-label {
    color: var(--text);
    opacity: 1;
}

/* Sekcja Podglądu Wideo */
.preview-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 40px;
    margin-top: 60px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s; /* Delay */
}

.preview-box h3 {
    font-family: var(--font-head);
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Zablokowany Podgląd (Kłódka) */
.locked-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    background: radial-gradient(circle at center, var(--surface-light) 0%, var(--bg) 100%);
    border: 1px dashed var(--border);
    border-radius: 4px;
}

.locked-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    opacity: 0.4;
    fill: currentColor;
}

/* Przycisk Pobierania */
.action-area {
    margin-top: 40px;
}

.download-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--accent);
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.download-btn:hover {
    background: #d4b886;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(194, 163, 112, 0.3);
}

.download-btn.disabled {
    background: var(--surface-light);
    color: var(--text-dim);
    border: 1px solid var(--border);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

/* Kontakt i Stopka Trackera */
.contact-hint {
    margin-top: 60px;
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
}

.contact-hint a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(194, 163, 112, 0.3);
    transition: border-color 0.3s;
}

.contact-hint a:hover {
    border-color: var(--accent);
}

/* Responsywność dla telefonów */
@media (max-width: 600px) {
    .tracker-container { padding: 15px; }
    .client-header h1 { font-size: 28px; }
    
    .steps-container {
        /* Na małym ekranie ukrywamy etykiety lub zmniejszamy kropki */
    }
    .step-label {
        font-size: 9px; 
        display: none; /* Ukrywamy napisy na telefonie, żeby się nie nakładały */
    }
    .step-node.active .step-label {
        display: block; /* Pokazujemy tylko aktywny napis */
        position: absolute;
        width: 150px;
        top: 45px;
    }
    
    .preview-box { padding: 20px; }
    .locked-placeholder { height: 200px; }
}

/* Prosta animacja wejścia */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}