* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: url('keyboard-bg.jpg') no-repeat center center/cover;
  color: white;
  position: relative;
}

/* Dark overlay over background */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: -1;
}

/* Header/Navbar */
.header {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  z-index: 100;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Logo */
.logo {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo i {
  font-size: 28px;
  color: white;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 30px;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links a i {
  font-size: 20px;
}

/* Underline effect for nav links */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: #00e6e6;
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover {
  color: #00e6e6;
  transform: scale(1.05);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover {
  color: #00e6e6;
  transform: scale(1.1); /* pop-up effect */
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


/* Background video */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Main content============================================================================== */
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding-top: 100px;
}

.glass-card {
  background: rgba(255,255,255,0.01);
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255,255,255,0);
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 700px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.glass-card h2 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 600;
}

.glass-card h1 {
  font-size: 36px;
  color: #00e6e6;
  font-weight: 700;
  margin-bottom: 15px;
}

.glass-card p {
  max-width: 600px;
  font-size: 18px;
  color: #dddddd;
  line-height: 1.6;
  margin-bottom: 25px;
}

.typing {
  color: #00e6e6;
  font-weight: 700;
}

/* Buttons */
.buttons .btn-glow {
  display: inline-block;
  margin: 10px;
  padding: 12px 30px;
  color: #00e6e6;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #00e6e6;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s, box-shadow 0.3s;
}

.buttons .btn-glow::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: #00e6e6;
  opacity: 0;
  z-index: -1;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.buttons .btn-glow:hover {
  color: white;
  box-shadow: 0 0 8px #00e6e6, 0 0 16px #00e6e6;
}

.buttons .btn-glow:hover::before {
  opacity: 0.15;
}

/* Info section */
.info-section {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(6px);
  color: #ffffff;
  text-align: center;
}

.info-section h2, .info-section h3 {
  color: #00cfe6;
  margin-bottom: 20px;
}

.info-content {
  max-width: 1000px;
  margin: auto;
  font-size: 17px;
  line-height: 1.7;
}

.stats {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.stats div {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,230,230,0.1);
  font-size: 16px;
  width: 200px;
}

.info-section {
  margin-top: 10px;
}

.info-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #00e6e6;
}

.info-section ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 30px auto 0;
}

.info-section ul li {
  margin-bottom: 15px;
  font-size: 16px;
  background: rgba(255,255,255,0.02);
  padding: 10px 15px;
  border-radius: 8px;
  transition: transform 0.3s;
  color: #bdeeee;
}

.info-section ul li:hover {
  transform: scale(1.03);
  background: rgba(0,230,230,0.1);
}

.two-column-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 60px auto 0;
  max-width: 1000px;
  padding: 0 20px;
}

.info-box {
  flex: 1 1 400px;
  background: rgba(0, 230, 230, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,230,230,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.info-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #00e6e6;
}

.info-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #e0fafa;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Layout Sections */
.about, .features, .cta {
  padding: 60px 20px;
  text-align: center;
  max-width: 1000px;
  margin: auto;
}

/* ✅ FOOTER – Full Width Beautiful */
/* ==== FOOTER GLASS STYLE WITH SLIDE IN ANIMATION AND SOCIAL POPUPS ============================= */
.footer {
  width: 100vw;
  margin: 0;
  padding: 60px 20px;
  background: rgba(0, 20, 20, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #ccc;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  box-shadow: 0 -4px 16px rgba(0, 230, 230, 0.1);
  border-top: none;
  position: relative;
  z-index: 2;
  animation: slideFadeIn 1s ease forwards;
  opacity: 0;
  transform: translateY(40px);
  border-radius: 20px 20px 0 0;
}

.footer-bottom {
  width: 100vw;
  margin: 0;
  padding: 40px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

.footer-contact, .footer-links, .footer-social {
  flex: 1;
  min-width: 250px;
}

.footer-contact h4,
.footer-social h4 {
  color: #00e6e6;
  margin-bottom: 12px;
}

.footer-contact p,
.footer-contact a {
  color: #bbb;
  margin: 6px 0;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: hsl(180, 100%, 45%);
}

.footer-social {
  display: flex;
  justify-content: flex-end;
}

.social-wrapper {
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.social-icons li {
  width: 100%;
}

.social-icons a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: #00e6e6;
  font-size: 16px;
  text-decoration: none;
  transform: translateX(20px);
  opacity: 0;
  animation: popIn 0.5s forwards;
  width: 100%;
  justify-content: end;
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.social-icons a:hover {
  transform: scale(1.08) translateX(0);
  background: rgba(0, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.25);
  color: #00ffff;
}

.social-icons a span {
  font-size: 14px;
  color: #ccc;
}

.social-icons li:nth-child(1) a { animation-delay: 0.2s; }
.social-icons li:nth-child(2) a { animation-delay: 0.4s; }
.social-icons li:nth-child(3) a { animation-delay: 0.6s; }
.social-icons li:nth-child(4) a { animation-delay: 0.8s; }

@keyframes popIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    text-align: center;
    align-items: center;
    margin-top: 20px;
  }

  .footer-social .social-icons {
    align-items: center;
  }

  .footer-links {
    margin-top: 20px;
  }
}

p {
  color: white !important;
}

h2 {
  color: white;
}
/* === Moved from inline HTML ================================================================ */
.learn-more {
  color: #00e6e6;
  text-decoration: underline;
}

.info-box.full-width {
  flex-basis: 100%;
}

.why-typeverse-heading {
  padding-top: 20px;
}
body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
}

.typing {
  position: relative;
  z-index: 10;
  padding: 20px;
  font-size: 2rem;
  color: white;
}

/* Base video styles */
.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  background-color: #000;
  /* Prevent any blur or glow */
  border: none;
  outline: none;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
  background: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.background-video.active {
  opacity: 1;
  pointer-events: auto;
}

.background-video.active {
  opacity: 1;
  pointer-events: auto;
}

.blurred {
  filter: blur(6px);
}


