/* ---------- GLOBAL STYLES ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --red: #ff0000;
  --dark: #121212;
  --light: #ffffff;
  --gray: #f4f4f4;
}

* {margin: 0; padding: 0; box-sizing: border-box;}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(13, 13, 13, 0.8);
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
header.shrink {
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: var(--light);
  transition: transform 0.3s ease;
}
header.shrink .logo {
  transform: scale(0.9);
}

/* --- YouTube-style play button --- */
.logo svg {
  width: 34px;
  height: 24px;
  background-color: var(--red);
  border-radius: 6px;
  margin: 0 6px;
  display: inline-block;
  vertical-align: middle;
}

nav {
  position: absolute;
  right: 5%;
}

nav a {
  color: #ddd;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {color: var(--red);}

/* --- Active link highlight --- */
nav a.active {
  color: var(--red);
  font-weight: 600;
  position: relative;
}
nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- SECTIONS ---------- */
section {text-align: center; padding: 100px 20px 80px;}
h1, h2 {font-weight: 700; margin-bottom: 20px;}
p {
  max-width: 700px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  color: #ccc;
}

/* ---------- PRODUCTS SECTION ---------- */
.products {
  padding: 100px 20px;
  text-align: center;
}

.product {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
  /* original border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  border-bottom: 1px solid rgba(255, 0, 0, 0.25);
}

.product:last-child {
  border-bottom: none; /* removes line after the final product */
}

.product h1 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.product p {
  margin-bottom: 30px;
  color: #ccc;
}


/* ---------- CTA BUTTON ---------- */
.cta-button {
  display: inline-block;
  background-color: var(--red);
  color: white;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.cta-button:hover {background-color: #d40000; transform: translateY(-2px);}

/* ---------- FOOTER ---------- */
footer {
  background: #0d0d0d;
  color: #aaa;
  text-align: center;
  padding: 30px 10px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
footer a {color: #aaa; margin: 0 8px; transition: color 0.3s;}
footer a:hover {color: var(--red);}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  nav {position: static; margin-top: 10px;}
  header {flex-direction: column;}
  .logo {margin-bottom: 6px;}
}
