/* CSS Variables for Clean Design System */
:root {
  --primary-blue: #1562CF;
  --primary-blue-hover: #0e4eb0;
  --primary-light-blue: #f0f5ff;
  --accent-red: #ef4444;
  --accent-red-hover: #dc2626;
  --bg-page: #f4f6fa;
  --bg-container: #ffffff;
  --bg-card: #f8fafc;
  --bg-card-blue: #f5f8ff;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --border-light: #e5e7eb;
  
  --font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  
  /* Prevent awkward mid-word breaks in Korean */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Centered single-column layout container (max 800px) */
.page-container {
  width: 100%;
  max-width: 800px;
  background-color: var(--bg-container);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.wrap {
  width: 100%;
  padding: 0 24px;
}

.highlight {
  color: var(--primary-blue);
}

.highlight-red {
  color: var(--accent-red);
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 99px; /* Rounded pill style */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 98, 207, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 98, 207, 0.4);
}

.btn-accent {
  background-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.btn-accent:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

/* Top Announcement Bar */
.announcement-bar {
  background-color: var(--primary-blue);
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
}

/* Header Section */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Hero Section */
.hero {
  background-color: #ffffff;
  padding: 40px 0 54px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--primary-light-blue);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 26px;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Schedule Card */
.schedule-card {
  background-color: var(--bg-card-blue);
  border: 1px solid rgba(21, 98, 207, 0.15);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 28px;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2.5px 5px;
  border-radius: 4px;
  animation: pulse 2s infinite;
}

.schedule-header h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-blue);
}

.schedule-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-info {
  display: flex;
  font-size: 13px;
}

.info-label {
  width: 70px;
  color: var(--text-muted);
  font-weight: 700;
}

.info-value {
  font-weight: 700;
  color: var(--text-dark);
}

.price-strikethrough {
  text-decoration: line-through;
  color: var(--text-light);
  margin-right: 6px;
}

.price-free {
  color: var(--accent-red);
  font-size: 14.5px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.cta-note {
  font-size: 11px;
  color: var(--text-muted);
}

/* Hero Sidebar - Preview Box */
.preview-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px;
  max-width: 550px;
  margin: 0 auto;
  text-align: left;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 10px;
}

.dots {
  display: flex;
  gap: 5px;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.dots span:nth-child(1) { background-color: #ff5f56; }
.dots span:nth-child(2) { background-color: #ffbd2e; }
.dots span:nth-child(3) { background-color: #27c93f; }

.preview-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.preview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-list li {
  display: flex;
  gap: 12px;
}

.preview-list .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-blue);
  background-color: var(--primary-light-blue);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-list h4 {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.preview-list p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Running Banner */
.running-banner {
  background-color: var(--primary-blue);
  color: #ffffff;
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
}

/* Section Common Styles */
.section {
  padding: 54px 0;
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 30px;
}

.kicker {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.section-desc {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Problem Section */
.problem {
  background-color: var(--bg-card);
}

.problem-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.problem-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-red);
  background-color: rgba(239, 68, 68, 0.08);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.problem-card p {
  color: var(--text-muted);
  font-size: 12.5px;
}

.warning-callout {
  display: flex;
  gap: 14px;
  background-color: #ffffff;
  border-left: 4px solid var(--accent-red);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.warning-icon {
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.warning-callout p {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
}

.warning-callout strong {
  color: var(--accent-red);
}

/* Curriculum Section */
.curriculum-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.curriculum-item {
  display: flex;
  gap: 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.curriculum-item:hover {
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.curr-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-blue);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.curr-content h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.curr-content p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Success Cases Section */
.stats {
  background-color: var(--primary-light-blue);
  border-bottom: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-box {
  background-color: #ffffff;
  border: 1px solid rgba(21, 98, 207, 0.1);
  padding: 20px 12px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.stat-box:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-blue);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Target Section */
.target-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.target-card {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background-color: var(--bg-card);
  align-items: center;
  transition: var(--transition-smooth);
}

.target-card:hover {
  background-color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.check-icon {
  background-color: var(--primary-light-blue);
  color: var(--primary-blue);
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}

.target-card p {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Benefits Section */
.benefits {
  background-color: var(--bg-card);
}

.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.benefit-tag {
  display: inline-block;
  background-color: var(--primary-light-blue);
  color: var(--primary-blue);
  font-size: 9px;
  font-weight: 800;
  padding: 2.5px 6px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.benefit-item h3 {
  font-size: 14.5px;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.benefit-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Apply Section & Form */
.apply-section {
  background-color: #ffffff;
  padding: 54px 0 100px;
}

.apply-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 550px;
  margin: 0 auto;
}

.apply-info-side {
  text-align: center;
}

.apply-info-side h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 8px 0 12px;
}

.apply-info-side p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.apply-meta-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
  background-color: var(--bg-card);
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.meta-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.meta-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.2;
}

.meta-text strong {
  font-size: 13px;
  display: block;
  color: var(--text-dark);
  line-height: 1.2;
}

.meta-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.2;
  margin: 0;
}

/* Form Styling */
.apply-form-side {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #000000 !important;
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: #000000 !important;
  transition: var(--transition-smooth);
}

.form-group textarea {
  resize: none;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0a0a0 !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(21, 98, 207, 0.2);
}

.privacy-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.privacy-consent input {
  margin-top: 3px;
  border: 1px solid #000000 !important;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.privacy-consent label {
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-blue);
  color: #ffffff;
  font-size: 14px;
  padding: 12px;
  border-radius: 99px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(21, 98, 207, 0.2);
  border: none;
}

.btn-submit:hover {
  background-color: var(--primary-blue-hover);
  box-shadow: 0 6px 16px rgba(21, 98, 207, 0.3);
}

/* Footer Styles */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 32px 20px;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 550px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.6);
}

.copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
}

/* Centered Sticky Bottom CTA */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  z-index: 90;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-text {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-text.scroll-hide {
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
}

.sticky-badge {
  background-color: var(--primary-blue);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2.5px 5px;
  border-radius: 4px;
}

.sticky-schedule {
  color: #ffffff;
  font-size: 13px;
}

.sticky-schedule strong {
  color: var(--primary-light-blue);
}

.sticky-inner .btn {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 99px;
}

/* Scroll Fade-In Effects */
.LD_Effect_USE {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.LD_Effect_USE.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 600px) {
  .hero-title {
    font-size: 20px;
  }
  .hero-desc {
    font-size: 12.5px;
  }
  .section-title {
    font-size: 17px;
  }
  .section-desc {
    font-size: 12px;
  }
  /* Mobile styling for Sticky CTA to prevent button wrap */
  .sticky-cta {
    padding: 8px 12px;
  }
  .sticky-text {
    gap: 6px;
  }
  .sticky-badge {
    font-size: 8px;
    padding: 2px 5px;
  }
  .sticky-schedule {
    font-size: 11px;
    letter-spacing: -0.02em;
  }
  .sticky-inner .btn {
    padding: 7px 12px;
    font-size: 11px;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }
}

/* Floating Quick Menu (Always Unfolded) */
.quick-menu-container {
  position: fixed;
  bottom: 80px;
  right: calc(50vw - 400px + 20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

@media (max-width: 840px) {
  .quick-menu-container {
    right: 16px;
  }
}

.quick-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.quick-menu-item:hover {
  transform: translateX(-4px);
}

/* Label & Icon styles */
.quick-menu-container .item-label {
  background-color: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition-smooth);
}

.quick-menu-item:hover .item-label {
  opacity: 1;
  transform: translateX(0);
}

.quick-menu-container .item-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  font-weight: 900;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.quick-menu-item:hover .item-icon {
  transform: scale(1.08);
}

/* Colors & Icons for each social */
.quick-menu-item.regular-course .item-icon { background-color: #f59e0b; }
.quick-menu-item.youtube .item-icon { background-color: #ef4444; }
.quick-menu-item.instagram .item-icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aec 90%); }
.quick-menu-item.cafe .item-icon { background-color: #22c55e; }
.quick-menu-item.blog .item-icon { background-color: #10b981; }
.quick-menu-item.homepage .item-icon { background-color: #1e293b; }

@media (max-width: 600px) {
  .quick-menu-container {
    bottom: 72px;
    gap: 6px;
  }
  .quick-menu-container .item-label {
    opacity: 1; /* Always show label on mobile */
    transform: translateX(0);
    font-size: 10px;
    padding: 3px 8px;
  }
  .quick-menu-container .item-icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* ===== Video Section & Gallery Section ===== */
.video-section {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
}

.gallery-section {
  padding: 32px 0 56px;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
}

/* ===== 3대 시스템 Block (Light Theme matching Site) ===== */
.system-block {
  background-color: var(--bg-card);
  padding: 36px 28px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-top: 36px;
  text-align: center;
}

.system-title {
  color: var(--text-dark);
  font-size: 20px;
  margin-top: 4px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.system-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
}

.system-icon-wrapper {
  margin-bottom: 20px;
}

.system-card h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.system-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .system-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Videos Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr !important;
  }
}

.video-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(21, 98, 207, 0.12);
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  background: #000;
  overflow: hidden;
}

.video-thumbnail-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail-wrapper img {
  transform: scale(1.05);
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(239, 68, 68, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.video-card:hover .play-btn-overlay {
  background: #dc2626;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  color: #ffffff;
  font-size: 15px;
  margin-left: 2px;
}

.video-card-title {
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  background-color: var(--bg-card);
}

/* Desktop Album Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2xn grid */
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.gallery-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #e8edf5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 380px;
}

.gallery-grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(21, 98, 207, 0.15);
}

.gallery-grid-item img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-grid-item:hover img {
  transform: scale(1.04);
}

/* Mobile Carousel */
.video-carousel,
.gallery-carousel {
  margin-top: 8px;
}

.gallery-item {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f7fb;
}

.mobile-video-link {
  display: block;
  text-decoration: none;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.mobile-video-link .video-thumbnail-wrapper {
  border-radius: 12px;
  overflow: hidden;
}

.video-slide-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-top: 6px;
}

/* Desktop / Mobile toggle */
.desktop-only {
  display: grid;
}
.mobile-only {
  display: none;
}
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block;
  }
}

/* Swiper */
.swiper {
  width: 100%;
  height: auto;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Swiper navigation – 직선 화살표만 */
.gallery-section .swiper-button-prev,
.gallery-section .swiper-button-next {
  color: #94a3b8;
  background: none;
  border: none;
  box-shadow: none;
  width: auto;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-section .swiper-button-prev { left: 2px; }
.gallery-section .swiper-button-next { right: 2px; }
.gallery-section .swiper-button-prev:active,
.gallery-section .swiper-button-next:active {
  color: var(--primary-blue);
}
.gallery-section .swiper-button-prev::after,
.gallery-section .swiper-button-next::after {
  font-size: 18px;
  font-weight: 300;
}

/* Swiper pagination dots */
.gallery-section .swiper-pagination-bullet {
  background: var(--primary-blue);
  opacity: 0.35;
  width: 7px;
  height: 7px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-section .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.25);
}

/* Open Chat Section */
.openchat {
  background-color: #ffffff;
}

.openchat-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.openchat-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: block;
}

.btn-kakao {
  background-color: #fee500;
  color: #191919;
  box-shadow: 0 4px 14px rgba(254, 229, 0, 0.25);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.btn-kakao:hover {
  background-color: #fdd835;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 229, 0, 0.35);
}
