/* ============================================================
   V-FIX PROJECT WEBSITE — BASE STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&family=Space+Grotesk:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg-dark: #0a0a0b;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-subtle: rgba(255, 255, 255, 0.42);
  --accent-red: #e53935;
  --accent-red-light: #ff6659;
  --accent-red-dark: #ab000d;
  --accent-green: #4ade80;
  --accent-silver: #a8b2c1;
  --border-main: rgba(255, 255, 255, 0.12);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-red: rgba(229, 57, 53, 0.35);
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --nav-h: 72px;
  --content-max: 1200px;
  --pad: clamp(20px, 5vw, 60px);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg-dark);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-red);
  color: #fff;
}

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

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

/* ── CUSTOM CURSOR ─────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-red);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(229, 57, 53, .5);
  transition: width .25s, height .25s, transform .08s;
}

.cursor-ring.hovered {
  width: 52px;
  height: 52px;
  border-color: var(--accent-red);
}

@media(hover:none) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-red-dark);
  border-radius: 3px;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(10, 10, 11, 0.0);
  backdrop-filter: blur(0px);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border-subtle);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--accent-silver) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 6px 9px;
  border-radius: 6px;
  transition: color .25s, background .25s;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 1.5px;
  background: var(--accent-red);
  transition: left .25s, right .25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  left: 12px;
  right: 12px;
}

.nav-links a:hover::after {
  left: 12px;
  right: 12px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: transform .2s, box-shadow .2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(229, 57, 53, .4);
}

.nav-cta::after {
  display: none !important;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 11, .97);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 199;
  padding: 20px var(--pad) 28px;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color .2s;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

@media(max-width:860px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ── SECTION HELPERS ───────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent-red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 560px;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── HERO ──────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* contains bubbles + video */
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(10, 10, 11, .85) 0%,
      rgba(10, 10, 11, .65) 50%,
      rgba(10, 10, 11, .80) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: calc(var(--nav-h) + 40px) var(--pad) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 57, 53, .12);
  border: 1px solid var(--border-red);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-red-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

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

  50% {
    opacity: .5;
    transform: scale(.75);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}

.hero-title .red {
  color: var(--accent-red);
}

.hero-subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(229, 57, 53, .4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .8px;
  border: 1px solid var(--border-main);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: var(--accent-red);
  background: rgba(229, 57, 53, .08);
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero-stat .num .red {
  color: var(--accent-red);
}

.hero-stat .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* right side: appliances */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

@media(max-width:860px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }
}

/* ── CHAT BUBBLES BACKGROUND ───────────────────────────────── */
/* lives inside #hero which has overflow:hidden */
#chat-bubbles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.chat-bubble {
  position: absolute;
  bottom: -200px;
  background: rgba(229, 57, 53, .11);
  border: 1px solid rgba(229, 57, 53, .28);
  border-radius: 18px 18px 18px 4px;
  color: rgba(255, 255, 255, .60);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 8px 14px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  animation: bubbleRise linear infinite;
  opacity: 0;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes bubbleRise {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0) rotate(0deg);
  }

  10% {
    opacity: .9;
  }

  85% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translateX(var(--drift, 30px)) translateY(-110vh) rotate(var(--rot, 3deg));
  }
}

/* ── APPLIANCES ────────────────────────────────────────────── */
.appliances-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.appliance-wrap {
  position: relative;
  cursor: pointer;
  transition: transform .3s;
}

.appliance-wrap:hover {
  transform: translateY(-8px) scale(1.05);
}

.appliance-svg {
  width: 115px;
  height: auto;
  display: block;
}

.appliance-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 6px;
}

/* speech bubble on hover */
.appliance-speech {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) scale(0);
  background: rgba(10, 10, 11, .92);
  border: 1px solid var(--border-red);
  border-radius: 10px 10px 10px 2px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-red-light);
  white-space: nowrap;
  pointer-events: none;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 5;
}

.appliance-wrap:hover .appliance-speech {
  transform: translateX(-50%) scale(1);
}