/* ===== LANGO Product Page Styles ===== */

/* Color overrides for LANGO (blue theme) */
.lg-accent { color: #4A6CF7; }

/* Hero */
.lg-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  min-height: auto;
}

.lg-hero-content {
  position: relative;
  text-align: center;
  padding: 72px 24px 56px;
}

.lg-hero-icon img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lg-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.lg-hero-tagline {
  font-size: 18px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.lg-hero-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 28px;
  font-weight: 400;
}

.lg-hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lg-hero-buttons .store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 42px;
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
}

.lg-hero-buttons .store-btn:hover {
  background: #000;
  box-shadow: var(--shadow);
}

.lg-hero-buttons .store-btn small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  opacity: 0.7;
  line-height: 1.2;
}

.lg-hero-buttons .store-btn strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

/* Features Grid */
.lg-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.lg-feature-card {
  background: var(--bg-page);
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.lg-feature-card:hover {
  border-color: #d0d3d6;
  box-shadow: var(--shadow);
}

.lg-feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: #4A6CF7;
}

.lg-feature-icon svg {
  width: 100%;
  height: 100%;
}

.lg-feature-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.lg-feature-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}

/* AI Characters Showcase */
.lg-chars-section {
  background: #fff;
}

.lg-chars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.lg-char-card {
  background: var(--bg-page);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px 18px;
  text-align: center;
  transition: var(--transition);
}

.lg-char-card:hover {
  border-color: #d0d3d6;
  box-shadow: var(--shadow);
}

.lg-char-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}

.lg-char-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.lg-char-lang {
  font-size: 12px;
  color: #4A6CF7;
  font-weight: 600;
  margin-bottom: 6px;
}

.lg-char-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Stats Section */
.lg-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.lg-stat-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}

.lg-stat-card:hover {
  border-color: #d0d3d6;
  box-shadow: var(--shadow);
}

.lg-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #4A6CF7;
  margin-bottom: 4px;
}

.lg-stat-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* Links Grid */
.lg-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lg-link-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.lg-link-card:hover {
  border-color: #d0d3d6;
  box-shadow: var(--shadow);
  color: #4A6CF7;
}

.lg-link-card svg {
  flex-shrink: 0;
  color: #4A6CF7;
}

/* Footer Info */
.lg-footer-info {
  margin: 12px 0;
  line-height: 1.8;
}

.lg-footer-info p {
  color: var(--text-muted);
  font-size: 12px;
}

.lg-footer-info a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.lg-footer-info a:hover {
  color: #4A6CF7;
}

/* ===== Legal Page Styles ===== */
.lg-legal-page {
  padding-top: 80px;
  padding-bottom: 60px;
  min-height: 100vh;
}

.lg-legal-page h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.lg-legal-page .lg-legal-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.lg-legal-page h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 28px;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid #4A6CF7;
}

.lg-legal-page h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 6px;
}

.lg-legal-page p,
.lg-legal-page li {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.lg-legal-page ul,
.lg-legal-page ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.lg-legal-page .lg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4A6CF7;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.lg-legal-page .lg-back-link:hover {
  opacity: 0.8;
}

.lg-legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.lg-legal-page th, .lg-legal-page td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.lg-legal-page th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.lg-legal-page td {
  color: #555;
}

.lg-legal-page a {
  color: #4A6CF7;
}

/* Highlight & Warning Boxes */
.lg-highlight-box {
  background: #EBF0FF;
  border: 1px solid #C5D2F6;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 13px;
  color: #3B5BDB;
  line-height: 1.7;
}

.lg-warning-box {
  background: #FFF3E0;
  border: 1px solid #FFE0B2;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 13px;
  color: #E65100;
  line-height: 1.7;
}

/* Local/Server Badges */
.lg-badge-local {
  display: inline-block;
  background: #E8F5E9;
  color: #2E7D32;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.lg-badge-server {
  display: inline-block;
  background: #FFF3E0;
  color: #E65100;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Contact Card */
.lg-contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lg-contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  margin-top: 0;
  padding-left: 0;
  border-left: none;
}

.lg-contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-page);
  border-radius: 10px;
}

.lg-contact-method .lg-icon {
  width: 40px;
  height: 40px;
  background: #4A6CF7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.lg-contact-method .lg-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.lg-contact-method .lg-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.lg-contact-method .lg-value a {
  color: #4A6CF7;
  text-decoration: none;
}

.lg-contact-method .lg-value a:hover {
  text-decoration: underline;
}

/* Step List */
.lg-step-list {
  counter-reset: steps;
  list-style: none;
  padding-left: 0;
}

.lg-step-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.lg-step-list li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: #4A6CF7;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.lg-step-content {
  flex: 1;
  padding-top: 4px;
}

.lg-step-content strong {
  display: block;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 4px;
}

.lg-step-content span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Blue Primary Button */
.btn-blue {
  background: #4A6CF7;
  color: #fff;
}

.btn-blue:hover {
  background: #3B5BDB;
  box-shadow: 0 2px 8px rgba(74, 108, 247, 0.25);
}

/* Language Switcher */
.lg-lang-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-bottom: 20px;
  padding-top: 8px;
}

.lg-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.lg-lang-btn:hover {
  border-color: #4A6CF7;
  color: #4A6CF7;
}

.lg-lang-btn.active {
  background: #4A6CF7;
  border-color: #4A6CF7;
  color: #fff;
}

[data-lang="ko"] { display: none; }
[data-lang="en"] { display: block; }

html[lang="ko"] [data-lang="ko"] { display: block; }
html[lang="ko"] [data-lang="en"] { display: none; }

table[data-lang="ko"],
table[data-lang="en"] { display: table; }
html[lang="ko"] table[data-lang="en"] { display: none; }
html[lang="ko"] table[data-lang="ko"] { display: table; }

ol[data-lang="ko"], ol[data-lang="en"],
ul[data-lang="ko"], ul[data-lang="en"] { display: block; }
html[lang="ko"] ol[data-lang="en"],
html[lang="ko"] ul[data-lang="en"] { display: none; }

span[data-lang="ko"], span[data-lang="en"],
a[data-lang="ko"], a[data-lang="en"] { display: inline; }
html[lang="ko"] span[data-lang="en"],
html[lang="ko"] a[data-lang="en"] { display: none; }
span[data-lang="ko"], a[data-lang="ko"] { display: none; }
html[lang="ko"] span[data-lang="ko"],
html[lang="ko"] a[data-lang="ko"] { display: inline; }

div[data-lang="ko"], div[data-lang="en"] { display: block; }
html[lang="ko"] div[data-lang="en"] { display: none; }
div[data-lang="ko"] { display: none; }
html[lang="ko"] div[data-lang="ko"] { display: block; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .lg-features-grid {
    grid-template-columns: 1fr;
  }

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

  .lg-stats-grid {
    grid-template-columns: 1fr;
  }

  .lg-links-grid {
    grid-template-columns: 1fr;
  }

  .lg-hero-content {
    padding: 48px 20px 40px;
  }

  .lg-hero h1 {
    font-size: 28px;
  }

  .lg-legal-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
