/* =====================================================
   scratch_pro.css — くむすたスクラッチPRO専用スタイル
   education.qumcum.com/scratch_pro.html
   ===================================================== */

/* ===== HERO ===== */
.sp-hero {
  background: #1A2236 url('../images/cta.png') center center / cover no-repeat;
  position: relative;
  padding: 80px 0;
  color: #fff;
}
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 34, 54, 0.82);
  pointer-events: none;
}
.sp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sp-hero-badge {
  display: inline-block;
  background: rgba(26,86,164,0.25);
  border: 1px solid rgba(99,153,220,0.4);
  color: #93C5FD;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.sp-hero-title {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 20px;
}
.sp-hero-lead {
  font-size: 16px;
  line-height: 1.9;
  color: #fff;
  margin-bottom: 20px;
  max-width: 480px;
}
.sp-hero-benefit {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #60A5FA;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.sp-hero-cta {
  border-color: rgba(255,255,255,0.3) !important;
  color: #fff !important;
}
.sp-hero-cta:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.5) !important;
}
.sp-hero-visual img {
  width: 100%;
  border-radius: 8px;
}

/* ===== IMPACT ===== */
.sp-impact-section {
  background: #fff;
}
.sp-impact-header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto 52px;
}
.sp-impact-title {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 900;
  color: #1E2A3B;
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.sp-impact-lead {
  font-size: 16px;
  color: #718096;
  line-height: 1.9;
}
.sp-impact-lead p {
  margin-bottom: 14px;
}
.sp-impact-lead p:last-child {
  margin-bottom: 0;
}
.sp-impact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.sp-impact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sp-impact-visual img {
  width: 100%;
  border-radius: 12px;
  position: sticky;
  top: 80px;
}
.sp-impact-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
}
.sp-impact-card--compact {
  padding: 16px 20px;
  border-radius: 10px;
}
.sp-impact-card--compact .sp-impact-card-title {
  font-size: 16px;
  margin-bottom: 6px;
}
.sp-impact-card--compact .sp-impact-card-desc {
  font-size: 15px;
}
.sp-impact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #EFF5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #1A56A4;
}
.sp-impact-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 10px;
  line-height: 1.4;
}
.sp-impact-card-desc {
  font-size: 15px;
  color: #718096;
  line-height: 1.8;
}
.sp-impact-card--accent {
  background: #EBF4FF;
  border-color: #BDD7F5;
}
.sp-impact-card--accent .sp-impact-icon {
  background: #1A56A4;
  color: #fff;
}
.sp-impact-card--accent .sp-impact-card-title {
  color: #1A3A6B;
}
.sp-impact-card--accent .sp-impact-card-desc {
  color: #4A5568;
}

/* ===== WHY NEEDED ===== */
.sp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.sp-why-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px 28px;
}
.sp-why-icon {
  width: 48px; height: 48px;
  background: #FFF5F5;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #C53030;
}
.sp-why-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sp-why-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 12px;
}
.sp-why-card p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.8;
}

/* ===== PHILOSOPHY ===== */
.sp-philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.sp-philosophy-text {
  text-align: left;
}
.sp-philosophy-text .sp-impact-title {
  text-align: left;
}
.sp-philosophy-text .sp-impact-lead {
  text-align: left;
}
.sp-philosophy-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.sp-philosophy-lead {
  font-size: 16px;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 48px;
}
.sp-philosophy-lead p {
  margin-bottom: 16px;
}
.sp-philosophy-lead p:last-child {
  margin-bottom: 0;
}
.sp-philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sp-philosophy-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.sp-philosophy-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: #1A56A4;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.sp-philosophy-point h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 8px;
}
.sp-philosophy-point p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.8;
}

/* ===== THREE REASONS ===== */
.sp-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.sp-reason-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 36px 28px;
}
.sp-reason-number {
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #E2E8F0;
  line-height: 1;
  margin-bottom: 16px;
}
.sp-reason-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 12px;
}
.sp-reason-card p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.8;
}

/* ===== DIFFERENCE ===== */
.sp-role-table {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 64px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 40px;
}
.sp-role-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.sp-role-badge--std {
  background: #F1F5F9;
  color: #64748B;
}
.sp-role-badge--pro {
  background: #EBF4FF;
  color: #1A56A4;
}
.sp-role-purpose {
  font-size: 14px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 16px;
}
.sp-role-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sp-role-list li {
  font-size: 14px;
  color: #4A5568;
  padding-left: 16px;
  position: relative;
}
.sp-role-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #94A3B8;
}
.sp-role-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
}
.sp-role-arrow span {
  font-size: 11px;
  color: #94A3B8;
}
.sp-role-arrow svg {
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sp-comparison-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 32px;
  padding-top: 32px;
  border-top: 1px solid #E2E8F0;
}
.sp-comparisons {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.sp-comparison h4 {
  font-size: 13px;
  font-weight: 700;
  color: #718096;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sp-comparison-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.sp-comparison-side {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.sp-comparison-side img {
  max-width: 100%;
  margin: 0 auto 12px;
}
.sp-comparison-side p {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.7;
}
.sp-comparison-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.sp-comparison-label--std {
  background: #F1F5F9;
  color: #64748B;
}
.sp-comparison-label--pro {
  background: #EBF4FF;
  color: #1A56A4;
}
.sp-comparison-arrow {
  font-size: 22px;
  color: #CBD5E0;
  text-align: center;
}

/* ===== WHAT STUDENTS LEARN ===== */
.sp-learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.sp-learn-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.sp-learn-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: #EBF4FF;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #1A56A4;
}
.sp-learn-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sp-learn-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 6px;
}
.sp-learn-item p {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.7;
}

/* ===== BRIDGE TO NEXT SPLIT LAYOUT ===== */
.sp-bit-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: center;
}
.sp-bit-split-text {
  text-align: left;
}
.sp-bit-split-text .sp-impact-title {
  text-align: left;
  margin-top: 16px;
}
.sp-bit-split-text .sp-impact-lead {
  text-align: left;
}
.sp-bit-split-text .sp-bit-image {
  text-align: center;
}
.sp-bit-split-text .sp-bit-image img {
  max-width: 60%;
  border-radius: 8px;
}

/* Bit table */
.sp-bit-section {
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 40px;
}
.sp-bit-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 12px;
}
.sp-bit-section > p {
  font-size: 14px;
  color: #4A5568;
  margin-bottom: 24px;
  line-height: 1.8;
}
.sp-bit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sp-bit-table-wrap {
  overflow-x: auto;
}
.sp-bit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.sp-bit-table th,
.sp-bit-table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #E2E8F0;
}
.sp-bit-table th {
  background: #fff;
  font-weight: 700;
  color: #4A5568;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sp-bit-table td { color: #1E2A3B; }
.sp-bit-table code {
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  color: #1A56A4;
  background: #EBF4FF;
  padding: 1px 6px;
  border-radius: 3px;
}
.sp-color-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.sp-color-red    { background: #F56565; }
.sp-color-blue   { background: #4299E1; }
.sp-color-green  { background: #48BB78; }
.sp-color-purple { background: #9F7AEA; }
.sp-color-yellow { background: #ECC94B; }
.sp-color-white  { background: #E2E8F0; border: 1px solid #CBD5E0; }
.sp-bit-image {
  text-align: center;
}
.sp-bit-image img {
  max-width: 480px;
  margin: 0 auto 12px;
}
.sp-bit-caption {
  font-size: 13px;
  color: #718096;
}

/* ===== CONNECTION TO PYTHON / C ===== */
#connection {
  padding-top: 10px;
}
.sp-bridge-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 40px;
}
.sp-bridge-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.sp-bridge-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #E2E8F0;
  background: #F7F9FC;
}
.sp-lang-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
}
.sp-lang-badge--scratch {
  background: #FFF7ED;
  color: #C05621;
  border: 1px solid #FED7AA;
}
.sp-lang-badge--python {
  background: #EBF8FF;
  color: #2B6CB0;
  border: 1px solid #BEE3F8;
}
.sp-lang-badge--c {
  background: #F0FFF4;
  color: #276749;
  border: 1px solid #9AE6B4;
}
.sp-lang-label {
  font-size: 12px;
  color: #718096;
}
.sp-code-area {
  padding: 16px;
  min-height: 180px;
}
.sp-code-area--scratch img {
  max-width: 60%;
}
.sp-code-area--python,
.sp-code-area--c {
  background: #1E2A3B;
  padding: 20px;
}
.sp-code-area pre {
  margin: 0;
}
.sp-code-area code {
  font-family: 'Source Code Pro', monospace;
  font-size: 12px;
  line-height: 1.75;
  display: block;
  white-space: pre;
}
/* Syntax highlighting */
.sp-kw { color: #C792EA; }
.sp-fn { color: #82AAFF; }
.sp-obj { color: #FFCB6B; }
.sp-num { color: #F78C6C; }
.sp-str { color: #C3E88D; }
.sp-pp { color: #C792EA; }
.sp-bridge-desc {
  font-size: 12px;
  color: #718096;
  text-align: center;
  padding: 10px 16px 14px;
}
.sp-bridge-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  color: #94A3B8;
}
.sp-bridge-arrow svg {
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sp-bridge-note {
  background: #EBF4FF;
  border-left: 3px solid #1A56A4;
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.sp-bridge-note p {
  font-size: 14px;
  color: #2D3748;
  line-height: 1.85;
}
.sp-video-wrapper {
  text-align: center;
}
.sp-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 1px solid #CBD5E0;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.sp-video-btn:hover {
  border-color: #1A56A4;
  color: #1A56A4;
}
.sp-play-icon {
  width: 32px; height: 32px;
  background: #EBF4FF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #1A56A4;
}

/* ===== MATERIALS ===== */
.sp-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.sp-material-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 28px 24px;
}
.sp-material-icon {
  width: 44px; height: 44px;
  background: #EBF4FF;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #1A56A4;
  margin-bottom: 16px;
}
.sp-material-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sp-material-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 8px;
}
.sp-material-card p {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.7;
}

/* ===== TARGET ===== */
.sp-target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.sp-target-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
}
.sp-target-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: #EBF4FF;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #1A56A4;
}
.sp-target-icon svg {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.sp-target-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 8px;
}
.sp-target-card p {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.7;
}

/* ===== ACHIEVEMENT ===== */
.sp-achievement-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sp-achievement-main {
  text-align: center;
  padding: 48px;
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
}
.sp-achievement-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}
.sp-achievement-num {
  font-family: 'Outfit', sans-serif;
  font-size: 80px;
  font-weight: 800;
  color: #1A56A4;
  line-height: 1;
}
.sp-achievement-unit {
  font-size: 24px;
  font-weight: 700;
  color: #1A56A4;
}
.sp-achievement-org {
  font-size: 16px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 20px;
}
.sp-achievement-desc {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.8;
  text-align: left;
}
.sp-achievement-video {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sp-achievement-video iframe {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.sp-achievement-org {
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 800 !important;
  color: #1E2A3B !important;
  margin-bottom: 12px !important;
}
.sp-achievement-lead {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: center;
}
.sp-achievement-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.sp-achievement-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #EBF4FF;
  border: 2px solid #1A56A4;
  gap: 4px;
}
.sp-achievement-circle-num {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #1A56A4;
  line-height: 1;
}
.sp-achievement-circle-label {
  font-size: 11px;
  color: #718096;
  font-weight: 500;
}

.sp-achievement-note h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 12px;
}
.sp-achievement-note p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.9;
}

/* ===== CURRICULUM POSITION ===== */
.sp-position-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
}
.sp-position-step {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
}
.sp-position-step--current {
  border-color: #1A56A4;
  background: #EBF4FF;
}
.sp-position-num {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #CBD5E0;
  margin-bottom: 8px;
}
.sp-position-step--current .sp-position-num {
  color: #1A56A4;
}
.sp-position-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 4px;
}
.sp-position-info p {
  font-size: 12px;
  color: #718096;
  line-height: 1.6;
}
.sp-position-arrow {
  font-size: 18px;
  color: #CBD5E0;
  text-align: center;
}
.sp-position-note {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.8;
  text-align: center;
  padding: 20px;
  background: #F7F9FC;
  border-radius: 4px;
}

/* ===== CTA SECTION ===== */
.sp-cta-section {
  text-align: center;
}
.sp-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ===== VIDEO OVERLAY ===== */
.sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.sp-overlay.active {
  display: flex;
}
.sp-overlay-content {
  position: relative;
  width: min(90vw, 900px);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.sp-overlay-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.sp-overlay-content video {
  width: 100%;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sp-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sp-hero-visual { order: -1; }
  .sp-impact-body { grid-template-columns: 1fr; }
  .sp-impact-visual { order: -1; }
  .sp-philosophy-layout { grid-template-columns: 1fr; gap: 36px; }
  .sp-philosophy-visual { order: -1; }
  .sp-why-grid { grid-template-columns: 1fr; }
  .sp-reasons-grid { grid-template-columns: 1fr; }
  .sp-role-table {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .sp-role-arrow {
    flex-direction: row;
    justify-content: center;
  }
  .sp-comparison-row {
    grid-template-columns: 1fr;
  }
  .sp-comparison-arrow { text-align: center; }
  .sp-bit-split { grid-template-columns: 1fr; gap: 36px; }
  .sp-bit-layout { grid-template-columns: 1fr; }
  .sp-learn-grid { grid-template-columns: 1fr 1fr; }
  .sp-bridge-grid {
    grid-template-columns: 1fr;
  }
  .sp-bridge-arrow {
    padding-top: 0;
    justify-content: center;
  }
  .sp-materials-grid { grid-template-columns: 1fr 1fr; }
  .sp-target-grid { grid-template-columns: 1fr; }
  .sp-achievement-content { grid-template-columns: 1fr; gap: 32px; }
  .sp-achievement-main { padding: 32px; }
  .sp-position-flow {
    grid-template-columns: 1fr 1fr;
  }
  .sp-position-arrow { display: none; }
  .sp-cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .sp-learn-grid { grid-template-columns: 1fr; }
  .sp-materials-grid { grid-template-columns: 1fr; }
  .sp-position-flow { grid-template-columns: 1fr; }
  .sp-achievement-num { font-size: 60px; }
}
