/* Custom Cursor additions */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 10px var(--glow-cyan);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 242, 255, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9998;
  pointer-events: none;
  transition: transform 0.15s ease-out, background-color 0.15s ease-out;
}

/* 3D Effects */
.perspective-container {
  perspective: 1500px;
}

.tilt-element {
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hero modifications */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
}

.video-mockup {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 0.75rem 0.75rem 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 255, 0.1);
  backdrop-filter: blur(20px);
  transform: translateZ(20px);
  overflow: hidden;
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.mockup-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

.iframe-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
}

.iframe-container iframe,
.iframe-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
}

.video-overlay-link {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10;
}

.video-overlay-link:hover {
  opacity: 1;
}

.video-overlay-link span {
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: white;
  transition: 0.3s;
}

.video-overlay-link:hover span {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--accent-purple);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  transform: translateZ(50px);
}

.badge-1 {
  top: -20px;
  right: 0;
  animation: floatBadge 4s infinite ease-in-out alternate;
}

.badge-2 {
  bottom: 20px;
  left: 0;
  border-color: var(--accent-cyan);
  animation: floatBadge 5s infinite ease-in-out alternate-reverse;
}

@keyframes floatBadge {
  from {
    transform: translateZ(60px) translateY(0px);
  }

  to {
    transform: translateZ(60px) translateY(-15px);
  }
}

/* Secondary Course */
.secondary-course {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.minimal-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(5, 5, 5, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
}

.minimal-card:hover {
  border-color: rgba(112, 0, 255, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(112, 0, 255, 0.1);
}

.minimal-visual {
  transform: translateZ(40px);
}

.huge-icon {
  width: 120px;
  height: 120px;
  color: var(--accent-purple);
  filter: drop-shadow(0 0 20px var(--accent-purple));
}

.sub-tag {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.minimal-content {
  transform: translateZ(30px);
}

.minimal-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.btn-secondary {
  background: rgba(112, 0, 255, 0.1) !important;
  color: white !important;
  border: 1px solid var(--accent-purple);
  margin-top: 1rem;
  display: inline-flex;
  gap: 10px;
  border-radius: 100px;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: var(--accent-purple) !important;
  box-shadow: 0 10px 30px rgba(112, 0, 255, 0.4);
  transform: translateY(-5px);
}

/* New Navigation Tool Button */
.nav-tool-btn {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-cyan);
  border-radius: 5px;
  transition: 0.3s;
  background: rgba(0, 242, 255, 0.05);
}

.nav-tool-btn:hover {
  background: var(--accent-cyan);
  color: black;
  box-shadow: 0 0 15px var(--glow-cyan);
}

/* Tool Highlight Section */
.tool-highlight-section {
  padding: 4rem 0;
}

.tool-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(0, 242, 255, 0.05));
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tool-info {
  flex: 1;
}

.tool-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tool-info p {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.tool-visual .giant-icon {
  width: 100px;
  height: 100px;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 20px var(--glow-cyan));
}

/* Grid Options Section */
.grid-options-section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.small-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.small-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-purple);
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.box-icon i {
  width: 50px;
  height: 50px;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px var(--accent-purple));
}

.small-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: white;
}

.small-box p {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.box-link {
  text-decoration: none;
  color: var(--accent-cyan);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: 0.3s;
}

.box-link:hover {
  gap: 10px;
  text-shadow: 0 0 10px var(--glow-cyan);
}


@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column !important;
    text-align: center !important;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .tool-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }


  .minimal-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
    gap: 2rem;
  }

  .badge-1,
  .badge-2 {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    margin: 1rem auto;
    width: fit-content;
  }

  .video-mockup {
    transform: none !important;
  }

  .tilt-element {
    transform: none !important;
  }

  .cursor-dot,
  .cursor-outline {
    display: none !important;
    /* disabled on mobile */
  }
}