/* =============================================
   Natural Oil Products - ULTRA MODERN 2026 Design
   With Dark/Light Theme + Multi-language Support
   ============================================= */

/* ===== Theme Variables ===== */
:root {
  /* Shared */
  --color-gold: #d4a84b;
  --color-gold-light: #e8c97e;
  --color-gold-dark: #b8903d;
  --color-amber: #f59e0b;

  --gradient-gold: linear-gradient(135deg, #d4a84b 0%, #f59e0b 50%, #d4a84b 100%);

  --font-main: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Unbounded', 'Manrope', sans-serif;

  /* Fluid Typography */
  --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
  --text-sm: clamp(0.875rem, 2vw, 1rem);
  --text-base: clamp(1rem, 2.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 3vw, 1.5rem);
  --text-xl: clamp(1.5rem, 4vw, 2rem);
  --text-2xl: clamp(2rem, 5vw, 3rem);
  --text-3xl: clamp(2.5rem, 6vw, 4rem);
  --text-hero: clamp(3.5rem, 10vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Effects */
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 32px;
  --blur-xl: 64px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: min(90rem, 92vw);
  --header-h: 5rem;
}

/* ===== DARK Theme (Default) ===== */
[data-theme="dark"] {
  --color-bg: #050508;
  --color-bg-elevated: #0a0a0f;
  --color-bg-card: rgba(15, 15, 25, 0.6);
  --color-bg-glass: rgba(255, 255, 255, 0.02);

  --color-text: #ffffff;
  --color-text-dim: rgba(255, 255, 255, 0.6);
  --color-text-muted: rgba(255, 255, 255, 0.4);

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-gold: rgba(212, 168, 75, 0.3);

  --shadow-glow: 0 0 60px rgba(255, 215, 0, 0.2);
  --shadow-glow-lg: 0 0 100px rgba(255, 215, 0, 0.3);

  --gradient-mesh: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 215, 0, 0.12), transparent);
  --gradient-glow: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(245, 158, 11, 0.1) 100%);
}

/* ===== LIGHT Theme ===== */
[data-theme="light"] {
  --color-bg: #fafafa;
  --color-bg-elevated: #ffffff;
  --color-bg-card: rgba(255, 255, 255, 0.9);
  --color-bg-glass: rgba(0, 0, 0, 0.02);

  --color-text: #1a1a2e;
  --color-text-dim: rgba(26, 26, 46, 0.7);
  --color-text-muted: rgba(26, 26, 46, 0.5);

  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-gold: rgba(180, 140, 50, 0.4);

  --shadow-glow: 0 0 60px rgba(212, 168, 75, 0.25);
  --shadow-glow-lg: 0 0 100px rgba(212, 168, 75, 0.35);

  --gradient-mesh: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 168, 75, 0.15), transparent);
  --gradient-glow: linear-gradient(135deg, rgba(212, 168, 75, 0.4) 0%, rgba(245, 158, 11, 0.15) 100%);
}

/* Light theme specific overrides */
[data-theme="light"] .gradient-orb {
  opacity: 0.1;
}

[data-theme="light"] .particle {
  background: var(--color-gold-dark);
  opacity: 0.2;
}

[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(212, 168, 75, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 75, 0.08) 1px, transparent 1px);
}

[data-theme="light"] .btn-primary {
  box-shadow: 0 4px 20px rgba(212, 168, 75, 0.4);
}

[data-theme="light"] .bento-card,
[data-theme="light"] .product-card,
[data-theme="light"] .contact-form-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .header.scrolled::before {
  background: rgba(250, 250, 250, 0.9);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===== Utilities ===== */
.container {
  width: var(--container);
  margin: 0 auto;
}

.text-gold {
  color: var(--color-gold);
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Floating Particles Background ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 20s infinite linear;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
  animation-duration: 20s;
}

.particle:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
  animation-duration: 28s;
}

.particle:nth-child(4) {
  left: 40%;
  animation-delay: 1s;
  animation-duration: 22s;
}

.particle:nth-child(5) {
  left: 50%;
  animation-delay: 3s;
  animation-duration: 26s;
}

.particle:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
  animation-duration: 21s;
}

.particle:nth-child(7) {
  left: 70%;
  animation-delay: 2s;
  animation-duration: 24s;
}

.particle:nth-child(8) {
  left: 80%;
  animation-delay: 4s;
  animation-duration: 27s;
}

.particle:nth-child(9) {
  left: 90%;
  animation-delay: 1s;
  animation-duration: 23s;
}

.particle:nth-child(10) {
  left: 15%;
  animation-delay: 3s;
  animation-duration: 29s;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.5;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* ===== Gradient Mesh Overlay ===== */
.gradient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: var(--gradient-mesh);
}

.gradient-orb {
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(var(--blur-xl));
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.gradient-orb-1 {
  top: -20%;
  right: -20%;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  animation: orb-float 15s ease-in-out infinite;
}

.gradient-orb-2 {
  bottom: -30%;
  left: -20%;
  background: radial-gradient(circle, var(--color-amber) 0%, transparent 70%);
  animation: orb-float 20s ease-in-out infinite reverse;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(5%, 5%) scale(1.05);
  }

  66% {
    transform: translate(-3%, 3%) scale(0.95);
  }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.85) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

/* Animated gold glow line at bottom */
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-amber), var(--color-gold), transparent);
  transition: width 0.5s ease;
  box-shadow: 0 0 20px var(--color-gold), 0 0 40px rgba(212, 168, 75, 0.3);
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled::after {
  width: 100%;
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 60px rgba(212, 168, 75, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-base);
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: 10px;
  transition: all var(--transition-base);
  box-shadow: 0 0 0 rgba(212, 168, 75, 0);
}

.logo:hover img {
  box-shadow: 0 0 25px rgba(212, 168, 75, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-base);
}

.logo:hover .logo-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 30px rgba(212, 168, 75, 0.5);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-dim);
  padding: var(--space-2) var(--space-1);
  position: relative;
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--color-gold);
}

.nav-link:hover {
  color: var(--color-gold);
  text-shadow: 0 0 20px rgba(212, 168, 75, 0.5);
}

.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--color-gold);
}

.nav-link.active::before {
  transform: translateX(-50%) scaleX(0.6);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: 100px;
}

.lang-btn {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 100px;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-text);
}

.lang-btn.active {
  background: var(--gradient-gold);
  color: var(--color-bg);
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text-dim);
  transition: all var(--transition-base);
}

.theme-toggle:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.theme-icon {
  width: 20px;
  height: 20px;
  transition: all var(--transition-base);
}

.theme-icon.sun {
  display: none;
}

.theme-icon.moon {
  display: block;
}

[data-theme="light"] .theme-icon.sun {
  display: block;
}

[data-theme="light"] .theme-icon.moon {
  display: none;
}

/* Phone & CTA */
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-dim);
  transition: color var(--transition-fast);
}

.header-phone:hover {
  color: var(--color-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #0a0a0a;
  box-shadow: 0 4px 20px rgba(212, 168, 75, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-gold);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  filter: blur(15px);
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(212, 168, 75, 0.5), 0 0 60px rgba(212, 168, 75, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
  animation: btn-pulse 1.5s ease-in-out infinite;
}

@keyframes btn-pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.btn-ghost {
  border: 1px solid var(--color-border-gold);
  color: var(--color-gold);
  backdrop-filter: blur(var(--blur-sm));
}

.btn-ghost:hover {
  background: rgba(212, 168, 75, 0.1);
  border-color: var(--color-gold);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition-base);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--header-h) + var(--space-16)) var(--space-4) var(--space-16);
  overflow: hidden;
  width: 100%;
  /* Desktop background */
  background-image: url('../images/destop.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile background */
@media (max-width: 768px) {
  .hero {
    background-image: url('../images/phone.jpeg');
  }
}

/* Dark overlay for text readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(5, 5, 8, 0.75) 0%,
      rgba(5, 5, 8, 0.65) 50%,
      rgba(5, 5, 8, 0.75) 100%);
  z-index: 0;
}

.hero>.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 40%, transparent 100%);
  animation: grid-move 20s linear infinite;
  z-index: 1;
}

@keyframes grid-move {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }

  100% {
    transform: perspective(500px) rotateX(60deg) translateY(60px);
  }
}

/* Floating Elements */
.hero-float-element {
  position: absolute;
  opacity: 0.6;
  animation: float-3d 6s ease-in-out infinite;
  z-index: 1;
}

.hero-float-element:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: var(--gradient-glow);
  border-radius: 20px;
  border: 1px solid var(--color-border-gold);
  animation-delay: 0s;
}

.hero-float-element:nth-child(2) {
  top: 60%;
  right: 15%;
  width: 60px;
  height: 60px;
  background: var(--gradient-glow);
  border-radius: 50%;
  animation-delay: 2s;
}

.hero-float-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-border-gold);
  border-radius: 8px;
  transform: rotate(45deg);
  animation-delay: 4s;
}

@keyframes float-3d {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

/* Hero Content */
.hero-content {
  text-align: left;
  max-width: 900px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  position: relative;
  z-index: 2;
  padding: 0 var(--space-4) 0 clamp(2rem, 5vw, 4rem);
}

/* Mobile: Center alignment */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    margin: 0 auto;
    padding: 0 var(--space-4);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid var(--color-border-gold);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--color-gold);
  margin-bottom: var(--space-8);
  animation: fade-up 0.8s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  animation: fade-up 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero-title-line {
  display: block;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.15em;
  background: var(--gradient-gold);
  border-radius: 0.1em;
  opacity: 0.5;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-dim);
  max-width: 700px;
  margin: 0 0 var(--space-10) 0;
  animation: fade-up 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  flex-wrap: nowrap;
  animation: fade-up 0.8s ease 0.3s forwards;
  opacity: 0;
  width: 100%;
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-cta {
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
  }

  .hero-cta .btn {
    flex: 0 1 auto;
    min-width: 140px;
    white-space: nowrap;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scroll-line 1.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ===== Section Styling ===== */
.bento-section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid var(--color-border-gold);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-dim);
}

/* ===== Bento Grid ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: var(--space-4);
}

.bento-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-md));
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-glow);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 168, 75, 0.15), rgba(212, 168, 75, 0.05));
  border: 1px solid var(--color-border-gold);
  border-radius: 16px;
  margin-bottom: var(--space-6);
  color: var(--color-gold);
  transition: all var(--transition-spring);
}

.bento-card:hover .bento-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 30px rgba(212, 168, 75, 0.3);
}

.bento-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.bento-text {
  color: var(--color-text-dim);
  font-size: var(--text-base);
  line-height: 1.7;
}

.bento-featured .bento-icon {
  width: 80px;
  height: 80px;
}

.bento-featured .bento-title {
  font-size: var(--text-2xl);
}

.bento-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.bento-stat {
  text-align: center;
}

.bento-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold);
  display: block;
}

.bento-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== Products Section ===== */
.products-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-elevated);
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-gold), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-glow);
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  position: relative;
}

.product-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px dashed var(--color-border-gold);
  border-radius: 50%;
  animation: rotate-slow 20s linear infinite;
}

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

.product-icon {
  font-size: 48px;
}

.product-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.product-desc {
  color: var(--color-text-dim);
  font-size: var(--text-sm);
}

/* ===== Partners Section ===== */
.partners-section {
  padding: var(--space-24) 0;
  position: relative;
  background: var(--color-bg-alt);
}

.partners-grid {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
  justify-content: center;
  flex-wrap: nowrap;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-8);
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}



.partner-card {
  background: transparent;
  border: none;
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  flex: 1;
}

.partner-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  white-space: nowrap;
}

/* Mobile - keep single row */
/* Mobile - keep single row */
@media (max-width: 768px) {
  .partners-grid {
    padding: var(--space-4) var(--space-2);
    gap: var(--space-2);
  }

  .partner-card {
    min-height: 40px;
    padding: var(--space-1);
  }

  .partner-name {
    /* Fluid typography: scales between 10px and 16px depending on viewport width */
    font-size: clamp(0.6rem, 2.5vw, 1rem);
    white-space: nowrap;
  }
}


/* ===== Contact Section ===== */
.contact-section {
  padding: var(--space-24) 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info {
  padding-right: var(--space-8);
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: var(--space-6);
}

.contact-description {
  color: var(--color-text-dim);
  font-size: var(--text-lg);
  margin-bottom: var(--space-10);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-item-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid var(--color-border-gold);
  border-radius: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.contact-item:hover .contact-item-icon {
  background: rgba(212, 168, 75, 0.2);
  transform: scale(1.05);
}

.contact-item-content h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact-item-content p,
.contact-item-content a {
  color: var(--color-text-dim);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.contact-item-content a:hover {
  color: var(--color-gold);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-bg-card);
  backdrop-filter: blur(var(--blur-lg));
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: var(--space-10);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.1), transparent 50%);
  pointer-events: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  z-index: 1;
}

.form-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg-glass);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: rgba(212, 168, 75, 0.03);
  box-shadow: 0 0 0 4px rgba(212, 168, 75, 0.1);
}

.form-input::placeholder {
  color: var(--color-text-muted);
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: var(--space-5);
}

/* ===== Footer ===== */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: var(--color-text-dim);
  font-size: var(--text-sm);
  max-width: 300px;
  margin-top: var(--space-4);
}

.footer-col h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--color-text-dim);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-gold);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===== Responsive ===== */

/* iPad Pro / Tablets (1024px to 1200px) */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* iPad / Tablets (768px to 1024px) */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 var(--space-4);
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex !important;
  }

  .header-actions {
    gap: var(--space-3);
  }

  .header-actions .btn-primary {
    display: none;
  }

  .lang-switcher {
    display: flex !important;
    position: relative;
    z-index: 1001;
  }

  .lang-btn {
    padding: var(--space-2) var(--space-3);
    font-size: 0.8rem;
  }
}

@media (max-width: 900px) {
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(5, 5, 8, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.5;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .nav-link {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 600;
    padding: var(--space-3) var(--space-6);
    opacity: 0;
    transform: translateY(20px);
  }

  .nav.active .nav-link {
    opacity: 1;
    transform: translateY(0);
    animation: nav-link-appear 0.4s ease forwards;
  }

  .nav.active .nav-link:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav.active .nav-link:nth-child(2) {
    animation-delay: 0.15s;
  }

  .nav.active .nav-link:nth-child(3) {
    animation-delay: 0.2s;
  }

  .nav.active .nav-link:nth-child(4) {
    animation-delay: 0.25s;
  }

  @keyframes nav-link-appear {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

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

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
    width: 44px;
    height: 44px;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all var(--transition-base);
  }

  .menu-toggle:hover {
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212, 168, 75, 0.2);
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  .menu-toggle.active {
    background: rgba(212, 168, 75, 0.1);
    border-color: var(--color-gold);
  }

  .menu-toggle.active span {
    background: var(--color-gold);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Language Switcher - Always visible on mobile */
  .lang-switcher {
    display: flex !important;
    order: -1;
    z-index: 1001;
    position: relative;
    background: var(--color-bg-glass);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 4px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
  }

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

  .contact-info {
    padding-right: 0;
    text-align: center;
  }

  .contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    width: 100%;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
  }

  .contact-item-icon {
    width: 44px;
    height: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: span 2;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --text-hero: clamp(2.5rem, 12vw, 4rem);
    --text-3xl: clamp(1.75rem, 6vw, 2.5rem);
  }

  .header {
    height: 70px;
  }

  /* Language Switcher - Compact for small mobile */
  .lang-switcher {
    display: flex !important;
    padding: 2px;
    gap: 2px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 0.7rem;
    font-weight: 700;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: var(--space-12);
    min-height: 100dvh;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: var(--space-2) var(--space-4);
  }

  .hero-title {
    font-size: var(--text-hero);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: var(--text-base);
    padding: 0 var(--space-2);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--space-4);
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
    padding: var(--space-4) var(--space-6);
  }

  .scroll-indicator {
    bottom: var(--space-6);
  }

  .section-header {
    padding: 0 var(--space-2);
  }

  .bento-section,
  .products-section,
  .contact-section {
    padding: var(--space-16) 0;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .bento-card {
    padding: var(--space-6);
  }

  .bento-card.large,
  .bento-card.wide {
    grid-column: span 1;
  }

  .bento-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .bento-stat-value {
    font-size: var(--text-xl);
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .product-card {
    padding: var(--space-6);
  }

  .contact-form-wrapper {
    padding: var(--space-6);
  }

  /* Contact Section - Mobile Optimized */
  .contact-section {
    padding: var(--space-12) 0;
  }

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

  .contact-info {
    text-align: center;
  }

  .contact-info .section-title {
    text-align: center;
    font-size: var(--text-2xl);
  }

  .contact-description {
    font-size: var(--text-base);
    padding: 0 var(--space-2);
  }

  .contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    width: 100%;
    align-items: stretch;
    /* Ensure equal height items in row */
  }

  .contact-item {
    display: flex;
    /* Use flexbox */
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    /* Fill the grid cell */
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
  }

  .contact-item-content {
    width: 100%;
  }

  .contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .contact-item-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-item-content h4 {
    font-size: var(--text-sm);
    margin-bottom: var(--space-1);
    word-break: break-word;
    /* Safety */
  }

  .contact-item-content p,
  .contact-item-content a {
    font-size: var(--text-sm);
    word-break: break-word;
    /* Fix for long emails */
    overflow-wrap: break-word;
    line-height: 1.3;
  }

  /* Contact Form - Mobile */
  .contact-form-wrapper {
    padding: var(--space-5);
    border-radius: 20px;
  }

  .contact-form {
    gap: var(--space-4);
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-4);
    font-size: 16px;
    /* Prevents iOS zoom */
    border-radius: 12px;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .contact-form .btn {
    padding: var(--space-4);
    font-size: var(--text-base);
    border-radius: 12px;
  }

  .footer {
    padding: var(--space-12) 0 var(--space-8);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col {
    text-align: center;
  }

  .footer-links a:hover {
    transform: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* Extra small screens (400px and below) */
@media (max-width: 400px) {
  .header {
    height: 60px;
  }

  .header-inner {
    padding: 0 var(--space-3);
  }

  /* Ultra compact language switcher */
  .lang-switcher {
    padding: 2px;
    gap: 1px;
    border-radius: 8px;
  }

  .lang-btn {
    padding: 4px 6px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 6px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .menu-toggle span {
    width: 18px;
  }

  .logo img {
    height: 32px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.5rem);
    /* Adjusted to prevent overflow */
    word-break: break-word;
    /* Ensure long words break */
  }

  .bento-stats {
    grid-template-columns: 1fr;
    /* Stack stats */
    gap: var(--space-4);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    font-size: var(--text-sm);
  }

  /* Contact Section - Stacked for better readability */
  .contact-section {
    padding: var(--space-8) 0;
  }

  .contact-list {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for better density if space permits, or 1 if too narrow */
    gap: var(--space-2);
    align-items: stretch;
    /* Ensure items stretch to match height */
  }

  /* Force 1 column if width is very small, but 2 columns is better often. 
     User said "squares are not equal", so they likely see 2 columns. */

  .contact-item {
    padding: var(--space-3);
    border-radius: 10px;
    display: flex;
    /* Use flexbox */
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    /* Start from top */
    height: 100%;
    /* Fill the grid cell */
    min-height: 160px;
    /* Force a minimum square-ish shape */
  }

  .contact-item-content {
    width: 100%;
  }

  .contact-item-content p,
  .contact-item-content a {
    font-size: 0.7rem;
    word-break: break-word;
    /* Important for emails */
    overflow-wrap: break-word;
    line-height: 1.3;
  }

  .contact-form-wrapper {
    padding: var(--space-4);
    border-radius: 14px;
  }

  .form-group input,
  .form-group textarea {
    padding: var(--space-3);
    font-size: 16px;
  }

  /* Adjust Section Headers for small screens */
  .section-title {
    font-size: 1.75rem;
    /* Smaller title */
  }

  .section-subtitle {
    font-size: 0.9rem;
    /* Smaller subtitle */
  }
}

/* Tiny screens (330px and below) - Addressing "very bad" experience */
@media (max-width: 330px) {
  :root {
    --space-4: 0.75rem;
    --space-6: 1rem;
    --text-base: 0.875rem;
  }

  .header {
    height: 56px;
  }

  .menu-toggle {
    width: 32px;
    height: 32px;
  }

  .logo {
    gap: var(--space-1);
  }

  .logo img {
    height: 28px;
    border-radius: 6px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  /* Hide Lang switcher text or simplify */
  .lang-switcher {
    transform: scale(0.9);
  }

  .hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: 1.75rem;
    /* Force smaller size */
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .bento-card,
  .product-card {
    padding: var(--space-4);
  }

  /* Footer adjustments */
  .footer-links a {
    font-size: 0.8rem;
    padding: var(--space-1) 0;
  }

  .footer-bottom {
    font-size: 0.7rem;
  }

  /* Ensure no horizontal scroll */
  body,
  html {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}