/* Online Software House — landing page */
:root {
    --bg: #020818;
    --bg-2: #04102b;
    --card: rgba(8, 26, 66, .55);
    --card-border: rgba(56, 150, 255, .32);
    --blue: #1e90ff;
    --blue-2: #2fa8ff;
    --cyan: #3fd0ff;
    --text: #ffffff;
    --muted: #a9b8d6;
    --dim: #7d8db0;
    --radius: 14px;
    --good: #2fd480;
    --warn: #ffb547;
    --bad: #ff5f6d;
    --head: 'Montserrat', 'Segoe UI', sans-serif;
    --body: 'Poppins', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--head); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.text-blue {
    background: linear-gradient(90deg, #1a86ff, #39b8ff);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.center { text-align: center; }
.icon { flex-shrink: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 8px;
    font-weight: 500; font-size: 14px; white-space: nowrap;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
    background: linear-gradient(180deg, #2ea6ff, #1478f0);
    color: #fff;
    box-shadow: 0 0 0 1px rgba(110, 200, 255, .6) inset, 0 8px 28px rgba(30, 144, 255, .45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(150, 220, 255, .8) inset, 0 12px 36px rgba(30, 144, 255, .65); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; font-weight: 600; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(2, 8, 24, .82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(56, 150, 255, .12);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(30, 144, 255, .5)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--head); font-weight: 900; font-size: 23px; letter-spacing: .5px; color: var(--blue-2); }
.brand-text small { font-family: var(--head); font-weight: 800; font-size: 9.5px; letter-spacing: .6px; margin-top: 3px; }
.main-nav { display: flex; gap: 6px; margin-left: auto; margin-right: auto; }
.main-nav a { position: relative; padding: 26px 18px; font-size: 13.5px; font-weight: 500; color: #dbe5ff; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue-2); }
.main-nav a.active::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px;
    background: var(--blue-2); box-shadow: 0 0 12px var(--blue-2); border-radius: 2px;
}
.nav-cta-mobile, .nav-toggle { display: none; }
.nav-toggle { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; margin-left: auto; }

/* Shared section bits */
.section { position: relative; padding: 70px 0; }
.section-head { text-align: center; max-width: 880px; margin: 0 auto 38px; }
.kicker {
    display: inline-block; margin-bottom: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: var(--blue-2);
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }
.section-head h2.upper { text-transform: uppercase; font-weight: 900; }
.section-head p { color: #d4ddf2; font-size: 15px; }
.section-head p strong { color: #fff; }

.card {
    position: relative;
    background: linear-gradient(160deg, rgba(14, 40, 98, .55), rgba(4, 14, 40, .7));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px rgba(30, 144, 255, .05) inset, 0 10px 30px rgba(0, 0, 0, .35);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(70, 175, 255, .75);
    box-shadow: 0 0 24px rgba(30, 144, 255, .35), 0 14px 34px rgba(0, 0, 0, .4);
}
.card-icon { color: var(--blue-2); filter: drop-shadow(0 0 8px rgba(30, 144, 255, .7)); }
.card-icon.purple { color: #a36bff; filter: drop-shadow(0 0 8px rgba(150, 90, 255, .7)); }
.card-arrow {
    position: absolute; right: 16px; bottom: 16px;
    width: 28px; height: 28px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1.5px solid rgba(255, 255, 255, .8); color: #fff;
    transition: background .2s, border-color .2s;
}
.card:hover .card-arrow { background: var(--blue); border-color: var(--blue); }
.icon-duo { display: inline-flex; gap: 10px; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    padding: 30px 0 40px;
    background:
        radial-gradient(ellipse 45% 55% at 72% 38%, rgba(20, 110, 255, .35), transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(20, 90, 230, .25), transparent 70%),
        var(--bg);
}
.beams {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(115deg, transparent 47%, rgba(60, 160, 255, .12) 49%, transparent 51%),
        linear-gradient(115deg, transparent 60%, rgba(60, 160, 255, .08) 61%, transparent 62.5%),
        linear-gradient(65deg, transparent 75%, rgba(60, 160, 255, .1) 76%, transparent 77.5%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 20px; min-height: 520px; }
.eyebrow-pill {
    display: inline-block; padding: 6px 14px; margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .15); border-radius: 30px;
    background: rgba(255, 255, 255, .04);
    font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: #d6def0;
}
.eyebrow-pill i, .hero-sub i { font-style: normal; color: var(--blue-2); margin: 0 4px; }
.hero h1 {
    font-size: clamp(36px, 5vw, 58px); font-weight: 900; text-transform: uppercase;
    letter-spacing: .5px; line-height: 1.04; margin-bottom: 18px;
}
.hero-sub { font-size: 17px; font-weight: 500; margin-bottom: 12px; }
.hero-text { color: #c9d4ec; max-width: 470px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust { display: flex; align-items: center; gap: 14px; }
.trust strong { display: block; font-size: 13px; font-weight: 600; }
.trust small { font-size: 11.5px; color: var(--dim); }
.avatars { display: flex; }
.avatars span {
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; margin-left: -9px;
    font-size: 10px; font-weight: 700;
    background: linear-gradient(135deg, hsl(var(--h) 80% 60%), hsl(var(--h) 70% 30%));
    border: 2px solid var(--bg);
}
.avatars span:first-child { margin-left: 0; }

.hero-visual { position: relative; height: 540px; }
.hero-mascot {
    position: absolute; left: 50%; top: 50%; width: 560px; max-width: 105%;
    transform: translate(-50%, -48%);
    filter: drop-shadow(0 0 40px rgba(30, 144, 255, .55));
    animation: hover 6s ease-in-out infinite;
    z-index: 2;
}
@keyframes hover { 50% { transform: translate(-50%, -51%); } }
.hero-ring {
    position: absolute; left: 50%; bottom: 40px; width: 520px; height: 120px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgba(60, 170, 255, .55);
    box-shadow: 0 0 30px rgba(30, 144, 255, .6), inset 0 0 30px rgba(30, 144, 255, .4);
}
.hero-ring.ring-2 { width: 420px; height: 90px; bottom: 55px; opacity: .55; }

.float-card {
    position: absolute; z-index: 3;
    background: linear-gradient(160deg, rgba(20, 70, 170, .55), rgba(6, 24, 70, .55));
    border: 1.5px solid rgba(80, 180, 255, .7);
    border-radius: 12px;
    box-shadow: 0 0 22px rgba(30, 144, 255, .55), inset 0 0 18px rgba(30, 144, 255, .25);
    backdrop-filter: blur(4px);
    animation: float 7s ease-in-out infinite;
    color: #bfe4ff;
}
@keyframes float { 50% { translate: 0 -10px; } }
.fc-chart { left: 8%; top: 4%; width: 112px; height: 82px; padding: 14px; display: flex; align-items: flex-end; gap: 6px; transform: rotate(-8deg); }
.fc-chart span { flex: 1; background: linear-gradient(#7fd6ff, #2a8dff); border-radius: 2px; box-shadow: 0 0 8px #2fa8ff; }
.fc-chart span:nth-child(1) { height: 30%; } .fc-chart span:nth-child(2) { height: 45%; }
.fc-chart span:nth-child(3) { height: 40%; } .fc-chart span:nth-child(4) { height: 65%; }
.fc-chart span:nth-child(5) { height: 80%; } .fc-chart span:nth-child(6) { height: 100%; }
.fc-tools { left: 5%; top: 27%; width: 64px; height: 52px; display: grid; place-items: center; transform: rotate(-8deg); animation-delay: -2s; }
.fc-langs { left: 0; top: 40%; padding: 12px 18px; display: flex; flex-direction: column; font-family: var(--head); font-size: 13px; transform: rotate(-10deg); animation-delay: -4s; }
.fc-langs b { font-weight: 700; }
.fc-seo { right: -2%; top: 2%; padding: 14px 18px; font-size: 13px; font-weight: 500; transform: rotate(-6deg); animation-delay: -1s; }
.fc-seo p { display: flex; align-items: center; gap: 7px; margin: 3px 0; }
.fc-seo .fc-growth { margin-left: 6px; color: #7fd6ff; }
.fc-code { right: 0; top: 38%; width: 140px; padding: 12px 14px; transform: rotate(-6deg); animation-delay: -3s; }
.fc-code p { display: flex; align-items: center; gap: 6px; margin: 4px 0; }
.fc-code i { height: 5px; flex: 1; border-radius: 3px; background: rgba(127, 214, 255, .6); }
.fc-code i.short { flex: .5; }
.hero-steps {
    position: absolute; right: -8px; bottom: 70px; z-index: 3;
    font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #6fc3ff;
}
.hero-steps li::before, .hero-steps li::after { content: ' – '; color: #2f6ab0; }

.stats-bar {
    position: relative; z-index: 4;
    display: grid; grid-template-columns: repeat(6, 1fr);
    margin-top: 12px; padding: 20px 10px;
    background: linear-gradient(180deg, rgba(10, 30, 76, .7), rgba(4, 14, 40, .8));
    border: 1px solid var(--card-border); border-radius: var(--radius);
    box-shadow: 0 0 30px rgba(30, 144, 255, .2);
}
.stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 10px; border-right: 1px solid rgba(80, 150, 255, .2); color: var(--blue-2); }
.stat:last-child { border-right: 0; }
.stat .icon { filter: drop-shadow(0 0 6px rgba(30, 144, 255, .7)); }
.stat strong { display: block; color: #fff; font-family: var(--head); font-size: 19px; font-weight: 700; line-height: 1.1; }
.stat small { color: var(--muted); font-size: 11px; }

/* Services */
#services {
    background:
        radial-gradient(ellipse 50% 40% at 0% 20%, rgba(20, 100, 255, .22), transparent 70%),
        radial-gradient(ellipse 50% 40% at 100% 20%, rgba(20, 100, 255, .22), transparent 70%);
}
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: 24px 22px 56px; min-height: 230px; }
.service-card .card-icon { margin-bottom: 14px; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* Tools */
.section-tools { background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(20, 90, 230, .18), transparent 70%); }
.tools-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 34px; }
.tool-card { padding: 18px 16px 44px; min-height: 140px; }
.tool-card .card-icon { margin-bottom: 10px; }
.tool-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.tool-card p { color: var(--muted); font-size: 12.5px; line-height: 1.5; padding-right: 22px; }
.tool-card .card-arrow { right: 12px; bottom: 12px; width: 24px; height: 24px; }

/* Results */
.section-results { background: radial-gradient(ellipse 60% 60% at 75% 50%, rgba(20, 100, 255, .3), transparent 70%); }
.results-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: 40px; align-items: center; }
.results-copy .kicker { font-size: 11px; }
.results-copy h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; margin-bottom: 16px; }
.results-copy p { color: #c9d4ec; margin-bottom: 22px; }
.checklist li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14.5px; }
.checklist .icon, .cta-actions .icon { color: #fff; fill: var(--blue); stroke: #fff; }

.dashboard {
    display: grid; grid-template-columns: 150px 1fr;
    background: rgba(5, 14, 36, .92);
    border: 1.5px solid rgba(70, 170, 255, .7);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 0 50px rgba(30, 144, 255, .45);
    transform: perspective(1400px) rotateY(-6deg);
    font-size: 11px;
}
.dash-side { padding: 16px 10px; background: rgba(255, 255, 255, .02); border-right: 1px solid rgba(255, 255, 255, .06); }
.dash-brand { display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.dash-brand span { display: flex; flex-direction: column; line-height: 1; }
.dash-brand b { color: var(--blue-2); font-family: var(--head); font-weight: 900; font-size: 12px; }
.dash-brand small { font-size: 5.5px; font-weight: 700; letter-spacing: .3px; }
.dash-side a { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 6px; color: #9fb0d4; font-size: 10.5px; margin-bottom: 2px; }
.dash-side a.on { background: linear-gradient(90deg, #1478f0, #2ea6ff); color: #fff; }
.dash-main { padding: 16px 18px 18px; }
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.dash-top h4 { font-size: 14px; font-weight: 700; }
.chip { display: inline-block; margin-left: 6px; padding: 4px 8px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; font-size: 9.5px; color: #c8d3ec; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { padding: 10px 12px; border-radius: 10px; border: 1px solid; }
.kpi small { display: block; font-size: 9px; color: #c8d3ec; }
.kpi b { display: block; font-family: var(--head); font-size: 20px; font-weight: 700; margin: 4px 0 2px; }
.kpi em { font-style: normal; font-size: 9.5px; color: #47e08a; }
.kpi em.down { color: #ff7a59; }
.k-blue { background: rgba(30, 110, 230, .3); border-color: rgba(60, 150, 255, .45); }
.k-purple { background: rgba(110, 60, 220, .3); border-color: rgba(150, 100, 255, .45); }
.k-green { background: rgba(20, 140, 110, .3); border-color: rgba(50, 200, 150, .4); }
.k-orange { background: rgba(170, 80, 30, .32); border-color: rgba(240, 130, 60, .45); }
.dash-panels { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.panel { position: relative; padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.panel h5 { font-size: 10.5px; font-weight: 600; margin-bottom: 8px; font-family: var(--body); }
.traffic svg { width: 100%; height: 130px; display: block; }
.traffic .tooltip {
    position: absolute; left: 70%; top: 20px; padding: 3px 9px; text-align: center;
    background: #071a3e; border: 1px solid var(--blue-2); border-radius: 6px; line-height: 1.2;
}
.traffic .tooltip b { display: block; font-size: 11px; }
.traffic .tooltip small { font-size: 8px; color: var(--muted); }
.axis { display: flex; justify-content: space-between; font-size: 8.5px; color: var(--dim); margin-top: 4px; }
.kw span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-side a { white-space: nowrap; }
.kw { display: grid; grid-template-columns: 1fr 48px 12px; align-items: center; gap: 8px; margin: 9px 0; font-size: 9.5px; color: #c8d3ec; }
.kw i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.kw i b { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #1478f0, #3fc0ff); }
.kw em { font-style: normal; text-align: right; color: #fff; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { display: flex; align-items: center; gap: 16px; padding: 22px 20px; }
.why-card h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

/* CTA */
.section-cta { padding-top: 20px; }
.cta-box {
    position: relative;
    display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 28px;
    padding: 24px 44px 24px 20px;
    border: 1.5px solid rgba(70, 170, 255, .75); border-radius: 18px;
    background:
        radial-gradient(ellipse 50% 100% at 10% 50%, rgba(30, 120, 255, .35), transparent 70%),
        linear-gradient(90deg, rgba(10, 40, 110, .75), rgba(4, 16, 46, .9));
    box-shadow: 0 0 40px rgba(30, 144, 255, .35);
}
.cta-mascot { width: 190px; margin: -50px 0 -30px; filter: drop-shadow(0 0 24px rgba(30, 144, 255, .6)); }
.cta-copy h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-copy p { color: #c9d4ec; max-width: 470px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-actions ul { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.cta-actions li { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }

/* Footer */
.site-footer { padding-top: 40px; border-top: 1px solid rgba(56, 150, 255, .12); background: linear-gradient(180deg, transparent, #01050f); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1.4fr 2fr 1.5fr; gap: 28px; padding-bottom: 34px; }
.footer-brand p { color: var(--muted); font-size: 12.5px; margin: 14px 0 18px; max-width: 250px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15);
    transition: background .2s;
}
.socials a:hover { background: var(--blue); }
.site-footer h4 { font-family: var(--body); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.site-footer li { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.site-footer li a:hover { color: var(--blue-2); }
.site-footer ul:not(.two-col):not(.footer-contact ul) li::before { content: '› '; color: var(--dim); }
.two-col { columns: 2; column-gap: 16px; }
.two-col li { white-space: nowrap; font-size: 12px; }
.two-col li::before { content: '› '; color: var(--dim); }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: #dbe4f7; }
.footer-contact li::before { content: none !important; }
.footer-contact .icon { color: #fff; }
.world-map {
    height: 70px; margin-top: 8px; opacity: .35;
    background-image: radial-gradient(rgba(150, 190, 255, .9) 1px, transparent 1.4px);
    background-size: 6px 6px;
    -webkit-mask: radial-gradient(ellipse 30% 45% at 25% 45%, #000 60%, transparent 62%), radial-gradient(ellipse 22% 40% at 55% 40%, #000 60%, transparent 62%), radial-gradient(ellipse 25% 35% at 78% 45%, #000 60%, transparent 62%);
    mask: radial-gradient(ellipse 30% 45% at 25% 45%, #000 60%, transparent 62%), radial-gradient(ellipse 22% 40% at 55% 40%, #000 60%, transparent 62%), radial-gradient(ellipse 25% 35% at 78% 45%, #000 60%, transparent 62%);
}
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
    padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 11.5px; color: var(--muted);
}
.footer-bottom nav { display: flex; gap: 10px; }
.footer-bottom a:hover { color: var(--blue-2); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.dashboard.reveal.in { transform: perspective(1400px) rotateY(-6deg); }

/* Responsive */
@media (max-width: 1100px) {
    .main-nav a { padding: 26px 10px; }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-bar { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
    .stat:nth-child(3) { border-right: 0; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .results-grid { grid-template-columns: 1fr; }
    .dashboard, .dashboard.reveal.in { transform: none; }
}
@media (max-width: 900px) {
    .nav-cta { display: none; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; top: 74px; left: 0; right: 0;
        flex-direction: column; gap: 0; padding: 10px 20px 20px;
        background: rgba(2, 8, 24, .97); border-bottom: 1px solid var(--card-border);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 4px; }
    .main-nav a.active::after { display: none; }
    .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: 10px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text { margin-inline: auto; }
    .hero-actions, .trust { justify-content: center; }
    .hero-visual { height: 460px; }
    .hero-mascot { width: 440px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-box { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
    .cta-mascot { margin: -80px auto 0; width: 150px; }
    .cta-copy p { margin-inline: auto; }
}
@media (max-width: 640px) {
    .section { padding: 54px 0; }
    .hero-visual { height: 360px; }
    .hero-mascot { width: 330px; }
    .hero-ring { width: 320px; height: 80px; }
    .hero-ring.ring-2 { width: 260px; height: 60px; }
    .fc-chart { width: 84px; height: 62px; padding: 10px; left: 2%; }
    .fc-tools, .fc-code, .hero-steps { display: none; }
    .fc-langs { font-size: 11px; padding: 8px 12px; top: 45%; }
    .fc-seo { font-size: 11px; padding: 10px 12px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat { justify-content: flex-start; border-right: 0; }
    .services-grid, .tools-grid, .why-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tool-card { padding: 14px 12px 40px; }
    .dashboard { grid-template-columns: 1fr; }
    .dash-side { display: none; }
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .dash-panels { grid-template-columns: 1fr; }
    .dash-top { flex-direction: column; align-items: flex-start; gap: 8px; }
    .chip:first-child { margin-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-contact, .footer-tools { grid-column: 1 / -1; }
    .footer-bottom { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ================= Tool pages ================= */
a.tool-card { display: block; color: inherit; }
.page-hero {
    position: relative; overflow: hidden; text-align: center;
    padding: 46px 0 40px;
    background:
        radial-gradient(ellipse 50% 80% at 50% 0%, rgba(20, 110, 255, .35), transparent 70%),
        var(--bg);
    border-bottom: 1px solid rgba(56, 150, 255, .12);
}
.page-hero .container { position: relative; max-width: 860px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; margin-bottom: 14px; }
.page-hero h1.upper { text-transform: uppercase; }
.page-hero p { color: #c9d4ec; font-size: 15.5px; }
.page-hero-icon {
    width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 16px;
    display: grid; place-items: center; color: var(--blue-2);
    background: linear-gradient(160deg, rgba(20, 70, 170, .55), rgba(6, 24, 70, .6));
    border: 1.5px solid rgba(80, 180, 255, .7);
    box-shadow: 0 0 26px rgba(30, 144, 255, .5);
}
.breadcrumb { font-size: 12.5px; color: var(--dim); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue-2); }
.breadcrumb span { margin: 0 6px; }
.tool-section { padding-top: 40px; }
.more-tools { padding-top: 20px; }
.more-tools .tools-grid { margin-bottom: 26px; }

.panel-box {
    background: linear-gradient(160deg, rgba(14, 40, 98, .5), rgba(4, 14, 40, .75));
    border: 1px solid var(--card-border); border-radius: 16px;
    padding: 26px; margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.panel-box h2, .panel-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.panel-box h3 { font-size: 15px; }
.tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.tool-layout > * { min-width: 0; }
.sticky { position: sticky; top: 90px; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 13px; font-weight: 500; color: #dbe4f7; }
.field small, .hint { font-size: 12px; color: var(--dim); }
.input, .field input[type=text], .field input[type=url], .field input[type=number], .field input[type=date], .field input[type=datetime-local], .field input[type=email], .field input[type=tel], .field select, .field textarea {
    width: 100%; padding: 11px 14px;
    background: rgba(2, 10, 30, .75); color: #fff;
    border: 1px solid rgba(90, 150, 255, .3); border-radius: 9px;
    font: inherit; font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select option { background: #071530; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
    outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(47, 168, 255, .2);
}
.check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #dbe4f7; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--blue); }
.counter { font-size: 11.5px; color: var(--dim); }
.counter.good { color: var(--good); } .counter.warn { color: var(--warn); } .counter.bad { color: var(--bad); }

.search-bar { display: flex; gap: 12px; }
.search-bar .input { flex: 1; padding: 14px 18px; font-size: 15px; }
.search-bar .btn { padding-inline: 26px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }
button.btn { border: 0; cursor: pointer; font-family: inherit; }
button.btn-outline { background: transparent; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.spinner { width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: rgba(2, 10, 30, .7); border: 1px solid rgba(90, 150, 255, .25); }
.seg button { border: 0; background: none; color: var(--muted); padding: 8px 16px; border-radius: 7px; font: inherit; font-size: 13px; cursor: pointer; }
.seg button.on { background: linear-gradient(180deg, #2ea6ff, #1478f0); color: #fff; }

.notice { padding: 14px 16px; border-radius: 10px; font-size: 13.5px; border: 1px solid; margin-bottom: 16px; }
.notice-error { background: rgba(255, 95, 109, .12); border-color: rgba(255, 95, 109, .5); color: #ffc1c7; }
.notice-info { background: rgba(47, 168, 255, .1); border-color: rgba(47, 168, 255, .4); color: #cfe9ff; }
.loading-box { text-align: center; padding: 40px 20px; color: var(--muted); }
.loading-box .spinner { width: 34px; height: 34px; border-width: 3px; margin: 0 auto 14px; }

.code-out {
    position: relative; margin: 0;
    background: #010614; border: 1px solid rgba(90, 150, 255, .25); border-radius: 10px;
    padding: 16px; max-height: 460px; overflow: auto;
    font-family: Consolas, 'Courier New', monospace; font-size: 12.5px; line-height: 1.6; color: #bfe4ff;
    white-space: pre-wrap; word-break: break-word;
}
.out-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-pass { background: rgba(47, 212, 128, .15); color: var(--good); }
.badge-warn { background: rgba(255, 181, 71, .15); color: var(--warn); }
.badge-fail { background: rgba(255, 95, 109, .15); color: var(--bad); }
.badge-info { background: rgba(47, 168, 255, .15); color: var(--blue-2); }
.badge-blue { background: rgba(47, 168, 255, .15); color: #8fd0ff; }

.score-ring {
    --p: 0; --c: var(--good);
    width: 130px; height: 130px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-content: center; text-align: center;
    background: radial-gradient(closest-side, #061533 80%, transparent 81%), conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0);
    box-shadow: 0 0 24px rgba(30, 144, 255, .25);
}
.score-ring b { font-family: var(--head); font-size: 34px; font-weight: 800; line-height: 1; }
.score-ring small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.score-ring.sm { width: 92px; height: 92px; }
.score-ring.sm b { font-size: 24px; }

.result-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.result-head .meta { flex: 1; min-width: 220px; }
.result-head h2 { margin-bottom: 6px; }
.result-head .url { color: var(--blue-2); font-size: 13px; word-break: break-all; }
.stat-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.stat-chip { padding: 8px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: var(--muted); }
.stat-chip b { display: block; color: #fff; font-size: 17px; font-family: var(--head); }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-row { display: grid; grid-template-columns: 90px 180px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; }
.check-row strong { font-weight: 600; }
.check-row p { color: #c9d4ec; }
.check-row .val { display: block; margin-top: 4px; font-size: 12px; color: var(--dim); word-break: break-word; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-tabs button { border: 1px solid rgba(255, 255, 255, .15); background: none; color: var(--muted); padding: 6px 14px; border-radius: 20px; font: inherit; font-size: 12.5px; cursor: pointer; }
.filter-tabs button.on { border-color: var(--blue-2); color: #fff; background: rgba(47, 168, 255, .15); }

.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .07); }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .06); vertical-align: top; }
.data-table th { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); background: rgba(255, 255, 255, .03); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: rgba(47, 168, 255, .04); }
.data-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table a { color: var(--blue-2); word-break: break-all; }
.bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); min-width: 60px; }
.bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #1478f0, #3fc0ff); }

.kw-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.kw-groups .panel-box { margin: 0; }
.kw-list { display: flex; flex-direction: column; gap: 2px; max-height: 520px; overflow-y: auto; }
.kw-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; }
.kw-item:hover { background: rgba(47, 168, 255, .07); }
.kw-item input { accent-color: var(--blue); }
.kw-item span.k { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.kw-item .badge { font-size: 10px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.metric small { display: block; font-size: 12px; color: var(--muted); }
.metric b { display: block; font-family: var(--head); font-size: 22px; margin-top: 4px; }
.metric.good b { color: var(--good); } .metric.warn b { color: var(--warn); } .metric.bad b { color: var(--bad); }
.rings { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.rings > div { text-align: center; }
.rings p { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.shot { border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); max-height: 420px; margin: 0 auto; }

/* SERP preview */
.serp-card { background: #fff; color: #202124; border-radius: 12px; padding: 22px 24px; font-family: Arial, sans-serif; }
.serp-card.dark { background: #202124; color: #bdc1c6; }
.serp-site { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.serp-fav { width: 28px; height: 28px; border-radius: 50%; background: #f1f3f4; display: grid; place-items: center; font-size: 13px; color: #5f6368; flex-shrink: 0; }
.serp-card.dark .serp-fav { background: #303134; color: #bdc1c6; }
.serp-name { font-size: 14px; line-height: 20px; color: #202124; }
.serp-card.dark .serp-name { color: #dadce0; }
.serp-url { font-size: 12px; line-height: 18px; color: #4d5156; }
.serp-card.dark .serp-url { color: #bdc1c6; }
.serp-title { font-size: 20px; line-height: 26px; color: #1a0dab; margin: 2px 0 4px; font-weight: 400; overflow-wrap: anywhere; }
.serp-card.dark .serp-title { color: #99c3ff; }
.serp-desc { font-size: 14px; line-height: 22px; color: #4d5156; overflow-wrap: anywhere; }
.serp-card.dark .serp-desc { color: #bdc1c6; }
.serp-desc .date { color: #70757a; }
.serp-mobile { max-width: 400px; margin: 0 auto; }
.serp-mobile .serp-title { font-size: 18px; line-height: 24px; }
.pixel-meter { margin-top: 6px; }
.pixel-meter .bar { margin-top: 4px; }
.pixel-meter .bar i.over { background: linear-gradient(90deg, #ff9f43, var(--bad)); }

.repeater-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: start; margin-bottom: 10px; }
.repeater-row.stack { grid-template-columns: 1fr auto; }
.repeater-row .stack-fields { display: flex; flex-direction: column; gap: 8px; }
.icon-btn { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255, 95, 109, .4); background: rgba(255, 95, 109, .08); color: var(--bad); cursor: pointer; font-size: 18px; line-height: 1; }
.bot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.bot-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.bot-row select { width: 130px; padding: 7px 10px; }
.empty { color: var(--dim); font-size: 13.5px; padding: 10px 0; }
.links-list { margin-top: 6px; font-size: 12px; color: var(--muted); }
.links-list li { margin: 3px 0; }

@media (max-width: 900px) {
    .tool-layout, .kw-groups { grid-template-columns: 1fr; }
    .sticky { position: static; }
    .check-row { grid-template-columns: 80px 1fr; }
    .check-row p { grid-column: 1 / -1; }
    .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .panel-box { padding: 18px; }
    .form-grid, .bot-grid { grid-template-columns: 1fr; }
    .search-bar { flex-direction: column; }
    .search-bar .btn { justify-content: center; }
    .repeater-row { grid-template-columns: 1fr auto; }
    .repeater-row > :nth-child(2) { grid-column: 1; }
    .result-head { flex-direction: column; text-align: center; }
    .stat-chips { justify-content: center; }
}

/* ================= Pages: contact, about, portfolio, leads ================= */
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 14px; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status.ok { padding: 14px 16px; background: rgba(47, 212, 128, .12); border: 1px solid rgba(47, 212, 128, .5); color: #bdf5d6; }
.form-status.err { padding: 14px 16px; background: rgba(255, 95, 109, .12); border: 1px solid rgba(255, 95, 109, .5); color: #ffc1c7; }

.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.contact-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 13.5px; word-break: break-word; }
.contact-card a:hover { color: var(--blue-2); }
.btn-whatsapp { justify-content: center; background: linear-gradient(180deg, #2fd16b, #1ea952); color: #fff; box-shadow: 0 8px 26px rgba(37, 211, 102, .35); }
.btn-whatsapp:hover { transform: translateY(-2px); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { padding: 24px 22px; }
.step-num { display: block; font-family: var(--head); font-size: 34px; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--blue-2); margin-bottom: 10px; }
.step-card h3 { font-size: 16px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 13.5px; }

.about-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.about-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.about-visual img { position: relative; z-index: 2; width: 420px; filter: drop-shadow(0 0 40px rgba(30, 144, 255, .55)); }
.about-visual .hero-ring { bottom: 30px; width: 400px; height: 90px; }
.about-h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 18px; }
.about-intro p { color: #c9d4ec; margin-bottom: 14px; }
.about-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.about-badges div { flex: 1; min-width: 130px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--card-border); }
.about-badges strong { display: block; font-family: var(--head); font-size: 24px; color: var(--blue-2); }
.about-badges small { color: var(--muted); font-size: 12px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.team-card { padding: 16px 16px 20px; text-align: center; }
.team-photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #061533; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h3 { font-size: 16px; margin-bottom: 4px; }
.team-card p { color: var(--blue-2); font-size: 12.5px; }

.portfolio-filter { justify-content: center; margin-bottom: 26px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card { padding: 0; overflow: hidden; text-align: left; cursor: pointer; color: inherit; font: inherit; display: flex; flex-direction: column; }
.work-shot {
    display: block; height: 300px; background-size: 100% auto; background-position: top center; background-repeat: no-repeat;
    border-bottom: 1px solid var(--card-border); transition: background-position 5s ease-in-out;
}
.work-card:hover .work-shot, .work-card:focus-visible .work-shot { background-position: bottom center; }
.work-info { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.work-info .badge { align-self: flex-start; margin-bottom: 4px; }
.work-info strong { font-family: var(--head); font-size: 16px; }
.work-info small { color: var(--muted); font-size: 13px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(1, 4, 14, .88); display: grid; place-items: center; padding: 20px; }
.lightbox-inner { width: min(760px, 100%); height: min(92vh, 1200px); display: flex; flex-direction: column; background: #061533; border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; }
.lightbox-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--card-border); }
.lightbox-head .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.lightbox-body { overflow-y: auto; flex: 1; }
.lightbox-body img { width: 100%; }

.section-cta-lead { padding-top: 30px; }
.cta-lead {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: center;
    padding: 34px; border-radius: 18px; border: 1.5px solid rgba(70, 170, 255, .75);
    background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(30, 120, 255, .35), transparent 70%), linear-gradient(90deg, rgba(10, 40, 110, .75), rgba(4, 16, 46, .9));
    box-shadow: 0 0 40px rgba(30, 144, 255, .3);
}
.cta-lead-copy img { width: 130px; margin-bottom: 10px; filter: drop-shadow(0 0 20px rgba(30, 144, 255, .6)); }
.cta-lead-copy h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-lead-copy p { color: #c9d4ec; margin-bottom: 16px; }
.cta-lead-copy ul { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-lead-copy li { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.cta-lead-copy .icon { color: #fff; fill: var(--blue); stroke: #fff; }
.cta-lead-form { background: rgba(2, 10, 30, .55); border: 1px solid var(--card-border); border-radius: 14px; padding: 22px; }

/* Rank checkers */
.engine-picks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.engine-pick small.badge { margin-left: 4px; }
.rank-big { width: 130px; height: 130px; border-radius: 50%; display: grid; place-content: center; text-align: center; flex-shrink: 0; border: 3px solid; box-shadow: 0 0 24px rgba(30, 144, 255, .25); }
.rank-big b { font-family: var(--head); font-size: 38px; line-height: 1; }
.rank-big small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.rank-big.good { border-color: var(--good); color: var(--good); }
.rank-big.warn { border-color: var(--warn); color: var(--warn); }
.rank-big.bad { border-color: var(--bad); color: var(--bad); }
.pos-badge { font-size: 13px; padding: 4px 12px; }
.serp-list summary, .faq-item summary { cursor: pointer; font-size: 15px; }
.serp-list ol { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.serp-list li { display: flex; gap: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.serp-list li.mine { border-color: var(--good); background: rgba(47, 212, 128, .08); }
.serp-list .n { font-family: var(--head); font-weight: 800; color: var(--blue-2); min-width: 26px; }
.serp-list li > div { min-width: 0; }
.serp-list a { color: #8fd0ff; font-weight: 500; }
.serp-list small { display: block; color: var(--good); font-size: 12px; word-break: break-all; }
.serp-list p { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.faq-box h2 { margin-bottom: 10px; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 14px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { font-weight: 600; }
.faq-item p { color: #c9d4ec; margin-top: 10px; font-size: 14px; }
.source-view { max-height: 640px; }
.source-view.nowrap { white-space: pre; word-break: normal; }
.source-view mark { background: #ffb547; color: #000; border-radius: 2px; }

@media (max-width: 1100px) {
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .contact-grid, .about-intro, .cta-lead { grid-template-columns: 1fr; }
    .about-visual { min-height: 320px; }
    .about-visual img { width: 300px; }
    .about-visual .hero-ring { width: 300px; }
    .cta-lead { padding: 24px; }
}
@media (max-width: 640px) {
    .work-grid, .steps-grid { grid-template-columns: 1fr; }
    .work-shot { height: 240px; }
    .cta-lead-form { padding: 16px; }
}

/* ================= Free-tools signup gate ================= */
.gate { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(1, 4, 14, .82); backdrop-filter: blur(6px); overflow-y: auto; }
.gate-box {
    position: relative; width: min(860px, 100%);
    display: grid; grid-template-columns: .95fr 1.05fr;
    border-radius: 18px; overflow: hidden;
    border: 1.5px solid rgba(70, 170, 255, .75);
    background: linear-gradient(160deg, #0a2a6e, #041030);
    box-shadow: 0 0 60px rgba(30, 144, 255, .45);
    animation: gate-in .25s ease-out;
}
@keyframes gate-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.gate-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.gate-close:hover { background: rgba(255, 255, 255, .14); }
.gate-side { padding: 30px 28px; background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(30, 120, 255, .45), transparent 70%); border-right: 1px solid var(--card-border); }
.gate-side img { width: 130px; margin: 0 auto 12px; filter: drop-shadow(0 0 22px rgba(30, 144, 255, .7)); }
.gate-side h2 { font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 18px; }
.gate-side ul { display: flex; flex-direction: column; gap: 10px; }
.gate-side li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #dbe4f7; }
.gate-side .icon { color: #fff; fill: var(--blue); stroke: #fff; flex-shrink: 0; }
.gate-form { padding: 30px 28px 24px; background: rgba(2, 10, 30, .55); display: flex; flex-direction: column; gap: 12px; }
.gate-form h3 { font-size: 19px; font-weight: 700; }
.gate-form .hint { margin-top: -6px; }
.gate-submit { justify-content: center; margin-top: 4px; }
.gate-note { font-size: 11px; color: var(--dim); line-height: 1.5; }

.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 130; transform: translate(-50%, 20px); opacity: 0;
    padding: 12px 20px; border-radius: 10px; max-width: calc(100% - 32px);
    background: #0b3a22; border: 1px solid var(--good); color: #c8f7dc; font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
    .gate { place-items: start center; }
    .gate-box { grid-template-columns: 1fr; }
    .gate-side { border-right: 0; border-bottom: 1px solid var(--card-border); padding: 22px 20px 18px; }
    .gate-side img { width: 80px; }
    .gate-side h2 { font-size: 20px; margin-bottom: 12px; }
    .gate-side ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .gate-side li { font-size: 12px; }
    .gate-form { padding: 20px; }
}

/* Rank checkers: one-click live check */
.result-head .meta p { color: #c9d4ec; }
.live-panel { padding: 30px; }
.live-intro { text-align: center; max-width: 620px; margin: 0 auto 24px; }
.live-intro h2 { font-size: 22px; margin-bottom: 8px; }
.live-intro p { color: #c9d4ec; font-size: 14px; }
.live-intro .hint { margin-top: 6px; font-size: 12.5px; }
.live-keyword + .live-keyword { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .07); }
.live-keyword h3 { font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 12px; text-align: center; }
.engine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.engine-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 20px 14px 16px; border-radius: 14px; text-align: center;
    background: linear-gradient(160deg, rgba(14, 40, 98, .55), rgba(4, 14, 40, .75));
    border: 1px solid var(--card-border);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.engine-card:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 45%, transparent); }
.engine-logo {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 8px;
    background: var(--c); color: #fff; font-family: var(--head); font-weight: 800; font-size: 20px;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--c) 45%, transparent);
}
.engine-card strong { font-family: var(--head); font-size: 15px; }
.engine-card small { color: var(--dim); font-size: 11.5px; }
.engine-go { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--blue-2); }
.engine-card:hover .engine-go { color: #fff; }
.live-link { font-size: 13px; font-weight: 600; color: var(--blue-2); white-space: nowrap; }
.live-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
    .live-panel { padding: 20px 16px; }
    .engine-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Page speed: mobile + desktop report */
.overall { display: flex; align-items: baseline; gap: 6px; padding: 10px 18px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--card-border); }
.overall span { font-size: 12px; color: var(--muted); margin-right: 4px; }
.overall b { font-family: var(--head); font-size: 28px; }
.overall small { color: var(--dim); }
.overall .good, .device-verdict.good { color: var(--good); }
.overall .warn, .device-verdict.warn { color: var(--warn); }
.overall .bad, .device-verdict.bad { color: var(--bad); }
.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.device-card { display: flex; flex-direction: column; align-items: center; padding: 22px 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.device-title { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--blue-2); }
.device-title h3 { margin: 0; font-size: 17px; color: #fff; }
.device-verdict { margin: 10px 0 16px; font-weight: 600; font-size: 14px; }
.device-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.device-stats div { padding: 10px 8px; border-radius: 10px; background: rgba(2, 10, 30, .5); }
.device-stats b { display: block; font-family: var(--head); font-size: 17px; }
.device-stats small { font-size: 11px; color: var(--muted); }
.metric-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.metric-dot.good { background: var(--good); } .metric-dot.warn { background: var(--warn); } .metric-dot.bad { background: var(--bad); }
.fix-devices { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: var(--blue-2); }
@media (max-width: 640px) {
    .device-grid { grid-template-columns: 1fr; }
}

/* Service pages */
a.service-card { display: block; color: inherit; }
.page-hero-icon.purple { color: #a36bff; border-color: rgba(163, 107, 255, .7); box-shadow: 0 0 26px rgba(150, 90, 255, .5); }
.service-hero p { max-width: 760px; margin-inline: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 26px 24px; }
.feature-card .card-icon { margin-bottom: 14px; }
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.tech-box { margin-top: 30px; padding: 24px; text-align: center; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--card-border); }
.tech-box h3 { font-size: 15px; margin-bottom: 14px; color: var(--muted); font-weight: 600; letter-spacing: .5px; }
.tech-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tech-chips span { padding: 7px 16px; border-radius: 30px; font-size: 13px; background: rgba(47, 168, 255, .1); border: 1px solid rgba(47, 168, 255, .35); color: #cfe9ff; }
.service-faq { max-width: 900px; }
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* SEO / AEO / GEO sections */
.tool-guide-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; align-items: start; }
.tool-guide-grid > * { margin: 0; }
.howto-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.howto-steps li { display: flex; gap: 14px; align-items: flex-start; }
.howto-steps li span { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: linear-gradient(180deg, #2ea6ff, #1478f0); }
.howto-steps li p { color: #c9d4ec; font-size: 14px; padding-top: 4px; }
.related-service { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(47, 168, 255, .08); border: 1px solid rgba(47, 168, 255, .35); transition: border-color .2s, background .2s; }
.related-service:hover { border-color: var(--blue-2); background: rgba(47, 168, 255, .14); }
.related-service > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.related-service small { color: var(--muted); font-size: 12px; }
.related-service strong { font-family: var(--head); font-size: 15px; }
.facts-box h2 { font-size: 22px; }
.facts-summary { color: #dbe4f7; font-size: 15px; line-height: 1.7; margin-bottom: 18px; }
.facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.facts-list div { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.facts-list dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--blue-2); margin-bottom: 4px; }
.facts-list dd { margin: 0; font-size: 13.5px; color: #dbe4f7; }
.tools-group-title { font-size: 22px; margin: 10px 0 18px; }
.tools-group-title:not(:first-child) { margin-top: 40px; }
@media (max-width: 900px) { .tool-guide-grid, .facts-list { grid-template-columns: 1fr; } }

/* Letter verification */
.verify-card { border-radius: 18px; padding: 28px; background: linear-gradient(160deg, rgba(14, 40, 98, .55), rgba(4, 14, 40, .8)); border: 1.5px solid var(--card-border); }
.verify-valid { border-color: rgba(47, 212, 128, .6); box-shadow: 0 0 40px rgba(47, 212, 128, .15); }
.verify-revoked { border-color: rgba(255, 181, 71, .6); }
.verify-missing { border-color: rgba(255, 95, 109, .6); }
.verify-status { display: flex; gap: 18px; align-items: center; }
.verify-icon { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 800; color: #fff; }
.verify-valid .verify-icon { background: linear-gradient(135deg, #2fd480, #1a9c5a); box-shadow: 0 0 24px rgba(47, 212, 128, .5); }
.verify-revoked .verify-icon { background: linear-gradient(135deg, #ffb547, #e08a12); }
.verify-missing .verify-icon { background: linear-gradient(135deg, #ff5f6d, #c2283a); }
.verify-status h2 { font-size: 22px; margin-bottom: 6px; }
.verify-valid h2 { color: var(--good); } .verify-revoked h2 { color: var(--warn); } .verify-missing h2 { color: var(--bad); }
.verify-status p { color: #c9d4ec; font-size: 14.5px; }
.verify-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 0; }
.verify-details div { padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.verify-details dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--blue-2); margin-bottom: 3px; }
.verify-details dd { margin: 0; font-size: 14.5px; font-weight: 500; }
.verify-code { font-family: Consolas, monospace; letter-spacing: .5px; color: #8fd0ff; }
@media (max-width: 640px) { .verify-details { grid-template-columns: 1fr; } .verify-status { flex-direction: column; text-align: center; } }

/* ---- Link tools (Backlink / Authority / Broken Link): tab bar + one-line form ---- */
.link-tools { padding: 30px 32px 26px; margin-bottom: 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(10, 26, 68, .92), rgba(4, 12, 32, .95)); border: 1px solid rgba(90, 150, 255, .22); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.link-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--head); font-size: 17px; font-weight: 700; }
.link-tabs span { color: var(--dim); }
.link-tabs a { color: #c9d4ec; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color .2s; }
.link-tabs a:hover { color: #fff; }
.link-tabs a.on { color: var(--blue-2); border-bottom-color: var(--blue-2); }
.link-form { display: flex; gap: 10px; }
.link-form .input { flex: 1; min-width: 0; padding: 13px 16px; font-size: 15px; }
.link-form select.input { flex: 0 0 auto; width: auto; padding-right: 34px; font-weight: 600; cursor: pointer; }
.link-form select option { background: #071530; }
.link-form .btn { padding-inline: 24px; white-space: nowrap; }
.link-examples { margin-top: 14px; font-size: 14px; color: var(--muted); }
.link-examples button { background: none; border: 0; padding: 0 0 0 8px; font: inherit; color: #fff; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.link-examples button:hover { color: var(--blue-2); }
.link-note { margin-top: 6px; }
.link-toggle { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--blue-2); cursor: pointer; }
.bl-own .field { margin-top: 14px; }
.big-number { min-width: 120px; text-align: center; }
.big-number b { display: block; font-family: var(--head); font-size: 54px; font-weight: 900; line-height: 1; color: var(--blue-2); }
.big-number small { color: var(--muted); font-size: 13px; }
.ref-domain { display: block; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--good); }
.ref-title { display: block; color: #fff; font-weight: 600; margin: 2px 0; }
.empty-state { text-align: center; padding: 40px 24px; }
.empty-state p { max-width: 620px; margin: 0 auto; }
.wa-grid { display: grid; gap: 18px; }
.wa-grid.multi { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.wa-top { display: flex; align-items: center; gap: 22px; margin-bottom: 20px; }
.wa-top h2 { margin-bottom: 6px; word-break: break-all; }
.wa-top .hint { margin-top: 8px; }
.wa-gauge { --c: var(--good); flex: 0 0 auto; width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #071a3e 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.wa-gauge.warn { --c: var(--warn); } .wa-gauge.bad { --c: var(--bad); }
.wa-gauge b { font-family: var(--head); font-size: 36px; font-weight: 900; line-height: 1; color: var(--c); }
.wa-gauge small { font-size: 12px; color: var(--muted); }
.wa-bars { display: grid; gap: 10px; margin-bottom: 18px; }
.wa-bar { display: grid; grid-template-columns: 110px 1fr 52px; align-items: center; gap: 12px; font-size: 13px; color: #c9d4ec; }
.wa-bar i { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.wa-bar em { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #2ea6ff, #1478f0); }
.wa-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.metric b.small, .metric b small { font-size: 13px; font-weight: 600; }
@media (max-width: 720px) {
    .link-tools { padding: 22px 18px; }
    .link-tabs { font-size: 15px; gap: 6px; }
    .link-form { flex-direction: column; }
    .link-form select.input { width: 100%; }
    .wa-grid.multi { grid-template-columns: 1fr; }
    .wa-top { flex-direction: column; text-align: center; }
}
