/* ============================================
   SEO STRATEGY PAGE
   ============================================ */

/* HERO */
.seo-hero { background: linear-gradient(135deg, #0C0A1E 0%, #1A1035 50%, #1E1B4B 100%); padding: 72px 0; color: var(--white); overflow: hidden; }
.seo-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.seo-hero__title { font-size: clamp(28px, 3.5vw, 46px); font-weight: 900; line-height: 1.1; margin: 20px 0; }
.seo-hero__accent { color: #A78BFA; }
.seo-hero__desc { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 28px; }
.seo-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-hero__chips span { font-size: 13px; font-weight: 600; background: rgba(167,139,250,.15); border: 1px solid rgba(167,139,250,.3); color: #C4B5FD; padding: 7px 14px; border-radius: 20px; }

/* SERP preview */
.serp-preview { background: var(--white); border-radius: 12px; padding: 20px; box-shadow: 0 24px 64px rgba(0,0,0,.4); min-width: 380px; }
.serp-preview__title { font-size: 12px; color: var(--text-3); margin-bottom: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.serp-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 8px; margin-bottom: 6px; }
.serp-item--ad { background: #FFFBEB; border: 1px solid #FDE68A; }
.serp-item--target { background: #F0FDF4; border: 2px solid #6EE7B7; }
.serp-item--organic { background: var(--bg); }
.serp-item__label { font-size: 10px; font-weight: 700; color: #92400E; background: #FEF3C7; padding: 2px 6px; border-radius: 3px; flex-shrink: 0; margin-top: 2px; }
.serp-item__pos { font-size: 14px; font-weight: 800; color: var(--brand); flex-shrink: 0; width: 20px; margin-top: 2px; }
.serp-item__url { display: block; font-size: 12px; color: #188038; margin-bottom: 2px; }
.serp-item__title { display: block; font-size: 14px; font-weight: 600; color: #1558D6; margin-bottom: 2px; line-height: 1.3; }
.serp-item__desc { display: block; font-size: 12px; color: var(--text-2); line-height: 1.4; }
.serp-preview__caption { font-size: 11px; color: var(--text-3); text-align: center; margin-top: 12px; font-style: italic; }

/* Strategy overview */
.strategy-overview { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.strategy-overview__center { text-align: center; }
.sov-node--core { display: inline-flex; flex-direction: column; gap: 4px; align-items: center; background: var(--white); border: 3px solid var(--brand); border-radius: 20px; padding: 20px 40px; box-shadow: 0 0 0 8px var(--brand-light); }
.sov-node--core span { font-size: 28px; }
.sov-node--core strong { font-size: 16px; font-weight: 800; }
.sov-node--core small { font-size: 12px; color: var(--brand); font-weight: 600; }
.strategy-overview__pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.sov-pillar { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; }
.sov-pillar--1 { border-color: #93C5FD; }
.sov-pillar--2 { border-color: #A78BFA; }
.sov-pillar--3 { border-color: #6EE7B7; }
.sov-pillar--4 { border-color: #FCA5A5; }
.sov-pillar__icon { font-size: 28px; margin-bottom: 8px; }
.sov-pillar__title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sov-pillar__items { display: flex; flex-direction: column; gap: 6px; }
.sov-pillar__items span { font-size: 12px; color: var(--text-2); background: var(--bg); padding: 4px 10px; border-radius: 6px; }

/* Tech grid */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card { border-radius: var(--radius); padding: 24px; border: 1.5px solid var(--border); }
.tech-card--critical { border-color: #FCA5A5; background: #FEF2F2; }
.tech-card--important { border-color: #FDE68A; background: #FFFBEB; }
.tech-card--nice { border-color: #86EFAC; background: #F0FDF4; }
.tech-card__priority { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.tech-card__title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.tech-card__list { padding-left: 16px; margin-bottom: 12px; }
.tech-card__list li { font-size: 13px; color: var(--text-2); margin-bottom: 6px; line-height: 1.6; }
.tech-card__list code { font-family: monospace; font-size: 12px; background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 3px; }
.tech-card__tool { font-size: 12px; font-weight: 600; color: var(--text-3); border-top: 1px solid var(--border); padding-top: 10px; }

/* Clusters table */
.clusters-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ct-row { display: grid; grid-template-columns: 2fr 0.8fr 1.2fr 1fr 1.2fr; gap: 0; }
.ct-row span { padding: 12px 16px; font-size: 13px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ct-row span:last-child { border-right: none; }
.ct-head span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); background: var(--bg); }
.ct-row:last-child span { border-bottom: none; }
.ct-freq { font-weight: 700; }
.ct-freq--high { color: #DC2626; }
.ct-freq--med { color: #D97706; }
.ct-freq--low { color: var(--text-3); }
.ct-priority { font-size: 12px; font-weight: 700; }
.ct-priority--1 { color: #DC2626; }
.ct-priority--2 { color: #D97706; }
.ct-priority--3 { color: var(--text-3); }

/* Content principles */
.content-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.cp-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.cp-card__icon { font-size: 32px; margin-bottom: 12px; }
.cp-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.cp-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.cp-example { font-size: 13px; background: var(--bg); border-radius: var(--radius-sm); padding: 12px 16px; line-height: 1.8; }
.cp-example code { font-family: monospace; font-size: 12px; background: rgba(124,58,237,.1); color: var(--brand-dark); padding: 1px 5px; border-radius: 3px; }

/* Article requirements */
.article-requirements { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ar-col { border-radius: var(--radius); padding: 24px; }
.ar-col--do { background: #F0FDF4; border: 1.5px solid #86EFAC; }
.ar-col--dont { background: #FEF2F2; border: 1.5px solid #FCA5A5; }
.ar-col__title { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.ar-col ul { padding-left: 16px; }
.ar-col li { font-size: 13px; color: var(--text-2); margin-bottom: 8px; line-height: 1.6; }

/* Articles groups */
.articles-group { margin-bottom: 40px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.articles-group__header { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.articles-group__header--1 { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.articles-group__header--2 { background: linear-gradient(135deg, #FEE2E2, #FECACA); }
.articles-group__header--3 { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.articles-group__header--4 { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.articles-group__header--5 { background: linear-gradient(135deg, #ECFDF5, #A7F3D0); }
.articles-group__header--6 { background: linear-gradient(135deg, #FFF7ED, #FED7AA); }
.articles-group__header--7 { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.articles-group__header--8 { background: linear-gradient(135deg, #F3F4F6, #E5E7EB); }
.ag-icon { font-size: 28px; flex-shrink: 0; }
.articles-group__header h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.articles-group__header span { font-size: 13px; color: var(--text-2); }
.ag-total { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap; flex-shrink: 0; }

/* Articles table */
.articles-table { width: 100%; }
.at-row { display: grid; grid-template-columns: 36px 1fr 180px 80px 80px; gap: 0; }
.at-row span { padding: 10px 14px; font-size: 13px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); line-height: 1.5; }
.at-row span:last-child { border-right: none; }
.at-row:last-child span { border-bottom: none; }
.at-head span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); background: var(--bg); padding: 8px 14px; }
.at-row--done { background: #F0FDF4; }
.at-key { font-family: monospace; font-size: 11px !important; color: var(--brand-dark) !important; }
.at-freq { font-weight: 700; text-align: right; }
.at-freq--hot { color: #DC2626; }
.at-freq--med { color: #D97706; }
.at-freq--low { color: var(--text-3); }
.at-badge { font-size: 11px !important; font-weight: 700; text-align: center; }
.at-badge--p1 { color: #DC2626; }
.at-badge--p2 { color: #D97706; }
.at-badge--p3 { color: var(--text-3); }

/* Linkbuilding */
.linkbuilding-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lb-card { border-radius: var(--radius); padding: 24px; border: 1.5px solid var(--border); }
.lb-card--free { background: #F0FDF4; border-color: #86EFAC; }
.lb-card--paid { background: #FFFBEB; border-color: #FDE68A; }
.lb-card--seo { background: var(--brand-light); border-color: #C4B5FD; }
.lb-card__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 10px; }
.lb-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.lb-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px; }
.lb-card ul { padding-left: 14px; margin-bottom: 12px; }
.lb-card li { font-size: 13px; color: var(--text-2); margin-bottom: 5px; }
.lb-card__targets { margin-bottom: 12px; }
.lb-card__targets strong { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.lb-card__targets span { display: inline-block; font-size: 12px; background: rgba(255,255,255,.7); border: 1px solid var(--border); padding: 3px 10px; border-radius: 20px; margin: 2px 4px 2px 0; }
.lb-card__effort { font-size: 12px; font-weight: 600; color: var(--text-3); border-top: 1px solid var(--border); padding-top: 10px; }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 12px; }
.tl-phase { border-radius: var(--radius); overflow: hidden; }
.tl-phase__header { display: flex; align-items: center; gap: 20px; padding: 14px 20px; }
.tl-phase--1 .tl-phase__header { background: #1D4ED8; color: var(--white); }
.tl-phase--2 .tl-phase__header { background: #6D28D9; color: var(--white); }
.tl-phase--3 .tl-phase__header { background: #B45309; color: var(--white); }
.tl-phase--4 .tl-phase__header { background: #065F46; color: var(--white); }
.tl-phase__period { font-size: 13px; font-weight: 800; opacity: .8; flex-shrink: 0; width: 100px; }
.tl-phase__name { font-size: 17px; font-weight: 800; }
.tl-phase__traffic { margin-left: auto; font-size: 13px; opacity: .8; }
.tl-phase__tasks { background: var(--white); border: 1px solid var(--border); border-top: none; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tl-task { font-size: 13px; padding: 7px 14px; border-radius: 20px; }
.tl-task--tech { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.tl-task--content { background: var(--brand-light); color: var(--brand-dark); border: 1px solid #C4B5FD; }
.tl-task--link { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }

/* KPI SEO */
.kpi-seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.kpi-seo-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.kpi-seo-card--target { border-color: var(--success); background: linear-gradient(135deg, #ECFDF5, #F0FDF4); }
.kpi-seo-card__period { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-3); margin-bottom: 16px; }
.kpi-seo-card--target .kpi-seo-card__period { color: var(--success); }
.kpi-seo-card__metrics { display: flex; flex-direction: column; gap: 10px; }
.ksm { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ksm:last-child { border-bottom: none; }
.ksm span { color: var(--text-2); }
.ksm strong { font-weight: 700; }

/* Tools grid */
.seo-tools h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tool-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.tool-card__name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tool-card__desc { font-size: 12px; color: var(--text-3); }

/* Responsive */
@media (max-width: 1024px) {
  .seo-hero__inner { grid-template-columns: 1fr; }
  .serp-preview { display: none; }
  .strategy-overview__pillars { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .linkbuilding-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-seo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .at-row { grid-template-columns: 28px 1fr 60px; }
  .at-row span:nth-child(3), .at-row span:nth-child(5) { display: none; }
  .tech-grid { grid-template-columns: 1fr; }
  .content-principles { grid-template-columns: 1fr; }
  .article-requirements { grid-template-columns: 1fr; }
  .linkbuilding-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .strategy-overview__pillars { grid-template-columns: 1fr; }
  .ct-row { grid-template-columns: 2fr 1fr 1fr; }
  .ct-row span:nth-child(3), .ct-row span:nth-child(5) { display: none; }
}
