:root {
  --primary-color: #0d1b2a;
  --secondary-color: #1b263b;
  --accent-color: #ffffff;
  --text-white: #f0f4f8;
  --text-light: #94a3b8;
  --bg-main: #0B132B;
  --bg-white: rgba(255, 255, 255, 0.03);
  --bg-off-white: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background-color: #e2e8f0;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(11, 19, 43, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-white);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(11, 19, 43, 0.8), rgba(11, 19, 43, 0.9)), url('../images/zoklean_hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-white);
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-main), transparent);
}

.hero-content {
  color: var(--text-white);
  max-width: 650px;
  animation: fadeUp 1s ease forwards;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

/* Products Section */
.products {
  padding: 6rem 0;
  background-color: var(--bg-off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #64748B;
  font-size: 1.1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.product-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-img-wrapper {
  height: 300px;
  background-color: rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.product-img,
.product-main-img {
  mix-blend-mode: multiply;
  filter: brightness(1.1);
  /* Slightly boost brightness to keep products vibrant after multiply */
}

.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  mix-blend-mode: multiply;
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-info {
  padding: 2rem;
}

.product-category {
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.product-desc {
  color: #64748B;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

.btn-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background-color: #e2e8f0;
  transform: scale(1.1) rotate(90deg);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: var(--bg-main);
  color: var(--text-white);
}

.features .section-title {
  color: var(--text-white);
}

.features .section-subtitle {
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--bg-white);
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(5px);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

footer {
  background-color: #050a14;
  color: var(--text-light);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  flex: 1.5;
  min-width: 300px;
}

.footer-newsletter {
  flex: 1.5;
  min-width: 300px;
}

.footer-newsletter p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
}

.footer-brand {
  flex: 1;
  min-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-color);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-links-group {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.payment-icons {
  display: flex;
  gap: 1.2rem;
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.2);
}

.payment-icons i {
  transition: var(--transition);
}

.payment-icons i:hover {
  color: var(--text-white);
}

@media (max-width: 768px) {
  .footer-bottom-flex {
    justify-content: center;
    text-align: center;
  }
}


/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
/* Responsive Header Override */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: var(--bg-main);
    width: 80%;
    height: 100vh;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
    padding-top: 8rem;
    gap: 2rem;
    z-index: 1000;
  }

  .nav-links.active {
    left: 0;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

/* Responsive Cart Table */
@media (max-width: 768px) {
  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid var(--glass-border);
  }

  .cart-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .cart-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 1rem;
    font-weight: 600;
    text-align: left;
    color: var(--text-light);
  }

  .cart-table td:last-child {
    border-bottom: none;
  }

  .product-info {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }

  .cart-summary {
    justify-content: center;
  }

  .total-box {
    text-align: center;
    width: 100%;
  }
}