:root {
  --teal: #00bfa6;
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #0d1f2d;
  --nav-grey: rgba(40, 40, 40, 0.6);
  --font-main: 'Poppins', sans-serif;
}

/* =========================
   GLOBAL RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--black);
  overflow-x: hidden;
}

/* =========================
   SCROLL REVEAL
========================= */

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

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

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;
  width: 100%;
  padding: 1rem 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-grey);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  font-size: 1.6rem;
  letter-spacing: 0.5px;
}

.alphin {
  color: var(--teal);
  font-weight: 700;
}

.code {
  color: var(--white);
  font-weight: 400;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--white);
  position: relative;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

/* =========================
   HAMBURGER
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s ease;
}

/* =========================
   SECTIONS
========================= */

.section {
  position: relative;
  z-index: 1;
  padding: 160px 8%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  transition: background 0.6s ease, color 0.6s ease;
}

.container {
  max-width: 1100px;
  margin: auto;
  width: 100%;
}

.center-content {
  text-align: center;
}

.section-intro {
  max-width: 750px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* =========================
   NETWORK ANIMATION
========================= */

.network-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* =========================
   DARK SECTION ANIMATION
========================= */

.dark-section {
  background: linear-gradient(
    120deg,
    #000000,
    #0d1f2d,
    #000000
  );
  background-size: 300% 300%;
  animation: gradientShift 18s ease infinite;
  color: var(--white);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   LIGHT SECTION GLOW
========================= */

.light-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

/* Blob 1 */
.light-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 191, 166, 0.25), transparent 70%);
  filter: blur(60px);
  top: -200px;
  left: -200px;
  animation: blobMove1 30s ease-in-out infinite alternate;
  z-index: 0;
}

/* Blob 2 */
.light-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 191, 166, 0.25), transparent 70%);
  filter: blur(60px);
  bottom: -150px;
  right: -150px;
  animation: blobMove2 35s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes blobMove1 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(200px, 150px); }
}

@keyframes blobMove2 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-150px, -120px); }
}

.light-section > * {
  position: relative;
  z-index: 2;
}


/* =========================
   TYPOGRAPHY
========================= */

h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  position: relative;
}

h1::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,191,166,0.25), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
}

.section h2::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: var(--teal);
  margin: 1rem auto 0 auto;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.section h2:hover::after {
  width: 60px;
}

h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.highlight-bg {
  position: relative;
  display: inline-block;
  font-weight: 600;
  z-index: 1;
}

.highlight-bg::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 35%;
  background: rgba(0, 191, 166, 0.18);
  z-index: -1;
  border-radius: 4px;
}

.gradient-text {
  background: linear-gradient(90deg, #00bfa6, #009e8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}


/* =========================
   BUTTON
========================= */

.cta-btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: var(--teal);
  color: var(--white);
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 191, 166, 0.35);
}

/* =========================
   GRID
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* =========================
   FOUNDER SECTION
========================= */

.founder-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.founder-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.founder-image img {
  width: fit-content;
  max-width: 350px;
  border-radius: 18px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.founder-image img:hover {
  transform: translateY(-8px);
}

.founder-content {
  flex: 1.5;
}

.founder-content h2 {
  text-align: left;
}

.founder-content p {
  text-align: justify;
  line-height: 1.7;
}


/* =========================
   CARDS
========================= */

.card {
  padding: 2.8rem 2rem;
  border-radius: 18px;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 191, 166, 0.2);
  border-color: rgba(0, 191, 166, 0.5);
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form {
  max-width: 520px;
  width: 100%;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(34, 33, 33);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--black);
  outline: none;
  transition: all 0.3s ease;
}

.contact-form textarea {
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 191, 166, 0.2);
}

/* =========================
   FOOTER
========================= */

footer {
  background: var(--black);
  color: var(--white);
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: var(--white);
  margin: 0 0.5rem;
  text-decoration: none;
}

footer a:hover {
  color: var(--teal);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  h1 { font-size: 2.4rem; }
  .section { padding: 130px 6%; }
  .grid { grid-template-columns: 1fr; }

  .founder-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .founder-content h2 {
    text-align: center;
  }

  .founder-content p {
    text-align: left;
  }

}

@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    display: none;
  }

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

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .section {
    padding: 110px 6%;
    min-height: auto;
  }
}
