/* Studio 19B - Roblox Class Landing Page Styles */

/* Formats Section */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.format-card {
  background: var(--surface-strong, rgba(255, 255, 255, 0.94));
  border: 1px solid var(--glass-border, rgba(15, 23, 42, 0.08));
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth, all 0.35s ease);
  display: flex;
  flex-direction: column;
}

.format-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--accent-glow, 0 18px 38px hsla(193, 85%, 44%, 0.14));
  border-color: rgba(3, 149, 153, 0.35);
}

.format-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(3, 149, 153, 0.12);
  color: #039599;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.format-badge.orange {
  background: rgba(244, 109, 11, 0.12);
  color: #f46d0b;
}

.format-badge.purple {
  background: rgba(147, 51, 234, 0.12);
  color: #9333ea;
}

.format-badge.pink {
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
}

.format-badge.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
}

.format-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-color, #1a202c);
}

.format-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted, #64748b);
  flex-grow: 1;
}

/* Modules Grid in Curriculum */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.module-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  transition: var(--transition-smooth, all 0.35s ease);
}

.module-item:hover {
  background: #ffffff;
  border-color: rgba(3, 149, 153, 0.3);
}

.module-item h4 {
  font-size: 16px;
  color: var(--text-color, #1a202c);
  margin-bottom: 6px;
  font-weight: 700;
}

.module-item p {
  font-size: 14px;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
}

/* Sibling / Related Pathway Callout */
.related-banner,
.sibling-banner {
  background: linear-gradient(135deg, rgba(3, 149, 153, 0.06) 0%, rgba(244, 109, 11, 0.06) 100%);
  border: 1px solid rgba(3, 149, 153, 0.15);
  border-radius: 20px;
  padding: 32px 36px;
  margin: 48px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.related-banner-copy,
.sibling-banner-copy {
  max-width: 720px;
}

.related-banner h3,
.sibling-banner h3 {
  font-size: 20px;
  color: var(--text-color, #1a202c);
  margin-bottom: 8px;
}

.related-banner p,
.sibling-banner p {
  font-size: 15px;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
}

svg path,
svg line,
svg polyline,
svg circle {
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Downloads Section */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.download-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth, all 0.35s ease);
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: #039599;
  box-shadow: 0 18px 40px rgba(3, 149, 153, 0.12);
}

.download-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(3, 149, 153, 0.12);
  color: #039599;
  margin-bottom: 16px;
}

.download-tag.zh {
  background: rgba(244, 109, 11, 0.12);
  color: #f46d0b;
}

.download-card h3 {
  font-size: 21px;
  color: var(--text-color, #1a202c);
  margin-bottom: 12px;
}

.download-card p {
  font-size: 14.5px;
  color: var(--text-muted, #64748b);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: #039599;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition-smooth, all 0.35s ease);
}

.download-btn:hover {
  background: #027a7d;
  color: #ffffff;
}

.download-btn.orange {
  background: #f46d0b;
}

.download-btn.orange:hover {
  background: #d65c04;
}

.download-btn svg {
  flex-shrink: 0;
}

/* Breadcrumb nav */
.breadcrumb-container {
  padding: 12px 0;
  margin-bottom: 16px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--text-muted, #64748b);
  flex-wrap: wrap;
}

.breadcrumb-list a {
  color: var(--text-muted, #64748b);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #039599;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 11px;
}

.breadcrumb-current {
  color: var(--text-color, #1a202c);
  font-weight: 600;
}

@media (max-width: 768px) {
  .formats-grid {
    grid-template-columns: 1fr;
  }
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  .related-banner,
  .sibling-banner {
    padding: 24px 20px;
  }
}

/* Long keyword H1 on this page: scale down so it reads as a headline, not a wall */
.hero-copy h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-stat-value {
  white-space: nowrap;
}

/* Curriculum cards (style.css is not loaded on this page) */
#courses .courses-grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

#courses .course-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.06);
}

#courses .course-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 42, 133, 0.1);
  color: #e0247a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

#courses .course-card h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

#courses .course-card > p {
  margin: 0;
  line-height: 1.65;
}

#courses .course-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}

#courses .course-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

#courses .course-features svg {
  flex-shrink: 0;
  color: #8a2be2;
}

/* GEO Answer Block */
.answer-block {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-color, #1a202c);
  background: rgba(3, 149, 153, 0.07);
  border-left: 4px solid #039599;
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.answer-block strong {
  color: var(--text-color, #1a202c);
}

.answer-block a {
  color: #039599;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.answer-block a:hover {
  color: #027a7d;
}

/* Proof Section (#real-roblox-developer) */
#real-roblox-developer {
  padding: 40px 0;
}

.proof-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.proof-card h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--text-color, #1a202c);
  margin-bottom: 12px;
}

.proof-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted, #64748b);
  margin-bottom: 24px;
}

.proof-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 14px;
}

.proof-bullets li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color, #1a202c);
  padding-left: 28px;
  position: relative;
}

.proof-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #039599;
  font-weight: 800;
  font-size: 16px;
}

.proof-bullets a {
  color: #039599;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.proof-datestamp {
  display: block;
  font-size: 13px;
  color: var(--text-muted, #64748b);
  margin-bottom: 16px;
}

.proof-closing {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-color, #1a202c);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Facts Table Section (#roblox-class-facts) */
#roblox-class-facts {
  padding: 40px 0;
}

.facts-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.facts-card h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--text-color, #1a202c);
  margin-bottom: 24px;
}

.facts-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.facts-table th,
.facts-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: top;
  line-height: 1.6;
}

.facts-table th {
  width: 28%;
  font-weight: 600;
  color: var(--text-color, #1a202c);
  background: rgba(3, 149, 153, 0.03);
  white-space: nowrap;
}

.facts-table td {
  color: var(--text-muted, #475569);
}

.facts-table a {
  color: #039599;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .proof-card,
  .facts-card {
    padding: 24px 18px;
  }

  .facts-table th,
  .facts-table td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .facts-table th {
    width: 32%;
    white-space: normal;
  }
}

:lang(ja) {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

:lang(ko) {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  word-break: keep-all;
}

:lang(zh-Hant-HK) {
  font-family: "PingFang HK", "Noto Sans CJK HK", "Microsoft JhengHei", sans-serif;
}

:lang(zh-Hans) {
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

