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

:root {
  --ice:        #b8d8ea;
  --ice-light:  #daeef8;
  --ice-dim:    #6a9ab8;
  --gold:       #c4a35a;
  --gold-light: #e2c98a;
  --black:      #06090c;
  --dark:       #0a0f14;
  --dark2:      #0f161d;
  --dark3:      #141e27;
  --dark4:      #1b2a36;
  --mid:        #243344;
  --white:      #f0f5f8;
  --offwhite:   #c8d8e4;
  --muted:      #6b8496;
  --muted2:     #4a6070;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --nav-h:        76px;
  --section-pad:  120px;
  --radius:       16px;
  --radius-sm:    8px;
}

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

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ===== TYPOGRAPHY ===== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.07;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
  color: var(--ice);
}

.section-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.body-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ===== LAYOUT ===== */
.container         { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.section           { padding: var(--section-pad) 0; position: relative; }
.section-dark      { background: var(--dark2); }
.section-header    { text-align: center; max-width: 600px; margin: 0 auto 72px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--offwhite);
  border: 1px solid rgba(176, 196, 210, 0.25);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-ghost:hover {
  border-color: rgba(176, 196, 210, 0.6);
  color: var(--white);
  background: rgba(176,196,210,0.06);
}

.btn-full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s;
}

#navbar.scrolled {
  background: rgba(6, 9, 12, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(196, 163, 90, 0.12);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.logo:hover .logo-mark { transform: rotate(90deg); }

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
}

.logo-safi {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--white);
}
.logo-ice {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-left: 7px;
}

.footer-logo { margin-bottom: 4px; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--offwhite);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1px solid rgba(196,163,90,0.4) !important;
  padding: 10px 24px;
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  transition: all 0.25s !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.nav-cta:hover {
  background: rgba(196,163,90,0.1) !important;
  border-color: var(--gold) !important;
}
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger span:first-child  { width: 24px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:last-child   { width: 20px; }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(6, 9, 12, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(196,163,90,0.12);
  padding: 8px 0 20px;
}
.mobile-menu.open { display: flex; }

.mobile-link {
  padding: 16px 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--offwhite);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s;
}
.mobile-link:hover { color: var(--gold); }
.mobile-cta { color: var(--gold); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%,   #081828 0%, transparent 65%),
    radial-gradient(ellipse 60%  50% at 80% 70%,  #051218 0%, transparent 70%),
    radial-gradient(ellipse 50%  60% at 10% 60%,  #04111e 0%, transparent 60%),
    var(--black);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100,160,200,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,160,200,0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 75%);
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(100,170,210,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  left: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196,163,90,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.ice-particles { position: absolute; inset: 0; pointer-events: none; }

.ice-particle {
  position: absolute;
  background: rgba(200, 232, 245, 0.2);
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0%   { transform: translateY(0) rotate(0deg);   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 0.2; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 40px;
  padding-top: var(--nav-h);
  padding-bottom: 120px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.hero-eyebrow::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(58px, 9vw, 110px);
  font-weight: 300;
  line-height: 0.97;
  color: var(--white);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--ice);
  display: block;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto 32px;
  opacity: 0.6;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 52px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero bottom bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  border-top: 1px solid rgba(196,163,90,0.1);
  background: rgba(6,9,12,0.6);
  backdrop-filter: blur(12px);
}

.hero-stat {
  flex: 1;
  padding: 24px 32px;
  text-align: center;
  border-right: 1px solid rgba(196,163,90,0.08);
}
.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--ice-light);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
}
.marquee-item::after {
  content: '◆';
  font-size: 6px;
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text .section-eyebrow { margin-bottom: 24px; }

.about-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 36px 0;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.about-signature-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.about-signature p {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted2);
  margin: 0;
  line-height: 1.6;
}
.about-signature strong {
  display: block;
  color: var(--offwhite);
  font-weight: 500;
  font-size: 13px;
}

/* Ice card */
.ice-card {
  background: linear-gradient(145deg, #0f1e2c 0%, #0a1520 100%);
  border: 1px solid rgba(196,163,90,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(100,160,200,0.05) inset,
    0 1px 0 rgba(255,255,255,0.04) inset;
}

.ice-card-inner {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(80,150,200,0.1) 0%, transparent 65%);
  min-height: 260px;
}

#iceCube {
  display: block;
  border-radius: 8px;
}

.shape-canvas { display: block; width: 100px; height: 100px; }
.shape-svg    { display: none; width: 80px; height: 80px; }

/* Default: show SVG on all devices */
.desktop-only { display: none !important; }
.mobile-only  { display: block !important; }

/* Desktop only: switch to WebGL canvas */
@media (min-width: 1024px) and (pointer: fine) {
  .desktop-only { display: block !important; }
  .mobile-only  { display: none !important; }
}

/* ===== CSS 3D SHAPES ===== */
.product-icon { perspective: 300px; }

.css-shape {
  position: relative;
  transform-style: preserve-3d;
  margin: auto;
}

/* Shared face style */
.cs-face {
  position: absolute;
  background: rgba(184,220,245,0.15);
  border: 1px solid rgba(184,220,245,0.45);
  backface-visibility: visible;
}

/* === CUBE (01) === */
.css-cube {
  width: 52px; height: 52px;
  animation: cssRotate 8s linear infinite;
}
.css-cube .cs-front  { width:52px; height:52px; transform: translateZ(26px); }
.css-cube .cs-back   { width:52px; height:52px; transform: rotateY(180deg) translateZ(26px); }
.css-cube .cs-left   { width:52px; height:52px; transform: rotateY(-90deg) translateZ(26px); }
.css-cube .cs-right  { width:52px; height:52px; transform: rotateY(90deg)  translateZ(26px); }
.css-cube .cs-top    { width:52px; height:52px; transform: rotateX(90deg)  translateZ(26px); background: rgba(184,220,245,0.25); }
.css-cube .cs-bottom { width:52px; height:52px; transform: rotateX(-90deg) translateZ(26px); }

/* === SPHERE (02) — CSS sphere illusion === */
.css-sphere {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(210,240,255,0.35), rgba(100,180,220,0.12) 60%, rgba(50,120,170,0.06));
  border: 1px solid rgba(184,220,245,0.4);
  box-shadow: 0 0 30px rgba(100,180,220,0.2), inset 0 0 20px rgba(184,220,245,0.08);
  animation: cssSpin 7s linear infinite;
}

/* === SPEAR (03) === */
.css-spear {
  width: 28px; height: 70px;
  animation: cssRotate 9s linear infinite;
}
.css-spear .cs-front  { width:28px; height:70px; transform: translateZ(14px); }
.css-spear .cs-back   { width:28px; height:70px; transform: rotateY(180deg) translateZ(14px); }
.css-spear .cs-left   { width:14px; height:70px; transform: rotateY(-90deg) translateZ(14px); }
.css-spear .cs-right  { width:14px; height:70px; transform: rotateY(90deg)  translateZ(14px); }
.css-spear .cs-top    { width:28px; height:14px; transform: rotateX(90deg)  translateZ(56px); background: rgba(184,220,245,0.3); }
.css-spear .cs-bottom { width:28px; height:14px; transform: rotateX(-90deg) translateZ(14px); }

/* === PEBBLE cluster (04) — two small cubes === */
.css-pebble {
  width: 70px; height: 70px;
  animation: cssRotate 10s linear infinite;
}
.cs-p1 {
  position: absolute;
  width: 34px; height: 34px;
  top: 4px; left: 4px;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateZ(10deg);
}
.cs-p2 {
  position: absolute;
  width: 28px; height: 28px;
  bottom: 4px; right: 4px;
  transform-style: preserve-3d;
  transform: rotateX(-10deg) rotateZ(-15deg);
}
.cs-p1 .cs-front  { width:34px; height:34px; transform: translateZ(17px); }
.cs-p1 .cs-back   { width:34px; height:34px; transform: rotateY(180deg) translateZ(17px); }
.cs-p1 .cs-left   { width:34px; height:34px; transform: rotateY(-90deg) translateZ(17px); }
.cs-p1 .cs-right  { width:34px; height:34px; transform: rotateY(90deg)  translateZ(17px); }
.cs-p1 .cs-top    { width:34px; height:34px; transform: rotateX(90deg)  translateZ(17px); background: rgba(184,220,245,0.3); }
.cs-p1 .cs-bottom { width:34px; height:34px; transform: rotateX(-90deg) translateZ(17px); }
.cs-p2 .cs-front  { width:28px; height:28px; transform: translateZ(14px); }
.cs-p2 .cs-back   { width:28px; height:28px; transform: rotateY(180deg) translateZ(14px); }
.cs-p2 .cs-left   { width:28px; height:28px; transform: rotateY(-90deg) translateZ(14px); }
.cs-p2 .cs-right  { width:28px; height:28px; transform: rotateY(90deg)  translateZ(14px); }
.cs-p2 .cs-top    { width:28px; height:28px; transform: rotateX(90deg)  translateZ(14px); background: rgba(184,220,245,0.3); }
.cs-p2 .cs-bottom { width:28px; height:28px; transform: rotateX(-90deg) translateZ(14px); }

/* === BRANDED cube (05) — cube with gold diamond === */
.css-branded {
  width: 52px; height: 52px;
  animation: cssRotate 8s linear infinite;
}
.css-branded .cs-front  { width:52px; height:52px; transform: translateZ(26px); background: rgba(196,163,90,0.08); border-color: rgba(196,163,90,0.5); }
.css-branded .cs-back   { width:52px; height:52px; transform: rotateY(180deg) translateZ(26px); }
.css-branded .cs-left   { width:52px; height:52px; transform: rotateY(-90deg) translateZ(26px); }
.css-branded .cs-right  { width:52px; height:52px; transform: rotateY(90deg)  translateZ(26px); }
.css-branded .cs-top    { width:52px; height:52px; transform: rotateX(90deg)  translateZ(26px); background: rgba(196,163,90,0.15); }
.css-branded .cs-bottom { width:52px; height:52px; transform: rotateX(-90deg) translateZ(26px); }

/* === BLOCK (06) — wide flat slab === */
.css-block {
  width: 70px; height: 44px;
  animation: cssRotate 11s linear infinite;
}
.css-block .cs-front  { width:70px; height:44px; transform: translateZ(18px); }
.css-block .cs-back   { width:70px; height:44px; transform: rotateY(180deg) translateZ(18px); }
.css-block .cs-left   { width:18px; height:44px; transform: rotateY(-90deg) translateZ(18px); }
.css-block .cs-right  { width:18px; height:44px; transform: rotateY(90deg)  translateZ(52px); }
.css-block .cs-top    { width:70px; height:18px; transform: rotateX(90deg)  translateZ(26px); background: rgba(184,220,245,0.3); }
.css-block .cs-bottom { width:70px; height:18px; transform: rotateX(-90deg) translateZ(18px); }

@keyframes cssRotate {
  0%   { transform: rotateX(20deg) rotateY(0deg); }
  100% { transform: rotateX(20deg) rotateY(360deg); }
}
@keyframes cssSpin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.ice-cube-wrapper {
  transform-style: preserve-3d;
}

.ice-cube-visual {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(22deg) rotateY(-30deg);
  animation: rotateCube 12s linear infinite;
  filter:
    drop-shadow(0 0 40px rgba(140, 200, 240, 0.35))
    drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

@keyframes rotateCube {
  from { transform: rotateX(22deg) rotateY(-30deg); }
  to   { transform: rotateX(22deg) rotateY(330deg); }
}

.cube-face {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(190, 230, 252, 0.45);
  backface-visibility: visible;
}

/* Front */
.cube-face-front  { transform: translateZ(60px);
  background: linear-gradient(135deg, rgba(190,228,252,0.18) 0%, rgba(120,185,225,0.08) 100%); }
/* Back */
.cube-face-back   { transform: rotateY(180deg) translateZ(60px);
  background: linear-gradient(135deg, rgba(160,210,240,0.1) 0%, rgba(100,170,215,0.05) 100%); }
/* Left */
.cube-face-left   { transform: rotateY(-90deg) translateZ(60px);
  background: linear-gradient(135deg, rgba(150,205,238,0.08) 0%, rgba(90,160,210,0.04) 100%); }
/* Right */
.cube-face-right  { transform: rotateY(90deg) translateZ(60px);
  background: linear-gradient(135deg, rgba(175,220,248,0.14) 0%, rgba(110,178,220,0.06) 100%); }
/* Top */
.cube-face-top    { transform: rotateX(90deg) translateZ(60px);
  background: linear-gradient(135deg, rgba(210,238,255,0.28) 0%, rgba(160,215,242,0.14) 100%); }
/* Bottom */
.cube-face-bottom { transform: rotateX(-90deg) translateZ(60px);
  background: rgba(80,140,180,0.04); }

/* Highlight shimmer on top face */
.cube-face-top::after {
  content: '';
  position: absolute;
  top: 15%; left: 15%;
  width: 30%; height: 25%;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  transform: rotate(-20deg);
  filter: blur(3px);
}

/* Edge highlight on front face */
.cube-face-front::after {
  content: '';
  position: absolute;
  top: 8px; left: 8px;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
  transform: rotate(-35deg);
  filter: blur(2px);
}

.ice-card-stats {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(196,163,90,0.1);
  padding: 28px 40px;
  background: rgba(0,0,0,0.15);
}

.stat { flex: 1; text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--ice-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 10px;
  color: var(--muted2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(196,163,90,0.15);
  margin: 0 8px;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(196,163,90,0.1);
  border-radius: var(--radius);
  overflow: visible;
  background: rgba(196,163,90,0.1);
}

.product-card {
  background: var(--dark3);
  padding: 44px 36px;
  transition: background 0.35s;
  position: relative;
  text-align: center;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,163,90,0.35), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.product-card:hover { background: var(--dark4); }
.product-card:hover::before { opacity: 1; }

.product-num {
  font-family: var(--font-serif);
  font-size: 11px;
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  display: block;
}

.product-icon {
  width: 100px;
  height: 100px;
  color: var(--ice-dim);
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  overflow: visible;
}
.product-icon svg { width: 100%; height: 100%; }
.product-card:hover .product-icon { color: var(--ice); }

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.product-card > p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 24px;
}

.product-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.product-specs span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
.product-specs span + span::before {
  content: '·';
  margin-right: 8px;
  opacity: 0.4;
}

/* ===== CLIENTS ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.client-card {
  padding: 44px 36px;
  background: var(--dark2);
  border: 1px solid rgba(196,163,90,0.08);
  border-radius: var(--radius);
  transition: border-color 0.35s, transform 0.35s;
  position: relative;
  overflow: hidden;
}

.client-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.client-card:hover {
  border-color: rgba(196,163,90,0.25);
  transform: translateY(-4px);
}
.client-card:hover::after { opacity: 1; }

.client-num {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.55;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  display: block;
}

.client-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.client-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ===== WHY ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.why-benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  border: 1px solid rgba(196,163,90,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.benefit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(196,163,90,0.07);
  transition: background 0.25s;
}
.benefit:last-child { border-bottom: none; }
.benefit:hover { background: rgba(196,163,90,0.04); }

.benefit-icon {
  width: 34px;
  height: 34px;
  background: rgba(196,163,90,0.1);
  border: 1px solid rgba(196,163,90,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

.benefit strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--offwhite);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.benefit p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Comparison */
.why-comparison { display: flex; gap: 16px; }

.compare-card {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(196,163,90,0.08);
}

.compare-regular { background: var(--dark3); }
.compare-safi {
  background: linear-gradient(160deg, #0e2030 0%, #0c1a26 100%);
  border-color: rgba(196,163,90,0.25);
  box-shadow: 0 0 40px rgba(100,160,200,0.07);
}

.compare-badge {
  padding: 13px 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted2);
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(196,163,90,0.06);
}
.safi-badge { color: var(--gold); }

.compare-ice {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle, rgba(50,80,100,0.12) 0%, transparent 70%);
}

.ice-block-cloudy {
  width: 78px; height: 78px;
  background: linear-gradient(135deg, rgba(160,185,200,0.22), rgba(120,145,160,0.15));
  border-radius: 10px;
  position: relative;
}
.ice-block-cloudy::after {
  content: '';
  position: absolute;
  inset: 10px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(200,210,220,0.05) 60%, transparent 100%);
  border-radius: 5px;
}

.ice-block-clear {
  width: 78px; height: 78px;
  background: linear-gradient(135deg, rgba(190,228,248,0.28), rgba(130,195,230,0.12));
  border-radius: 10px;
  border: 1px solid rgba(200,235,252,0.45);
  box-shadow:
    0 0 40px rgba(150,210,240,0.18),
    inset 0 0 20px rgba(200,235,252,0.06),
    3px 3px 0 rgba(255,255,255,0.1);
  position: relative;
}
.ice-block-clear::after {
  content: '';
  position: absolute;
  top: 9px; left: 9px;
  width: 18px; height: 18px;
  background: rgba(255,255,255,0.22);
  border-radius: 3px;
  transform: rotate(-35deg);
}

.compare-list {
  list-style: none;
  padding: 14px 20px 20px;
}
.compare-list li {
  font-size: 12.5px;
  line-height: 1.5;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.negative li { color: var(--muted); }
.negative li::before {
  content: '×';
  background: rgba(200,80,80,0.12);
  color: #c88;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

.positive li { color: var(--offwhite); }
.positive li::before {
  content: '✓';
  background: rgba(196,163,90,0.12);
  color: var(--gold);
  font-size: 9px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  max-width: 960px;
  margin: 0 auto;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--gold);
  background: rgba(196,163,90,0.05);
  flex-shrink: 0;
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.1);
}

.step-content h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 10px;
}
.step-content p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.process-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, rgba(196,163,90,0.3), rgba(196,163,90,0.05));
  margin-top: 28px;
  flex-shrink: 0;
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid rgba(196,163,90,0.4);
  border-top: 1px solid rgba(196,163,90,0.4);
  transform: rotate(45deg);
}

/* ===== CONTACT ===== */
.contact-section { background: var(--dark); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 44px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(196,163,90,0.08);
}
.contact-item:last-child { border-bottom: none; }
.contact-item svg { color: var(--gold); flex-shrink: 0; }

/* Form */
.contact-form {
  background: var(--dark3);
  border: 1px solid rgba(196,163,90,0.12);
  border-radius: var(--radius);
  padding: 52px 48px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,163,90,0.4), transparent);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(196,163,90,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107, 132, 150, 0.5); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(196,163,90,0.4);
  background: rgba(196,163,90,0.03);
}

.form-group select option { background: var(--dark3); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted2);
  margin-top: 18px;
  letter-spacing: 0.04em;
}

/* ===== FRUITS SECTION ===== */
.fruits-section { background: var(--dark); }

.fruits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.fruit-card {
  background: var(--dark3);
  border: 1px solid rgba(196,163,90,0.08);
  border-radius: var(--radius);
  padding: 40px 28px 32px;
  text-align: center;
  transition: border-color 0.35s, transform 0.35s;
  position: relative;
  overflow: hidden;
}
.fruit-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.fruit-card:hover { border-color: rgba(196,163,90,0.25); transform: translateY(-4px); }
.fruit-card:hover::after { opacity: 1; }

.fruit-visual {
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fruit-canvas {
  display: block;
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

/* Fruit slice base */
.fruit-slice {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 0 0 3px rgba(255,255,255,0.08);
}

/* Segment lines via pseudo + SVG background */
.fruit-slice::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: inherit;
  filter: brightness(1.15);
  opacity: 0.5;
}
.fruit-slice::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    linear-gradient(0deg,   rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(60deg,  rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(240deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(300deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-position: center;
}

/* Lemon */
.fruit-lemon {
  background: radial-gradient(circle at 40% 35%, #f5e87a, #e8c832 55%, #c9a818);
  border: 3px solid rgba(232,200,50,0.5);
  box-shadow: 0 8px 32px rgba(232,200,50,0.25), inset 0 0 0 3px rgba(255,255,255,0.1);
}

/* Lime */
.fruit-lime {
  background: radial-gradient(circle at 40% 35%, #b8f070, #6cc820 55%, #4a9010);
  border: 3px solid rgba(108,200,32,0.5);
  box-shadow: 0 8px 32px rgba(108,200,32,0.25), inset 0 0 0 3px rgba(255,255,255,0.1);
}

/* Orange */
.fruit-orange {
  background: radial-gradient(circle at 40% 35%, #ffb84d, #f07820 55%, #d05a0a);
  border: 3px solid rgba(240,120,32,0.5);
  box-shadow: 0 8px 32px rgba(240,120,32,0.3), inset 0 0 0 3px rgba(255,255,255,0.1);
}

/* Pineapple */
.fruit-pineapple {
  background: radial-gradient(circle at 40% 35%, #ffe066, #f5c200 55%, #c89400);
  border: 3px solid rgba(245,194,0,0.5);
  box-shadow: 0 8px 32px rgba(245,194,0,0.25), inset 0 0 0 3px rgba(255,255,255,0.1);
}

/* Apple */
.fruit-apple {
  background: radial-gradient(circle at 40% 35%, #f0f8e8, #c8e890 55%, #9ccc50);
  border: 3px solid rgba(160,210,80,0.5);
  box-shadow: 0 8px 32px rgba(160,210,80,0.2), inset 0 0 0 3px rgba(255,255,255,0.1);
}

/* Grapefruit */
.fruit-grapefruit {
  background: radial-gradient(circle at 40% 35%, #ffb8b8, #f06080 55%, #c83050);
  border: 3px solid rgba(240,96,128,0.5);
  box-shadow: 0 8px 32px rgba(240,96,128,0.25), inset 0 0 0 3px rgba(255,255,255,0.1);
}

.fruit-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.fruit-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}

.fruit-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  background: rgba(196,163,90,0.08);
  border: 1px solid rgba(196,163,90,0.15);
  padding: 5px 12px;
  border-radius: 20px;
}

.fruits-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 48px;
  background: var(--dark3);
  border: 1px solid rgba(196,163,90,0.1);
  border-radius: var(--radius);
  position: relative;
}
.fruits-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,163,90,0.35), transparent);
}

.fruits-footer-text p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
}

@media (max-width: 1024px) {
  .fruits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fruits-grid { grid-template-columns: 1fr; }
  .fruits-footer { flex-direction: column; padding: 32px 24px; text-align: center; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(196,163,90,0.08);
  padding: 56px 0;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand p {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy p {
  font-size: 11px;
  color: rgba(107,132,150,0.45);
  letter-spacing: 0.04em;
}

/* ===== SUCCESS STATE ===== */
.form-success {
  text-align: center;
  padding: 60px 40px;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
}
.form-success p { color: var(--muted); font-size: 15px; }

.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(196,163,90,0.1);
  border: 1px solid rgba(196,163,90,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
}

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .clients-grid     { grid-template-columns: repeat(2, 1fr); }
  .why-grid         { grid-template-columns: 1fr; gap: 64px; }
  .why-comparison   { max-width: 480px; margin: 0 auto; }
  .about-grid       { grid-template-columns: 1fr; gap: 56px; }
  .contact-grid     { grid-template-columns: 1fr; gap: 56px; }
  .hero-stats       { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .clients-grid  { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-connector {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, rgba(196,163,90,0.3), rgba(196,163,90,0.05));
    margin: 0;
  }
  .process-connector::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 36px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .why-comparison { flex-direction: column; }
  .hero-headline { font-size: 54px; }
  .nav-inner { padding: 0 24px; }
  .mobile-link { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .hero-actions    { flex-direction: column; align-items: center; }
  .hero-content    { padding: 0 24px; padding-top: var(--nav-h); }
  .hero-headline   { font-size: 46px; }
}
