:root {
  --deepest-abyss: #0A0B10;
  --salt-crystal: #F8F8F8;
  --oceanic-slate: #1C1E26;
  --mercury-thread: #8E9196;
  --phosphor: #E2E8F0;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 2rem;
  
  --shadow-sm: 0 2px 8px rgba(10, 11, 16, 0.1);
  --shadow-md: 0 4px 16px rgba(10, 11, 16, 0.15);
  --shadow-lg: 0 8px 32px rgba(10, 11, 16, 0.2);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--deepest-abyss);
  color: var(--salt-crystal);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 0.9rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1rem, 2vw, 1.5rem);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 11, 16, 0.8);
  backdrop-filter: blur(20px);
  transform: translateY(0);
  transition: transform var(--transition-luxury);
}

header.hidden {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--phosphor), transparent);
  transform: translateX(-100%);
  transition: transform var(--transition-luxury);
}

.logo:hover::after {
  transform: translateX(0);
}

nav ul {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: var(--space-xs) 0;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--phosphor);
  transition: all var(--transition-smooth);
  transform: translateX(-50%);
}

nav a:hover::before {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 1.5rem;
  height: 2px;
  background: var(--salt-crystal);
  transition: all var(--transition-smooth);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--space-md);
}

.hero h1 {
  margin-bottom: var(--space-md);
  transform: translateY(2rem);
  animation: fadeInUp 1s var(--transition-luxury) forwards;
}

.hero p {
  font-size: 1.1rem;
  color: var(--mercury-thread);
  margin-bottom: var(--space-lg);
  transform: translateY(2rem);
  animation: fadeInUp 1s var(--transition-luxury) 0.2s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== NEW HERO VARIANTS – Modern Design with Animations ========== */

/* Base hero v2 - shared structure */
.hero-v2 h1 {
  transform: none;
  animation: none;
}

.hero-v2 p {
  transform: none;
  animation: none;
}

.hero-v2 .btn {
  transform: none;
  animation: none;
}

.hero-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-v2.hero-short {
  min-height: 70vh;
}

.hero-v2.hero-contact {
  min-height: 60vh;
}

/* ----- HOME HERO: Gradient Mesh + Animated Orbs ----- */
.hero-home-v2 {
  background: var(--deepest-abyss);
}

.hero-home-v2 .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(226, 232, 240, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(142, 145, 150, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(226, 232, 240, 0.03) 0%, transparent 60%);
}

.hero-home-v2 .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-home-v2 .hero-orb:nth-child(1) {
  width: 400px;
  height: 400px;
  background: rgba(226, 232, 240, 0.07);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-home-v2 .hero-orb:nth-child(2) {
  width: 300px;
  height: 300px;
  background: rgba(226, 232, 240, 0.05);
  bottom: 20%;
  right: 15%;
  animation-delay: -4s;
}

.hero-home-v2 .hero-orb:nth-child(3) {
  width: 250px;
  height: 250px;
  background: rgba(142, 145, 150, 0.06);
  top: 50%;
  left: 50%;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-home-v2 .hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(226, 232, 240, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero-home-v2 .hero-content {
  position: relative;
  z-index: 2;
}

.hero-home-v2 h1 {
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.hero-home-v2 h1 .line {
  display: block;
  transform: translateY(120%);
  animation: heroRevealUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-home-v2 h1 .line:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-home-v2 .hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--phosphor);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(20px);
  animation: heroRevealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-home-v2 p {
  opacity: 0;
  transform: translateY(30px);
  animation: heroRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero-home-v2 .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: heroRevealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes heroRevealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----- COMFORT HERO: Morphing Blobs + Warm Glow ----- */
.hero-comfort-v2 {
  background: linear-gradient(180deg, var(--deepest-abyss) 0%, #0f1118 100%);
}

.hero-comfort-v2 .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-comfort-v2 .hero-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blobMorph 15s ease-in-out infinite;
}

.hero-comfort-v2 .hero-blob:nth-child(1) {
  width: 500px;
  height: 500px;
  background: rgba(226, 232, 240, 0.06);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-comfort-v2 .hero-blob:nth-child(2) {
  width: 350px;
  height: 350px;
  background: rgba(226, 232, 240, 0.05);
  bottom: -5%;
  left: -5%;
  animation-delay: -5s;
  animation-duration: 18s;
}

.hero-comfort-v2 .hero-blob:nth-child(3) {
  width: 200px;
  height: 200px;
  background: rgba(142, 145, 150, 0.04);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
  animation-duration: 12s;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) rotate(0deg); }
  25% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; transform: translate(20px, -30px) rotate(5deg); }
  50% { border-radius: 50% 60% 30% 70% / 50% 30% 70% 50%; transform: translate(-20px, 20px) rotate(-5deg); }
  75% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: translate(10px, 10px) rotate(3deg); }
}

.hero-comfort-v2 .hero-content {
  position: relative;
  z-index: 2;
}

.hero-comfort-v2 h1 {
  clip-path: inset(0 100% 0 0);
  animation: heroClipReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-comfort-v2 p {
  opacity: 0;
  transform: translateY(25px);
  animation: heroRevealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes heroClipReveal {
  to { clip-path: inset(0 0 0 0); }
}

/* ----- REFINED HERO: Minimal Grid + Line Reveal ----- */
.hero-refined-v2 {
  background: var(--deepest-abyss);
}

.hero-refined-v2 .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: 
    linear-gradient(90deg, rgba(226, 232, 240, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(226, 232, 240, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-refined-v2 .hero-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--phosphor), transparent);
  opacity: 0.3;
  z-index: 1;
}

.hero-refined-v2 .hero-line.horizontal {
  width: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  animation: lineExpand 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.hero-refined-v2 .hero-line.vertical {
  width: 1px;
  height: 0;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--phosphor), transparent);
  animation: lineExpandVertical 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes lineExpand {
  to { width: 60vw; }
}

@keyframes lineExpandVertical {
  to { height: 120px; }
}

.hero-refined-v2 .hero-content {
  position: relative;
  z-index: 2;
}

.hero-refined-v2 h1 {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  animation: heroRefinedReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

@keyframes heroRefinedReveal {
  to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

.hero-refined-v2 p {
  opacity: 0;
  transform: translateY(20px);
  animation: heroRevealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.4s forwards;
}

/* ----- CONTACT HERO: Connection Nodes + Pulse ----- */
.hero-contact-v2 {
  background: var(--deepest-abyss);
}

.hero-contact-v2 .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(226, 232, 240, 0.04) 0%, transparent 50%);
}

.hero-contact-v2 .hero-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--phosphor);
  opacity: 0.6;
  z-index: 1;
  animation: nodePulse 2s ease-in-out infinite;
}

.hero-contact-v2 .hero-node:nth-child(1) { top: 25%; left: 20%; animation-delay: 0s; }
.hero-contact-v2 .hero-node:nth-child(2) { top: 35%; right: 25%; animation-delay: 0.3s; }
.hero-contact-v2 .hero-node:nth-child(3) { bottom: 30%; left: 30%; animation-delay: 0.6s; }
.hero-contact-v2 .hero-node:nth-child(4) { bottom: 35%; right: 20%; animation-delay: 0.9s; }
.hero-contact-v2 .hero-node:nth-child(5) { top: 50%; left: 15%; animation-delay: 0.2s; }
.hero-contact-v2 .hero-node:nth-child(6) { top: 45%; right: 18%; animation-delay: 0.5s; }

@keyframes nodePulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.5); opacity: 0.9; }
}

.hero-contact-v2 .hero-content {
  position: relative;
  z-index: 2;
}

.hero-contact-v2 h1 {
  opacity: 0;
  transform: scale(0.9);
  animation: heroContactReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-contact-v2 p {
  opacity: 0;
  transform: translateY(15px);
  animation: heroRevealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes heroContactReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ensure hero v2 content inherits base hero p styling */
.hero-v2 p {
  font-size: 1.1rem;
  color: var(--mercury-thread);
  margin-bottom: var(--space-lg);
}

.hero-v2 .btn {
  margin-top: 0;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--oceanic-slate);
  color: var(--salt-crystal);
  border: 1px solid var(--mercury-thread);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  font-family: var(--font-body);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--phosphor), transparent);
  transition: left var(--transition-luxury);
  opacity: 0.1;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  border-color: var(--phosphor);
  box-shadow: 0 0 20px rgba(226, 232, 240, 0.2);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--phosphor);
  color: var(--deepest-abyss);
  border-color: var(--phosphor);
}

section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  transform: translateY(2rem);
  transition: all var(--transition-luxury);
}

.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-subtitle {
  color: var(--mercury-thread);
  font-size: 0.95rem;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
}

.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--oceanic-slate);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  transform: translateY(2rem);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-0.5rem);
  border-color: var(--mercury-thread);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  color: var(--phosphor);
}

.card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.3rem;
}

.card p {
  color: var(--mercury-thread);
  font-size: 0.85rem;
  line-height: 1.7;
}

.asymmetric-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.asymmetric-content {
  transform: translateX(-3rem);
  transition: all var(--transition-luxury);
}

.asymmetric-content.visible {
  transform: translateX(0);
  opacity: 1;
}

.asymmetric-image {
  position: relative;
  transform: translateX(3rem) rotate(3deg);
  transition: all var(--transition-luxury);
}

.asymmetric-image.visible {
  transform: translateX(0) rotate(0deg);
  opacity: 1;
}

.asymmetric-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.product-card {
  background: var(--oceanic-slate);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-0.5rem) scale(1.02);
  border-color: var(--phosphor);
  box-shadow: var(--shadow-lg);
}

.product-image {
  width: 100%;
  height: 250px;
  background: var(--deepest-abyss);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(226, 232, 240, 0.1), transparent);
  transition: left var(--transition-luxury);
}

.product-card:hover .product-image::after {
  left: 100%;
}

.product-info {
  padding: var(--space-md);
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.product-description {
  color: var(--mercury-thread);
  font-size: 0.85rem;
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--phosphor);
  margin-bottom: var(--space-sm);
}

.contact-section {
  background: var(--oceanic-slate);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-md);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.05), transparent);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-item i {
  color: var(--phosphor);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.contact-item-content h4 {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: var(--mercury-thread);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-item-content p {
  font-size: 0.9rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mercury-thread);
}

input, textarea {
  background: var(--deepest-abyss);
  border: 1px solid var(--mercury-thread);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  color: var(--salt-crystal);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all var(--transition-smooth);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 3px rgba(226, 232, 240, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.3rem;
}

.checkbox-group label {
  text-transform: none;
  font-size: 0.75rem;
  line-height: 1.5;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--oceanic-slate);
  padding: var(--space-md);
  text-align: center;
  font-size: 0.75rem;
  color: var(--mercury-thread);
  border-top: 1px solid rgba(142, 145, 150, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  transition: color var(--transition-smooth);
}

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

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--oceanic-slate);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  transform: translateY(100%);
  transition: transform var(--transition-luxury);
  z-index: 2000;
  border-top: 2px solid var(--phosphor);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-content p {
  font-size: 0.8rem;
  color: var(--mercury-thread);
  flex: 1;
  min-width: 250px;
}

.privacy-buttons {
  display: flex;
  gap: var(--space-sm);
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.error-content h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--phosphor);
  margin-bottom: var(--space-sm);
}

.error-content h2 {
  margin-bottom: var(--space-md);
}

.error-content p {
  color: var(--mercury-thread);
  margin-bottom: var(--space-lg);
}

.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.thankyou-content {
  max-width: 600px;
}

.thankyou-icon {
  font-size: 4rem;
  color: var(--phosphor);
  margin-bottom: var(--space-md);
  animation: scaleIn 0.6s var(--transition-luxury);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.thankyou-content h1 {
  margin-bottom: var(--space-md);
}

.thankyou-content p {
  color: var(--mercury-thread);
  margin-bottom: var(--space-lg);
}

.policy-page {
  padding-top: 6rem;
  padding-bottom: var(--space-xl);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.policy-content h1 {
  margin-bottom: var(--space-md);
}

.policy-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.policy-content p {
  margin-bottom: var(--space-sm);
  color: var(--mercury-thread);
  line-height: 1.8;
}

.policy-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  color: var(--mercury-thread);
}

.policy-content li {
  margin-bottom: var(--space-xs);
  line-height: 1.8;
}

.overlap-section {
  position: relative;
  margin-top: -5rem;
  z-index: 10;
}

.angled-section {
  transform: skewY(-2deg);
  padding: var(--space-xl) 0;
  background: var(--oceanic-slate);
  margin: var(--space-xl) 0;
}

.angled-section > * {
  transform: skewY(2deg);
}

.thankyou-luxury {
  max-width: 700px;
  text-align: center;
}

.thankyou-icon-wrapper {
  margin-bottom: var(--space-lg);
}

.icon-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--oceanic-slate), var(--deepest-abyss));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: scaleIn 0.6s var(--transition-luxury);
}

.icon-circle::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--phosphor), var(--mercury-thread));
  z-index: -1;
  animation: rotate 3s linear infinite;
}

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

.icon-circle i {
  font-size: 3rem;
  color: var(--phosphor);
}

.thankyou-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--phosphor), transparent);
  margin: var(--space-md) auto;
}

.thankyou-lead {
  font-size: 1.1rem;
  color: var(--salt-crystal);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.thankyou-text {
  color: var(--mercury-thread);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.thankyou-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.error-luxury {
  max-width: 700px;
  text-align: center;
}

.error-number {
  font-size: clamp(6rem, 15vw, 10rem);
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--phosphor), var(--mercury-thread));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.error-divider {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--phosphor), transparent);
  margin: var(--space-md) auto var(--space-lg);
}

.error-text {
  color: var(--mercury-thread);
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.policy-luxury {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.policy-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 2px solid var(--oceanic-slate);
  position: relative;
}

.policy-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--phosphor);
}

.policy-header h1 {
  margin-bottom: var(--space-sm);
}

.policy-date {
  color: var(--mercury-thread);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.policy-section {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--oceanic-slate);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--phosphor);
  transition: all var(--transition-smooth);
}

.policy-section:hover {
  transform: translateX(0.5rem);
  box-shadow: var(--shadow-md);
}

.policy-section h2 {
  margin-bottom: var(--space-md);
  color: var(--phosphor);
  font-size: 1.5rem;
}

.policy-section h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--salt-crystal);
  font-size: 1.1rem;
}

.policy-section p {
  margin-bottom: var(--space-sm);
  color: var(--mercury-thread);
  line-height: 1.8;
}

.policy-section ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
  color: var(--mercury-thread);
}

.policy-section li {
  margin-bottom: var(--space-xs);
  line-height: 1.8;
  position: relative;
  padding-left: var(--space-sm);
}

.policy-section li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--phosphor);
}

.contact-box {
  background: var(--deepest-abyss);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--mercury-thread);
  margin-top: var(--space-md);
}

.contact-box p {
  color: var(--salt-crystal);
  line-height: 1.8;
}

.contact-box strong {
  color: var(--phosphor);
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--oceanic-slate);
    flex-direction: column;
    padding: 5rem var(--space-md);
    transition: right var(--transition-smooth);
    box-shadow: var(--shadow-lg);
  }

  nav ul.active {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .asymmetric-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .asymmetric-content,
  .asymmetric-image {
    transform: none;
  }

  .hero,
  .hero-v2 {
    padding-top: 4rem;
  }

  .hero-home-v2 .hero-orb:nth-child(1) { width: 250px; height: 250px; }
  .hero-home-v2 .hero-orb:nth-child(2) { width: 180px; height: 180px; }
  .hero-home-v2 .hero-orb:nth-child(3) { width: 120px; height: 120px; }

  .hero-comfort-v2 .hero-blob:nth-child(1) { width: 300px; height: 300px; }
  .hero-comfort-v2 .hero-blob:nth-child(2) { width: 200px; height: 200px; }

  .hero-refined-v2 .hero-line.horizontal {
    animation: lineExpandMobile 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
  }

  @keyframes lineExpandMobile {
    to { width: 85vw; }
  }

  .hero-contact-v2 .hero-node {
    width: 6px;
    height: 6px;
  }

  h1 {
    font-size: 2rem;
  }

  .privacy-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .thankyou-actions,
  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .thankyou-actions .btn,
  .error-actions .btn {
    width: 100%;
  }

  .policy-section {
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    font-size: 14px;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  section {
    padding: var(--space-lg) 0;
  }

  .contact-section {
    padding: var(--space-md);
    margin: var(--space-sm);
  }

  .icon-circle {
    width: 90px;
    height: 90px;
  }

  .icon-circle i {
    font-size: 2rem;
  }

  .error-number {
    font-size: 5rem;
  }

  .policy-luxury {
    padding: 0 var(--space-sm);
  }

  .policy-section {
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  .policy-section li {
    font-size: 0.85rem;
  }
}

/* 320px – Extra-small devices (iPhone SE, Galaxy Fold) */
@media (max-width: 320px) {
  :root {
    font-size: 13px;
    --space-xs: 0.4rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --radius-sm: 0.4rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
  }

  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-width: 280px;
    overflow-x: hidden;
  }

  .container {
    padding: 0 var(--space-xs);
    max-width: 100%;
  }

  /* Header */
  .header-content {
    padding: var(--space-xs) var(--space-sm);
  }

  .logo {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
  }

  nav ul {
    width: 85%;
    padding: 4.5rem var(--space-sm);
  }

  /* Hero */
  .hero,
  .hero-v2 {
    min-height: 90vh;
    padding-top: 3.5rem;
    padding-bottom: var(--space-md);
  }

  .hero-short,
  .hero-v2.hero-short {
    min-height: 65vh;
  }

  .hero-contact,
  .hero-v2.hero-contact {
    min-height: 55vh;
  }

  .hero-content {
    padding: var(--space-xs);
    max-width: 100%;
  }

  .hero-home-v2 h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .hero-home-v2 .hero-tag {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .hero-home-v2 p,
  .hero-v2 p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
  }

  .hero-home-v2 .hero-orb:nth-child(1),
  .hero-comfort-v2 .hero-blob:nth-child(1) {
    width: 150px;
    height: 150px;
  }

  .hero-home-v2 .hero-orb:nth-child(2),
  .hero-comfort-v2 .hero-blob:nth-child(2) {
    width: 100px;
    height: 100px;
  }

  .hero-home-v2 .hero-orb:nth-child(3),
  .hero-comfort-v2 .hero-blob:nth-child(3) {
    width: 80px;
    height: 80px;
  }

  .hero-contact-v2 .hero-node {
    width: 5px;
    height: 5px;
  }

  /* Typography */
  h1 {
    font-size: 1.75rem;
    word-wrap: break-word;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  /* Sections */
  section {
    padding: var(--space-lg) 0;
  }

  .section-title {
    margin-bottom: var(--space-md);
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-top: var(--space-xs);
  }

  /* Grid & cards */
  .grid {
    gap: var(--space-sm);
    grid-template-columns: 1fr;
  }

  .card {
    padding: var(--space-sm);
    min-width: 0;
  }

  .card-icon {
    font-size: 1.4rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  /* Product cards */
  .product-card {
    min-width: 0;
  }

  .product-image {
    height: 160px;
  }

  .product-info {
    padding: var(--space-sm);
  }

  .product-title {
    font-size: 1rem;
  }

  .product-description {
    font-size: 0.8rem;
  }

  .product-price {
    font-size: 1.25rem;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Asymmetric / contact sections */
  .asymmetric-section {
    gap: var(--space-md);
  }

  .contact-section {
    padding: var(--space-sm);
    margin: var(--space-xs);
    border-radius: var(--radius-md);
  }

  .contact-grid {
    gap: var(--space-md);
  }

  .contact-item {
    margin-bottom: var(--space-sm);
  }

  .contact-item i {
    font-size: 1rem;
  }

  .contact-item-content h4 {
    font-size: 0.75rem;
  }

  .contact-item-content p {
    font-size: 0.8rem;
  }

  /* Forms */
  input,
  textarea {
    padding: 0.65rem;
    font-size: 16px;
    min-height: 44px;
  }

  textarea {
    min-height: 100px;
  }

  .checkbox-group label {
    font-size: 0.7rem;
  }

  /* Map */
  .map-container {
    height: 280px;
    margin-top: var(--space-md);
  }

  .map-container iframe {
    min-height: 280px;
  }

  /* Footer */
  footer {
    padding: var(--space-sm);
  }

  .footer-content {
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.7rem;
    text-align: center;
  }

  .footer-links {
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-links a {
    font-size: 0.7rem;
  }

  /* Privacy popup */
  .privacy-popup {
    padding: var(--space-sm);
  }

  .privacy-content {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .privacy-content p {
    font-size: 0.75rem;
    min-width: unset;
  }

  .privacy-buttons {
    flex-direction: column;
  }

  .privacy-buttons .btn {
    width: 100%;
  }

  /* Error / thank you pages */
  .icon-circle {
    width: 70px;
    height: 70px;
  }

  .icon-circle i {
    font-size: 1.5rem;
  }

  .error-number {
    font-size: 3.5rem;
  }

  .thankyou-content h1,
  .error-luxury h2 {
    font-size: 1.5rem;
  }

  .thankyou-actions,
  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .thankyou-actions .btn,
  .error-actions .btn {
    width: 100%;
  }

  /* Policy pages */
  .policy-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
  }

  .policy-section {
    padding: var(--space-xs);
    margin-bottom: var(--space-sm);
  }

  .policy-section h2 {
    font-size: 1.1rem;
  }

  .policy-section p,
  .policy-section li {
    font-size: 0.8rem;
  }

  .contact-box {
    padding: var(--space-sm);
    font-size: 0.85rem;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  .asymmetric-image img {
    border-radius: var(--radius-md);
  }

  /* Prevent overflow */
  .asymmetric-content,
  .hero-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: all var(--transition-luxury);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-3rem);
  transition: all var(--transition-luxury);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(3rem);
  transition: all var(--transition-luxury);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-luxury);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
