/* ============================================
   LearnForge Digital — внутренние страницы
   Дополнение к styles.css
   ============================================ */

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  border-bottom: 0.5px solid var(--line);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.3) 100%),
              linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.75));
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 64px;
}
.breadcrumbs { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 26px; }
.breadcrumbs a { color: var(--text-3); transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span { color: var(--text-4); margin: 0 8px; }
.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 200; letter-spacing: -0.025em; line-height: 1.04;
  margin-bottom: 22px; max-width: 800px;
}
.page-hero h1 strong { font-weight: 700; }
.page-hero-sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--text-2); max-width: 560px; line-height: 1.7; }
.page-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.page-hero-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.page-hero-icon {
  width: 92px; height: 92px; object-fit: contain;
  display: block; margin-bottom: 24px;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.6));
}
.page-hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; }

/* forge color accents for page heroes */
.accent-master { color: var(--c-master); }
.accent-master .dot { background: var(--c-master); box-shadow: 0 0 8px var(--c-master); }
.accent-field { color: var(--c-field); }
.accent-field .dot { background: var(--c-field); box-shadow: 0 0 8px var(--c-field); }
.accent-inner { color: var(--c-inner); }
.accent-inner .dot { background: var(--c-inner); box-shadow: 0 0 8px var(--c-inner); }
.accent-career { color: var(--c-career); }
.accent-career .dot { background: var(--c-career); box-shadow: 0 0 8px var(--c-career); }
.accent-tool { color: var(--c-tool); }
.accent-tool .dot { background: var(--c-tool); box-shadow: 0 0 8px var(--c-tool); }
.accent-sheet { color: var(--c-sheet); }
.accent-sheet .dot { background: var(--c-sheet); box-shadow: 0 0 8px var(--c-sheet); }

/* status badge */
.status-pill { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 0; border: 0.5px solid; font-weight: 600; display: inline-block; margin-bottom: 22px; }
.pill-active { color: #2ecc71; border-color: rgba(46,204,113,0.3); }
.pill-soon { color: var(--text-3); border-color: var(--line); }

/* ============ FORGE ECOSYSTEM PAGE ============ */
.eco-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 0.5px solid var(--line); }
.eco-row {
  background: var(--bg); display: grid; grid-template-columns: 64px 1fr auto;
  gap: 28px; align-items: center; padding: 32px 32px; cursor: pointer;
  transition: background 0.3s var(--ease); position: relative;
}
.eco-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: transparent; transition: background 0.3s; }
.eco-row:hover { background: var(--bg-soft); }
.eco-row[data-c="master"]:hover::before { background: var(--c-master); }
.eco-row[data-c="field"]:hover::before { background: var(--c-field); }
.eco-row[data-c="inner"]:hover::before { background: var(--c-inner); }
.eco-row[data-c="career"]:hover::before { background: var(--c-career); }
.eco-row[data-c="tool"]:hover::before { background: var(--c-tool); }
.eco-icon { width: 64px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.eco-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(0,0,0,0.4)); }
.eco-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.eco-tagline { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.eco-tagline.master { color: var(--c-master); }
.eco-tagline.field { color: var(--c-field); }
.eco-tagline.inner { color: var(--c-inner); }
.eco-tagline.career { color: var(--c-career); }
.eco-tagline.tool { color: var(--c-tool); }
.eco-body p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; max-width: 600px; }
.eco-status { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.eco-status.active { color: #2ecc71; }
.eco-status.soon { color: var(--text-3); }
.eco-arrow { font-size: 18px; color: var(--text-4); transition: transform 0.3s, color 0.3s; }
.eco-row:hover .eco-arrow { transform: translateX(5px); color: var(--text); }

/* ============ PRODUCT CATALOG ============ */
.catalog-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 16px; border: 0.5px solid var(--line); background: transparent; color: var(--text-2); cursor: pointer; transition: all 0.2s; font-weight: 500; }
.filter-btn:hover { border-color: var(--text-3); color: var(--text); }
.filter-btn.active { background: var(--text); color: #000; border-color: var(--text); }

.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 0.5px solid var(--line); }
.catalog-card { background: var(--bg); padding: 30px 28px; cursor: pointer; transition: background 0.3s var(--ease); display: flex; flex-direction: column; min-height: 280px; }
.catalog-card:hover { background: var(--bg-soft); }
.catalog-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.catalog-series { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.catalog-series.field { color: var(--c-field); }
.catalog-series.sheet { color: var(--c-sheet); }
.catalog-status { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; font-weight: 600; }
.catalog-status.available { color: #2ecc71; border: 0.5px solid rgba(46,204,113,0.3); }
.catalog-status.soon { color: var(--text-3); border: 0.5px solid var(--line); }
.catalog-name { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.catalog-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: auto; }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 0.5px solid var(--line-soft); }
.catalog-fmt { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.catalog-buy { display: flex; gap: 10px; }
.catalog-buy a { font-size: 11px; color: var(--text-2); transition: color 0.2s; }
.catalog-buy a:hover { color: var(--text); }

/* ============ CONTENT SECTIONS ============ */
.content-section { max-width: var(--maxw); margin: 0 auto; padding: 90px 64px; }
.content-narrow { max-width: 760px; }
.content-section h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 200; letter-spacing: -0.02em; margin-bottom: 20px; line-height: 1.1; }
.content-section h2 strong { font-weight: 700; }
.content-section h3 { font-size: 19px; font-weight: 600; margin: 36px 0 14px; letter-spacing: -0.01em; }
.content-section p { font-size: 15.5px; color: var(--text-2); line-height: 1.8; margin-bottom: 18px; }
.content-section p strong { color: var(--text); font-weight: 600; }
.content-lead { font-size: 18px !important; color: var(--text) !important; line-height: 1.7 !important; }

/* ============ FEATURE GRID ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 0.5px solid var(--line); margin: 40px 0; }
.feature-cell { background: var(--bg); padding: 28px 26px; }
.feature-cell .fnum { font-size: 12px; color: var(--text-3); margin-bottom: 16px; letter-spacing: 0.1em; }
.feature-cell h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.feature-cell p { font-size: 13px !important; margin-bottom: 0 !important; line-height: 1.6 !important; }

/* ============ BLOG LIST ============ */
.blog-categories { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 0.5px solid var(--line); }
.blog-list-card { background: var(--bg); padding: 34px 30px; cursor: pointer; transition: background 0.3s; display: flex; flex-direction: column; min-height: 220px; }
.blog-list-card:hover { background: var(--bg-soft); }
.blog-list-card .bcat { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-field); margin-bottom: 16px; font-weight: 600; }
.blog-list-card h3 { font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 14px; }
.blog-list-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: auto; }
.blog-list-card .bmeta { font-size: 11px; color: var(--text-3); margin-top: 22px; letter-spacing: 0.04em; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; max-width: var(--maxw); margin: 0 auto; padding: 90px 64px; }
.contact-methods { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 0.5px solid var(--line); }
.contact-method { background: var(--bg); padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; transition: background 0.2s; }
.contact-method:hover { background: var(--bg-soft); }
.contact-method-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.contact-method-value { font-size: 15px; color: var(--text); }
.contact-method a { font-size: 18px; color: var(--text-4); transition: color 0.2s; }
.contact-method:hover a { color: var(--text); }
.faq-item { border-bottom: 0.5px solid var(--line); padding: 22px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-q { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.faq-a { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

/* ============ LINKS PAGE ============ */
.links-wrap { max-width: 560px; margin: 0 auto; padding: 60px 24px 100px; }
.links-header { text-align: center; margin-bottom: 44px; }
.links-logo { width: 64px; height: auto; margin: 0 auto 20px; border-radius: 14px; }
.links-header h1 { font-size: 26px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 8px; }
.links-header p { font-size: 14px; color: var(--text-2); }
.link-btn { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border: 0.5px solid var(--line); margin-bottom: 12px; transition: all 0.2s var(--ease); cursor: pointer; background: var(--bg-soft); }
.link-btn:hover { background: var(--bg-panel); border-color: var(--text-3); transform: translateY(-2px); }
.link-btn-label { font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.link-btn-arrow { font-size: 15px; color: var(--text-3); }
.link-section-title { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 32px 0 16px; font-weight: 600; }

/* ============ CTA BAND ============ */
.cta-band { position: relative; overflow: hidden; border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); }
.cta-band-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.cta-band-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.cta-band-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 90px 64px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 200; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-band h2 strong { font-weight: 700; }
.cta-band p { font-size: 16px; color: var(--text-2); max-width: 520px; margin: 0 auto 32px; line-height: 1.7; }
.cta-band-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .creates-grid, .catalog-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 720px) {
  .page-hero { padding: 130px 0 60px; }
  .page-hero-inner, .content-section, .contact-grid, .cta-band-inner { padding-left: 22px; padding-right: 22px; }
  .creates-grid, .catalog-grid, .feature-grid, .blog-list { grid-template-columns: 1fr; }
  .eco-row { grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 20px; }
  .eco-arrow { display: none; }
  .eco-icon { width: 48px; height: 48px; }
  .lab-inner { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ============ ARTICLE PAGES ============ */
.article-hero {
  position: relative;
  padding: 160px 0 50px;
  border-bottom: 0.5px solid var(--line);
  background: var(--bg-soft);
}
.article-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; }
.article-cat { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-field); font-weight: 600; margin-bottom: 18px; display: inline-block; }
.article-hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 22px; }
.article-meta { font-size: 13px; color: var(--text-3); letter-spacing: 0.03em; }
.article-body { max-width: 720px; margin: 0 auto; padding: 60px 32px 100px; }
.article-lead { font-size: 20px !important; line-height: 1.6 !important; color: var(--text) !important; margin-bottom: 32px !important; font-weight: 300; }
.article-body h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 18px; }
.article-body p { font-size: 16.5px; line-height: 1.8; color: var(--text-2); margin-bottom: 20px; }
.article-body p strong { color: var(--text); font-weight: 600; }
.article-cta {
  margin-top: 60px; padding: 36px; border: 0.5px solid var(--line);
  background: var(--bg-soft); text-align: center;
}
.article-cta-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-field); font-weight: 600; margin-bottom: 12px; }
.article-cta h3 { font-size: 22px; font-weight: 600; margin-bottom: 24px; }

@media (max-width: 720px) {
  .article-hero { padding: 120px 0 40px; }
  .article-body { padding: 40px 22px 70px; }
  .article-lead { font-size: 18px !important; }
}
