/* --- Variables & Reset (Neobrutalism / Clean Palette) --- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f3f4f6;
  --color-primary: #6d28d9; /* Deep Violet */
  --color-primary-hover: #5b21b6;
  --color-accent: #a3e635; /* Lime Green */
  --color-text: #111827;
  --color-text-light: #4b5563;
  --color-white: #ffffff;
  --color-border: #e5e7eb;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px -10px rgba(109, 40, 217, 0.15);

  --container-w: 1200px;
  --nav-height: 80px;
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: 1.5rem;
}

.text-center {
  text-align: center;
}
.mb-4 {
  margin-bottom: 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(109, 40, 217, 0.3);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn--outline:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn--white:hover {
  transform: scale(1.05);
}

.btn--black {
  background-color: var(--color-text);
  color: var(--color-white);
}

.btn--full {
  width: 100%;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 15px;
}
.link-arrow:hover {
  gap: 12px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header__wrap {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -1px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 50px;
}
.logo:hover {
  opacity: 0.6;
}
.logo .dot {
  color: var(--color-primary);
}

.desktop-nav {
  display: flex;
  gap: 30px;
}
.desktop-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-light);
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 120vh;
  background: var(--color-white);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__head {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

.close-menu {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 20px;
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-menu__links a.highlight {
  color: var(--color-primary);
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  background: radial-gradient(
      circle at top right,
      rgba(163, 230, 53, 0.2),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(109, 40, 217, 0.1),
      transparent 40%
    );
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tag {
  display: inline-block;
  background: var(--color-accent);
  color: #1a2e05;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero__btns {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero__trust {
  font-size: 0.9rem;
  color: var(--color-text-light);
}
.companies i {
  font-weight: 700;
  color: var(--color-text);
  margin-right: 10px;
  font-style: normal;
}

.img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.img-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: 20px 20px 0 var(--color-primary);
}

.floating-card {
  position: absolute;
  background: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.floating-card i {
  color: var(--color-primary);
  width: 20px;
}

.top-right {
  top: 30px;
  right: -30px;
}
.bottom-left {
  bottom: 40px;
  left: -30px;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* --- Ticker --- */
.ticker {
  background: var(--color-primary);
  color: white;
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker__track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.ticker__track span {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 30px;
  text-transform: uppercase;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Sections General --- */
.section {
  padding: 100px 0;
}
.section.intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.intro__content p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

/* --- Stats --- */
.stats {
  padding: 40px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  background: var(--color-bg-alt);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--color-border);
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 5px;
}
.stat-desc {
  font-size: 0.9rem;
  font-weight: 600;
}

/* --- Courses Grid --- */
.courses {
  background: var(--color-bg-alt);
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  transition: 0.3s;
  border: 1px solid var(--color-border);
  position: relative;
  top: 0;
}

.course-card:hover {
  top: -10px;
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.course-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.course-card h3 {
  margin-bottom: 15px;
}
.course-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Methodology --- */
.method__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.method__img img {
  border-radius: var(--radius-lg);
  box-shadow: -20px 20px 0 var(--color-accent);
}

.check-list {
  margin: 30px 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 1.1rem;
}
.check-list i {
  color: var(--color-primary);
}
.note {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 25px;
  font-style: italic;
}

/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 20px;
  margin-top: 40px;
}

.bento-item {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s;
  border: 1px solid transparent;
}

.bento-item:hover {
  background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: var(--shadow-card);
}

.bento-item i {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: 15px;
}
.bento-item.large {
  grid-row: span 2;
  background: var(--color-primary);
  color: white;
}
.bento-item.large i {
  color: var(--color-accent);
}
.bento-item.wide {
  grid-column: span 2;
}

/* --- Mentors --- */
.mentors__list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.mentor-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  width: 300px;
  text-align: center;
}

.mentor-avatar {
  width: 100px;
  height: 100px;
  background: #ddd url("./image/307ce493-b254-4b2d-8ba4-d12c080d6651.jpg")
    center/cover;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.mentor-card span {
  display: block;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.mentor-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- Roadmap --- */
.timeline {
  max-width: 800px;
  margin: 60px auto 0;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item .num {
  position: absolute;
  left: -55px;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.timeline-item h3 {
  margin-bottom: 8px;
}
.timeline-item p {
  color: var(--color-text-light);
}

/* --- CTA Bright --- */
.cta-bright {
  background: var(--color-white);
}
.cta-box {
  background: linear-gradient(135deg, var(--color-primary), #4c1d95);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: white;
}

.cta-box h2 {
  color: white;
}
.cta-box p {
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  font-size: 1.1rem;
}

/* --- FAQ --- */
.faq-container {
  max-width: 800px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  padding: 20px;
  background: var(--color-white);
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  background: var(--color-bg-alt);
  padding: 0 20px;
}
.faq-content p {
  padding: 20px 0;
  color: var(--color-text-light);
}
.faq-item.active .faq-btn i {
  transform: rotate(45deg);
}
.faq-item.active .faq-btn {
  color: var(--color-primary);
}

/* --- Contact Vertical --- */
.contact-section {
  background: var(--color-bg-alt);
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 80px;
  align-items: start;
}

.info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.ib-icon {
  width: 50px;
  height: 50px;
  background: var(--color-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.form-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.form-card h3 {
  text-align: center;
  margin-bottom: 25px;
}

.vertical-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
}

.input-group input:focus {
  border-color: var(--color-primary);
}
.input-group input.error {
  border-color: #ef4444;
}

.checkbox-area {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checkbox-area a {
  text-decoration: underline;
  color: var(--color-primary-hover);
}
.checkbox-area input {
  margin-top: 5px;
}
.checkbox-area label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.3;
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: #9ca3af;
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.logo--light {
  color: white;
  margin-bottom: 20px;
  display: inline-block;
}
.footer__col h4 {
  color: white;
  margin-bottom: 20px;
}
.footer__col ul li {
  margin-bottom: 10px;
}
.footer__col a:hover {
  color: white;
}

/* --- Popups --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--color-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 5000;
  max-width: 340px;
  display: none;
  border: 1px solid var(--color-border);
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #10b981;
  color: white;
  padding: 15px 25px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(-100px);
  transition: 0.4s;
  z-index: 6000;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}
.toast.active {
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__grid,
  .method__wrap,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .hero__img {
    order: -1;
    text-align: center;
  }
  .img-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-item.large {
    grid-row: auto;
  }
  .bento-item.wide {
    grid-column: span 2;
  }
  .contact-wrapper {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .desktop-nav,
  .header__actions .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .top-right {
    top: 0px;
  }
  .floating-card {
    height: 30px;
  }
  .bento-item.wide {
    grid-column: auto;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
