*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cyan: rgb(0, 250, 250);
  --cyan-dim: rgba(0, 250, 250, 0.12);
  --cyan-border: rgba(0, 250, 250, 0.2);
  --bg: #111111;
  --bg-card: #181818;
  --bg-section: #141414;
  --text: #f0fafa;
  --text-muted: #888;
  --border: #2a2a2a;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --red: #dc2626;
  --red-hover: #b91c1c;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  display: none;
}

/* Firefox */
html {
  scrollbar-width: none;
}

/* IE/old Edge */
body {
  -ms-overflow-style: none;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.04;
  }

  50% {
    opacity: 0.07;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
 background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(15px);
  border-bottom-color: var(--border);
  padding: 16px 0;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.logo svg {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.4);
}

.btn-blue:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.btn-outline:hover {
  background: var(--cyan-dim);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--cyan);
  color: #050505;
  font-weight: 700;
}

.btn-cyan:hover {
  background: #00d8d8;
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

section {
  padding: 96px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 64px;
}

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero-bg-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  animation: pulse 4s ease-in-out infinite;
}

.hero-bg-icon svg {
  width: min(800px, 90vw);
  height: min(800px, 90vw);
  color: var(--cyan);
  opacity: 0.05;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
}

.text-cyan {
  color: var(--cyan);
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-muted);
  margin-bottom: 48px;
  animation: fadeInUp 0.8s 0.2s ease forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.8s 0.4s ease forwards;
  opacity: 0;
}

#courses {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.course-card:hover::before {
  opacity: 0.4;
}

.course-icon {
  width: 56px;
  height: 56px;
  background: var(--cyan-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cyan);
  transition: transform 0.3s;
}

.course-card:hover .course-icon {
  transform: scale(1.1);
}

.course-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.course-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.btn-link:hover {
  gap: 10px;
  opacity: 0.8;
}

#youtube {
  text-align: center;
}

.video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 48px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

#features {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--cyan-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 24px;
}

.feature h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature p {
  color: var(--text-muted);
  font-size: 15px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.testimonial-card:hover {
  border-color: var(--cyan-border);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--cyan);
}

.testimonial-card blockquote {
  color: var(--text-muted);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  flex: 1;
}

.testimonial-card cite {
  font-weight: 700;
  font-style: normal;
  font-size: 15px;
}

#contact {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

input,
textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  margin-top: 8px;
}

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.copyright {
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 768px) {
  section {
    padding: 72px 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Auth Modal Transition */
#authModal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  transition:
    visibility 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease,
    backdrop-filter 0.3s ease;
  z-index: 999;
}

#authModal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.auth-modal-content {
  width: 90%;
  max-width: 400px;
  background: #181818;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

#authModal.open .auth-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

#authModal h2,
#authModal input,
#authModal button,
#authModal p,
#authModal span {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}


.company-section {
  padding: 60px 20px;
  background: #141414;
  color: #fff;
  text-align: center;
}

.company-section h2 {
  margin-bottom: 30px;
  font-size: 24px;
}

.slider {
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  width: calc(250px * 12);
  animation: scroll 20s linear infinite;
}

.slide {
  width: 250px;
  flex-shrink: 0;
  font-size: 20px;
  opacity: 0.8;
}

.slide img {
  width: 120px;
  filter: grayscale(100%);
  opacity: 0.7;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
