
: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); }
.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 > div > span:not(.pulse-line) { color: #8084a6; font-size: 16px; }
footer a: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; }
.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; }
.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; }

.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; }
}

@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 { 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; }
}

@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; }
  .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; }
}

@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; }
}
