:root {
  --site-bg: #f5f7fb;
  --site-text: #111426;
  --site-muted: #667085;
  --site-brand: #5d46f5;
  --site-brand-dark: #3f2bcf;
  --site-brand-soft: #eeeaff;
  --site-line: #e4e7ec;
  --site-white: #fff;
  --site-radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.linku-theme { margin: 0; background: var(--site-bg); color: var(--site-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--site-brand); }
.home-container { width: min(100% - 32px, 1180px); margin: 0 auto; }

.site-header { position: relative; z-index: 50; border-bottom: 1px solid rgba(17,20,38,.08); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); }
.site-header-inner { width: min(100% - 32px, 1180px); min-height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--site-text); text-decoration: none; font-size: 21px; font-weight: 950; letter-spacing: .08em; }
.site-logo-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--site-text); color: white; font-size: 18px; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #475467; text-decoration: none; font-size: 14px; font-weight: 750; }
.site-nav a:hover { color: var(--site-brand); }
.site-header-actions { display: flex; align-items: center; gap: 10px; }
.site-login { color: #344054; text-decoration: none; font-size: 14px; font-weight: 800; }
.site-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 12px; background: var(--site-brand); color: white; text-decoration: none; font-weight: 850; box-shadow: 0 12px 28px rgba(93,70,245,.20); transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.site-button:hover { transform: translateY(-1px); background: var(--site-brand-dark); color: white; }
.site-button-large { min-height: 54px; padding: 0 24px; border-radius: 15px; }
.site-button-dark { background: var(--site-text); box-shadow: none; }
.site-button-light { background: white; color: var(--site-text); box-shadow: none; }
.site-button-light:hover { background: #f2f0ff; color: var(--site-brand-dark); }
.site-button-outline { border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.06); box-shadow: none; }
.site-button-outline:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); }
.site-button-secondary-header { border: 1px solid var(--site-line); background: white; color: var(--site-text); box-shadow: none; }
.site-button-secondary-header:hover { background: #f7f5ff; color: var(--site-brand-dark); }

.home-hero { position: relative; overflow: hidden; background: #111329; color: white; }
.home-hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent 92%); }
.home-hero-glow { position: absolute; border-radius: 999px; filter: blur(14px); opacity: .4; }
.home-hero-glow-one { width: 520px; height: 520px; right: -160px; top: -80px; background: radial-gradient(circle, #7c5cff, transparent 68%); }
.home-hero-glow-two { width: 430px; height: 430px; left: 22%; bottom: -260px; background: radial-gradient(circle, #2563eb, transparent 70%); }
.home-hero-inner { position: relative; z-index: 2; min-height: 720px; padding: 105px 0 115px; display: grid; grid-template-columns: 1.06fr .94fr; gap: 74px; align-items: center; }
.home-eyebrow { display: inline-flex; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.07); color: #c9c2ff; font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.home-hero-copy h1 { max-width: 740px; margin: 20px 0; font-size: clamp(48px, 6.5vw, 78px); line-height: .99; letter-spacing: -.046em; }
.home-hero-copy > p { max-width: 650px; margin: 0; color: #bcc2da; font-size: 18px; line-height: 1.75; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 32px 0 24px; }
.home-trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #aeb5cf; font-size: 13px; font-weight: 700; }
.home-trust-row span::before { content: "✓"; margin-right: 7px; color: #9d8cff; }
.home-hero-demo { position: relative; }
.demo-window { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 26px; background: rgba(255,255,255,.09); box-shadow: 0 36px 90px rgba(0,0,0,.38); backdrop-filter: blur(20px); transform: rotate(1.5deg); }
.demo-window-bar { height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.1); }
.demo-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.38); }
.demo-window-body { padding: 28px; }
.demo-label { display: block; margin-bottom: 10px; color: #c7cce0; font-size: 13px; font-weight: 800; }
.demo-input { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 9px 9px 16px; border-radius: 15px; background: white; color: #667085; font-size: 13px; }
.demo-input span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-input b { padding: 11px 14px; border-radius: 10px; background: var(--site-brand); color: white; }
.demo-result { margin-top: 18px; padding: 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 16px; background: rgba(255,255,255,.08); }
.demo-result div { display: grid; gap: 4px; }
.demo-result small { color: #aeb5cf; }
.demo-result strong { font-size: 15px; }
.demo-result > span { padding: 8px 11px; border-radius: 9px; background: rgba(255,255,255,.13); color: #dedaff; font-size: 12px; font-weight: 850; }
.demo-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.demo-stats article { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.07); }
.demo-stats small { display: block; color: #aeb5cf; font-size: 11px; }
.demo-stats strong { display: block; margin-top: 5px; font-size: 21px; }

.home-section { padding: 105px 0; }
.home-section-soft { background: #eef1f8; }
.home-section-heading { max-width: 720px; margin-bottom: 44px; }
.home-section-heading-center { margin-left: auto; margin-right: auto; text-align: center; }
.home-section-heading > span, .home-cta > .home-container > span { color: var(--site-brand); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.home-section-heading h2 { margin: 12px 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -.036em; }
.home-section-heading p { margin: 0; color: var(--site-muted); font-size: 18px; line-height: 1.7; }
.home-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.home-steps article { padding: 30px; border: 1px solid var(--site-line); border-radius: 23px; background: white; box-shadow: 0 16px 45px rgba(16,24,40,.05); }
.home-steps b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--site-brand-soft); color: var(--site-brand-dark); }
.home-steps h3 { margin: 22px 0 10px; font-size: 22px; }
.home-steps p { margin: 0; color: var(--site-muted); line-height: 1.7; }
.home-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.home-feature-grid article { padding: 28px; border: 1px solid #dde1ea; border-radius: 22px; background: white; }
.home-feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--site-brand-soft); color: var(--site-brand-dark); font-size: 18px; font-weight: 950; }
.home-feature-grid h3 { margin: 21px 0 8px; font-size: 21px; }
.home-feature-grid p { margin: 0; color: var(--site-muted); line-height: 1.65; }

.home-plans { padding: 105px 0; background: white; }
.home-plans-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.home-plan-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.home-plan-grid article { padding: 30px; border: 1px solid var(--site-line); border-radius: 24px; background: #f9fafb; }
.home-plan-grid article > span { color: var(--site-brand); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.home-plan-grid h3 { margin: 14px 0 20px; font-size: 24px; }
.home-plan-grid ul { min-height: 160px; margin: 0 0 24px; padding: 0; list-style: none; }
.home-plan-grid li { margin: 11px 0; color: #475467; }
.home-plan-grid li::before { content: "✓"; margin-right: 8px; color: var(--site-brand); font-weight: 900; }
.home-plan-featured { background: #15172d !important; color: white; border-color: #15172d !important; box-shadow: 0 24px 55px rgba(17,20,38,.18); }
.home-plan-featured li { color: #c7cce0; }

.home-advertiser { padding: 110px 0; background: #171932; color: white; }
.home-advertiser-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 78px; align-items: center; }
.home-advertiser h2 { margin: 18px 0; font-size: clamp(38px, 5vw, 61px); line-height: 1.03; letter-spacing: -.038em; }
.home-advertiser p { max-width: 620px; color: #b9bfd4; font-size: 18px; line-height: 1.72; }
.home-ad-card { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 27px; background: rgba(255,255,255,.065); }
.home-ad-card-head { display: flex; align-items: center; justify-content: space-between; }
.home-ad-card-head b { padding: 6px 10px; border-radius: 999px; background: rgba(34,197,94,.14); color: #86efac; font-size: 12px; }
.home-ad-number { display: grid; gap: 4px; margin: 32px 0 18px; }
.home-ad-number small { color: #aeb5cf; }
.home-ad-number strong { font-size: 48px; }
.home-ad-progress { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.home-ad-progress i { display: block; width: 80%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6b55ff, #a496ff); }
.home-ad-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.home-ad-metrics span { display: grid; gap: 4px; color: #aeb5cf; font-size: 12px; }
.home-ad-metrics b { color: white; font-size: 21px; }

.home-cta { padding: 105px 16px; background: white; text-align: center; }
.home-cta .home-container { max-width: 820px; }
.home-cta h2 { margin: 14px 0; font-size: clamp(40px, 6vw, 66px); line-height: 1.02; letter-spacing: -.042em; }
.home-cta p { margin: 0; color: var(--site-muted); font-size: 18px; line-height: 1.7; }
.home-cta .site-button { margin-top: 22px; }

.site-footer { background: #0f1122; color: white; }
.site-footer-inner { width: min(100% - 32px, 1180px); margin: 0 auto; padding: 56px 0 42px; display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 48px; }
.site-logo-footer { color: white; }
.site-footer p { max-width: 470px; color: #aab1c9; line-height: 1.7; }
.site-footer-links { display: grid; align-content: start; gap: 10px; }
.site-footer-links strong { margin-bottom: 4px; }
.site-footer-links a { color: #cbd0df; text-decoration: none; }
.site-footer-links a:hover { color: white; }
.site-footer-bottom { width: min(100% - 32px, 1180px); margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid rgba(255,255,255,.08); color: #8f96ae; font-size: 13px; }

.content-shell { width: min(100% - 32px, 900px); min-height: 65vh; margin: 0 auto; padding: 70px 0; }
.content-card { margin-bottom: 22px; padding: 34px; border: 1px solid var(--site-line); border-radius: 22px; background: white; box-shadow: 0 18px 45px rgba(16,24,40,.06); }
.content-card h1 { margin-top: 0; }
.content-card h1 a { color: var(--site-text); text-decoration: none; }
.content-body { line-height: 1.8; }
.error-card { text-align: center; }
.error-card > span { color: var(--site-brand); font-size: 72px; font-weight: 950; }
body.linku-plugin-route .site-header { position: relative; }
body.linku-plugin-route .site-footer { margin-top: 0; }

@media (max-width: 1020px) {
  .site-nav { display: none; }
  .home-hero-inner, .home-advertiser-inner, .home-plans-inner { grid-template-columns: 1fr; }
  .home-hero-inner { gap: 48px; padding-top: 82px; }
  .home-hero-demo { max-width: 680px; }
  .home-feature-grid { grid-template-columns: repeat(2,1fr); }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .site-header-inner { width: min(100% - 20px,1180px); min-height: 66px; }
  .site-header-actions .site-login, .site-button-secondary-header { display: none; }
  .site-button { min-height: 42px; padding: 0 14px; }
  .home-hero-inner { min-height: auto; padding: 72px 0 86px; }
  .home-hero-copy h1 { font-size: 47px; }
  .home-hero-copy > p { font-size: 16px; }
  .home-trust-row { display: grid; gap: 9px; }
  .demo-window { transform: none; }
  .demo-window-body { padding: 18px; }
  .demo-input { grid-template-columns: 1fr; }
  .demo-input b { text-align: center; }
  .demo-stats { grid-template-columns: 1fr; }
  .home-section, .home-plans, .home-advertiser, .home-cta { padding-top: 78px; padding-bottom: 78px; }
  .home-steps, .home-feature-grid, .home-plan-grid { grid-template-columns: 1fr; }
  .home-plan-grid ul { min-height: 0; }
  .home-ad-metrics { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: 1fr; }
}
