html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
main,
section {
  overflow-x: clip;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #050505;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.cursor-glow {
  position: fixed;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.custom-cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  background-image: url("assets/enigmail-cursor.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  transition: width 0.2s ease, height 0.2s ease;
}

.custom-cursor.hover {
  width: 54px;
  height: 54px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #d7d7d7;
  font-size: 14px;
}

.nav-links a:hover {
  color: #ffffff;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
}

.hero {
  min-height: 100vh;
  padding: 150px 8% 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: #b9b9b9;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.95;
  max-width: 850px;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 620px;
  color: #c9c9c9;
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  transition: 0.3s;
}

.primary {
  background: #ffffff;
  color: #050505;
}

.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.18);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.email-preview {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: 28px;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.preview-label {
  font-size: 12px;
  color: #b9b9b9;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 80px;
}

.email-preview h3 {
  font-size: 32px;
  margin-bottom: 16px;
}

.email-preview p {
  color: #c9c9c9;
  margin-bottom: 24px;
}

.email-preview button {
  border: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  background: white;
  color: #050505;
}

section {
  padding: 90px 8%;
  position: relative;
  z-index: 2;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  margin-bottom: 22px;
}

.section-text {
  color: #c9c9c9;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.18);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.card p,
.about p,
.contact p {
  color: #c9c9c9;
}

.post-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 42px;
}

.post-card {
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  overflow: hidden;
  transition: 0.3s ease;
}

.post-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.18);
}

.post-slider {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #050505;
}

.post-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s ease;
}

.post-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-info {
  padding: 24px;
}

.post-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.post-info p {
  color: #c9c9c9;
  font-size: 15px;
}

.about {
  max-width: 900px;
}

.about p {
  margin-bottom: 18px;
}

.contact {
  text-align: center;
  background: #0d0d0d;
}

.contact p {
  margin-bottom: 28px;
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: white;
  transition: 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.coming-soon {
  opacity: 0.5;
}

.premium-footer {
  position: relative;
  z-index: 2;
  padding: 55px 8% 28px;
  background: linear-gradient(180deg, #0d0d0d, #050505);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand h3 {
  font-size: 24px;
}

.footer-brand p {
  color: #999999;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 35px;
}

.footer-links a {
  color: #c9c9c9;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  color: #777777;
  font-size: 14px;
}

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

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  transform: translateX(0px);
}

.slide-right {
  transform: translateX(0px);
}

.slide-left.active,
.slide-right.active {
  transform: translateX(0);
}

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

  .grid,
  .post-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  * {
    cursor: auto;
  }

  .custom-cursor,
  .cursor-glow {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    right: 8%;
    width: 220px;
    padding: 20px;
    border-radius: 18px;
    background: #101010;
    flex-direction: column;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding-top: 130px;
  }

  .grid,
  .post-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
  width: 100%;
  overflow: hidden;
}

.hero-visual {
  width: 100%;
}

.hero-image-slider {
  max-width: 100%;
}

.reveal {
  transform: translateY(25px);
}

.reveal.active {
  transform: translateY(0);
}

.slide-left,
.slide-right {
  transform: translateY(25px);
}

.slide-left.active,
.slide-right.active {
  transform: translateY(0);
}

}
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-slider {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 35px 100px rgba(0,0,0,0.65);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 1.4s ease;
}

.hero-img.active {
  opacity: 1;
  transform: scale(1);
}