/* =====================================================
   Canva Page Styles - Changho x Canva Edition
   Theme: "A Modern Frame for Colorful Creativity"
   ===================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

/* Variables override/addition */
:root {
  /* Canva Brand Colors */
  --canva-primary: #00C4CC;
  --canva-secondary: #7D2AE8;
  --canva-gradient: linear-gradient(135deg, #00C4CC 0%, #7D2AE8 100%);

  /* Integration with Changho Theme */
  --bg-color: var(--changho-paper, #F5F1E8);
  --text-main: var(--changho-dark, #2C3E50);
  --wood-border: var(--changho-wood, #B8956A);

  /* Bridge variables: design-system.css -> changho-patterns.css
     These ensure canva-styles.css works without design-system.css */
  --text-primary: var(--changho-dark, #2C3E50);
  --text-secondary: var(--changho-dark-light, #34495E);
  --border: var(--changho-wood-light, #D4B896);
  --surface: #FFFFFF;
  --background: var(--changho-paper, #F5F1E8);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Global Background - Hanji Texture */
html {
  overflow-x: hidden !important;
}

body {
  background-color: var(--changho-paper, #F5F1E8) !important;
  color: var(--text-main);
  background-image: var(--changho-noise);
  min-height: 100vh;
  overflow-x: hidden !important;
}

body::before {
  display: none !important;
  /* Remove floating gradients */
}

/* ==========================================================================
   Base Layout & Button Classes (ported from design-system.css)
   These are required since design-system.css is no longer loaded.
   ========================================================================== */

.container {
  max-width: var(--section-max-width, 1200px);
  margin-inline: auto;
  padding-inline: 1.5rem; /* 24px */
  width: 100%;
}

/* Base Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* 8px */
  min-height: 44px;
  padding-inline: 1.5rem; /* 24px */
  padding-block: 0.75rem; /* 12px */
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 1rem; /* 16px */
  background: transparent;
  color: var(--changho-dark, #2C3E50);
  cursor: pointer;
  user-select: none;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--changho-accent, #1a365d);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary Button - Changho Accent */
.btn-primary {
  background: var(--changho-accent, #1a365d);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.3);
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: #152d4d;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 54, 93, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button - Changho Outline */
.btn-secondary {
  background: #ffffff;
  color: var(--changho-dark, #2C3E50);
  border: 2px solid var(--changho-dark, #2C3E50);
  font-weight: 600;
}

.btn-secondary:hover {
  background: var(--changho-dark, #2C3E50);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

/* Button Size Variants */
.btn-sm {
  min-height: 36px;
  padding-inline: 1rem; /* 16px */
  padding-block: 0.5rem; /* 8px */
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 52px;
  padding-inline: 2rem; /* 32px */
  padding-block: 1rem; /* 16px */
  font-size: 1.125rem;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.hero-title,
.section-title {
  font-family: var(--font-serif, 'Noto Serif KR'), serif;
  letter-spacing: -0.02em;
}

p,
.section-description,
.feature-list,
.stat-label {
  font-family: var(--font-sans, 'Noto Sans KR'), sans-serif;
}

/* =====================================================
   Hero Section - Clean Redesign
   ===================================================== */

.hero-section {
  position: relative;
  padding: 120px 0 80px;
  background: transparent;
  overflow: visible;
}

.hero-section::before {
  display: none;
}

/* Hero Grid - Flexbox로 변경 */
.hero-grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  max-width: 50%;
  background: rgba(255, 255, 255, 0.98);
  padding: 48px;
  border-radius: 8px;
  /* Sharper corners for Changho style */
  border: 2px solid var(--changho-wood, #B8956A);
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.08);
  /* Changho shadow */
}

.hero-visual {
  flex: 1;
  max-width: 50%;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 태블릿 이하에서 세로 배치 */
@media (max-width: 1024px) {
  .hero-grid {
    flex-direction: column !important;
    gap: 40px;
  }

  .hero-content,
  .hero-visual {
    max-width: 100%;
    flex: none;
    width: 100%;
  }

  .hero-visual {
    order: -1;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(184, 149, 106, 0.1);
  border: 1px solid rgba(184, 149, 106, 0.3);
  border-radius: 24px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}

/* Official Canva for Education Partner Badge */
.hero-badge.partner-badge {
  background: linear-gradient(135deg, rgba(0, 196, 204, 0.15) 0%, rgba(125, 42, 232, 0.1) 100%);
  border: 2px solid var(--canva-primary);
  padding: 10px 24px;
  box-shadow: 0 4px 16px rgba(0, 196, 204, 0.2);
}

.hero-badge.partner-badge .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--canva-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-badge.partner-badge .badge-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: 0.3px;
}

.badge-icon {
  font-size: 1.25rem;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--canva-primary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--text-primary);
  animation: fadeInUp 0.6s ease 0.1s both;
  word-break: keep-all;
  /* Prevent mid-word breaking for Korean */
}

.gradient-text {
  background: var(--canva-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--canva-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.visual-card {
  width: 240px;
  background: white;
  border: 2px solid var(--changho-wood, #B8956A);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(26, 54, 93, 0.1);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
}

.card-gradient.purple {
  background: linear-gradient(135deg, #7D2AE8, #9F7AEA);
}

.card-gradient.blue {
  background: linear-gradient(135deg, #00C4CC, #06B6D4);
}

.card-gradient.pink {
  background: linear-gradient(135deg, #FF6F91, #EC4899);
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-content .icon-large {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.card-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.card-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.floating {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   Tab Section
   ===================================================== */

.tab-section {
  padding: 80px 0;
  background: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* Tab Navigation */
.tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Force 3 columns */
  gap: 24px;
  margin-bottom: 60px;
  max-width: 1000px;
  /* Limit width for cleaner look */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.tab-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  background: white;
  border: 2px solid var(--changho-wood-light, #D4B896);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.06);
}

.tab-button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--changho-wood, #B8956A);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-button:hover {
  border-color: var(--changho-wood, #B8956A);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(26, 54, 93, 0.1);
}

.tab-button.active {
  border-color: var(--changho-wood, #B8956A);
  background: rgba(184, 149, 106, 0.05);
  /* Light wood tint */
  box-shadow: 0 4px 12px rgba(184, 149, 106, 0.2);
}

.tab-button.active::before {
  transform: scaleX(1);
}

.tab-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.tab-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.tab-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.tab-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.2;
}

/* Tab Panels */
.tab-panel {
  display: none !important;
  opacity: 0;
}

.tab-panel.active {
  display: block !important;
  opacity: 1;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-intro {
  text-align: center;
  margin-bottom: 60px;
}

.panel-intro h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.panel-intro p {
  font-size: 1.125rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  /* Slightly wider min-width */
  gap: 32px;
  margin-bottom: 60px;
  width: 100%;
}

.feature-card {
  background: white;
  border: 2px solid var(--changho-wood-light, #D4B896);
  border-radius: 8px;
  padding: 40px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.06);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(26, 54, 93, 0.12);
  border-color: var(--changho-wood, #B8956A);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 24px;
}

.icon-xl {
  font-size: 2.5rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.feature-card>p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 10px 0;
  font-size: 0.875rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

/* Use Cases */
.use-cases {
  background: rgba(184, 149, 106, 0.05);
  /* very light wood tint */
  border: 2px solid var(--changho-wood, #B8956A);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 60px;
}

.use-cases h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 32px;
  text-align: center;
  color: var(--text-primary);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.case-item {
  text-align: center;
}

.case-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.case-item h5 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.case-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* CTA Box */
.cta-box {
  background: var(--changho-accent, #1a365d);
  color: white;
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  border: 4px double var(--changho-wood, #B8956A);
  /* Double border for aesthetics */
}

.cta-box h4 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: white;
}

.cta-box p {
  font-size: 1rem;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-box .btn {
  background: white;
  color: var(--canva-primary);
  font-weight: 600;
}

.cta-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   Magic Studio Section
   ===================================================== */

.magic-studio-section {
  padding: 100px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.magic-studio-section::before {
  display: none;
}

.badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(184, 149, 106, 0.1);
  border: 1px solid rgba(184, 149, 106, 0.3);
  border-radius: 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--changho-wood-dark, #8B7355);
}

.magic-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 60px;
  width: 100%;
}

.magic-card {
  background: white;
  border: 2px solid var(--changho-wood-light, #D4B896);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.06);
}

.magic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(26, 54, 93, 0.12);
  border-color: var(--changho-wood, #B8956A);
}

.magic-visual {
  position: relative;
  margin-bottom: 20px;
  height: 80px;
  /* Reduced height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-magic {
  font-size: 3rem;
  /* Smaller icon */
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.magic-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(30px);
  transition: all 0.3s ease;
}

.magic-card:hover .magic-glow {
  opacity: 0.4;
  transform: scale(1.2);
}

.magic-glow.purple {
  background: #7D2AE8;
}

.magic-glow.blue {
  background: #00C4CC;
}

.magic-glow.pink {
  background: #FF6F91;
}

.magic-glow.green {
  background: #10b981;
}

.magic-glow.orange {
  background: #f59e0b;
}

.magic-glow.teal {
  background: #06b6d4;
}

.magic-glow.indigo {
  background: var(--changho-accent, #1a365d);
}

.magic-glow.yellow {
  background: #fbbf24;
}

.magic-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.tool-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--changho-wood-dark, #8B7355);
  margin: 0 0 12px;
}

.tool-description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 16px;
}

.tool-stats {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 16px;
  background: rgba(184, 149, 106, 0.08);
  border-radius: 12px;
  display: inline-block;
}

.magic-cta {
  text-align: center;
  margin-top: 80px;
  padding: 60px 40px;
  background: white;
  border: 2px solid var(--changho-wood-light, #D4B896);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(26, 54, 93, 0.08);
}

.magic-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.magic-cta p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 32px;
}

/* =====================================================
   Pricing Section
   ===================================================== */

.pricing-section {
  padding: 100px 0;
  background: var(--background);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--changho-wood, #B8956A);
  box-shadow: 0 0 0 4px rgba(184, 149, 106, 0.15);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 24px;
  background: var(--changho-wood, #B8956A);
  color: white;
  border-radius: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(184, 149, 106, 0.3);
}

.pricing-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text-primary);
}

.pricing-price {
  margin-bottom: 32px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 8px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* =====================================================
   Final CTA Section
   ===================================================== */

.final-cta-section {
  padding: 100px 0;
  background: var(--changho-paper-dark, #E8E0D0);
  color: var(--changho-dark, #2C3E50);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--changho-dark, #2C3E50);
}

.cta-content p {
  font-size: 1.25rem;
  margin: 0 0 40px;
  color: var(--changho-dark-light, #34495E);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 16px 40px;
  font-size: 1.125rem;
}

.cta-buttons .btn-primary {
  background: var(--changho-accent, #1a365d);
  color: white;
}

.cta-buttons .btn-primary:hover {
  background: var(--changho-accent-dark, #0f2442);
}

.cta-buttons .btn-secondary {
  background: transparent;
  border: 2px solid var(--changho-wood, #B8956A);
  color: var(--changho-wood, #B8956A);
}

.cta-buttons .btn-secondary:hover {
  background: var(--changho-wood, #B8956A);
  color: white;
}

/* =====================================================
   Masonry / Bento Grid Layout (벽돌 쌓기 스타일)
   ===================================================== */

.bento-section {
  padding: 120px 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.bento-header {
  text-align: center;
  margin-bottom: 60px;
}

.masonry-container {
  column-count: 3;
  column-gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  background: white;
  border-radius: 8px;
  /* Sharper */
  padding: 32px;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.06);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  border: 2px solid var(--changho-wood-light, #D4B896);
  overflow: hidden;
  position: relative;
  /* Safari fix for break-inside: avoid */
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: inline-block;
  width: 100%;
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(184, 149, 106, 0.15);
}

/* 카드 크기 변형 */
.masonry-item.large {
  background: var(--changho-accent, #1a365d);
  color: white;
  border: 2px solid var(--changho-wood, #B8956A);
}

.masonry-item.medium {
  background: rgba(184, 149, 106, 0.04);
  border-color: var(--changho-wood, #B8956A);
}

/* 카드 내부 스타일 */
.m-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: rgba(184, 149, 106, 0.1);
  transition: all 0.3s ease;
}

.masonry-item:hover .m-icon {
  transform: scale(1.1);
}

.masonry-item.large .m-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.m-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.masonry-item.large .m-title {
  color: white;
}

.m-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 24px;
}

.masonry-item.large .m-desc {
  color: rgba(255, 255, 255, 0.95);
}

.m-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.m-tag {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 100px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.masonry-item.large .m-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.masonry-item.medium .m-tag {
  background: white;
}

/* 섹션별 컬러 테마 */
.theme-ai .m-icon {
  background: rgba(26, 54, 93, 0.1);
  color: var(--changho-accent, #1a365d);
}

.theme-video .m-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.theme-school .m-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.theme-community .m-icon {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

/* 배경 장식 */
.bg-deco {
  position: absolute;
  right: -20px;
  bottom: -20px;
  opacity: 0.05;
  font-size: 120px;
  line-height: 1;
  pointer-events: none;
  font-family: sans-serif;
  font-weight: 900;
  transition: all 0.3s ease;
}

.masonry-item:hover .bg-deco {
  transform: scale(1.1) rotate(-10deg);
  opacity: 0.1;
}

/* 활용 팁 박스 */
.use-box {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
}

.masonry-item.large .use-box {
  background: rgba(255, 255, 255, 0.1);
}

.use-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.masonry-item.large .use-title {
  color: rgba(255, 255, 255, 0.8);
}

.use-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.use-list li {
  font-size: 0.85rem;
  margin-bottom: 4px;
  position: relative;
  padding-left: 14px;
  color: #475569;
}

.use-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #cbd5e1;
}

.masonry-item.large .use-list li {
  color: rgba(255, 255, 255, 0.9);
}

.masonry-item.large .use-list li::before {
  color: rgba(255, 255, 255, 0.5);
}

/* 반응형 */
@media (max-width: 1024px) {
  .masonry-container {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .masonry-container {
    column-count: 1;
  }
}

/* =====================================================
   Utility Classes
   ===================================================== */

/* Body Padding */
body {
  padding-top: 140px;
}

/* Dropdown Icon Variants */
.dropdown-icon-canva {
  background: var(--canva-accent-gradient);
}

.dropdown-icon-transparent {
  background: transparent;
  padding: 4px;
}

/* Feature Icon Backgrounds - Changho Tones */
.feature-icon-purple {
  background: rgba(26, 54, 93, 0.1);
}

.feature-icon-pink {
  background: rgba(192, 86, 33, 0.1);
}

.feature-icon-orange {
  background: rgba(245, 158, 11, 0.1);
}

.feature-icon-blue {
  background: rgba(0, 196, 204, 0.1);
}

.feature-icon-green {
  background: rgba(16, 185, 129, 0.1);
}

.feature-icon-yellow {
  background: rgba(245, 158, 11, 0.08);
}

.feature-icon-aqua {
  background: rgba(0, 196, 204, 0.08);
}

.feature-icon-teal {
  background: rgba(26, 54, 93, 0.08);
}

/* Animation Delays */
.animation-delay-2 {
  animation-delay: 0.2s;
}

.animation-delay-4 {
  animation-delay: 0.4s;
}

/* Section Backgrounds */
.section-gradient-light {
  background: rgba(184, 149, 106, 0.03);
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 1024px) {
  .tab-navigation {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .magic-tools-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .use-cases {
    padding: 32px 20px;
  }

  .cta-box {
    padding: 32px 20px;
  }

  .magic-cta {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .tab-button {
    padding: 20px 16px;
  }

  .tab-icon {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer>.container>div:first-child {
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================
   Detailed Sections - Product Page Style
   ===================================================== */

.detailed-section {
  margin-top: 80px;
  padding: 60px;
  background: rgba(184, 149, 106, 0.04);
  border-radius: 8px;
  border: 2px solid var(--changho-wood-light, #D4B896);
}

.detailed-section h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  text-align: center;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.tip-card {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--changho-wood, #B8956A);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tip-card:hover::before {
  transform: scaleX(1);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(184, 149, 106, 0.15);
  border-color: var(--changho-wood, #B8956A);
}

.tip-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--changho-accent, #1a365d);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 12px;
  margin-bottom: 16px;
}

.tip-card h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tip-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Subject Grid (중학교) */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.subject-card {
  background: var(--surface);
  padding: 28px;
  border-radius: 16px;
  border: 2px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.subject-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(184, 149, 106, 0.15);
  border-color: var(--changho-wood, #B8956A);
}

.subject-card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.subject-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Admission Grid (고등학교) */
.admission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.admission-card {
  background: var(--surface);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
}

.admission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(184, 149, 106, 0.15);
  border-color: var(--changho-wood, #B8956A);
}

.admission-tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--changho-accent, #1a365d);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.admission-card h5 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.admission-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.admission-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admission-card ul li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.admission-card ul li:last-child {
  border-bottom: none;
}

/* Feature Example */
.feature-example {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(184, 149, 106, 0.06);
  border-left: 3px solid var(--changho-wood, #B8956A);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-example strong {
  color: var(--changho-wood-dark, #8B7355);
  font-weight: 600;
}

/* Tab Panel Styling - 이미 위에 정의됨 */

.panel-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.panel-intro h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.panel-intro p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .detailed-section {
    padding: 40px 24px;
  }

  .detailed-section h4 {
    font-size: 1.5rem;
  }

  .tips-grid,
  .subject-grid {
    grid-template-columns: 1fr;
  }

  .admission-grid {
    grid-template-columns: 1fr;
  }

  .tip-card,
  .subject-card,
  .admission-card {
    padding: 24px;
  }

  .panel-intro h3 {
    font-size: 1.5rem;
  }

  .panel-intro p {
    font-size: 1rem;
  }
}

/* =====================================================
   📱 Mobile Responsive - 모바일 최적화
   ===================================================== */

/* Tablet (1024px 이하) - 추가 스타일 */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .magic-tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (768px 이하) */
@media (max-width: 768px) {

  /* Hero Section */
  .hero-section {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-item {
    min-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Tab Navigation */
  .tab-navigation {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tab-button {
    padding: 20px 16px;
    text-align: left;
  }

  .tab-icon {
    font-size: 1.5rem;
  }

  .tab-text {
    font-size: 1rem;
  }

  .tab-subtitle {
    font-size: 0.8125rem;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
  }

  .icon-xl {
    font-size: 1.75rem;
  }

  /* Use Cases */
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Magic Studio */
  .magic-tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .magic-card {
    padding: 28px;
  }

  /* CTA Box */
  .cta-box {
    padding: 32px 24px;
  }

  .cta-box h4 {
    font-size: 1.5rem;
  }

  /* Section Headers */
  .section-header h2,
  .section-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .section-description {
    font-size: 1rem;
  }

  /* Panel Intro */
  .panel-intro h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .panel-intro p {
    font-size: 1rem;
  }

  /* Footer */
  footer>div>div:first-of-type {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  footer>div>div:last-of-type {
    flex-direction: column;
    gap: 16px !important;
  }
}

/* Small Mobile (480px 이하) */
@media (max-width: 480px) {
  body {
    padding-top: 70px !important;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero */
  .hero-section {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .hero-description {
    font-size: 0.9375rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }

  /* Tabs */
  .tab-button {
    padding: 16px 12px;
  }

  .tab-icon {
    font-size: 1.25rem;
  }

  .tab-text {
    font-size: 0.9375rem;
  }

  .tab-subtitle {
    font-size: 0.75rem;
  }

  /* Feature Cards */
  .feature-card {
    padding: 20px;
  }

  .feature-card h4 {
    font-size: 1.125rem;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .icon-xl {
    font-size: 1.5rem;
  }

  .feature-list {
    font-size: 0.875rem;
  }

  /* Sections */
  .section-header h2,
  .section-title {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 0.9375rem;
  }

  /* Magic Studio */
  .magic-card {
    padding: 24px;
  }

  .magic-card h4 {
    font-size: 1.125rem;
  }

  .icon-magic {
    font-size: 2rem;
  }

  /* CTA */
  .cta-box {
    padding: 24px 16px;
  }

  .cta-box h4 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9375rem;
  }

  /* Detailed Sections */
  .detailed-section {
    padding: 32px 20px;
  }

  .detailed-section h4 {
    font-size: 1.375rem;
  }

  .tip-card,
  .subject-card,
  .admission-card {
    padding: 20px;
  }

  .tip-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Footer 추가 최적화 */
  footer {
    padding: 60px 0 32px !important;
  }

  footer h3 {
    font-size: 1.5rem !important;
  }

  footer h4 {
    font-size: 0.75rem !important;
  }

  footer>div>div:first-of-type>div:first-child>div:first-child,
  footer>div>div:first-of-type>div:nth-child(2),
  footer>div>div:first-of-type>div:nth-child(3) {
    padding: 24px !important;
  }
}

/* Extra Small Mobile (360px 이하) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .tab-button {
    padding: 14px 10px;
  }

  .feature-card {
    padding: 16px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    padding: 40px 0 30px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* =====================================================
   New Features & Styles (Extracted from HTML)
   ===================================================== */

/* Bento Section Override */
.new-features-bento {
  background: transparent;
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.new-features-bento .bento-header {
  text-align: center;
  margin-bottom: 60px;
}

.new-features-bento .badge {
  display: inline-block;
  background: var(--changho-accent, #1a365d);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: none;
}

/* Wishlist Chips */
.wishlist-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 4px 16px rgba(26, 54, 93, 0.06);
  transition: all 0.2s ease;
  border: 1px solid var(--changho-wood-light, #D4B896);
}

.wishlist-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 149, 106, 0.12);
  border-color: var(--changho-wood, #B8956A);
}

.wishlist-chip span {
  font-size: 1.2rem;
}

/* Footer Bento Grid Styles */
.footer-section {
  background: var(--changho-paper, #F5F1E8);
  padding: 100px 0 40px;
  position: relative;
  z-index: 0;
}

.footer-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.footer-card {
  background: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.08);
  transition: all 0.3s ease;
  border: 2px solid var(--changho-wood-light, #D4B896);
}

.footer-card:hover {
  transform: translateY(-4px);
  border-color: var(--changho-wood, #B8956A);
  box-shadow: 0 8px 32px rgba(184, 149, 106, 0.12);
}

/* Brand Card */
.footer-brand .brand-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.footer-brand .brand-tagline {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 32px 0;
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--changho-wood, #B8956A);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-value {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: var(--changho-wood-dark, #8B7355);
}

/* Newsletter Card */
.footer-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.footer-card-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 28px 0;
  line-height: 1.6;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(184, 149, 106, 0.05);
  border: 1px solid var(--changho-wood-light, #D4B896);
  border-radius: 8px;
  color: #0f172a;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input::placeholder {
  color: #64748b;
}

.form-group input:focus {
  border-color: var(--changho-wood, #B8956A);
  background: rgba(184, 149, 106, 0.08);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.1);
}

.newsletter-btn {
  width: 100%;
  padding: 14px 28px;
  background: var(--changho-accent, #1a365d);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 54, 93, 0.2);
  margin-top: 8px;
}

.newsletter-btn:hover {
  background: var(--changho-accent-dark, #0f2442);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
}

/* Company Info Card */
.company-info-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--changho-wood, #B8956A);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.info-value {
  font-size: 1rem;
  color: #0f172a;
  font-weight: 600;
  margin: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--changho-wood-light, #D4B896);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.copyright {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--changho-wood, #B8956A);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--changho-wood-dark, #8B7355);
  transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-bento {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 60px 0 30px;
  }

  .footer-card {
    padding: 32px;
  }

  .footer-brand .brand-header h3 {
    font-size: 1.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

/* =====================================================
   Sticky Promo Banner
   ===================================================== */

.sticky-promo-banner {
  position: sticky;
  top: 80px;
  z-index: 100;
  background: var(--changho-accent, #1a365d);
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.3);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-icon {
  font-size: 1.5rem;
}

.banner-text {
  color: white;
  font-size: 0.95rem;
  line-height: 1.5;
}

.banner-text strong {
  font-weight: 700;
}

.banner-cta {
  background: white;
  color: var(--changho-accent, #1a365d);
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Sticky Banner Responsive */
@media (max-width: 768px) {
  .sticky-promo-banner {
    padding: 14px 16px;
    top: 60px;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .banner-text {
    font-size: 0.875rem;
  }

  .banner-cta {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .sticky-promo-banner {
    top: 56px;
    padding: 12px 12px;
  }

  .banner-icon {
    font-size: 1.25rem;
  }

  .banner-text {
    font-size: 0.8125rem;
  }
}

/* Partner Badge Styles */
.partner-badge-container {
  display: inline-flex;
  align-items: center;
  background: rgba(184, 149, 106, 0.08);
  border: 1px solid rgba(184, 149, 106, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.partner-badge-img {
  display: block;
  max-width: 100%;
  height: auto;
}


/* =====================================================
   Comparison Section (Updated Grid Layout)
   ===================================================== */
.comparison-section {
  padding: 80px 0;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 8px;
  border: 2px solid var(--changho-wood-light, #D4B896);
  box-shadow: 0 4px 20px rgba(26, 54, 93, 0.06);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.comparison-header-row,
.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr 3.4fr 3.4fr;
  /* Feature | General | Education */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background: rgba(255, 255, 255, 0.4);
}

.col-feature,
.col-general,
.col-education {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-feature h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 0;
}

.col-general {
  background: rgba(241, 245, 249, 0.3);
  border-right: 1px solid rgba(0, 0, 0, 0.04);
}

.col-education {
  background: rgba(184, 149, 106, 0.04);
  position: relative;
}

.comparison-header-row .col-feature {
  border-bottom: none;
}

.comparison-header-row .col-general h3,
.comparison-header-row .col-education h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 4px 0;
}

.comparison-header-row span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.comparison-header-row .col-education h3 {
  color: var(--changho-accent, #1a365d);
}

.badge-best {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--changho-wood, #B8956A);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.main-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.main-text.highlight-text {
  color: var(--changho-accent, #1a365d);
}

.main-text.disabled {
  color: #94a3b8;
}

.sub-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--changho-wood, #B8956A);
  font-weight: bold;
}

@media (max-width: 768px) {

  .comparison-header-row,
  .comparison-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "feature feature"
      "general education";
  }

  .col-feature {
    grid-area: feature;
    padding-bottom: 0;
    border-bottom: none;
  }

  .comparison-header-row .col-feature {
    display: none;
  }

  .col-general {
    grid-area: general;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
  }

  .col-education {
    grid-area: education;
  }

  .badge-best {
    top: -30px;
    right: 50%;
    transform: translateX(50%);
  }
}

/* =====================================================
   Canva for Campus, Security, Case Studies Sections
   ===================================================== */

/* Campus Section Grid */
.campus-section .container>div[style*="grid-template-columns: repeat(3"] {
  display: grid;
}

/* Security Section Grid */
.security-section .container>div[style*="grid-template-columns: repeat(4"] {
  display: grid;
}

/* Case Studies Grid */
.case-studies-section .container>div[style*="grid-template-columns: repeat(3"] {
  display: grid;
}

/* Tablet Responsive (1024px) */
@media (max-width: 1024px) {
  .campus-section .container>div[style*="repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .security-section .container>div[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .case-studies-section .container>div[style*="repeat(3"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile Responsive (768px) */
@media (max-width: 768px) {

  .campus-section,
  .security-section,
  .case-studies-section {
    padding: 60px 0 !important;
  }

  .campus-section .container>div[style*="repeat(3"],
  .security-section .container>div[style*="repeat(4"],
  .case-studies-section .container>div[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .campus-section .section-header h2,
  .security-section .section-header h2,
  .case-studies-section .section-header h2 {
    font-size: 1.75rem !important;
  }

  .campus-section .section-description,
  .security-section .section-description,
  .case-studies-section .section-description {
    font-size: 1rem !important;
  }

  /* LMS Platform Section */
  .campus-section .container>div[style*="text-align: center"]>div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* SSO/SCIM Section */
  .security-section .container>div[style*="margin-top: 32px"]>div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 24px !important;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {

  .campus-section,
  .security-section,
  .case-studies-section {
    padding: 40px 0 !important;
  }

  .campus-section .section-header,
  .security-section .section-header,
  .case-studies-section .section-header {
    margin-bottom: 32px !important;
  }

  .campus-section .section-header h2,
  .security-section .section-header h2,
  .case-studies-section .section-header h2 {
    font-size: 1.5rem !important;
  }

  /* Cards padding adjustment */
  .campus-section .changho-frame,
  .security-section .changho-frame-glass,
  .case-studies-section .changho-frame-double {
    padding: 24px !important;
  }

  /* Case study stats */
  .case-studies-section div[style*="font-size: 2rem"] {
    font-size: 1.75rem !important;
  }
}

/* =====================================================
   VS Comparison Cards - Creative Comparison Section
   ===================================================== */

.vs-comparison-section {
  padding: 80px 0;
  background-color: var(--changho-paper, #F5F1E8);
}

.vs-comparison-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.vs-comparison-section .section-title {
  font-size: 2.25rem;
  color: var(--changho-dark, #2C3E50);
  margin-bottom: 12px;
}

.vs-comparison-section .section-description {
  font-size: 1.125rem;
  color: var(--changho-wood-dark, #8B7355);
  margin: 0;
}

/* VS Container - Flexbox Layout */
.vs-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual VS Card */
.vs-card {
  flex: 1;
  max-width: 400px;
  background: #fff;
  border: 2px solid var(--changho-wood-light, #D4C4A8);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(184, 149, 106, 0.15);
}

/* Featured Card (Education) */
.vs-card.featured {
  border: 3px solid var(--changho-wood, #B8956A);
  box-shadow: 0 12px 40px rgba(184, 149, 106, 0.2);
  transform: scale(1.03);
  background: linear-gradient(180deg, #fff 0%, #FDFBF7 100%);
}

.vs-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

/* Recommended Badge */
.vs-recommended {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--canva-gradient, linear-gradient(135deg, #00C4CC 0%, #7D2AE8 100%));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* VS Card Header */
.vs-card-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--changho-wood-light, #D4C4A8);
}

.vs-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.vs-card-header h3 {
  font-size: 1.5rem;
  color: var(--changho-dark, #2C3E50);
  margin: 0 0 8px 0;
  font-family: var(--font-serif, 'Noto Serif KR'), serif;
}

.vs-subtitle {
  font-size: 0.875rem;
  color: var(--changho-wood-dark, #8B7355);
  font-weight: 500;
}

/* VS Features List */
.vs-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vs-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(184, 149, 106, 0.15);
}

.vs-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vs-status {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.vs-content {
  flex: 1;
}

.vs-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--changho-dark, #2C3E50);
  margin-bottom: 4px;
}

.vs-content p {
  font-size: 0.825rem;
  color: var(--changho-wood-dark, #8B7355);
  margin: 0;
  line-height: 1.4;
}

/* Item States */
.vs-item.included .vs-content strong {
  color: #059669;
}

.vs-item.disabled .vs-content strong {
  color: #DC2626;
}

.vs-item.limited .vs-content strong,
.vs-item.neutral .vs-content strong {
  color: #6B7280;
}

/* VS Badge Center */
.vs-badge-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vs-badge {
  width: 64px;
  height: 64px;
  background: var(--changho-wood, #B8956A);
  color: white;
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(184, 149, 106, 0.3);
  font-family: var(--font-serif, 'Noto Serif KR'), serif;
}

/* =====================================================
   VS Cards - Tablet Responsive (max-width: 900px)
   ===================================================== */
@media (max-width: 900px) {
  .vs-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .vs-card {
    max-width: 100%;
    width: 100%;
  }

  .vs-card.featured {
    transform: scale(1);
    order: -1; /* Show featured card first on mobile */
  }

  .vs-card.featured:hover {
    transform: translateY(-4px);
  }

  .vs-badge-center {
    order: 0;
  }

  .vs-badge {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

/* =====================================================
   VS Cards - Mobile Responsive (max-width: 600px)
   ===================================================== */
@media (max-width: 600px) {
  .vs-comparison-section {
    padding: 48px 0;
  }

  .vs-comparison-section .section-title {
    font-size: 1.5rem;
  }

  .vs-comparison-section .section-description {
    font-size: 1rem;
  }

  .vs-card {
    padding: 24px;
  }

  .vs-icon {
    font-size: 2.5rem;
  }

  .vs-card-header h3 {
    font-size: 1.25rem;
  }

  .vs-item {
    padding: 12px 0;
  }

  .vs-content strong {
    font-size: 0.875rem;
  }

  .vs-content p {
    font-size: 0.75rem;
  }
}

/* =====================================================
   2025 Features - Streamlined Design
   ===================================================== */

/* Featured Features Grid - 4 Main Cards */
.featured-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.featured-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: white;
  border: 2px solid var(--changho-wood-light, #D4C4A8);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(184, 149, 106, 0.15);
  border-color: var(--changho-wood, #B8956A);
}

.featured-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(0, 196, 204, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.featured-card.theme-ai .featured-icon {
  background: linear-gradient(135deg, rgba(0, 196, 204, 0.15), rgba(125, 42, 232, 0.15));
}

.featured-card.theme-video .featured-icon {
  background: rgba(16, 185, 129, 0.15);
}

.featured-card.theme-school .featured-icon {
  background: rgba(245, 158, 11, 0.15);
}

.featured-card.theme-bonus .featured-icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.15));
}

.featured-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--changho-dark, #2C3E50);
  margin: 0 0 8px 0;
}

.featured-content p {
  font-size: 0.9rem;
  color: var(--changho-wood-dark, #8B7355);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.featured-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.featured-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--changho-paper-dark, #EDE8DC);
  border-radius: 20px;
  color: var(--changho-wood-dark, #8B7355);
}

/* Toggle Button */
.more-features-toggle {
  text-align: center;
  margin-bottom: 24px;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: white;
  border: 2px solid var(--changho-wood, #B8956A);
  border-radius: 30px;
  color: var(--changho-wood, #B8956A);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: var(--changho-wood, #B8956A);
  color: white;
}

.toggle-btn.active {
  background: var(--changho-wood, #B8956A);
  color: white;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-btn.active .toggle-icon {
  transform: rotate(180deg);
}

/* More Features Grid - Compact */
.more-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding-top: 8px;
  animation: slideDown 0.3s ease;
}

.more-features-grid.hidden {
  display: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: white;
  border: 1px solid var(--changho-wood-light, #D4C4A8);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mini-feature:hover {
  border-color: var(--changho-wood, #B8956A);
  background: rgba(184, 149, 106, 0.03);
}

.mini-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mini-feature strong {
  display: block;
  font-size: 0.9rem;
  color: var(--changho-dark, #2C3E50);
  margin-bottom: 4px;
}

.mini-feature p {
  font-size: 0.8rem;
  color: var(--changho-wood-dark, #8B7355);
  margin: 0;
  line-height: 1.4;
}

/* =====================================================
   FAQ Section
   ===================================================== */
.faq-section {
  padding: 72px 0;
  background: rgba(255, 255, 255, 0.55);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 36px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--changho-dark, #2C3E50);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--changho-wood-light, #D4C4A8);
  border-radius: 20px;
  padding: 8px 28px;
  box-shadow: 0 12px 32px rgba(26, 54, 93, 0.06);
}

.faq-item {
  border-bottom: 1px solid rgba(212, 196, 168, 0.8);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  padding: 22px 0;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.08rem;
  color: var(--changho-dark, #2C3E50);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--changho-accent, #1a365d);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 0 22px;
  color: var(--changho-wood-dark, #8B7355);
  line-height: 1.75;
  margin: 0;
  font-size: 0.98rem;
}

/* =====================================================
   2025 Features - Responsive
   ===================================================== */
@media (max-width: 900px) {
  .featured-features-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    padding: 8px 20px;
  }
}

@media (max-width: 600px) {
  .featured-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .featured-icon {
    margin: 0 auto;
  }

  .featured-tags {
    justify-content: center;
  }

  .more-features-grid {
    grid-template-columns: 1fr;
  }

  .mini-feature {
    padding: 14px;
  }

  .faq-section {
    padding: 48px 0;
  }

  .faq-item summary {
    font-size: 0.98rem;
    padding: 18px 0;
  }

  .faq-item p {
    font-size: 0.92rem;
  }
}

/* =====================================================
   창호 (Changho) Style - Full Page Application
   Korean Traditional Window Design System
   ===================================================== */

/* Hero Section - 창호 스타일 */
.changho-section-hero {
  position: relative;
  background: var(--changho-paper, #F5F1E8);
  overflow: hidden;
}

.changho-section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    var(--changho-noise),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23B8956A' stroke-width='1.5' fill='none' opacity='0.08'%3E%3Crect x='0' y='0' width='100' height='100'/%3E%3Cpath d='M0 50h100M50 0v100'/%3E%3Cpath d='M50 20L80 50L50 80L20 50Z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: auto, 100px 100px;
  pointer-events: none;
  z-index: 0;
}

.changho-section-hero > * {
  position: relative;
  z-index: 1;
}

.changho-frame-hero {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 3px solid var(--changho-wood, #B8956A) !important;
  border-radius: 4px !important;
  box-shadow:
    0 4px 20px rgba(26, 54, 93, 0.08),
    inset 0 0 0 1px rgba(184, 149, 106, 0.1) !important;
  position: relative;
}

.changho-frame-hero::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--changho-wood-light, #D4B896);
  border-radius: 2px;
  pointer-events: none;
}

/* Tab Section - 창호 스타일 */
.changho-section-tabs {
  position: relative;
  background: var(--changho-paper-light, #FDFBF7);
  overflow: hidden;
}

.changho-section-tabs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23B8956A' stroke-width='1.5' fill='none' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.changho-section-tabs > * {
  position: relative;
  z-index: 1;
}

/* Tab Buttons - 창호 스타일 강화 */
.changho-section-tabs .tab-button {
  background: var(--changho-paper, #F5F1E8);
  border: 2px solid var(--changho-wood-light, #D4B896);
  transition: all 0.3s var(--changho-ease, cubic-bezier(0.25, 1, 0.5, 1));
}

.changho-section-tabs .tab-button:hover {
  border-color: var(--changho-wood, #B8956A);
  background: white;
}

.changho-section-tabs .tab-button.active {
  background: white;
  border-color: var(--changho-wood, #B8956A);
  box-shadow: 0 4px 16px rgba(184, 149, 106, 0.15);
}

/* Feature Cards in Tabs - 창호 프레임 */
.changho-section-tabs .feature-card {
  background: white;
  border: 2px solid var(--changho-wood-light, #D4B896);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.changho-section-tabs .feature-card:hover {
  border-color: var(--changho-wood, #B8956A);
  box-shadow: 0 8px 24px rgba(184, 149, 106, 0.12);
  transform: translateY(-4px);
}

/* CTA Section - 창호 스타일 */
.changho-cta-section {
  position: relative;
  background: var(--changho-paper-dark, #E8E0D0) !important;
  overflow: hidden;
}

.changho-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' stroke='%23B8956A' stroke-width='2' fill='none' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.changho-cta-section > * {
  position: relative;
  z-index: 1;
}

.changho-frame-cta {
  background: white !important;
  border: 3px solid var(--changho-wood, #B8956A) !important;
  border-radius: 4px !important;
  padding: 60px 48px !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  box-shadow:
    0 8px 32px rgba(26, 54, 93, 0.1),
    inset 0 0 0 1px rgba(184, 149, 106, 0.1) !important;
  position: relative;
}

.changho-frame-cta::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--changho-wood-light, #D4B896);
  border-radius: 2px;
  pointer-events: none;
}

.changho-frame-cta h2 {
  color: var(--changho-dark, #2C3E50) !important;
  font-family: var(--font-serif, 'Noto Serif KR'), serif !important;
}

.changho-frame-cta p {
  color: var(--changho-wood-dark, #8B7355) !important;
}

.changho-frame-cta .btn-primary {
  background: var(--changho-accent, #1a365d) !important;
  color: white !important;
  border: none !important;
  border-radius: 4px !important;
}

.changho-frame-cta .btn-primary:hover {
  background: var(--changho-accent-dark, #0f2442) !important;
}

.changho-frame-cta .btn-secondary {
  background: transparent !important;
  color: var(--changho-wood, #B8956A) !important;
  border: 2px solid var(--changho-wood, #B8956A) !important;
  border-radius: 4px !important;
}

.changho-frame-cta .btn-secondary:hover {
  background: var(--changho-wood, #B8956A) !important;
  color: white !important;
}

/* Footer - 창호 스타일 */
.changho-footer {
  position: relative;
  background: var(--changho-paper, #F5F1E8) !important;
  overflow: hidden;
}

.changho-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    var(--changho-noise),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h80M40 0v80M20 20h40M20 60h40M20 20v40M60 20v40' stroke='%23B8956A' stroke-width='1' fill='none' opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: auto, 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.changho-footer > * {
  position: relative;
  z-index: 1;
}

.changho-footer .footer-card {
  background: white !important;
  border: 2px solid var(--changho-wood-light, #D4B896) !important;
  border-radius: 4px !important;
  transition: all 0.3s ease;
}

.changho-footer .footer-card:hover {
  border-color: var(--changho-wood, #B8956A) !important;
  box-shadow: 0 4px 16px rgba(184, 149, 106, 0.1) !important;
}

.changho-footer h3,
.changho-footer h4 {
  font-family: var(--font-serif, 'Noto Serif KR'), serif !important;
  color: var(--changho-dark, #2C3E50) !important;
}

.changho-footer .footer-bottom {
  border-top: 1px solid var(--changho-wood-light, #D4B896) !important;
  margin-top: 40px !important;
  padding-top: 24px !important;
}

.changho-footer .footer-links a {
  color: var(--changho-wood-dark, #8B7355) !important;
  transition: color 0.2s ease;
}

.changho-footer .footer-links a:hover {
  color: var(--changho-wood, #B8956A) !important;
}

.changho-footer .newsletter-btn {
  background: var(--changho-accent, #1a365d) !important;
  border-radius: 4px !important;
}

.changho-footer .newsletter-btn:hover {
  background: var(--changho-accent-dark, #0f2442) !important;
}

/* =====================================================
   창호 스타일 - 반응형
   ===================================================== */
@media (max-width: 768px) {
  .changho-frame-hero::before,
  .changho-frame-cta::before {
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
  }

  .changho-frame-cta {
    padding: 40px 24px !important;
  }
}

@media (max-width: 480px) {
  .changho-section-hero::before,
  .changho-section-tabs::before,
  .changho-cta-section::before,
  .changho-footer::before {
    opacity: 0.5;
  }

  .changho-frame-hero::before,
  .changho-frame-cta::before {
    display: none;
  }
}
