@font-face {
  font-family: "Chillax";
  src: url("../assets/fonts/Chillax/Chillax-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Chillax";
  src: url("../assets/fonts/Chillax/Chillax-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Chillax";
  src: url("../assets/fonts/Chillax/Chillax-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Chillax";
  src: url("../assets/fonts/Chillax/Chillax-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

:root {
  --bg-color: #f2f2ef;
  --text-color: #000;
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.1);
  --dot-color: rgba(0, 0, 0, 0.08);
  --accent-color: #fff;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Custom Scrollbar for Chrome/Safari/Edge */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Chillax", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Gradient Side Overlays */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: 
    linear-gradient(to right, 
      rgba(200, 200, 200, 0.3) 0%, 
      transparent 15%),
    linear-gradient(to left, 
      rgba(200, 200, 200, 0.3) 0%, 
      transparent 15%);
}

/* Dot Grid Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

header {
  margin-bottom: 4rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: -2px;
  text-transform: lowercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Glass Card */
.glass-card {
  background: rgba(180, 180, 180, 0.35);
  backdrop-filter: blur(30px) saturate(150%);
  -webkit-backdrop-filter: blur(30px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  color: #000;
  will-change: transform, box-shadow;
}

.glass-card:hover {
  background: rgba(190, 190, 190, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.glass-card p,
.glass-card span {
  color: rgba(0, 0, 0, 0.65);
}

.glass-card h1,
.glass-card h2,
.glass-card h3 {
  color: #000;
  font-weight: 300;
}

.mono-text {
  font-family: "Chillax", sans-serif;
  text-transform: lowercase;
  letter-spacing: 0.15rem;
  font-weight: 500;
}

h1,
h2,
h3,
h4,
p,
a,
span,
div,
li {
  text-transform: lowercase !important;
}

h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

h2 {
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
    line-height: 1;
  }

  h2 {
    font-size: 2.2rem !important;
    letter-spacing: -0.02em;
  }

  .container {
    padding: 1rem;
  }

  .nav-links {
    gap: 1.2rem;
  }

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

  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
  }

  .glass-card {
    padding: 1.25rem !important;
    margin-bottom: 1.5rem !important;
  }

  .product-item {
    min-height: auto !important;
    height: auto !important;
  }

  /* Reset hero layout on mobile */
  .hero .glass-card {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
  }

  .hero > div {
    gap: 3.5rem !important;
    padding: 0 1.5rem !important;
  }

  .hero div[style*="max-width: 320px"],
  .hero div[style*="max-width: 280px"] {
    max-width: 100% !important;
    transform: none !important;
  }

  #upscale .glass-card {
    padding: 2rem 1.5rem !important;
  }

  #upscale .glass-card > div {
    gap: 2rem !important;
    flex-direction: column !important;
  }

  #upscale h2 {
    font-size: 2.2rem !important;
  }

  #upscale .glass-card div[style*="min-width: 320px"] {
    min-width: 100% !important;
  }
}

p.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.7;
  font-weight: 300;
}

.footer {
  margin-top: clamp(4rem, 10vh, 8rem);
  padding-bottom: 3rem;
  padding-top: 3rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-section h4 {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.footer-section ul li a:hover {
  opacity: 0.6;
}

.legal {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 3rem;
  background: var(--text-color);
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  background: #222;
}

/* Tech Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.product-item {
  min-height: 280px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-info {
  margin-top: 1rem;
}

.product-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1rem;
  opacity: 0.5;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 500;
}

/* Content Pages Styles */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-page h2 {
  font-size: 2.5rem;
  margin: 2rem 0 1rem;
}

.content-page p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
