:root {
  --color-black: #000000;
  --color-gold: #c5a85e;
  --color-graphite: #2a2a2a;
  --color-white: #ffffff;
  --border-radius: 24px;
  --font-main: 'Inter', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-black);
  color: var(--color-white);
  overflow-x: hidden;
  line-height: 1.6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Custom Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) var(--color-black);
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--color-black);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 12px;
  border: 3px solid var(--color-black); /* creates a nice padding effect */
}
::-webkit-scrollbar-thumb:hover {
  background: #d4bc78;
}

/* Typography */
h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
}
h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  font-size: 1.15rem;
  color: #a3a3a3;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 400;
}
.text-gold {
  color: var(--color-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}
.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
}
.btn--dark {
  background-color: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}
.btn--dark:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: transparent;
  transition:
    padding var(--transition),
    opacity var(--transition);
}
header.scrolled .logo,
header.scrolled .lang-switch {
  opacity: 0;
  pointer-events: none;
}
header.scrolled {
  padding: 1rem 2rem;
  pointer-events: none; /* Let clicks pass through invisible header */
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img {
  height: 50px;
  transition: opacity var(--transition);
}
.logo-text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: opacity var(--transition);
}
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  font-size: 1.1rem;
  line-height: 1;
  transform: translateY(2px);
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-gold);
  transition: color var(--transition);
}
.lang-current i {
  transition: transform var(--transition);
}
.lang-switch.dropdown:hover .lang-current i {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: -0.5rem;
  margin-top: 0.5rem;
  background: var(--color-graphite);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  min-width: 60px;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.lang-switch.dropdown:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown span {
  padding: 0.5rem;
  border-radius: 8px;
  opacity: 0.5;
  text-align: center;
  transition:
    opacity var(--transition),
    background var(--transition);
}
.lang-dropdown span:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}
.lang-dropdown span.active {
  color: var(--color-gold);
  opacity: 1;
}
.nav-bottom .lang-switch {
  gap: 0.75rem;
}
.nav-bottom .lang-switch span {
  opacity: 0.3;
  transition:
    opacity var(--transition),
    color var(--transition);
}
.nav-bottom .lang-switch span.active {
  opacity: 1;
  color: var(--color-gold);
}
.nav-bottom .lang-switch span:hover {
  opacity: 1;
}
.hamburger {
  cursor: pointer;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto; /* re-enable clicks when scrolled */
  backdrop-filter: blur(5px);
}
.hamburger:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: scale(1.1);
}
header.scrolled .hamburger {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: transparent;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 0 5%;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.85;
}
.hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
  transform: translateX(-1vw);
}
.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 14vw, 13.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-content p {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: var(--border-radius);
  padding: 1.5rem;
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: none;
    width: min-content;
  }
  .hero-content p {
    max-width: none;
  }
}
.scroll-down-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  opacity: 0.7;
  transition:
    color var(--transition),
    opacity var(--transition);
  animation: bounce 2s infinite;
  z-index: 10;
}
.scroll-down-indicator:hover {
  color: var(--color-gold);
  opacity: 1;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-15px) translateX(-50%);
  }
  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* Sections */
section {
  padding: 6rem 5%;
}
.badge {
  display: inline-block;
  background-color: var(--color-white);
  color: var(--color-black);
  font-family: var(--font-display);
  padding: 0.6rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  align-self: center;
}
.badge--dark {
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
}
.badge.scroll-anim {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.badge.scroll-anim.in-view {
  opacity: 1;
  transform: translateY(0);
}
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 800;
}
.section-title .text-gold {
  font-weight: 900;
}

/* Global Scroll Animations */
.section-title,
.typebot-placeholder,
.contact-container,
.hero-content {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.section-title.in-view,
.typebot-placeholder.in-view,
.contact-container.in-view,
.hero-content.in-view {
  opacity: 1;
  transform: translateY(0);
}
.hero-content {
  transition-delay: 0.3s;
}

/* Shared Textured Background */
.bg-textured {
  background-color: var(--color-graphite);
  background-image: url('../images/bg-offer.png');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
}
@media (hover: none) {
  .bg-textured {
    background-attachment: scroll;
  }
}

/* CMYK to Spot Section */
.conversion-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.conversion-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.window-panel {
  background-color: var(--color-black);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.window-panel.in-view {
  opacity: 1;
  transform: translateY(0);
}
.window-header {
  background-color: transparent;
  border-bottom: 1px solid #2a2a2a;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-white);
}
.window-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.channel-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #1a1a1a;
  border-radius: 12px;
  font-weight: 500;
  opacity: 0;
}
.window-panel.in-view .channel-row {
  animation: rowSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.window-panel.in-view .channel-row:nth-child(1) {
  animation-delay: 0.3s;
}
.window-panel.in-view .channel-row:nth-child(2) {
  animation-delay: 0.4s;
}
.window-panel.in-view .channel-row:nth-child(3) {
  animation-delay: 0.5s;
}
.window-panel.in-view .channel-row:nth-child(4) {
  animation-delay: 0.6s;
}
.window-panel.in-view .channel-row:nth-child(5) {
  animation-delay: 0.7s;
}
.window-panel.in-view .channel-row:nth-child(6) {
  animation-delay: 0.8s;
}
.window-panel.in-view .channel-row:nth-child(7) {
  animation-delay: 0.9s;
}
.window-panel.in-view .channel-row:nth-child(8) {
  animation-delay: 1s;
}

.visibility-toggle {
  margin-left: auto;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}
.visibility-toggle:hover {
  color: var(--color-gold);
}
.spot-tooltip {
  position: absolute;
  right: 100%;
  margin-right: 10px;
  background-color: #000;
  color: var(--color-gold);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  pointer-events: none;
}
.visibility-toggle:hover .spot-tooltip {
  opacity: 1;
  visibility: visible;
}
.channel-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition:
    opacity 0.3s,
    filter 0.3s;
}
.channel-color.dimmed {
  opacity: 0.15;
  filter: grayscale(100%);
}
.channel-row.dimmed span[data-i18n^='spot_'] {
  opacity: 0.4;
  transition: opacity 0.3s;
}

@keyframes rowSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.channel-c {
  background-color: #00aeef;
}
.channel-m {
  background-color: #ec008c;
}
.channel-y {
  background-color: #fff200;
}
.channel-k {
  background-color: #231f20;
  border: 1px solid #555;
}
.channel-gold {
  background-color: var(--color-gold);
}
.channel-black {
  background-color: #000;
  border: 1px solid #555;
}
.channel-white {
  background-color: #fff;
}

.can-3d-container {
  width: 100%;
  max-width: 460px;
  height: 780px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.8s ease 0.2s,
    transform 0.8s ease 0.2s;
  position: relative;
}
.can-3d-container canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
}
@keyframes circlePulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.can-3d-container.in-view {
  animation: circlePulse 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Finish Toggle */
.finish-toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.finish-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: 0.4s;
  border: none;
}
.slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: var(--color-gold);
  transition: 0.4s;
}
input:checked + .slider {
  background-color: #1a1a1a;
}
input:checked + .slider:before {
  transform: translateX(24px);
  background-color: #a3a3a3;
}
.slider.round {
  border-radius: 26px;
}
.slider.round:before {
  border-radius: 50%;
}

/* Typebot Section */
.typebot-section {
  padding: 6rem 5%;
  background-color: var(--color-black);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.typebot-placeholder {
  background-color: var(--color-graphite);
  padding: 4rem;
  text-align: center;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.typebot-placeholder.fullscreen-typebot {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 3000 !important;
  border-radius: 0 !important;
  background-color: #111 !important;
  display: block !important;
  transform: none !important;
  padding: 0 !important;
  transition: none !important;
}
.typebot-placeholder.fullscreen-typebot iframe {
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  border-radius: 0 !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}
.typebot-iframe-wrapper {
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: transparent;
  width: 100%;
  height: 600px;
}
.typebot-placeholder.fullscreen-typebot .typebot-iframe-wrapper {
  border-radius: 0 !important;
  border: none !important;
  width: 100vw !important;
  height: 100vh !important;
}
.expand-chat-btn,
.close-chat-btn {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  background: var(--color-graphite);
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--color-white);
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.typebot-placeholder.fullscreen-typebot .close-chat-btn {
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  position: fixed !important;
}
.expand-chat-btn:hover,
.close-chat-btn:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: scale(1.1);
  border-color: var(--color-gold);
}
.close-chat-btn.hidden,
.expand-chat-btn.hidden {
  display: none;
}

/* Contact Section */
.contact-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-link {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: color var(--transition);
}
.contact-link i {
  color: var(--color-gold);
}
.contact-link:hover {
  color: var(--color-white);
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.contact-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background-color: var(--color-black);
  padding: 5rem;
  border-radius: var(--border-radius);
  position: relative;
  z-index: 2;
}
.contact-container .section-title {
  margin-bottom: 1.5rem;
}
.contact-desc {
  text-align: center;
  margin: 0 auto 3rem auto;
  max-width: 900px;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.8;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.input-group label {
  font-weight: 600;
  font-size: 1.1rem;
}
.contact-form input[type='email'],
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: transparent;
  color: var(--color-white);
  font-family: var(--font-main);
  outline: none;
  transition: border-color var(--transition);
  font-size: 1rem;
}
.contact-form input[type='email']:focus,
.contact-form textarea:focus {
  border-color: var(--color-gold);
}

#form-status:empty {
  display: none !important;
}

.file-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  background-color: transparent;
  transition:
    border-color var(--transition),
    background-color var(--transition);
}
.file-upload-small {
  flex-direction: row;
  justify-content: flex-start;
  padding: 1.2rem;
  gap: 1rem;
}
.file-upload:hover {
  border-color: var(--color-gold);
}
.file-upload input[type='file'] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-thumbnails-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.file-thumbnail {
  display: flex;
  align-items: center;
  background-color: #2a2a2a;
  padding: 0.3rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  border: 1px solid #444;
}
.file-thumbnail-name {
  color: #ccc;
  margin-right: 0.5rem;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.remove-file-btn {
  background: none;
  border: none;
  color: #ff3366;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem;
  border-radius: 50%;
  transition:
    background-color var(--transition),
    color var(--transition);
}
.remove-file-btn:hover {
  background-color: rgba(255, 51, 102, 0.2);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background-color: #111;
  padding: 4rem;
  border-radius: var(--border-radius);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform var(--transition);
}
#offer-modal .modal-content,
#privacy-modal .modal-content {
  max-width: 1100px;
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  z-index: 10;
}
.modal-content h2 {
  margin-bottom: 2rem;
}
.modal-content p {
  margin-bottom: 1.5rem;
}
.modal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.modal-content h3 {
  font-size: 1.1rem;
  color: var(--color-gold);
  margin: 2rem 0 0.75rem 0;
}
#privacy-modal .modal-content h3 {
  color: var(--color-white);
  font-weight: 700;
}
.modal-content ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.privacy-section {
  margin-bottom: 1.5rem;
}
.privacy-section p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ccc;
}

.modal-contact-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333;
}
.modal-contact-block p {
  margin: 0.25rem 0;
}

/* Navigation Menu */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.05);
  transition:
    opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1),
    transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2000;
}
.main-nav.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.nav-top img {
  height: 60px;
  opacity: 1;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  text-align: center;
  width: 100%;
}
.main-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition:
    color 0.4s ease,
    transform 0.4s ease;
  cursor: pointer;
  display: inline-block;
  opacity: 0.7;
}
.main-nav a:hover {
  color: var(--color-gold);
  opacity: 1;
  transform: translateY(-5px);
}
.nav-bottom {
  padding-bottom: 2rem;
}
.nav-bottom .lang-switch {
  font-size: 1.5rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-graphite);
  padding: 2rem;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
  z-index: 2000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  width: 90%;
  max-width: 1000px;
}
.cookie-banner.hidden {
  transform: translate(-50%, 150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-text {
  flex-grow: 1;
}
.cookie-text h3 {
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  width: 100%;
}

/* Custom Checkboxes */
.cookie-checkbox {
  appearance: none;
  background-color: transparent;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.5em;
  height: 1.5em;
  border: 2px solid #555;
  border-radius: 6px;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-checkbox::before {
  content: '';
  width: 0.8em;
  height: 0.8em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--color-black);
  background-color: var(--color-black);
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.cookie-checkbox:checked {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.cookie-checkbox:checked::before {
  transform: scale(1);
}

.cookie-checkbox:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
  cursor: pointer;
}
.cookie-option--disabled {
  cursor: not-allowed;
}
.cookie-option h3 {
  font-size: 1.2rem;
}
.cookie-option p {
  font-size: 0.9rem;
  margin: 0;
}

/* Consultation Section */
.consultation-section {
  background-color: #f8f9fa;
  padding: 6rem 5%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.consultation-header {
  text-align: center;
  margin-bottom: 1rem;
}

/* Prepress details */
.prepress-details {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.prepress-card {
  background-color: #ffffff;
  color: var(--color-black);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.prepress-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.prepress-card h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.prepress-card p {
  font-size: 0.95rem;
  margin: 0;
}
.prepress-card i,
.prepress-card svg {
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

/* Footer Redesign */
footer {
  background-color: #0a0a0a;
  padding: 5rem 5% 2rem;
  border-top: 1px solid #1a1a1a;
  color: #a3a3a3;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}
.footer-col .logo {
  margin-bottom: 0.5rem;
}
.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #888;
  margin: 0;
  max-width: 400px;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 800;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-links a {
  color: #888;
  text-decoration: none;
  transition: color var(--transition);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  width: fit-content;
}
.footer-links a:hover {
  color: var(--color-gold);
}
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.social-links a {
  color: var(--color-white);
  opacity: 0.5;
  transition:
    opacity var(--transition),
    color var(--transition),
    transform var(--transition);
  display: inline-block;
}
.social-links a:hover {
  opacity: 1;
  color: var(--color-gold);
  transform: translateY(-3px);
}
.footer-contact {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
}
.footer-socials {
  justify-content: flex-start;
  margin-top: 1rem;
  margin-bottom: 0;
}
.nav-bottom .social-links a {
  font-size: 1rem;
  opacity: 0.7;
}
.nav-bottom .social-links a:hover {
  opacity: 1;
  color: var(--color-gold);
}
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-copy {
  color: #555;
  font-size: 0.9rem;
  margin: 0;
}
.footer-creator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #555;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-creator:hover {
  color: var(--color-white);
}
.footer-creator img {
  height: 20px;
  filter: grayscale(100%) brightness(0.7) contrast(1.5);
  transition: all var(--transition);
}
.footer-creator:hover img {
  filter: grayscale(0%) brightness(1) contrast(1);
}

@media (max-width: 1000px) {
  .conversion-container {
    flex-direction: column;
    align-items: center;
  }
  .prepress-details {
    justify-content: center;
  }
  .can-3d-container {
    margin: 2rem 0;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  header .logo-text {
    display: none;
  }
  .contact-container {
    padding: 2.5rem 1.5rem;
  }
  .contact-desc {
    font-size: 0.85rem;
    margin: 0 auto 2rem auto;
  }
  .typebot-placeholder {
    padding: 2.5rem 1.5rem;
  }
  .file-upload-small {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .hero-content {
    transform: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-col {
    align-items: center;
    text-align: center;
  }
  .footer-desc {
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-contact {
    align-items: center;
  }
  .footer-socials {
    justify-content: center;
  }
}

.spot-color {
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.spot-color:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ── Pickr Nano Theme Overrides ── */

/* Main container */
.pcr-app[data-theme='nano'] {
  background: #111 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
  font-family: 'Inter', sans-serif !important;
  padding: 15px !important;
  border: 1px solid #333 !important;
  width: 260px !important;
  max-width: 260px !important;
}

/* Remove Nano arrow/caret */
.pcr-app[data-theme='nano']::after,
.pcr-app[data-theme='nano']::before {
  display: none !important;
}

/* Selection area: override Nano's grid to single column */
.pcr-app[data-theme='nano'] .pcr-selection {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: auto auto !important;
  grid-gap: 10px !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Hide preview circle entirely */
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-preview {
  display: none !important;
}

/* Color palette (gradient square) */
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: 130px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Hue slider – full width */
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser {
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 12px !important;
  border-radius: 6px !important;
  margin: 0 !important;
}

/* Hide opacity slider */
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-opacity {
  display: none !important;
}

/* Swatches container – full width, evenly spaced */
.pcr-app[data-theme='nano'] .pcr-swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 10px 0 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
  justify-content: flex-start !important;
}

/* Swatch buttons – circular, no borders */
.pcr-app[data-theme='nano'] .pcr-swatches > button {
  border-radius: 50% !important;
  width: 20px !important;
  height: 20px !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
.pcr-app[data-theme='nano'] .pcr-swatches > button:focus {
  box-shadow: 0 0 0 2px var(--color-gold) !important;
}

/* Interaction row – input full width */
.pcr-app[data-theme='nano'] .pcr-interaction {
  padding: 10px 0 0 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.pcr-app[data-theme='nano'] .pcr-interaction .pcr-result {
  background: #222 !important;
  color: #fff !important;
  border: 1px solid #333 !important;
  border-radius: 6px !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
  font-size: 0.85rem !important;
  height: 32px !important;
  width: 100% !important;
  flex-grow: 1 !important;
}

/* Hide save button completely */
.pcr-app[data-theme='nano'] .pcr-interaction .pcr-save {
  display: none !important;
}

/* Slider thumb styling */
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-chooser .pcr-picker,
.pcr-app[data-theme='nano'] .pcr-selection .pcr-color-palette .pcr-picker {
  border: 2px solid #fff !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) !important;
}

/* Spin Animation */
.spin {
  animation: spin 2s linear infinite;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Utility Classes (Replacing Inline Styles) */
.flex-col-center-gap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.w-full {
  width: 100%;
}
.max-w-320 {
  max-width: 320px;
}

.finish-content {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 2rem 1.5rem;
}

.file-upload-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.file-title {
  font-size: 1rem;
  font-weight: 600;
}
.file-desc {
  font-size: 0.8rem;
  color: #888;
}

.btn-full {
  justify-content: center;
  width: 100%;
  padding: 1.2rem;
  font-size: 1.2rem;
}

.file-upload-small {
  height: 100%;
  min-height: 80px;
}

/* ── Carbonation Bubbles Animation ── */
.has-bubbles {
  position: relative !important;
  overflow: hidden !important;
}

.bubbles-container {
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  width: 100%; /* Full width container */
  pointer-events: none;
  z-index: 1; /* Keep behind content but visible on the background */
}

.bubble {
  position: absolute;
  border-radius: 50%;
  /* Fizzy soda bubble: clean silver/white transparent gradient with white outline */
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.65) 0%,
    rgba(255, 255, 255, 0.05) 60%,
    rgba(255, 255, 255, 0.25) 100%
  );
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset -1px -1px 3px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  will-change: transform, opacity;
  animation: floatBubble var(--float-duration) ease-in-out var(--float-delay) infinite;
  opacity: 0;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0) translateX(0) scale(0.6);
    opacity: 0;
  }
  5% {
    opacity: var(--bubble-opacity, 0.5);
  }
  90% {
    opacity: var(--bubble-opacity, 0.5);
  }
  100% {
    /* Translate upwards past the height of the section */
    transform: translateY(calc(-1 * var(--container-height) - 30px)) translateX(var(--sway-x))
      scale(1.15);
    opacity: 0;
  }
}
