
:root {
  --ink: #060a2c;
  --navy: #101542;
  --deep: #181b4b;
  --primary: #7474b7;
  --lavender: #9595cd;
  --soft: #efeffb;
  --orange: #fc7f0c;
  --orange-dark: #ef5e00;
  --muted: #626789;
  --line: #dcddef;
  --paper: #ffffff;
  --success: #24a461;
  --warning: #f3a413;
  --danger: #ef4a54;
  --shadow: 0 22px 70px rgba(28, 31, 87, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 900; letter-spacing: -1.5px; }
.brand-official { width: 220px; max-width: 42vw; flex: 0 0 auto; }
.brand-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.brand-official-footer { width: 238px; max-width: 100%; padding: 7px 10px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,239,251,.96)); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.brand-compact { flex: 0 0 auto; }
.brand-text { font-size: 29px; line-height: 1; }
.brand-text span { color: #777ac1; }
.brand-light { color: #fff; }
.brand-light .brand-text span { color: #b5b5ee; }
.brand-icon { width: 31px; height: 34px; display: grid; place-items: center; position: relative; border-radius: 10px 10px 14px 14px; background: linear-gradient(145deg, #343765, #080d38); box-shadow: inset 0 0 0 2px #8789ca; overflow: hidden; }
.brand-icon::before { content: ""; position: absolute; width: 5px; height: 20px; border-radius: 4px; background: #fff; left: 13px; top: 5px; z-index: 2; }
.brand-icon::after { content: ""; position: absolute; width: 19px; height: 10px; border-radius: 8px 8px 11px 11px; background: #d9daf5; left: 6px; bottom: 4px; }
.brand-icon span { width: 3px; height: 9px; background: #9b9dd8; position: absolute; left: 7px; bottom: 5px; box-shadow: 5px -4px 0 #9b9dd8, 15px 1px 0 #9b9dd8; }
.brand-icon i { width: 10px; height: 3px; background: var(--orange); position: absolute; right: 0; top: 7px; transform: rotate(-34deg); z-index: 3; }

.site-header { height: 86px; width: min(1440px, calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 40; }
.site-header nav { display: flex; align-items: center; gap: 44px; font-size: 16px; font-weight: 650; }
.site-header nav a { position: relative; transition: color .2s ease; }
.site-header nav a:hover { color: var(--orange); }
.site-header nav a:first-child::after { content: ""; position: absolute; height: 2px; width: 28px; background: var(--orange); bottom: -12px; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.nav-cta { padding: 13px 22px; border-radius: 9px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: white; font-size: 16px; font-weight: 800; box-shadow: 0 10px 25px rgba(252, 127, 12, .25); transition: transform .2s ease, box-shadow .2s ease; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(252, 127, 12, .35); }
.account-link { margin-left: auto; border: 1px solid #d9dbea; background: white; color: #4d5278; min-height: 43px; padding: 0 15px; border-radius: 9px; display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 800; }
.account-link:hover { border-color: #aaaed2; color: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; }

.hero-section { min-height: 690px; width: min(1440px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 60px; position: relative; padding: 46px 0 78px; }
.hero-section::before { content: ""; position: absolute; width: 690px; height: 690px; right: -110px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(149,149,205,.26), rgba(149,149,205,.05) 45%, transparent 68%); pointer-events: none; }
.hero-section::after { content: ""; position: absolute; width: 410px; height: 250px; right: 80px; bottom: 10px; opacity: .55; background-image: radial-gradient(#a6a7d6 1px, transparent 1px); background-size: 13px 13px; mask-image: linear-gradient(to right, transparent, black); pointer-events: none; }
.hero-copy { position: relative; z-index: 3; padding-left: 16px; }
.hero-kicker, .section-kicker { color: #4b4f7c; text-transform: uppercase; font-size: 16px; font-weight: 850; letter-spacing: .13em; display: inline-flex; gap: 8px; align-items: center; }
.hero-kicker i { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 5px rgba(252,127,12,.12); }
.hero-copy h1 { font-size: clamp(51px, 5vw, 76px); line-height: 1.04; letter-spacing: -.055em; margin: 18px 0 24px; max-width: 720px; }
.hero-copy h1 span { color: var(--orange-dark); }
.hero-copy > p { font-size: 19px; line-height: 1.6; color: #555b84; max-width: 590px; margin: 0 0 28px; }
.audit-form { width: min(100%, 610px); display: grid; grid-template-columns: 42px 1fr auto; align-items: center; background: white; border: 1px solid #d8d9eb; border-radius: 13px; padding: 5px; box-shadow: 0 15px 42px rgba(36,39,96,.1); }
.audit-form .input-icon { color: #8a8eb1; display: grid; place-items: center; }
.audit-form input { border: 0; outline: 0; min-width: 0; height: 54px; color: var(--ink); font-size: 16px; background: transparent; }
.audit-form input::placeholder { color: #9c9fb8; }
.audit-form button { border: 0; height: 52px; padding: 0 22px; border-radius: 9px; color: white; font-weight: 800; display: flex; align-items: center; gap: 9px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: 0 10px 24px rgba(252,127,12,.24); }
.trust-row { display: flex; gap: 22px; margin-top: 20px; color: #676b8e; font-size: 16px; font-weight: 650; }
.trust-row span { display: flex; align-items: center; gap: 6px; }
.trust-row svg { color: #565bb0; background: #ededfa; border-radius: 50%; padding: 2px; }

.hero-visual { position: relative; z-index: 2; perspective: 1200px; }
.hero-product { min-height: 620px; display: grid; grid-template-columns: 205px 1fr; border-radius: 20px; overflow: hidden; background: #f7f7fd; border: 7px solid #585ca0; box-shadow: 0 32px 65px rgba(27,29,83,.25); transform: rotateY(-2deg) rotateX(1deg); }
.preview-sidebar { background: linear-gradient(180deg, #202457, #10143f); color: #fff; padding: 20px 14px; display: flex; flex-direction: column; }
.preview-sidebar .brand-official { width: 175px; max-width: 100%; padding: 7px 9px; border-radius: 11px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,239,251,.97)); }
.preview-sidebar .brand-icon { display: none; }
.preview-sidebar .brand-text { font-size: 18px; letter-spacing: -.8px; }
.preview-nav { display: flex; flex-direction: column; gap: 9px; margin-top: 30px; }
.preview-nav span { display: flex; gap: 9px; align-items: center; font-size: 16px; line-height: 1.35; color: #d9daf1; padding: 11px 10px; border-radius: 7px; }
.preview-nav span.active { background: rgba(255,255,255,.15); color: #fff; }
.site-pill { font-size: 16px; background: rgba(255,255,255,.08); color: #c9cae3; padding: 12px 9px; border-radius: 9px; margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.site-pill b { width: 7px; height: 7px; background: #44cc76; border-radius: 50%; box-shadow: 0 0 0 4px rgba(68,204,118,.12); }
.preview-content { padding: 16px; min-width: 0; display: grid; gap: 14px; grid-template-rows: 1fr 1fr; }
.preview-top, .preview-bottom { display: grid; grid-template-columns: .8fr 1.25fr; gap: 11px; min-height: 0; }
.preview-bottom { grid-template-columns: 1.1fr 1fr; }
.preview-card { background: white; border: 1px solid #e5e6f1; border-radius: 12px; padding: 15px; overflow: hidden; box-shadow: 0 4px 12px rgba(36,40,91,.05); }
.preview-card > p, .dark-pages h3, .dark-trend h3 { margin: 0 0 11px; font-size: 16px; font-weight: 800; }
.score-card { display: flex; flex-direction: column; align-items: center; }
.score-card > p { width: 100%; }
.score-card small { margin-top: 6px; color: #747797; font-size: 16px; }
.score-card small b { color: #31a65e; }
.visibility-card > strong { font-size: 27px; display: block; }
.visibility-card > strong em { color: #26a460; font-style: normal; font-size: 16px; margin-left: 4px; }
.visibility-card .trend-chart { height: 125px; margin-top: 4px; }
.checklist-card { display: flex; flex-direction: column; gap: 9px; }
.checklist-card > span { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #eeeefa; color: #636787; font-size: 16px; }
.checklist-card b { color: #df8200; background: #fff7e7; padding: 2px 5px; border-radius: 8px; font-weight: 750; }
.checklist-card b.danger { color: #e44951; background: #fff0f1; }
.checklist-card b.ok { color: #1d9b58; background: #eaf8f0; }
.metrics-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.metrics-card > div span { border: 1px solid #eeeefa; border-radius: 8px; padding: 9px; font-size: 16px; color: #6b6f91; display: flex; flex-direction: column; gap: 4px; }
.metrics-card strong { font-size: 20px; color: var(--ink); }
.floating-badge { position: absolute; left: -30px; bottom: 34px; background: white; border: 1px solid #e5e5f2; border-radius: 13px; box-shadow: 0 14px 35px rgba(25,28,77,.17); padding: 12px 16px; display: flex; align-items: center; gap: 10px; color: var(--orange); animation: float 4s ease-in-out infinite; }
.floating-badge span { display: flex; flex-direction: column; color: #737795; font-size: 16px; }
.floating-badge strong { color: var(--ink); font-size: 16px; }
@keyframes float { 50% { transform: translateY(-9px); } }

.feature-strip { width: min(1440px, calc(100% - 64px)); margin: -5px auto 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 4; }
.feature-strip article { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; min-height: 135px; padding: 22px; border: 1px solid #dcdeee; border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 9px 28px rgba(35,38,91,.05); transition: transform .22s ease, box-shadow .22s ease; }
.feature-strip article:hover { transform: translateY(-5px); box-shadow: 0 17px 35px rgba(35,38,91,.1); }
.feature-strip article > span { width: 58px; height: 58px; display: grid; place-items: center; color: #555bb0; background: linear-gradient(145deg, #f4f3ff, #e0e1f7); border-radius: 14px; }
.feature-strip h2 { font-size: 16px; margin: 0 0 7px; }
.feature-strip p { font-size: 16px; line-height: 1.45; color: #65698a; margin: 0; }

.landing-tools { width: min(1320px, calc(100% - 64px)); margin: 88px auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: center; padding: 50px; border-radius: 25px; background: radial-gradient(circle at 0 0, rgba(149,149,205,.22), transparent 42%), #f8f8ff; border: 1px solid #dddff0; }
.landing-tools-heading h2 { font-size: 39px; line-height: 1.1; letter-spacing: -.04em; margin: 12px 0 18px; }
.landing-tools-heading p { color: #64698a; font-size: 17px; line-height: 1.65; margin: 0; }
.landing-tools-heading button { margin-top: 24px; min-height: 50px; border: 0; border-radius: 9px; padding: 0 20px; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; font-weight: 800; box-shadow: 0 10px 24px rgba(252,127,12,.22); }
.landing-tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.landing-tool-grid article { min-height: 160px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 22px; border: 1px solid #dfe0ee; border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(35,38,91,.05); }
.landing-tool-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; color: #565bb0; background: #eeeeff; border-radius: 12px; }
.landing-tool-grid h3 { font-size: 18px; margin: 2px 0 7px; }
.landing-tool-grid p { color: #707493; font-size: 16px; line-height: 1.5; margin: 0; }

.dark-demo { width: min(1440px, calc(100% - 64px)); margin: 60px auto 0; min-height: 430px; display: grid; grid-template-columns: 310px 1fr 350px; background: radial-gradient(circle at 70% -20%, #292e70, transparent 55%), #070d37; color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 55px rgba(13,18,58,.17); }
.dark-demo-score { padding: 28px; display: flex; align-items: center; flex-direction: column; border-right: 1px solid rgba(255,255,255,.12); }
.dark-demo-score > span { width: 100%; font-size: 16px; font-weight: 750; }
.dark-demo-score .score-ring { margin-top: 23px; }
.dark-demo-score p { font-size: 16px; margin: 15px 0 5px; }
.dark-demo-score small { color: #49d177; font-size: 16px; }
.dark-demo-main { padding: 28px 22px; min-width: 0; }
.dark-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dark-stats article { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 13px; border-radius: 10px; display: flex; flex-direction: column; }
.dark-stats article > span { font-size: 16px; color: #d5d7f2; min-height: 25px; }
.dark-stats strong { font-size: 23px; margin: 5px 0 10px; }
.dark-stats small { font-size: 16px; color: #b3b6d7; }
.dark-stats article > div, .dark-pages > div > div { height: 6px; background: rgba(255,255,255,.13); border-radius: 5px; overflow: hidden; }
.dark-stats i, .dark-pages i { display: block; height: 100%; background: linear-gradient(90deg, #7779c8, #c5c5ff); border-radius: inherit; }
.dark-trend { margin-top: 23px; }
.dark-trend .trend-chart { height: 140px; }
.dark-trend .chart-grid { stroke: rgba(255,255,255,.12); }
.dark-pages { border-left: 1px solid rgba(255,255,255,.12); padding: 28px 23px; display: flex; flex-direction: column; gap: 18px; }
.dark-pages > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; font-size: 16px; }
.dark-pages > div > div { grid-column: 1 / 3; }
.dark-pages em { color: #ffae3a; font-style: normal; font-size: 16px; }
.dark-pages button { margin-top: auto; border: 0; background: transparent; color: #fff; display: flex; align-items: center; gap: 7px; font-size: 16px; padding: 0; }

.simple-section { width: min(1320px, calc(100% - 64px)); margin: 95px auto; text-align: center; }
.simple-section > h2, .pricing-heading h2 { font-size: 40px; letter-spacing: -.04em; margin: 8px 0 30px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px; }
.steps article { min-height: 152px; padding: 27px 24px; text-align: left; border: 1px solid #d9daeb; border-radius: 17px; display: grid; grid-template-columns: 54px 34px 1fr; gap: 13px; align-items: center; position: relative; box-shadow: 0 8px 25px rgba(35,38,91,.04); }
.steps article:not(:last-child)::after { content: "•••••"; position: absolute; right: -48px; color: var(--orange); letter-spacing: 5px; font-size: 17px; }
.step-icon { width: 54px; height: 54px; display: grid; place-items: center; color: #555bb0; background: #eeeeff; border-radius: 13px; }
.steps b { width: 30px; height: 30px; display: grid; place-items: center; background: linear-gradient(135deg, #898ad0, #5559af); color: #fff; border-radius: 50%; font-size: 16px; }
.steps h3 { margin: 0 0 7px; font-size: 16px; }
.steps p { margin: 0; color: #676b8b; font-size: 16px; line-height: 1.45; }

.google-section { width: min(1320px, calc(100% - 64px)); margin: 0 auto 100px; padding: 54px; border-radius: 25px; display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; background: linear-gradient(135deg, #f5f4ff, #fff 60%); border: 1px solid #dedff1; position: relative; overflow: hidden; }
.google-section::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#b8b9df 1px, transparent 1px); background-size: 16px 16px; opacity: .25; mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.google-section > div, .google-section article { position: relative; z-index: 2; }
.google-section h2 { font-size: 38px; letter-spacing: -.04em; line-height: 1.12; margin: 10px 0 18px; }
.google-section > div > p { color: #656a8b; line-height: 1.65; font-size: 16px; }
.google-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 23px; }
.google-pills span { background: white; border: 1px solid #dadaec; border-radius: 999px; padding: 8px 12px; font-size: 16px; font-weight: 700; }
.google-section article { display: grid; grid-template-columns: 55px 1fr; gap: 17px; padding: 24px; background: #fff; border: 1px solid #dfe0ef; border-radius: 17px; box-shadow: var(--shadow); }
.g-mark { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 14px; color: #4285f4; font-size: 27px; font-weight: 900; background: #f2f6ff; }
.google-section article div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.google-section article small { color: #2ea560; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }
.google-section article strong { font-size: 18px; }
.google-section article p { color: #747895; font-size: 16px; margin: 0; }
.google-section article button { border: 0; background: transparent; color: #565ab1; font-weight: 800; padding: 8px 0 0; display: flex; align-items: center; gap: 6px; font-size: 16px; }

.pricing-section { padding: 85px max(32px, calc((100vw - 1320px) / 2)); background: linear-gradient(180deg, #f1f0ff, #f9f9ff); }
.pricing-heading { text-align: center; max-width: 630px; margin: 0 auto 45px; }
.pricing-heading h2 { margin-bottom: 13px; }
.pricing-heading p { color: #656a8b; line-height: 1.6; }
.pricing-grid { display: grid; grid-template-columns: .75fr .83fr 1.25fr; gap: 24px; align-items: stretch; }
.pricing-grid > article { background: #fff; padding: 30px; border: 1px solid #ddddec; border-radius: 19px; position: relative; box-shadow: 0 10px 28px rgba(35,38,91,.05); }
.pricing-grid h3 { font-size: 19px; margin: 0 0 8px; }
.pricing-grid article > p { color: #696d8e; min-height: 42px; font-size: 16px; line-height: 1.45; }
.pricing-grid article > strong { font-size: 29px; display: block; margin: 17px 0; }
.pricing-grid article > strong small { font-size: 16px; color: #626789; }
.pricing-grid ul { list-style: none; padding: 0; margin: 18px 0 25px; display: flex; flex-direction: column; gap: 10px; color: #4f547c; font-size: 16px; }
.pricing-grid li { display: flex; align-items: center; gap: 8px; }
.pricing-grid li svg { color: #565ab0; background: #eeeeff; border-radius: 50%; padding: 2px; }
.pricing-grid article > button, .pricing-grid article a { width: 100%; height: 44px; border-radius: 8px; border: 1px solid #6468bb; color: #4e53a9; background: #fff; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.pricing-grid .featured-plan { border: 2px solid var(--orange); }
.featured-plan > span { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 5px 13px; color: #fff; background: var(--orange); border-radius: 99px; text-transform: uppercase; font-size: 16px; letter-spacing: .08em; font-weight: 900; }
.pricing-grid .featured-plan > button { border-color: var(--orange); background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: white; }
.pricing-grid .agency-plan { display: flex; overflow: hidden; align-items: center; padding: 42px 35px; background: linear-gradient(135deg, #e8e7ff, #fafaff); }
.agency-plan > div { position: relative; z-index: 2; }
.agency-plan > svg { color: #5559ae; margin-left: auto; transform: rotate(8deg); filter: drop-shadow(0 16px 15px rgba(35,38,91,.2)); }
.agency-plan h3 { font-size: 27px; margin-top: 8px; }
.agency-plan div p { color: #656a8b; font-size: 16px; line-height: 1.5; max-width: 230px; }
.pricing-grid .agency-plan a { width: 125px; margin-top: 25px; }

.final-cta { width: min(1320px, calc(100% - 64px)); margin: 90px auto; background: radial-gradient(circle at 85% 0, #343a83, transparent 50%), #080d36; color: white; border-radius: 24px; padding: 55px 60px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.final-cta .section-kicker { color: #c3c4ef; }
.final-cta h2 { font-size: 42px; letter-spacing: -.04em; line-height: 1.1; margin: 10px 0 15px; }
.final-cta p { color: #bec0db; font-size: 16px; }
.audit-form-compact { width: 100%; }
footer { background: #070c34; color: #fff; padding: 52px max(32px, calc((100vw - 1320px) / 2)) 25px; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 45px; }
footer .brand { margin-bottom: 12px; }
.footer-brand p { color: #c5c7df; font-size: 16px; margin: 0 0 10px; }
.pulse-line { color: var(--orange); font-size: 32px; letter-spacing: -8px; }
footer h3 { font-size: 16px; margin: 0 0 13px; }
footer > div:not(.footer-brand):not(.footer-bottom) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
footer a { color: #c6c8df; font-size: 16px; }
footer button { border: 0; padding: 0; background: transparent; color: #c6c8df; font-size: 16px; }
footer > div > span:not(.pulse-line) { color: #8084a6; font-size: 16px; }
footer a:hover, footer button:hover { color: var(--orange); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: #9295b8; font-size: 16px; padding-top: 22px; margin-top: 15px; }

.score-ring { --score: 280deg; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 205deg, #6f72cc 0deg, #8b7bda calc(var(--score) - 40deg), #ff8a00 var(--score), rgba(255,255,255,.12) var(--score)); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 12px; border-radius: inherit; background: #fff; }
.score-ring > div { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.score-ring strong { line-height: 1; }
.score-ring span { color: #747896; }
.score-ring-large { width: 170px; height: 170px; }
.score-ring-large strong { font-size: 52px; }
.score-ring-large span { font-size: 17px; }
.score-ring-small { width: 105px; height: 105px; }
.score-ring-small::before { inset: 9px; }
.score-ring-small strong { font-size: 34px; }
.score-ring-small span { font-size: 16px; }
.dark-demo .score-ring::before, .app-sidebar .score-ring::before { background: #091039; }
.dark-demo .score-ring span { color: #c4c6df; }
.trend-chart { width: 100%; overflow: visible; }
.chart-grid { stroke: #e4e4f1; stroke-width: 1; }

/* Product dashboard */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 290px 1fr; background: #f5f6fb; }
.app-sidebar { position: sticky; top: 0; height: 100vh; background: radial-gradient(circle at 10% 0, #2c316c, transparent 45%), #090f3a; color: #fff; padding: 28px 20px; display: flex; flex-direction: column; }
.app-sidebar .brand { margin: 0; }
.app-sidebar .brand-official { width: 250px; max-width: 100%; padding: 8px 10px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,239,251,.97)); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.app-sidebar nav { display: flex; flex-direction: column; gap: 7px; margin-top: 45px; }
.app-sidebar nav button { min-height: 54px; border: 0; color: #d6d8eb; background: transparent; border-radius: 10px; display: grid; grid-template-columns: 24px 1fr auto; gap: 11px; align-items: center; text-align: left; padding: 0 14px; font-size: 16px; line-height: 1.35; }
.app-sidebar nav button:hover, .app-sidebar nav button.active { background: rgba(255,255,255,.12); color: #fff; }
.app-sidebar nav button b { background: var(--orange); color: white; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; display: grid; place-items: center; font-size: 16px; }
.sidebar-account { margin-top: auto; margin-bottom: 12px; min-height: 48px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: white; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 800; }
.sidebar-account + .app-site { margin-top: 0; }
.app-site { margin-top: auto; background: rgba(255,255,255,.08); padding: 16px; border-radius: 11px; display: grid; grid-template-columns: 1fr auto; gap: 6px; position: relative; }
.app-site span { grid-column: 1 / -1; color: #9ea1c5; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.app-site strong { font-size: 16px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; }
.app-site i { width: 8px; height: 8px; background: #45d17a; border-radius: 50%; }
.new-audit { margin-top: 12px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; border-radius: 9px; min-height: 48px; padding: 10px 12px; font-size: 16px; font-weight: 750; }
.dashboard-main { min-width: 0; width: min(1480px, 100%); padding: 42px 48px 80px; margin: 0 auto; }
.dashboard-mobile-brand { display: none; }
.report-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 27px; }
.eyebrow { color: #6e72ae; text-transform: uppercase; font-size: 16px; letter-spacing: .13em; font-weight: 850; }
.report-header h1 { margin: 5px 0 4px; font-size: 31px; letter-spacing: -.035em; }
.report-header p, .section-heading p { color: #7b7f9c; font-size: 16px; margin: 0; }
.header-actions { display: flex; gap: 9px; }
.header-actions a, .header-actions button { height: 39px; display: flex; align-items: center; padding: 0 14px; border: 1px solid #d9dbe8; background: white; color: #555a7c; border-radius: 8px; font-size: 16px; font-weight: 750; }
.header-actions button { background: var(--orange); border-color: var(--orange); color: white; }
.header-actions .account-shortcut { background: white; border-color: #d9dbe8; color: #555a7c; gap: 7px; }

/* V1.3 — cuentas y gestión de sitios */
.platform-shell { min-height: 100vh; background: radial-gradient(circle at 82% 4%, rgba(149,149,205,.2), transparent 30%), #f7f7fc; }
.platform-header { min-height: 86px; width: min(1360px, calc(100% - 64px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.platform-header > button { border: 0; background: transparent; color: #565b80; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.platform-header > button svg { transform: rotate(180deg); }
.platform-loading { min-height: calc(100vh - 86px); display: grid; place-content: center; justify-items: center; gap: 15px; color: #61668a; }
.platform-loading span { width: 44px; height: 44px; border: 4px solid #dedff0; border-top-color: var(--orange); border-radius: 50%; animation: spin 1s linear infinite; }
.account-access { width: min(1180px, calc(100% - 64px)); min-height: calc(100vh - 86px); margin: 0 auto; padding: 64px 0 88px; display: grid; grid-template-columns: 1.05fr .75fr; align-items: center; gap: 90px; }
.account-access > section:first-child h1 { max-width: 690px; margin: 16px 0 18px; font-size: clamp(42px, 5vw, 66px); line-height: 1.04; letter-spacing: -.05em; }
.account-access > section:first-child > p { max-width: 650px; margin: 0; color: #626789; font-size: 18px; }
.account-benefits { margin-top: 34px; display: grid; gap: 14px; }
.account-benefits article { display: flex; align-items: center; gap: 15px; padding: 15px 18px; max-width: 610px; border: 1px solid #e0e1ef; background: rgba(255,255,255,.7); border-radius: 13px; }
.account-benefits article > svg { flex: 0 0 auto; color: #6266ad; }
.account-benefits article div { display: flex; flex-direction: column; }
.account-benefits article strong { font-size: 16px; }
.account-benefits article span { color: #717595; font-size: 16px; }
.auth-card { background: white; border: 1px solid #dedfed; border-radius: 20px; padding: 36px; box-shadow: 0 24px 70px rgba(30,34,92,.13); }
.auth-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: #ededfa; color: #6266ad; }
.auth-card h2 { margin: 19px 0 8px; font-size: 28px; letter-spacing: -.03em; }
.auth-card > p { margin: 0 0 24px; color: #707493; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #e2e3ef; margin-bottom: 20px; }
.auth-tabs button { border: 0; border-bottom: 3px solid transparent; background: transparent; padding: 11px; color: #7b7f9d; font-weight: 800; }
.auth-tabs button.active { color: var(--ink); border-color: var(--orange); }
.auth-form { display: grid; gap: 15px; }
.auth-form label, .add-site-panel label { display: grid; gap: 7px; color: #454a70; font-size: 16px; font-weight: 800; }
.auth-form input, .add-site-panel input { min-height: 49px; width: 100%; border: 1px solid #d7d9e8; border-radius: 9px; padding: 0 13px; outline: 0; font-size: 16px; color: var(--ink); background: white; }
.auth-form input:focus, .add-site-panel input:focus { border-color: #7c7fc4; box-shadow: 0 0 0 4px rgba(124,127,196,.1); }
.auth-form small { color: #8a8da7; font-weight: 500; }
.auth-form > button, .chatgpt-signin { min-height: 51px; border: 0; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: white; font-weight: 850; box-shadow: 0 10px 24px rgba(252,127,12,.22); }
.demo-account-button { width: 100%; min-height: 47px; margin-top: 12px; border: 1px solid #d9dbea; background: #f9f9fd; color: #565b80; border-radius: 9px; font-weight: 800; }
.privacy-note { display: block; margin-top: 15px; color: #8a8da7; line-height: 1.45; }
.platform-message { margin: 16px 0; padding: 12px 14px; border-radius: 9px; font-size: 16px; }
.platform-message.error { background: #fff0f1; color: #a72d39; border: 1px solid #ffd5d8; }
.platform-main { width: min(1360px, calc(100% - 64px)); margin: 0 auto; padding: 52px 0 100px; }
.demo-banner { margin-bottom: 24px; padding: 13px 18px; border: 1px solid #ded7ff; background: #f0edff; color: #56518b; border-radius: 11px; display: flex; align-items: center; gap: 12px; }
.demo-banner strong { color: #393568; }
.platform-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; }
.platform-heading h1 { margin: 6px 0 5px; font-size: clamp(37px, 4vw, 52px); letter-spacing: -.045em; }
.platform-heading p { max-width: 700px; margin: 0; color: #707493; }
.platform-actions { display: flex; gap: 9px; }
.platform-actions button { min-height: 46px; border-radius: 9px; padding: 0 16px; font-size: 16px; font-weight: 800; }
.add-site-button { border: 0; background: var(--orange); color: white; }
.logout-button { border: 1px solid #d7d9e7; background: white; color: #5e6284; display: flex; align-items: center; gap: 7px; }
.account-summary { margin: 34px 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.account-summary article { min-height: 148px; padding: 25px; border-radius: 14px; background: white; border: 1px solid #e0e1eb; box-shadow: 0 5px 18px rgba(36,39,91,.04); display: flex; flex-direction: column; }
.account-summary span { color: #767a98; font-weight: 700; }
.account-summary strong { margin-top: auto; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.account-summary small { margin-top: 7px; color: #8b8ea7; }
.add-site-panel { margin-bottom: 22px; padding: 25px; border: 1px solid #d8d9e7; border-radius: 14px; background: #fff; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: end; gap: 18px; box-shadow: 0 14px 38px rgba(35,38,89,.08); }
.add-site-panel h2 { margin: 4px 0 3px; font-size: 23px; }
.add-site-panel p { margin: 0; color: #7c809d; font-size: 16px; }
.add-site-panel label > span { color: #9396ae; font-weight: 500; }
.add-site-panel > div:last-child { display: flex; gap: 8px; }
.add-site-panel > div:last-child button { min-height: 49px; padding: 0 14px; border-radius: 8px; border: 1px solid #d9dbe8; background: white; color: #5b6081; font-weight: 800; white-space: nowrap; }
.add-site-panel > div:last-child button:last-child { border-color: var(--orange); background: var(--orange); color: white; }
.managed-sites { padding: 30px; border: 1px solid #e0e1eb; border-radius: 15px; background: white; }
.managed-sites-heading { margin-bottom: 23px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.managed-sites-heading h2 { margin: 0 0 4px; font-size: 26px; }
.managed-sites-heading p { margin: 0; color: #777b98; }
.managed-sites-heading > span { color: #8a8da7; font-size: 16px; }
.managed-sites-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.managed-site-card { padding: 22px; border: 1px solid #e1e2ed; border-radius: 13px; background: #fbfbfe; }
.managed-site-card > header { display: flex; justify-content: space-between; gap: 15px; }
.managed-site-card > header > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.managed-site-card > header button { border: 0; background: transparent; color: #9b9eb3; padding: 7px; }
.site-favicon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; background: #ececf9; color: #676bb0; }
.managed-site-card h3 { margin: 0; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.managed-site-card header p { margin: 1px 0 0; color: #8487a2; font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
.site-result { min-height: 135px; margin: 20px 0; padding: 16px; border-radius: 11px; background: white; display: flex; align-items: center; gap: 18px; }
.site-result .score-ring { flex: 0 0 auto; }
.site-result > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.site-result > div:last-child span { color: #777b99; }
.site-result > div:last-child strong { margin: 4px 0; font-size: 16px; }
.site-result > div:last-child small { color: #8a8da7; }
.site-score.empty { width: 105px; height: 105px; flex: 0 0 auto; border-radius: 50%; background: #f0f0f8; display: grid; place-content: center; text-align: center; color: #8588a3; }
.site-score.empty strong { font-size: 34px; line-height: 1; }
.site-score.empty span { font-size: 16px; }
.analyze-site-button { width: 100%; min-height: 46px; border: 0; border-radius: 9px; background: #121746; color: white; display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 850; }
.empty-platform { padding: 50px 24px; text-align: center; border: 1px dashed #cfd1e4; border-radius: 13px; background: #fafafe; }
.empty-platform > span { width: 66px; height: 66px; margin: 0 auto; display: grid; place-items: center; border-radius: 18px; background: #ebebf8; color: #6266ad; }
.empty-platform h2 { margin: 18px 0 7px; }
.empty-platform p { margin: 0 auto; max-width: 570px; color: #747895; }
.empty-platform ol { margin: 24px auto; padding: 0; display: flex; justify-content: center; gap: 22px; list-style: none; }
.empty-platform li { color: #656987; font-weight: 750; }
.empty-platform li b { width: 27px; height: 27px; margin-right: 6px; display: inline-grid; place-items: center; border-radius: 50%; background: #e8e8f7; color: #5459a2; }
.empty-platform > button { min-height: 47px; border: 0; border-radius: 9px; padding: 0 18px; background: var(--orange); color: white; font-weight: 850; }
.report-overview { display: grid; grid-template-columns: 1fr 370px; gap: 20px; }
.main-score-panel, .issue-summary, .dashboard-section { background: white; border: 1px solid #e0e1eb; border-radius: 14px; box-shadow: 0 5px 18px rgba(36,39,91,.04); }
.main-score-panel { min-height: 285px; display: flex; align-items: center; gap: 40px; padding: 36px; }
.main-score-panel > div:last-child { max-width: 520px; }
.status-dot { width: 10px; height: 10px; display: block; border-radius: 50%; margin-bottom: 10px; }
.status-dot.good { background: var(--success); box-shadow: 0 0 0 5px rgba(36,164,97,.12); }
.status-dot.warning { background: var(--warning); box-shadow: 0 0 0 5px rgba(243,164,19,.12); }
.status-dot.critical { background: var(--danger); box-shadow: 0 0 0 5px rgba(239,74,84,.12); }
.main-score-panel h2 { margin: 0 0 8px; font-size: 23px; letter-spacing: -.025em; }
.main-score-panel p { color: #6f7392; font-size: 16px; line-height: 1.55; }
.main-score-panel p strong { color: var(--ink); }
.main-score-panel button, .text-button { border: 0; background: transparent; color: #5459ae; font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 7px; padding: 8px 0 0; }
.issue-summary { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 17px; }
.issue-summary > div { display: flex; align-items: center; gap: 11px; }
.issue-icon, .check-state { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-weight: 900; flex: 0 0 auto; }
.issue-icon.critical, .check-state.critical { background: #fff0f1; color: var(--danger); }
.issue-icon.warning, .check-state.warning { background: #fff7e6; color: #d58700; }
.issue-icon.good, .check-state.good { background: #eaf8f0; color: var(--success); }
.issue-summary p { margin: 0; color: #6c708f; font-size: 16px; }
.issue-summary p strong { color: var(--ink); font-size: 17px; margin-right: 4px; }
.issue-summary small { padding-top: 13px; border-top: 1px solid #ececf4; color: #8b8ea7; font-size: 16px; }
.dashboard-section { padding: 30px; margin-top: 20px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading h2 { margin: 5px 0 0; font-size: 19px; letter-spacing: -.025em; }
.section-heading p { margin-top: 6px; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.category-grid article { border: 1px solid #e5e5ef; border-radius: 11px; padding: 17px; min-height: 132px; }
.category-grid article > div:first-child { display: flex; justify-content: space-between; gap: 8px; }
.category-grid article span { color: #656989; font-size: 16px; }
.category-grid article strong { font-size: 19px; }
.category-grid article small { font-size: 16px; color: #8e91a8; }
.category-bar, .page-score { height: 6px; background: #eeeeF6; border-radius: 5px; margin-top: 13px; overflow: hidden; }
.category-bar i, .page-score i { height: 100%; display: block; background: linear-gradient(90deg, #696dc1, #a7a7e0); border-radius: inherit; }
.category-grid article p { color: #898ca5; font-size: 16px; margin: 8px 0 0; }
.dashboard-columns { display: grid; grid-template-columns: 1.18fr 1fr; gap: 20px; }
.trend-panel .trend-chart { height: 150px; }
.trend-up { color: var(--success); font-size: 16px; }
.trend-labels { display: flex; justify-content: space-between; color: #979aaf; font-size: 16px; }
.priority-panel button { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 34px 1fr auto; gap: 13px; padding: 16px 0; text-align: left; border-top: 1px solid #efeff5; align-items: center; }
.priority-panel button > span { width: 27px; height: 27px; display: grid; place-items: center; background: #eeeeff; color: #575caf; border-radius: 8px; font-size: 16px; font-weight: 850; }
.priority-panel button div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.priority-panel button strong { font-size: 16px; }
.priority-panel button small { font-size: 16px; line-height: 1.45; color: #737793; overflow: visible; white-space: normal; }
.priority-panel button em { font-size: 16px; color: #e44951; font-style: normal; }
.opportunity-table > div { display: grid; grid-template-columns: 1fr .7fr 1.7fr 72px; gap: 22px; align-items: center; padding: 17px 0; border-top: 1px solid #eeeeF5; font-size: 16px; line-height: 1.45; }
.opportunity-table > div > span { color: #717593; }
.opportunity-table .page-score { margin: 0; }
.opportunity-table em, .pages-cards article > div > span { font-style: normal; font-weight: 800; font-size: 16px; text-align: center; padding: 5px 7px; border-radius: 99px; }
.priority-alta { background: #fff0f1; color: #df3f49; }
.priority-media { background: #fff7e6; color: #d28200; }
.priority-baja { background: #eaf8f0; color: #21965a; }
.filter-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.filter-tabs button { border: 1px solid #dedfea; background: white; color: #666a8a; border-radius: 8px; padding: 8px 12px; font-size: 16px; font-weight: 750; }
.filter-tabs button.active { border-color: #6569ba; color: #4d52a5; background: #f0f0ff; }
.filter-tabs span { opacity: .7; margin-left: 4px; }
.checks-list { display: flex; flex-direction: column; }
.checks-list article { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; padding: 21px 0; border-top: 1px solid #ececf3; }
.check-content > div { display: flex; align-items: center; gap: 8px; }
.check-content strong { font-size: 16px; }
.check-content em { font-style: normal; color: #7c7fa0; background: #f1f1f7; padding: 3px 6px; border-radius: 5px; font-size: 16px; }
.check-content p { margin: 5px 0 0; color: #707493; font-size: 16px; line-height: 1.45; }
.check-content p.check-value { color: var(--ink); font-weight: 750; }
.explain-button { margin-top: 11px; min-height: 42px; border: 1px solid #dadceb; border-radius: 8px; padding: 8px 12px; display: inline-flex; align-items: center; gap: 10px; color: #5156a8; background: #fafaff; font-size: 16px; font-weight: 800; }
.explain-button span { font-size: 22px; line-height: 1; }
.beginner-guide { margin-top: 14px; padding: 18px; border-radius: 11px; border: 1px solid #dedff0; background: linear-gradient(145deg, #f8f8ff, #fff); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.beginner-guide > div { min-width: 0; padding-right: 13px; border-right: 1px solid #e2e3ef; }
.beginner-guide > div:last-child { border-right: 0; padding-right: 0; }
.beginner-guide strong { display: block; color: #4f54a6; font-size: 16px; margin-bottom: 5px; }
.beginner-guide p { color: #5f6484; margin: 0; }
.impact { align-self: start; font-style: normal; font-size: 16px; font-weight: 800; padding: 5px 7px; border-radius: 99px; }
.impact-alto { color: #dc3f48; background: #fff0f1; }
.impact-medio { color: #cf8100; background: #fff7e6; }
.impact-bajo { color: #258d58; background: #eaf8f0; }
.action-list { display: flex; flex-direction: column; }
.action-list > article { padding: 20px 0; border-top: 1px solid #ececf3; display: grid; grid-template-columns: 42px 1fr auto; gap: 15px; }
.action-list > article > span { font-weight: 900; color: #a6a8ba; font-size: 16px; }
.action-list > article > div > div { display: flex; align-items: center; gap: 9px; }
.action-list strong { font-size: 16px; }
.action-list p { color: #686c8c; font-size: 16px; line-height: 1.5; margin: 7px 0; }
.action-list small { color: #9295aa; font-size: 16px; }
.action-list button { align-self: center; border: 1px solid #d9dae6; background: #fff; border-radius: 7px; padding: 8px 10px; color: #5f6383; font-size: 16px; }
.pages-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.pages-cards article { border: 1px solid #e1e2ec; border-radius: 12px; padding: 18px; }
.pages-cards article > div { display: flex; justify-content: space-between; align-items: flex-start; }
.pages-cards .score-ring-small { width: 65px; height: 65px; }
.pages-cards .score-ring-small::before { inset: 6px; }
.pages-cards .score-ring-small strong { font-size: 20px; }
.pages-cards h3 { font-size: 16px; margin: 17px 0 7px; word-break: break-word; }
.pages-cards p { color: #757995; min-height: 32px; font-size: 16px; line-height: 1.45; }
.pages-cards button { border: 0; background: transparent; padding: 5px 0; color: #5559ac; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.crawl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 20px; }
.crawl-stats article { border: 1px solid #e3e4ed; border-radius: 11px; padding: 15px; background: linear-gradient(145deg, #fff, #fafaff); }
.crawl-stats span { color: #747895; font-size: 16px; }
.crawl-stats strong { display: block; font-size: 25px; margin: 7px 0 5px; }
.crawl-stats strong small { color: #8d90a8; font-size: 16px; }
.crawl-stats p { color: #9093a9; font-size: 16px; margin: 0; }
.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #ededf4; padding-top: 18px; }
.page-toolbar .filter-tabs { margin: 0; }
.page-toolbar > label { width: min(330px, 100%); min-height: 46px; display: flex; align-items: center; gap: 9px; border: 1px solid #dfe0eb; border-radius: 8px; padding: 8px 12px; color: #8589a6; background: #fff; }
.page-toolbar input { width: 100%; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 16px; background: transparent; }
.page-audit-list { display: flex; flex-direction: column; margin-top: 17px; }
.page-audit-list > article { display: grid; grid-template-columns: 115px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid #ececf3; }
.page-audit-score { display: flex; align-items: center; flex-direction: column; gap: 10px; }
.page-audit-score .score-ring-small { width: 74px; height: 74px; }
.page-audit-score .score-ring-small::before { inset: 7px; }
.page-audit-score .score-ring-small strong { font-size: 23px; }
.page-audit-score > span { font-weight: 800; font-size: 16px; text-align: center; padding: 5px 7px; border-radius: 99px; }
.page-audit-main { min-width: 0; }
.page-title-row { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; }
.page-title-row h3 { margin: 0 0 4px; font-size: 16px; word-break: break-word; }
.page-title-row p { margin: 0; color: #7f829d; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 660px; }
.page-title-row a { color: #575cad; font-size: 16px; font-weight: 800; white-space: nowrap; }
.page-recommendation { display: block; margin: 13px 0 11px; color: #4e5274; font-size: 16px; }
.page-signals { display: flex; flex-wrap: wrap; gap: 6px; }
.page-signals span { padding: 6px 8px; border-radius: 7px; background: #f4f4f9; color: #777b98; font-size: 16px; }
.page-signals span.ok { background: #ecf8f1; color: #2b8457; }
.page-signals span.bad { background: #fff2ee; color: #c4523c; }
.page-signals b { color: inherit; margin-left: 3px; }
.page-issues { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.page-issues span { color: #c55643; background: #fff5f1; border: 1px solid #ffe1d8; border-radius: 6px; padding: 5px 7px; font-size: 16px; }
.page-issues span.clean { display: flex; align-items: center; gap: 4px; color: #278357; background: #edf9f2; border-color: #d2f0de; }
.empty-pages { min-height: 190px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; color: #8c90aa; border-top: 1px solid #ececf3; }
.empty-pages strong { color: #5c607f; font-size: 16px; }
.empty-pages span { font-size: 16px; }
.integration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.integration-card { display: grid; grid-template-columns: 58px 1fr; gap: 15px; border: 1px solid #e1e2ed; border-radius: 13px; padding: 22px; background: #fff; }
.integration-card.active { background: linear-gradient(145deg, #fff, #f6fff9); border-color: #d5ebde; }
.integration-mark { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; font-size: 18px; font-weight: 900; }
.integration-mark.psi { color: #5a5fb4; background: #eeeeff; }
.integration-mark.google { color: #4285f4; background: #f1f6ff; }
.connection-state { display: flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.connection-state i { width: 7px; height: 7px; border-radius: 50%; }
.connection-state.active { color: #278b59; }
.connection-state.active i { background: #30b46d; box-shadow: 0 0 0 4px #e4f7ec; }
.connection-state.pending { color: #b47713; }
.connection-state.pending i { background: #e4a02d; box-shadow: 0 0 0 4px #fff4df; }
.integration-card h3 { margin: 8px 0 7px; font-size: 16px; }
.integration-card p { color: #747895; font-size: 16px; line-height: 1.55; margin: 0; }
.integration-card button { border: 0; background: transparent; color: #565bad; padding: 13px 0 0; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 5px; }
.integration-metrics { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 13px; }
.integration-metrics span { background: #fff; border: 1px solid #e2ece6; border-radius: 7px; padding: 7px 8px; color: #7b7f98; font-size: 16px; }
.integration-metrics b { color: #3e4264; margin-left: 4px; }
.oauth-guide { margin-top: 15px; border-radius: 13px; padding: 22px; background: #0b113f; color: white; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.oauth-guide > .eyebrow, .oauth-guide > h3, .oauth-guide > small { grid-column: 1 / -1; }
.oauth-guide > .eyebrow { color: #b9bbeb; }
.oauth-guide h3 { font-size: 18px; margin: -7px 0 2px; }
.oauth-guide > div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.oauth-guide > div > span { width: 32px; height: 32px; display: grid; place-items: center; background: var(--orange); border-radius: 9px; font-size: 16px; font-weight: 900; }
.oauth-guide p { display: flex; flex-direction: column; gap: 4px; margin: 0; color: #c4c6df; font-size: 16px; line-height: 1.45; }
.oauth-guide p strong { color: white; font-size: 16px; }
.oauth-guide small { border-top: 1px solid rgba(255,255,255,.13); padding-top: 13px; color: #9ea1c5; font-size: 16px; }
.history-hero { display: flex; align-items: center; gap: 25px; background: #f5f4ff; padding: 20px; border-radius: 12px; width: max-content; margin-bottom: 22px; }
.history-hero > div { display: flex; flex-direction: column; }
.history-hero strong { font-size: 28px; }
.history-hero span { color: #787c9b; font-size: 16px; }
.history-hero > svg { color: #777bc2; }
.history-hero em { color: var(--success); background: #e5f7ed; padding: 7px 10px; border-radius: 99px; font-size: 16px; font-weight: 800; font-style: normal; }
.history-view > .trend-chart { height: 250px; }
.history-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 22px; }
.history-list article { border: 1px solid #e1e2ec; border-radius: 9px; padding: 12px; position: relative; overflow: hidden; }
.history-list article > span { font-size: 16px; color: #7b7e9d; }
.history-list article > div { display: flex; flex-direction: column; margin-top: 6px; }
.history-list strong { font-size: 17px; }
.history-list small { color: #9295ab; font-size: 16px; }
.history-list i { position: absolute; left: 0; bottom: 0; height: 3px; background: #777ac2; }

/* Guided SEO tools */
.tools-view { padding: 34px; }
.tool-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 8px; margin-bottom: 22px; border-radius: 12px; background: #f1f1f8; }
.tool-tabs button { min-height: 56px; border: 1px solid transparent; border-radius: 9px; padding: 10px 13px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #656a8a; background: transparent; font-size: 16px; font-weight: 800; }
.tool-tabs button.active { color: #4d52a5; background: white; border-color: #d9dbea; box-shadow: 0 5px 14px rgba(35,38,91,.07); }
.tool-workspace { min-height: 485px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 8px; }
.tool-editor, .google-preview, .content-results, .code-preview, .checklist-intro, .publish-checklist { min-width: 0; }
.tool-step { display: inline-flex; padding: 5px 9px; border-radius: 99px; color: #575cae; background: #efefff; font-size: 16px; font-weight: 850; }
.tool-editor h3, .checklist-intro h3 { margin: 11px 0 8px; font-size: 25px; letter-spacing: -.025em; }
.tool-editor > p, .checklist-intro > p { color: #6e7291; font-size: 16px; line-height: 1.6; margin: 0 0 21px; }
.tool-editor > label { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 17px; color: #3e4264; font-size: 16px; font-weight: 800; }
.tool-editor label input:not([type="checkbox"]), .tool-editor label textarea { grid-column: 1 / -1; width: 100%; border: 1px solid #d9dbe8; border-radius: 9px; outline: 0; padding: 12px 13px; color: var(--ink); background: white; font-size: 16px; font-weight: 500; resize: vertical; }
.tool-editor label input:not([type="checkbox"]):focus, .tool-editor label textarea:focus { border-color: #777bc2; box-shadow: 0 0 0 3px rgba(119,123,194,.12); }
.tool-editor label textarea { min-height: 104px; line-height: 1.55; }
.tool-editor label small { grid-column: 1 / -1; color: #8589a4; font-size: 16px; font-weight: 500; }
.length-badge { padding: 4px 8px; border-radius: 99px; font-size: 16px; font-weight: 800; }
.length-badge.good { color: #258d58; background: #eaf8f0; }
.length-badge.warning { color: #c67b00; background: #fff6e5; }
.length-badge.critical { color: #d43e48; background: #fff0f1; }
.google-preview { align-self: start; margin-top: 50px; padding: 28px; border: 1px solid #e0e1eb; border-radius: 15px; background: white; box-shadow: 0 12px 35px rgba(35,38,91,.08); }
.google-preview > span { color: #7b7f9b; font-size: 16px; font-weight: 750; }
.google-url { margin-top: 20px; color: #4d5156; font-size: 16px; word-break: break-all; }
.google-preview h3 { margin: 6px 0; color: #1a0dab; font-family: Arial, sans-serif; font-size: 23px; line-height: 1.3; font-weight: 400; }
.google-preview > p { margin: 0; color: #4d5156; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.plain-tip { margin-top: 24px; padding: 15px; display: flex; flex-direction: column; gap: 4px; border-radius: 10px; color: #626786; background: #f3f3fb; font-size: 16px; }
.plain-tip strong { color: #4d52a5; }
.tool-editor label .content-input { min-height: 310px; }
.content-results { display: flex; flex-direction: column; gap: 16px; }
.content-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.content-metrics article { padding: 18px; border: 1px solid #e0e1eb; border-radius: 12px; background: #fff; }
.content-metrics span, .content-metrics small { display: block; color: #777b98; font-size: 16px; }
.content-metrics strong { display: block; margin: 7px 0; font-size: 29px; }
.simple-recommendations { padding: 22px; border-radius: 13px; background: #0b113f; color: white; }
.simple-recommendations h4 { margin: 0 0 13px; font-size: 19px; }
.simple-recommendations p { margin: 9px 0; color: #c8cae1; font-size: 16px; line-height: 1.55; }
.simple-recommendations p b { color: #ff9b36; margin-right: 4px; }
.simple-recommendations p.all-good { display: flex; align-items: flex-start; gap: 8px; color: #aee4c2; }
.robot-options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.robot-options > strong { font-size: 16px; }
.robot-options label { display: flex; align-items: center; gap: 10px; color: #666a89; font-size: 16px; }
.robot-options input { width: 20px; height: 20px; accent-color: #6569ba; }
.safety-note { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding: 14px; border-radius: 10px; color: #735018; background: #fff6e7; font-size: 16px; line-height: 1.45; }
.code-preview { align-self: start; margin-top: 28px; border: 1px solid #252b61; border-radius: 15px; overflow: hidden; color: white; background: #080e39; box-shadow: 0 16px 35px rgba(8,14,57,.18); }
.code-preview > div { min-height: 57px; padding: 11px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); color: #d8d9ec; font-size: 16px; }
.code-preview > div button { border: 1px solid rgba(255,255,255,.2); border-radius: 7px; padding: 7px 10px; display: flex; align-items: center; gap: 6px; color: white; background: rgba(255,255,255,.08); font-size: 16px; }
.code-preview pre { min-height: 245px; margin: 0; padding: 24px; overflow-x: auto; color: #d9daf3; font-size: 16px; line-height: 1.65; white-space: pre-wrap; }
.download-button { margin: 0 18px 12px; min-height: 44px; border: 0; border-radius: 8px; padding: 0 15px; color: white; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); font-size: 16px; font-weight: 800; }
.code-preview > small { display: block; padding: 0 18px 18px; color: #aeb1d1; font-size: 16px; line-height: 1.5; }
.checklist-tool { grid-template-columns: .7fr 1.3fr; }
.checklist-progress { margin-top: 28px; padding: 19px; border-radius: 13px; background: #f2f2fb; }
.checklist-progress strong { font-size: 30px; }
.checklist-progress > div { height: 9px; margin: 11px 0 8px; border-radius: 9px; overflow: hidden; background: #dddff0; }
.checklist-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6d71c5, var(--orange)); transition: width .25s ease; }
.checklist-progress span { color: #737795; font-size: 16px; }
.publish-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.publish-checklist button { min-height: 92px; border: 1px solid #dfe0eb; border-radius: 11px; padding: 14px; display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; text-align: left; color: #4d5274; background: white; }
.publish-checklist button > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #5a5fb0; background: #efefff; font-size: 16px; font-weight: 900; }
.publish-checklist button div { display: flex; flex-direction: column; gap: 4px; }
.publish-checklist strong { font-size: 16px; line-height: 1.4; }
.publish-checklist small { color: #8a8da5; font-size: 16px; }
.publish-checklist button.done { border-color: #cbe7d6; color: #247e52; background: #f4fcf7; }
.publish-checklist button.done > span { color: #258d58; background: #dff4e7; }

.gsc-account-card { margin: 0 0 22px; padding: 28px; border: 1px solid #dcddef; border-radius: 16px; background: linear-gradient(145deg, #fff, #f8f8ff); box-shadow: 0 9px 30px rgba(36,39,91,.06); }
.gsc-account-card.connected { border-color: #cfe6d7; background: linear-gradient(145deg, #fff, #f6fff9); }
.gsc-account-card.loading { min-height: 132px; display: flex; align-items: center; gap: 16px; }
.gsc-account-card.loading p { margin: 3px 0 0; color: #777b98; }
.gsc-account-heading { display: grid; grid-template-columns: 60px 1fr auto; align-items: start; gap: 18px; }
.gsc-account-heading h2 { margin: 4px 0 4px; font-size: 27px; letter-spacing: -.03em; }
.gsc-account-heading p { max-width: 760px; margin: 0; color: #717594; }
.gsc-logo { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 15px; color: #4285f4; background: #f0f5ff; font-size: 28px; font-weight: 900; box-shadow: inset 0 0 0 1px #dce7fb; }
.gsc-owner-setup { margin-top: 23px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 15px; }
.gsc-owner-setup > div, .gsc-owner-setup > span { padding: 18px; border: 1px solid #e0e1ee; border-radius: 12px; background: #fff; }
.gsc-owner-setup strong, .gsc-owner-setup b { display: block; margin-bottom: 5px; color: #34395f; }
.gsc-owner-setup p { margin: 0 0 12px; color: #747895; }
.gsc-owner-setup code { display: block; overflow-wrap: anywhere; padding: 11px 12px; border-radius: 8px; color: #454a78; background: #efeffa; font-size: 16px; }
.gsc-owner-setup > span { color: #686d8e; }
.gsc-connect { margin-top: 23px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 20px; border: 1px solid #dddff0; border-radius: 12px; background: white; }
.gsc-connect strong { font-size: 18px; }
.gsc-connect p { margin: 3px 0 0; color: #747895; }
.gsc-connect a { flex: 0 0 auto; min-height: 48px; padding: 0 17px; display: flex; align-items: center; gap: 8px; border-radius: 9px; color: #fff; background: #161b4c; font-weight: 850; }
.gsc-connected-summary { margin-top: 23px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 12px; }
.gsc-connected-summary > div { min-height: 82px; padding: 15px 18px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #dce8e0; border-radius: 11px; background: #fff; }
.gsc-connected-summary strong { font-size: 25px; line-height: 1; }
.gsc-connected-summary span { margin-top: 5px; color: #747895; }
.gsc-connected-summary button { min-height: 45px; padding: 0 15px; border: 1px solid #dedfea; border-radius: 9px; color: #686d8c; background: white; font-weight: 800; }
.gsc-site-links { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e2e8e4; display: grid; gap: 12px; }
.gsc-site-links h3 { margin: 0 0 3px; font-size: 19px; }
.gsc-site-links p { margin: 0; color: #747895; }
.gsc-site-links label { padding: 14px 16px; display: grid; grid-template-columns: 1fr minmax(260px, .75fr); align-items: center; gap: 12px; border: 1px solid #e1e2ec; border-radius: 10px; background: #fff; }
.gsc-site-links label > span { min-width: 0; display: flex; flex-direction: column; }
.gsc-site-links label > span strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gsc-site-links label small { color: #8387a1; }
.gsc-site-links label > small { grid-column: 2; }
.gsc-site-links select { width: 100%; min-height: 45px; padding: 0 11px; border: 1px solid #d7d9e8; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }

.gsc-dashboard { display: grid; gap: 22px; }
.demo-data-label { padding: 7px 10px; border: 1px solid #d9d5fb; border-radius: 999px; color: #5e5892; background: #f0edff; font-size: 16px; font-weight: 800; }
.gsc-loading { min-height: 104px; display: flex; align-items: center; justify-content: center; gap: 13px; color: #64698b; }
.gsc-loading span { width: 22px; height: 22px; border: 3px solid #d8d9ed; border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
.gsc-results { display: grid; gap: 20px; }
.gsc-source-note { padding: 11px 14px; display: flex; justify-content: space-between; gap: 15px; border: 1px solid #dceadf; border-radius: 10px; color: #367352; background: #f5fcf7; }
.gsc-source-note span { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.gsc-source-note small { color: #647c6d; }
.gsc-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gsc-metrics article { min-height: 158px; padding: 18px; display: flex; flex-direction: column; border: 1px solid #e0e1ed; border-radius: 12px; background: #fff; }
.gsc-metrics article > span { color: #747895; font-weight: 750; }
.gsc-metrics article > strong { margin: 8px 0 3px; font-size: 30px; line-height: 1; letter-spacing: -.035em; }
.gsc-metrics em { font-size: 16px; font-style: normal; font-weight: 850; }
.gsc-metrics em.up { color: #248854; }
.gsc-metrics em.down { color: #c24550; }
.gsc-metrics small { margin-top: auto; color: #8589a3; line-height: 1.4; }
.gsc-overview-grid { display: grid; grid-template-columns: 1.55fr .8fr; gap: 14px; }
.gsc-trend-card, .gsc-device-card { padding: 20px; border: 1px solid #e0e1ed; border-radius: 12px; background: #fff; }
.gsc-trend-card h3, .gsc-device-card h3 { margin: 4px 0 15px; font-size: 20px; }
.gsc-trend { width: 100%; height: 190px; display: block; }
.gsc-device-card > div { margin-top: 15px; }
.gsc-device-card > div > span { display: flex; justify-content: space-between; gap: 12px; color: #656a8c; }
.gsc-device-card > div > span b { color: var(--ink); }
.gsc-device-card > div > i { height: 8px; margin-top: 6px; display: block; overflow: hidden; border-radius: 8px; background: #ececf5; }
.gsc-device-card > div > i b { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #7478c1, var(--orange)); }
.gsc-opportunities { padding: 21px; border: 1px solid #e0e1ed; border-radius: 12px; background: #fff; }
.gsc-opportunities .section-heading { margin-bottom: 15px; }
.gsc-opportunities .section-heading h3 { margin: 4px 0; font-size: 22px; }
.gsc-opportunities .section-heading p { margin: 0; color: #747895; }
.gsc-opportunities > div:last-child { display: grid; gap: 9px; }
.gsc-opportunities article { padding: 14px; display: grid; grid-template-columns: 40px 1fr auto; gap: 13px; align-items: start; border: 1px solid #e4e4ee; border-radius: 10px; background: #fbfbfe; }
.gsc-opportunities article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; color: #565bad; background: #ececfa; font-weight: 900; }
.gsc-opportunities article strong { overflow-wrap: anywhere; }
.gsc-opportunities article p { margin: 4px 0; color: #666b8c; }
.gsc-opportunities article small { color: #8589a2; }
.gsc-opportunities article > em { padding: 5px 8px; border-radius: 999px; font-size: 16px; font-style: normal; font-weight: 850; }
.gsc-opportunities .priority-alta { color: #a96a00; background: #fff2d9; }
.gsc-opportunities .priority-media { color: #59609e; background: #eceefe; }
.gsc-empty { padding: 20px; border: 1px dashed #d2d4e4; border-radius: 10px; color: #747895; background: #fafafe; }
.gsc-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gsc-tables > article { min-width: 0; padding: 20px; border: 1px solid #e0e1ed; border-radius: 12px; background: #fff; }
.gsc-tables h3 { margin: 0 0 3px; font-size: 20px; }
.gsc-tables p { margin: 0 0 15px; color: #747895; }
.gsc-table { display: grid; overflow: hidden; border: 1px solid #e5e6ef; border-radius: 9px; }
.gsc-table > span { min-width: 0; padding: 10px 11px; display: grid; grid-template-columns: minmax(0, 1fr) 72px 76px; gap: 8px; border-bottom: 1px solid #ededf4; align-items: center; }
.gsc-table > span:first-child { color: #717593; background: #f5f5fb; }
.gsc-table > span:last-child { border-bottom: 0; }
.gsc-table strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.gsc-table b { text-align: right; font-size: 16px; }

.position-opportunities { display: grid; gap: 20px; }
.position-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.position-heading h2 { margin: 5px 0 6px; font-size: 29px; letter-spacing: -.035em; }
.position-heading p { max-width: 790px; margin: 0; color: #6f7493; }
.position-source { padding: 10px 13px; display: flex; justify-content: space-between; gap: 15px; border: 1px solid #dceadf; border-radius: 10px; color: #347250; background: #f5fcf7; }
.position-source span { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.position-source small { color: #657e6e; }
.position-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.position-summary article { min-height: 142px; padding: 20px; display: flex; flex-direction: column; border: 1px solid #dfe0ec; border-radius: 13px; background: #fff; }
.position-summary article.potential { color: white; border-color: #565aa9; background: linear-gradient(135deg, #171c50, #6669b4); box-shadow: 0 12px 28px rgba(31,36,92,.17); }
.position-summary span { color: #767a98; font-weight: 750; }
.position-summary .potential span, .position-summary .potential small { color: #e2e3ff; }
.position-summary strong { margin-top: auto; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.position-summary small { margin-top: 7px; color: #8589a2; }
.position-explainer { padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; border: 1px solid #e4ddf7; border-radius: 11px; color: #5f6387; background: #f8f6ff; }
.position-explainer strong { color: #484b7d; white-space: nowrap; }
.position-explainer p { margin: 0; }
.position-filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 3px; }
.position-filters button { flex: 0 0 auto; min-height: 42px; padding: 0 13px; border: 1px solid #dbddea; border-radius: 999px; color: #646989; background: #fff; font-weight: 750; }
.position-filters button.active { color: white; border-color: #171c50; background: #171c50; }
.position-list { display: grid; gap: 13px; }
.position-card { overflow: hidden; border: 1px solid #dedfea; border-radius: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.position-card.expanded { border-color: #b9bae1; box-shadow: 0 15px 38px rgba(35,38,89,.1); }
.position-card > header { padding: 20px; display: grid; grid-template-columns: 43px minmax(0, 1fr) 82px; gap: 15px; align-items: start; }
.position-order { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 10px; color: #555aad; background: #ececfa; font-weight: 900; }
.position-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.position-tags em, .position-tags span { padding: 4px 8px; border-radius: 999px; font-size: 16px; font-style: normal; font-weight: 800; }
.position-tags .priority-alta { color: #9c6100; background: #fff1d6; }
.position-tags .priority-media { color: #565d9b; background: #eceefe; }
.position-tags .priority-baja { color: #277651; background: #e7f7ed; }
.position-tags span { color: #666a89; background: #f0f1f6; }
.position-tags span.falling { color: #aa3e4a; background: #fff0f1; }
.position-card h3 { margin: 8px 0 4px; overflow-wrap: anywhere; font-size: 21px; }
.position-card header p { margin: 0; color: #6c7191; }
.opportunity-score { width: 78px; height: 78px; display: grid; place-content: center; text-align: center; border: 7px solid #e5e5f3; border-top-color: var(--orange); border-radius: 50%; background: #fafafe; }
.opportunity-score strong { font-size: 24px; line-height: 1; }
.opportunity-score span { margin-top: 2px; color: #7b7f9b; font-size: 16px; }
.position-metrics { margin: 0 20px; padding: 14px 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #ececf3; border-bottom: 1px solid #ececf3; }
.position-metrics > span { min-width: 0; padding: 0 14px; display: flex; flex-direction: column; border-right: 1px solid #ececf3; }
.position-metrics > span:first-child { padding-left: 0; }
.position-metrics > span:last-child { padding-right: 0; border-right: 0; }
.position-metrics small { color: #8387a0; }
.position-metrics strong { margin-top: 2px; font-size: 20px; }
.position-metrics .click-potential strong { color: #258454; }
.query-chips { padding: 15px 20px 0; }
.query-chips > strong { display: block; margin-bottom: 8px; color: #626686; }
.query-chips > div { display: flex; flex-wrap: wrap; gap: 7px; }
.query-chips span { padding: 7px 10px; border: 1px solid #e0e1ec; border-radius: 999px; color: #565b7e; background: #f8f8fc; }
.query-chips b { margin-left: 5px; color: #8589a2; }
.position-toggle { margin: 16px 20px 20px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 9px; color: white; background: #171c50; font-weight: 850; }
.position-plan { padding: 22px; border-top: 1px solid #dedef0; background: linear-gradient(145deg, #f8f8ff, #fff); }
.position-plan > div h4 { margin: 4px 0 14px; font-size: 22px; }
.position-plan > article { padding: 15px 0; display: grid; grid-template-columns: 38px 1fr; gap: 13px; border-top: 1px solid #e5e5f0; }
.position-plan > article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(135deg, #6a6eb9, #4f539f); font-weight: 900; }
.position-plan article strong { font-size: 17px; }
.position-plan article p { margin: 5px 0 8px; color: #5f6485; }
.position-plan article small { display: block; padding: 9px 11px; border-radius: 8px; color: #6e7292; background: #eeeefa; }
.position-plan article small b { color: #4e5287; }
.position-plan footer { margin-top: 9px; padding: 15px 17px; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; border: 1px solid #d8eadf; border-radius: 10px; color: #3d7054; background: #f4fcf7; }
.position-plan footer strong { font-size: 18px; }
.position-plan footer a { padding: 8px 10px; border: 1px solid #cbe1d3; border-radius: 8px; background: white; font-weight: 800; }
.position-connect { padding: 22px; display: grid; grid-template-columns: 58px 1fr auto; gap: 17px; align-items: center; border: 1px solid #e0e1ed; border-radius: 13px; background: #fafafe; }
.position-connect strong { display: block; }
.position-connect p { margin: 4px 0 0; color: #727696; }
.position-connect button { min-height: 46px; padding: 0 15px; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 9px; color: #fff; background: var(--orange); font-weight: 850; }
.technical-fallback { padding: 20px; border: 1px solid #e1e2ec; border-radius: 13px; background: #fff; }
.technical-fallback h3 { margin: 5px 0 10px; font-size: 21px; }
.technical-fallback article { padding: 13px 0; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; border-top: 1px solid #ededf3; }
.technical-fallback article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #555aad; background: #ececfa; font-weight: 900; }
.technical-fallback article p { margin: 3px 0 0; color: #6c7190; }
.technical-fallback article em { color: #8a6a25; font-style: normal; font-weight: 800; }

.loading-screen { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #f0efff, #fff 55%); padding: 30px; }
.loading-screen > .brand { position: absolute; top: 32px; left: 38px; }
.loading-card { width: min(570px, 100%); text-align: center; background: white; border: 1px solid #dddfea; border-radius: 22px; padding: 45px; box-shadow: var(--shadow); }
.scanner { width: 86px; height: 86px; display: grid; place-items: center; margin: 0 auto 24px; color: #555ab0; background: #efefff; border-radius: 50%; position: relative; }
.scanner::before { content: ""; position: absolute; inset: -8px; border: 2px solid #d5d5ef; border-radius: inherit; border-top-color: var(--orange); animation: spin 1.2s linear infinite; }
.scanner i { position: absolute; width: 35px; height: 2px; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: scan 1.5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0%,100% { transform: translateY(-16px); } 50% { transform: translateY(16px); } }
.loading-card h1 { font-size: 30px; letter-spacing: -.04em; margin: 8px 0 9px; }
.loading-card > p { color: #777b98; font-size: 16px; }
.loading-card > div { display: flex; flex-direction: column; gap: 8px; margin-top: 27px; text-align: left; }
.loading-card > div span { display: flex; align-items: center; gap: 11px; border: 1px solid #eeeef4; border-radius: 9px; padding: 10px; color: #a1a3b4; font-size: 16px; }
.loading-card > div span.done { color: #4e5276; background: #fafaff; }
.loading-card > div span svg { color: var(--success); }
.loading-card > div span i { width: 17px; height: 17px; border-radius: 50%; border: 2px solid #d4d5e7; border-top-color: var(--orange); animation: spin .8s linear infinite; }
.loading-card > div span b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ddddea; font-size: 16px; flex: 0 0 auto; }
.error-toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(520px, calc(100% - 30px)); background: #fff; border: 1px solid #ffd3d5; border-left: 5px solid var(--danger); border-radius: 10px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; padding: 14px 15px; }
.error-toast strong, .error-toast span { grid-column: 1; }
.error-toast strong { font-size: 16px; }
.error-toast span { color: #777b97; font-size: 16px; margin-top: 3px; }
.error-toast button { grid-column: 2; grid-row: 1 / 3; border: 0; background: transparent; color: #6c708e; }

@media (max-width: 1180px) {
  .hero-section { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { text-align: center; padding: 0; }
  .hero-copy h1, .hero-copy > p, .audit-form { margin-left: auto; margin-right: auto; }
  .trust-row { justify-content: center; }
  .hero-visual { width: min(790px, 100%); margin: 0 auto; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .dark-demo { grid-template-columns: 220px 1fr; }
  .dark-pages { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(4, 1fr); }
  .dark-pages h3, .dark-pages button { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .agency-plan { grid-column: 1 / -1; }
  .report-overview { grid-template-columns: 1fr; }
  .issue-summary { display: grid; grid-template-columns: repeat(3, 1fr); }
  .issue-summary small { grid-column: 1 / -1; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .crawl-stats { grid-template-columns: 1fr 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
  .landing-tools { grid-template-columns: 1fr; }
  .tool-workspace { grid-template-columns: 1fr; }
  .google-preview, .code-preview { margin-top: 0; }
  .checklist-tool { grid-template-columns: 1fr; }
  .account-access { gap: 45px; }
  .add-site-panel { grid-template-columns: 1fr 1fr; }
  .add-site-panel > div:first-child { grid-column: 1 / -1; }
  .gsc-metrics { grid-template-columns: 1fr 1fr; }
  .gsc-overview-grid { grid-template-columns: 1fr; }
  .position-metrics { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .position-metrics > span:nth-child(3) { border-right: 0; }
  .position-metrics .click-potential { grid-column: span 2; }
}

@media (max-width: 900px) {
  .site-header { width: calc(100% - 32px); }
  .site-header nav { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 20px; background: white; border: 1px solid #e0e1ee; border-radius: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-header nav.open { display: flex; }
  .site-header nav a:first-child::after { display: none; }
  .nav-cta { margin-left: auto; margin-right: 5px; }
  .menu-button { display: block; }
  .hero-section, .feature-strip, .dark-demo, .simple-section, .google-section, .final-cta, .landing-tools { width: calc(100% - 32px); }
  .hero-product { min-height: 650px; grid-template-columns: 175px 1fr; }
  .preview-sidebar { padding: 15px 9px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps article:not(:last-child)::after { display: none; }
  .google-section { grid-template-columns: 1fr; gap: 28px; padding: 38px; }
  .final-cta { grid-template-columns: 1fr; gap: 25px; }
  .app-shell { display: block; }
  .app-sidebar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 76px; padding: 7px 8px; flex-direction: row; align-items: center; background: #090f3a; }
  .app-sidebar > .brand, .app-site, .new-audit, .sidebar-account { display: none; }
  .app-sidebar nav { margin: 0; flex: 1; flex-direction: row; justify-content: space-around; gap: 0; }
  .app-sidebar nav button { min-height: 62px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 9px; font-size: 16px; }
  .app-sidebar nav button b { position: absolute; margin: -26px 0 0 26px; }
  .dashboard-main { padding: 24px 24px 110px; }
  .dashboard-mobile-brand { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
  .dashboard-mobile-brand button { border: 1px solid #d8d9e7; background: white; border-radius: 8px; padding: 9px 12px; color: #55597d; font-size: 16px; font-weight: 750; }
  .oauth-guide { grid-template-columns: 1fr; }
  .oauth-guide > .eyebrow, .oauth-guide > h3, .oauth-guide > small { grid-column: auto; }
  .tool-tabs { grid-template-columns: 1fr 1fr; }
  .beginner-guide { grid-template-columns: 1fr; }
  .beginner-guide > div { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid #e2e3ef; }
  .beginner-guide > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .account-access { width: min(720px, calc(100% - 40px)); grid-template-columns: 1fr; padding-top: 36px; }
  .account-access > section:first-child { text-align: center; }
  .account-benefits article { margin-left: auto; margin-right: auto; text-align: left; }
  .platform-main { width: calc(100% - 40px); padding-top: 36px; }
  .platform-heading { align-items: flex-start; flex-direction: column; }
  .managed-sites-grid { grid-template-columns: 1fr; }
  .gsc-account-heading { grid-template-columns: 58px 1fr; }
  .gsc-account-heading > .connection-state { grid-column: 2; justify-self: start; }
  .gsc-owner-setup { grid-template-columns: 1fr; }
  .gsc-tables { grid-template-columns: 1fr; }
  .position-summary { grid-template-columns: 1fr 1fr; }
  .position-summary .potential { grid-column: 1 / -1; }
  .position-card > header { grid-template-columns: 43px minmax(0, 1fr); }
  .opportunity-score { grid-column: 2; width: auto; height: auto; padding: 8px 12px; display: flex; align-items: center; justify-content: flex-start; gap: 5px; border: 0; border-radius: 9px; }
  .position-plan footer { grid-template-columns: 1fr auto; }
  .position-plan footer a { grid-column: 1 / -1; justify-self: start; }
  .position-connect { grid-template-columns: 58px 1fr; }
  .position-connect button { grid-column: 2; justify-self: start; }
}

@media (max-width: 680px) {
  .brand-official { width: 176px; max-width: 62vw; }
  .brand-official-footer { width: 220px; max-width: 100%; }
  .brand-text { font-size: 24px; }
  .brand-icon { width: 27px; height: 30px; }
  .nav-cta { display: none; }
  .account-link { min-height: 40px; padding: 0 10px; margin-right: 2px; }
  .account-link svg { display: none; }
  .hero-section { padding: 32px 0 55px; gap: 40px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-copy > p { font-size: 16px; }
  .audit-form { grid-template-columns: 36px 1fr; padding: 5px; }
  .audit-form button { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .trust-row { flex-direction: column; align-items: center; gap: 8px; }
  .hero-product { min-height: 650px; grid-template-columns: 1fr; border-width: 5px; transform: none; }
  .preview-sidebar { display: none; }
  .preview-content { padding: 9px; }
  .floating-badge { left: -8px; bottom: -18px; }
  .feature-strip { grid-template-columns: 1fr; }
  .landing-tools { margin-top: 65px; margin-bottom: 65px; padding: 29px 21px; }
  .landing-tools-heading h2 { font-size: 31px; }
  .landing-tool-grid { grid-template-columns: 1fr; }
  .dark-demo { grid-template-columns: 1fr; }
  .dark-demo-score { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .dark-stats { grid-template-columns: 1fr 1fr; }
  .dark-pages { grid-template-columns: 1fr; }
  .dark-pages > div, .dark-pages h3, .dark-pages button { grid-column: auto; }
  .simple-section, .google-section, .final-cta { margin-top: 65px; margin-bottom: 65px; }
  .simple-section > h2, .pricing-heading h2 { font-size: 33px; }
  .steps article { grid-template-columns: 50px 30px 1fr; padding: 21px 16px; }
  .google-section { padding: 28px 22px; }
  .google-section h2 { font-size: 29px; }
  .google-section article { grid-template-columns: 45px 1fr; padding: 18px; }
  .g-mark { width: 45px; height: 45px; }
  .pricing-section { padding: 65px 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .agency-plan { grid-column: auto; }
  .agency-plan > svg { width: 90px; }
  .final-cta { padding: 35px 22px; }
  .final-cta h2 { font-size: 33px; }
  footer { grid-template-columns: 1fr 1fr; padding-left: 24px; padding-right: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .report-header { align-items: flex-start; flex-direction: column; gap: 13px; }
  .main-score-panel { flex-direction: column; text-align: center; padding: 24px; }
  .status-dot { margin-left: auto; margin-right: auto; }
  .main-score-panel button { margin: 0 auto; }
  .issue-summary { grid-template-columns: 1fr; }
  .issue-summary small { grid-column: auto; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .opportunity-table > div { grid-template-columns: 1fr auto; }
  .opportunity-table > div > span { grid-column: 1 / -1; }
  .pages-cards { grid-template-columns: 1fr; }
  .crawl-stats { grid-template-columns: 1fr 1fr; }
  .page-toolbar { align-items: stretch; flex-direction: column; }
  .page-toolbar .filter-tabs { overflow-x: auto; }
  .page-toolbar > label { width: 100%; }
  .page-audit-list > article { grid-template-columns: 1fr; }
  .page-audit-score { align-items: center; flex-direction: row; }
  .page-title-row p { max-width: 210px; }
  .integration-card { grid-template-columns: 45px 1fr; padding: 18px; }
  .integration-mark { width: 44px; height: 44px; border-radius: 11px; font-size: 16px; }
  .checks-list article { grid-template-columns: 34px 1fr; }
  .checks-list article > .impact { grid-column: 2; justify-self: start; }
  .action-list > article { grid-template-columns: 32px 1fr; }
  .action-list > article > button { grid-column: 2; justify-self: start; }
  .history-view > .trend-chart { height: 180px; }
  .history-list { grid-template-columns: 1fr 1fr; }
  .history-hero { width: 100%; gap: 13px; }
  .history-hero strong { font-size: 22px; }
  .app-sidebar nav button span { display: none; }
  .app-sidebar nav button { width: 48px; }
  .loading-card { padding: 32px 20px; }
  .tools-view { padding: 21px 16px; }
  .tool-tabs { grid-template-columns: 1fr; }
  .tool-tabs button { justify-content: flex-start; }
  .tool-workspace { min-height: 0; }
  .content-metrics, .publish-checklist { grid-template-columns: 1fr; }
  .google-preview { padding: 21px 17px; }
  .google-preview h3 { font-size: 20px; }
  .code-preview pre { padding: 18px; }
  .platform-header { width: calc(100% - 32px); }
  .platform-header .brand-official { width: 168px; }
  .platform-header > button { font-size: 16px; }
  .account-access { width: calc(100% - 32px); gap: 32px; padding-top: 25px; }
  .account-access > section:first-child h1 { font-size: 40px; }
  .account-access > section:first-child > p { font-size: 16px; }
  .account-benefits article { align-items: flex-start; }
  .auth-card { padding: 26px 20px; }
  .platform-main { width: calc(100% - 32px); padding-top: 25px; }
  .demo-banner { align-items: flex-start; flex-direction: column; gap: 3px; }
  .platform-actions { width: 100%; }
  .platform-actions button { flex: 1; justify-content: center; }
  .account-summary { grid-template-columns: 1fr; }
  .account-summary article { min-height: 126px; }
  .add-site-panel { grid-template-columns: 1fr; padding: 21px 17px; }
  .add-site-panel > div:first-child { grid-column: auto; }
  .add-site-panel > div:last-child { justify-content: stretch; }
  .add-site-panel > div:last-child button { flex: 1; }
  .managed-sites { padding: 22px 16px; }
  .managed-sites-heading { align-items: flex-start; flex-direction: column; }
  .managed-site-card { padding: 18px 14px; }
  .site-result { align-items: flex-start; flex-direction: column; }
  .empty-platform ol { align-items: flex-start; flex-direction: column; width: max-content; }
  .gsc-account-card { padding: 20px 16px; }
  .gsc-account-heading { grid-template-columns: 48px 1fr; gap: 12px; }
  .gsc-logo { width: 48px; height: 48px; border-radius: 12px; font-size: 23px; }
  .gsc-connect { align-items: stretch; flex-direction: column; }
  .gsc-connect a { justify-content: center; }
  .gsc-connected-summary { grid-template-columns: 1fr 1fr; }
  .gsc-connected-summary button { grid-column: 1 / -1; }
  .gsc-site-links label { grid-template-columns: 1fr; }
  .gsc-site-links label > small { grid-column: auto; }
  .gsc-source-note { align-items: flex-start; flex-direction: column; }
  .gsc-metrics { grid-template-columns: 1fr; }
  .gsc-trend-card, .gsc-device-card, .gsc-opportunities, .gsc-tables > article { padding: 16px 13px; }
  .gsc-opportunities article { grid-template-columns: 36px 1fr; }
  .gsc-opportunities article > em { grid-column: 2; justify-self: start; }
  .gsc-table { overflow-x: auto; }
  .gsc-table > span { min-width: 480px; }
  .position-heading, .position-source { align-items: flex-start; flex-direction: column; }
  .position-heading h2 { font-size: 25px; }
  .position-summary { grid-template-columns: 1fr; }
  .position-summary .potential { grid-column: auto; }
  .position-explainer { grid-template-columns: 1fr; }
  .position-card > header { padding: 16px 13px; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; }
  .position-order { width: 35px; height: 35px; }
  .opportunity-score { grid-column: 1 / -1; }
  .position-metrics { margin: 0 13px; grid-template-columns: 1fr 1fr; }
  .position-metrics > span { padding: 8px 10px; border-right: 0; border-bottom: 1px solid #ececf3; }
  .position-metrics > span:first-child { padding-left: 10px; }
  .position-metrics > span:last-child { padding-right: 10px; border-bottom: 0; }
  .position-metrics .click-potential { grid-column: 1 / -1; }
  .query-chips { padding: 14px 13px 0; }
  .position-toggle { margin: 15px 13px 16px; }
  .position-plan { padding: 18px 13px; }
  .position-plan footer { grid-template-columns: 1fr; }
  .position-plan footer a { grid-column: auto; }
  .position-connect { grid-template-columns: 1fr; padding: 18px 14px; }
  .position-connect button { grid-column: auto; justify-self: stretch; justify-content: center; }
  .technical-fallback article { grid-template-columns: 34px 1fr; }
  .technical-fallback article em { grid-column: 2; justify-self: start; }
  .dashboard-mobile-brand > div { display: flex; gap: 5px; }
  .dashboard-mobile-brand button { padding: 8px; }
}

@media print {
  .app-sidebar, .header-actions, .dashboard-mobile-brand { display: none !important; }
  .app-shell { display: block; }
  .dashboard-main { width: 100%; padding: 20px; }
  .dashboard-section, .main-score-panel, .issue-summary { box-shadow: none; break-inside: avoid; }
}
