/* GLOBAL STYLES */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;

  /* Background setup */
  background-color: #000; /* fallback */
  background-image: url('../images/spiderwebnetwork.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  animation: fadeIn 1.5s ease-in forwards;
  opacity: 0;
}

/* Overlay (optional for readability) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-content span {
  color: #00ffc6;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #eee;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: #00ffc6;
  color: #000;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #000;
}

/* ABOUT SECTION */
#about {
  padding: 100px 10%;
  text-align: center;
  background: #0a0a0a;
}

#about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00ffc6;
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #ccc;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 10px;
  background: #000;
  font-size: 0.9rem;
  color: #888;
}

/* FADE-IN ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* TABLET RESPONSIVE */
@media (max-width: 1024px) {
  .hero {
    background-attachment: scroll;
    background-position: center top;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    background-attachment: fixed;
    background-size: auto 180%;
    background-position: center 25%;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ========================================================= */
/* NAVIGATION BAR */
/* ========================================================= */
.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  text-align: center;
  z-index: 1000;
  padding: 10px 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-block;
  margin: 0 15px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  color: #f9c802;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.3s, transform 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(249,200,2,0.4) 0%, transparent 80%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover {
    filter: brightness(1.5);
    transform: scale(1.05);
  }
  .main-nav a:hover::after {
    width: 100px;
    height: 100px;
    opacity: 1;
  }
}

@media (hover: none) and (pointer: coarse) {
  .main-nav a:active {
    filter: brightness(1.6);
    transform: scale(1.03);
  }
  .main-nav a:active::after {
    width: 120px;
    height: 120px;
    opacity: 0.8;
  }
}

.main-nav a.pressed {
  filter: brightness(1.7);
}
.main-nav a.deep-press::after {
  width: 180px;
  height: 180px;
  opacity: 1;
}

/* ========================================================= */
/* NAVIGATION BAR - AGORAMERIT V1.3 */
/* ========================================================= */
:root {
  --accent: #00FF9D;
  --accent-hover: #ffffff;
}

html {
  scroll-behavior: smooth;
}

.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  text-align: center;
  z-index: 1000;
  padding: 10px 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-block;
  margin: 0 15px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.3s, transform 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, transparent 80%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease-out;
}

/* Desktop hover interaction */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover {
    filter: brightness(1.4);
    transform: scale(1.05);
  }
  .main-nav a:hover::after {
    width: 100px;
    height: 100px;
    opacity: 1;
  }
}

/* Mobile / touch interaction */
@media (hover: none) and (pointer: coarse) {
  .main-nav a:active {
    filter: brightness(1.3);
    transform: scale(1.03);
  }
  .main-nav a:active::after {
    width: 120px;
    height: 120px;
    opacity: 0.9;
  }
}

/* Sections styling */
#works, #pricing, #contactCTA {
  padding: 100px 20px;
  text-align: center;
  background: #000;
  color: #fff;
}

#works h2, #pricing h2, #contactCTA h2 {
  color: var(--accent);
  font-size: 2em;
  margin-bottom: 10px;
}

#works .btn, #pricing .btn, #contactCTA .btn {
  background: var(--accent);
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

#works .btn:hover, #pricing .btn:hover, #contactCTA .btn:hover {
  background: var(--accent-hover);
  color: #000;
}

/* ========================================================= */
/* NAVIGATION BAR - AGORAMERIT V1.3.1 */
/* ========================================================= */
:root {
  --accent: #00FF9D;
  --accent-hover: #ffffff;
}

html {
  scroll-behavior: smooth;
}

.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  text-align: center;
  z-index: 1000;
  padding: 10px 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-block;
  margin: 0 15px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.3s, transform 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, transparent 80%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease-out;
}

/* Desktop hover interaction */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover {
    filter: brightness(1.4);
    transform: scale(1.05);
  }
  .main-nav a:hover::after {
    width: 100px;
    height: 100px;
    opacity: 1;
  }
}

/* Mobile / touch interaction */
@media (hover: none) and (pointer: coarse) {
  .main-nav a:active {
    filter: brightness(1.3);
    transform: scale(1.03);
  }
  .main-nav a:active::after {
    width: 120px;
    height: 120px;
    opacity: 0.9;
  }
}

/* Section styling */
#works, #pricing, #contactCTA {
  padding: 100px 20px;
  text-align: center;
  background: #000;
  color: #fff;
}

#works h2, #pricing h2, #contactCTA h2 {
  color: var(--accent);
  font-size: 2em;
  margin-bottom: 10px;
}

#works .btn, #pricing .btn, #contactCTA .btn {
  background: var(--accent);
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

#works .btn:hover, #pricing .btn:hover, #contactCTA .btn:hover {
  background: var(--accent-hover);
  color: #000;
}

/* ========================================================= */
/* NAVIGATION BAR - AGORAMERIT V1.3.2 */
/* ========================================================= */
:root {
  --accent: #00FF9D;
  --accent-hover: #ffffff;
}

html {
  scroll-behavior: smooth;
}

.main-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  text-align: center;
  z-index: 1000;
  padding: 10px 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  display: inline-block;
  margin: 0 15px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.3s, transform 0.3s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, transparent 80%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease-out;
}

/* Desktop hover interaction */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover {
    filter: brightness(1.4);
    transform: scale(1.05);
  }
  .main-nav a:hover::after {
    width: 100px;
    height: 100px;
    opacity: 1;
  }
}

/* Manual class-based fallback for JS-controlled touch behavior */
@media (hover: none) and (pointer: coarse) {
  .main-nav a.pressed {
    filter: brightness(1.3);
    transform: scale(1.03);
  }
  .main-nav a.pressed::after {
    width: 120px;
    height: 120px;
    opacity: 0.9;
  }
  .main-nav a.deep-press::after {
    width: 180px;
    height: 180px;
    opacity: 1;
  }
}


/* Section styling */
#works, #pricing, #contactCTA {
  padding: 100px 20px;
  text-align: center;
  background: #000;
  color: #fff;
}

#works h2, #pricing h2, #contactCTA h2 {
  color: var(--accent);
  font-size: 2em;
  margin-bottom: 10px;
}

#works .btn, #pricing .btn, #contactCTA .btn {
  background: var(--accent);
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}

#works .btn:hover, #pricing .btn:hover, #contactCTA .btn:hover {
  background: var(--accent-hover);
  color: #000;
}
#mask-wheel {
  transform-origin: 50% 50%;
  cursor: grab;
  transition: transform 0.2s ease-out;
}
#mask-wheel:active {
  cursor: grabbing;
}
