:root {
  --bg-color: #120c10;
  --surface-color: #1e1419;
  --surface-hover: #2a1c23;
  --primary-color: #e54b6b;
  --primary-hover: #f06080;
  --text-main: #f4f0f2;
  --text-muted: #a8969e;
  --border-color: #3a252f;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-base);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(18, 12, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
}
.brand img {
  height: 32px;
  width: 32px;
  border-radius: 8px;
}
.nav-links {
  display: none;
  gap: 20px;
  font-size: 15px;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--primary-color);
}
.header-download {
  display: none;
  background-color: var(--primary-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.header-download:hover {
  background-color: var(--primary-hover);
}

/* Hero Section */
.hero {
  padding: 100px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(229, 75, 107, 0.1) 0%, var(--bg-color) 100%);
}
.hero h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.download-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
}
.btn:active {
  transform: scale(0.96);
}
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-secondary {
  background-color: var(--surface-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  fill: currentColor;
}

/* Layout Utilities */
.section {
  padding: 48px 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header h2 {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-header h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--primary-color);
  border-radius: 2px;
}
.section-header .more {
  font-size: 14px;
  color: var(--text-muted);
}

/* Grid & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card {
  background-color: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-2px);
}
.card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.card-info {
  padding: 8px 10px;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-desc {
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: rgba(229, 75, 107, 0.9);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.score {
  position: absolute;
  bottom: 50px;
  right: 8px;
  background-color: rgba(0,0,0,0.6);
  color: #ffb400;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

/* Marquee */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 10px 0;
  position: relative;
}
.marquee-inner {
  display: inline-flex;
  gap: 12px;
  animation: scroll 20s linear infinite;
}
.marquee-wrap:hover .marquee-inner {
  animation-play-state: paused;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
}
.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-color), transparent);
}
.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-color), transparent);
}
.marquee-item {
  width: 120px;
  flex-shrink: 0;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* List Layout */
.list-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background-color: var(--surface-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  align-items: center;
}
.list-item img {
  width: 60px;
  height: 80px;
  border-radius: 6px;
  flex-shrink: 0;
}
.list-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.list-content p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Calendar */
.calendar-card {
  background-color: var(--surface-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calendar-card .day {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  width: 60px;
}
.calendar-card .info {
  flex: 1;
}
.calendar-card .info h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.calendar-card .info p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Steps */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-item {
  display: flex;
  gap: 16px;
  background-color: var(--surface-color);
  padding: 16px;
  border-radius: var(--radius-md);
}
.step-num {
  width: 32px;
  height: 32px;
  background-color: rgba(229, 75, 107, 0.2);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.feature-box {
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.feature-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-box p {
  font-size: 14px;
  color: var(--text-muted);
}

/* FAQ */
.faq-item {
  background-color: var(--surface-color);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  padding: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after {
  content: '-';
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
}
.faq-item.open .faq-a {
  padding: 0 16px 16px;
  max-height: 200px;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cert-item {
  background-color: var(--surface-color);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px dashed var(--border-color);
}
.cert-item strong {
  display: block;
  font-size: 14px;
  margin-top: 8px;
  color: var(--primary-color);
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}
.footer-links {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--text-main);
}
.footer-meta {
  margin-bottom: 8px;
}
.footer-meta a {
  color: var(--text-muted);
}
.footer-meta a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
  .grid-2 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: flex; }
  .marquee-item { width: 160px; }
  .steps-wrap { flex-direction: row; flex-wrap: wrap; }
  .step-item { flex: 1; min-width: 30%; }
  .card img { aspect-ratio: 3/4; }
  .cert-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 44px; }
  .grid-2 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(6, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .header-download { display: block; }
  .marquee-item { width: 200px; }
  .step-item { min-width: 22%; }
}