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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: black;
  color: white;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

.image-gradient {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
  z-index: -1;
  max-width: 100%;
}

.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
  gap: 2rem;
}

.spline-container {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  width: 100%;
}

spline-viewer {
  width: 100%;
  height: clamp(300px, 50vw, 650px);
  border-radius: 1rem;
  position: relative;
  z-index: 1;
}

.layer-blur {
  height: 0;
  width: 30rem;
  position: absolute;
  top: 20%;
  right: 0;
  box-shadow: 0 0 700px 15px white;
  rotate: -30deg;
  z-index: -1;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
  background-color: transparent;
  z-index: 10;
  position: relative;
  flex-wrap: wrap;
}

.logo h1 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 1px;
  color: white;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: cyan;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Mobile-friendly */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links, .auth-buttons {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

.brand-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  line-height: 1.1;
  margin: 0;
}

.brand-title span {
  color: #00ffff; /* Cyan for techy/ed-tech look */
  font-weight: 900;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.2);
  animation: glow 2s ease-in-out infinite alternate;
}

/* Optional glowing effect for "X" */
@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3), 0 0 10px rgba(0, 255, 255, 0.2);
  }
  to {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 25px rgba(0, 255, 255, 0.3);
  }
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
}

header h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(90vh - 6rem);
}

.content {
  max-width: 40rem;
  margin-left: 5vw;
  z-index: 999;
}

.tag-box {
  position: relative;
  width: 18rem;
  height: 2.5rem;
  border-radius: 50px;
  background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
  background-size: 200%;
  animation: animationGradient 2.5s linear infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes animationGradient {
  to {
    background-position: 200%;
  }
}

.tag-box .tag {
  position: absolute;
  inset: 3px;
  background-color: black;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s ease;
  cursor: pointer;
}

.tag-box .tag-hover {
  color: #5300a0;
}

.content h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  margin: 2rem 0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}

.description {
  font-size: 1.1rem;
  max-width: 35rem;
  color: gray;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-get-started,
.btn-signing-main {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  white-space: nowrap;
}

.btn-get-started {
  border: 1px solid #2a2a2a;
  color: white;
}

.btn-get-started:hover {
  background-color: #1a1a1a;
}

.btn-signing-main {
  background-color: lightgray;
  color: black;
  transition: background-color 0.2s ease;
}

spline-viewer::part(watermark) {
  display: none !important;
}

/* 🔳 MOCKUPS */
.mainhero {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 2rem;
  position: relative;
  z-index: 5;
}

.mockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px;
}

.mockup-wrapper {
  position: relative;
  padding: 10px;
  border-radius: 20px;
  background-color: transparent;
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

/* Shadow
.shadow-gradient {
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.733);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.shadow-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(179, 0, 255, 0.144), rgba(0, 255, 255, 0.192), transparent);
  z-index: -1;
  pointer-events: none;
  border-radius: 20px;
} */

/* Scaling */
.mockup.mobile .mockup-wrapper,
.mockup.tablet .mockup-wrapper {
  transform: scale(0.85);
}

.mockup.laptop .mockup-wrapper {
  transform: scale(1);
}

/* 3D Hover Animation */
.mockup-wrapper:hover {
  transform: translateY(-20px) scale(1.05) rotateX(8deg);
  box-shadow: 0 30px 50px rgba(0, 255, 255, 0.25), 0 0 30px rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.mockup-wrapper::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.15), transparent);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mockup-wrapper:hover::after {
  opacity: 1;
}

/* Offset positions */
.mockup.mobile,
.mockup.tablet {
  position: relative;
  top: 8rem;
  z-index: 1;
}

.mockup.laptop {
  position: relative;
  top: 0;
  z-index: 2;
}

.mockup.mobile::after,
.mockup.tablet::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.2), transparent);
  filter: blur(15px);
  z-index: -1;
}

/* 📱 Responsive Handling */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .mainhero {
    flex-direction: column;
    align-items: center;
  }

  .mockup.mobile,
  .mockup.tablet {
    display: none !important; /* Hide mobile & tablet mockups */
  }

  .content {
    margin-left: 0;
    text-align: left;
  }

  .spline-container spline-viewer {
    height: 300px;
  }
}


/* From Uiverse.io by mymiamo */ 
.card {
  width: 400px;
  padding: 20px;
  border: 1px solid #0d1117;
  border-radius: 10px;
  background-color: #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.mac-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.mac-header span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mac-header .red {
  background-color: #ff5f57;
}

.mac-header .yellow {
  background-color: #ffbd2e;
}

.mac-header .green {
  background-color: #28c941;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 10px;
  color: #e6e6ef;
}

.card-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.card .card-tag {
  display: inline-block;
  font-size: 10px;
  border-radius: 5px;
  background-color: #0d1117;
  padding: 4px;
  margin-block-end: 12px;
  color: #dcdcdc;
}
.code-editor {
  background-color: #0d1117;
  color: #dcdcdc;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    monospace;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 5px;
  padding: 15px;
  overflow: auto;
  height: 150px;
  border: 1px solid #333;
}

.code-editor::-webkit-scrollbar {
  width: 8px;
}

.code-editor::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}

.code-editor pre code {
  white-space: pre-wrap;
  display: block;
}

.content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  width: 90%;
  max-width: 600px;
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 20px;
  color: #fff;
  margin-top: 20px;
  overflow-x: auto;
}

.mac-header {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.mac-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.card-description {
  margin: 10px 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-tag {
  display: inline-block;
  background-color: #292929;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-right: 6px;
  margin-bottom: 10px;
}

.code-editor {
  background: #2d2d2d;
  border-radius: 8px;
  padding: 10px;
  font-family: monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  color: #00ff99;
}


