/*
Theme Name: LinkPera Theme v16 Mobile Premium
Theme URI: https://linkpera.com
Author: OpenAI
Author URI: https://openai.com
Description: Motyw LinkPera v15 z naciskiem na sprawdzone linki, kategorie linków, sekcję główną z realnymi kartami oraz sygnał „VIP był pomocny”.
Version: 16.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: linkpera-v11
*/

:root{
  --lp-bg:#F6F7F9;
  --lp-surface:#FFFFFF;
  --lp-surface-soft:#F3F6FA;
  --lp-vip-soft:#EEF4FF;
  --lp-vip-green:#EDF8F2;
  --lp-text:#14181F;
  --lp-text-muted:#66707C;
  --lp-border:#E3E7EE;
  --lp-blue:#1F4FD8;
  --lp-green:#169B62;
  --lp-graphite:#232B35;
  --lp-danger:#D92D20;
  --lp-radius:22px;
  --lp-shadow:0 12px 30px rgba(20,24,31,.06);
  --lp-shadow-soft:0 4px 16px rgba(20,24,31,.04);
  --lp-max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--lp-bg);
  color:var(--lp-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}

.lp-site-wrap{min-height:100vh;display:flex;flex-direction:column}
.lp-main{flex:1 0 auto}
.lp-container{width:min(var(--lp-max), calc(100% - 40px));margin:0 auto}
.lp-section{padding:72px 0}
.lp-section--soft{background:var(--lp-surface-soft)}
.lp-section--vip{background:linear-gradient(180deg,#F5F8FF 0%, #EEF4FF 100%)}
.lp-section--white{background:#fff}
.lp-grid{display:grid;gap:20px}
.lp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.lp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}

.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(14px);
  background:rgba(246,247,249,.82);
  border-bottom:1px solid rgba(227,231,238,.8);
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:18px}
.site-branding a{font-weight:800;letter-spacing:-.03em;font-size:1.25rem}
.site-branding small{display:block;color:var(--lp-text-muted);font-size:.8rem;margin-top:2px}
.site-nav{display:flex;align-items:center;gap:18px}
.site-nav a{font-size:.96rem;color:var(--lp-text-muted)}
.site-nav a:hover{color:var(--lp-text)}
.site-header__actions{display:flex;gap:12px;align-items:center}

.lp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 18px;border-radius:16px;font-weight:700;text-decoration:none;transition:.2s ease;border:1px solid transparent;cursor:pointer}
.lp-btn--primary{background:var(--lp-graphite);color:#fff}
.lp-btn--primary:hover{transform:translateY(-1px);opacity:.96}
.lp-btn--secondary{background:#fff;color:var(--lp-graphite);border-color:var(--lp-border)}
.lp-btn--secondary:hover{transform:translateY(-1px);background:var(--lp-surface-soft)}
.lp-btn--blue{background:var(--lp-blue);color:#fff}
.lp-btn--blue:hover{transform:translateY(-1px);opacity:.96}
.lp-btn--full{width:100%}

.lp-badge,.lp-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--lp-border);border-radius:999px;font-size:13px;font-weight:700;line-height:1;background:rgba(255,255,255,.86)}
.lp-badge--vip{background:var(--lp-vip-soft);color:var(--lp-blue)}
.lp-badge--direct{background:var(--lp-vip-green);color:var(--lp-green)}
.lp-badge--danger{background:#fff5f5;color:var(--lp-danger);border-color:#ffd5d5}
.lp-chip{font-weight:600;color:var(--lp-text)}

.lp-card{background:var(--lp-surface);border:1px solid var(--lp-border);border-radius:var(--lp-radius);box-shadow:var(--lp-shadow);padding:24px}
.lp-card--vip{background:linear-gradient(180deg,#F7FAFF 0%, #EEF4FF 100%)}
.lp-card--soft{background:#fff}
.lp-card--compact{padding:20px}
.lp-card__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.lp-card__title{font-size:1.35rem;line-height:1.1;letter-spacing:-.03em;margin:0 0 12px}
.lp-card__text{color:var(--lp-text-muted);line-height:1.6;margin:0 0 18px}
.lp-card__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.lp-meta-line{font-size:.92rem;color:var(--lp-text-muted);font-weight:600}

.lp-hero{padding:56px 0 36px;position:relative;overflow:hidden}
.lp-hero:before,
.lp-hero:after{content:"";position:absolute;border-radius:999px;filter:blur(40px);opacity:.55;pointer-events:none}
.lp-hero:before{width:220px;height:220px;right:5%;top:5%;background:rgba(31,79,216,.10)}
.lp-hero:after{width:180px;height:180px;left:10%;top:12%;background:rgba(22,155,98,.08)}
.lp-hero__grid{display:grid;grid-template-columns:1.15fr .95fr;gap:26px;align-items:center}
.lp-hero__eyebrow{margin-bottom:18px}
.lp-hero__title{font-size:clamp(34px,5vw,60px);line-height:1.02;letter-spacing:-.04em;margin:0 0 16px;max-width:760px}
.lp-hero__lead{font-size:18px;line-height:1.65;color:var(--lp-text-muted);max-width:620px;margin:0 0 24px}
.lp-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 18px}
.lp-hero__chips{display:flex;gap:10px;flex-wrap:wrap}
.lp-hero-panel__title{font-size:1rem;font-weight:800;margin:0 0 18px;letter-spacing:-.02em}
.lp-preview-list{display:grid;gap:14px}
.lp-preview-item{display:flex;gap:14px;align-items:flex-start;padding:16px;border:1px solid var(--lp-border);border-radius:18px;background:rgba(255,255,255,.7)}
.lp-preview-item__body h3{font-size:1.02rem;line-height:1.2;letter-spacing:-.02em;margin:0 0 6px}
.lp-preview-item__body p{margin:0;color:var(--lp-text-muted);font-size:.95rem}

.lp-section-title{font-size:clamp(28px,4vw,44px);line-height:1.05;letter-spacing:-.035em;margin:0 0 12px}
.lp-section-lead{max-width:720px;color:var(--lp-text-muted);font-size:17px;line-height:1.7;margin:0 0 26px}
.lp-offer-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:20px}
.lp-offer-featured{grid-row:span 2}
.lp-offer-card{height:100%;display:flex;flex-direction:column}
.lp-offer-card .lp-card__footer{margin-top:auto}

.lp-cta-strip{background:linear-gradient(180deg,#F4F7FF 0%, #EEF4FF 100%);border:1px solid var(--lp-border);border-radius:28px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.lp-cta-strip__content h2{font-size:clamp(24px,3vw,36px);line-height:1.1;letter-spacing:-.03em;margin:0 0 10px}
.lp-cta-strip__content p{margin:0;color:var(--lp-text-muted);line-height:1.7;max-width:760px}
.lp-cta-strip__actions{display:flex;flex-wrap:wrap;gap:12px}

.lp-steps{counter-reset:steps}
.lp-step{position:relative;padding-top:18px}
.lp-step:before{counter-increment:steps;content:counter(steps);display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:var(--lp-graphite);color:#fff;font-weight:800;font-size:15px;margin-bottom:14px}
.lp-step h3,.lp-feature h3,.lp-vip-benefit h3{font-size:1.2rem;letter-spacing:-.02em;line-height:1.15;margin:0 0 10px}
.lp-step p,.lp-feature p,.lp-vip-benefit p{margin:0;color:var(--lp-text-muted);line-height:1.7}

.lp-vip-box{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:stretch}
.lp-vip-note{font-size:.95rem;color:var(--lp-text-muted);margin-top:16px}

.lp-contact-card{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.lp-contact-card__content p{margin:8px 0 0;color:var(--lp-text-muted);line-height:1.7;max-width:760px}
.lp-contact-card__actions{display:flex;gap:12px;flex-wrap:wrap}

.lp-form input,
.lp-form textarea{width:100%;padding:15px 16px;border-radius:16px;border:1px solid var(--lp-border);background:#fff;color:var(--lp-text)}
.lp-form textarea{min-height:140px;resize:vertical}
.lp-form label{display:block;font-weight:700;margin:0 0 8px}
.lp-form .lp-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lp-form .lp-form-field{margin-bottom:16px}
.lp-form .lp-form-checkbox{display:flex;gap:10px;align-items:flex-start;color:var(--lp-text-muted);font-size:.95rem;line-height:1.5;margin-bottom:16px}
.lp-form .lp-form-checkbox input{width:auto;margin-top:4px}

.lp-faq{display:grid;gap:14px}
.lp-faq details{background:#fff;border:1px solid var(--lp-border);border-radius:18px;padding:18px 20px}
.lp-faq summary{cursor:pointer;font-weight:800;list-style:none}
.lp-faq summary::-webkit-details-marker{display:none}
.lp-faq p{margin:12px 0 0;color:var(--lp-text-muted);line-height:1.7}

.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.entry-card{height:100%}
.entry-card h2,.entry-card h1{font-size:1.4rem;letter-spacing:-.03em;line-height:1.12;margin:14px 0 10px}
.entry-card p{color:var(--lp-text-muted);line-height:1.7}
.entry-content{line-height:1.8;color:var(--lp-text)}
.entry-content p{margin:0 0 1.1em}

.site-footer{margin-top:64px;border-top:1px solid var(--lp-border);background:#fff}
.site-footer__inner{padding:28px 0 42px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;color:var(--lp-text-muted);font-size:.95rem}
.site-footer__inner a:hover{color:var(--lp-text)}

.lp-sticky-mobile{display:none}

@media (max-width: 1024px){
  .lp-offer-grid,.archive-grid,.lp-grid-3,.lp-grid-2,.lp-vip-box,.lp-hero__grid{grid-template-columns:1fr}
  .lp-offer-featured{grid-row:auto}
}

@media (max-width: 900px){
  .site-nav{display:none}
  .site-header__actions .lp-btn--secondary{display:none}
  .lp-section{padding:52px 0}
  .lp-container{width:min(100%, calc(100% - 32px))}
  .lp-hero{padding:30px 0 18px}
  .lp-hero__lead,.lp-section-lead{font-size:16px}
  .lp-btn{width:100%}
  .lp-hero__actions,.lp-contact-card__actions,.lp-cta-strip__actions{display:grid;grid-template-columns:1fr;gap:10px;width:100%}
  .lp-form .lp-form-row{grid-template-columns:1fr}
  .lp-card{padding:20px}
  .lp-cta-strip{padding:22px}
  .lp-sticky-mobile{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;left:12px;right:12px;bottom:12px;z-index:60;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border:1px solid rgba(227,231,238,.95);border-radius:20px;box-shadow:var(--lp-shadow);overflow:hidden}
  .lp-sticky-mobile a{min-height:56px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.95rem;border-right:1px solid var(--lp-border)}
  .lp-sticky-mobile a:last-child{border-right:none}
  .site-footer{padding-bottom:84px}
}


.lp-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.lp-meta-box{background:#fff;border:1px solid var(--lp-border);border-radius:18px;padding:16px}
.lp-meta-box h3{font-size:.92rem;margin:0 0 8px;color:var(--lp-text-muted);letter-spacing:.01em;text-transform:uppercase}
.lp-meta-box p{margin:0;font-weight:700;line-height:1.5}
.lp-disclaimer{margin-top:18px;padding:14px 16px;border-radius:16px;background:#FBFCFD;border:1px solid var(--lp-border);color:var(--lp-text-muted);font-size:.95rem;line-height:1.6}
.lp-section-subtitle{font-size:1rem;color:var(--lp-text-muted);margin:4px 0 0}
.lp-card__statusline{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.lp-status-pill{display:inline-flex;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid var(--lp-border);font-size:12px;font-weight:700;color:var(--lp-text-muted)}
@media (max-width: 900px){.lp-meta-grid{grid-template-columns:1fr}}


.lp-card__footer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:22px}
.lp-card__footer-meta{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.lp-vote{
  display:inline-flex;align-items:center;gap:10px;
  min-height:42px;padding:0 14px;border-radius:999px;
  border:1px solid var(--lp-border);background:#fff;color:var(--lp-graphite);
  box-shadow:var(--lp-shadow-soft);cursor:pointer;transition:.2s ease;
}
.lp-vote:hover{transform:translateY(-1px);border-color:#cfd7e4}
.lp-vote.is-voted{background:var(--lp-vip-soft);border-color:#c9d9ff}
.lp-vote.is-loading{opacity:.7;pointer-events:none}
.lp-vote__icon{font-size:16px;line-height:1}
.lp-vote__count{
  min-width:24px;height:24px;padding:0 7px;border-radius:999px;
  background:#F3F6FA;display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;color:var(--lp-text);
}
.lp-vote__label{font-size:13px;font-weight:700;color:var(--lp-text-muted);white-space:nowrap}
.lp-vote--compact .lp-vote__label{font-size:12px}
.lp-vote-block{
  margin-top:26px;padding:20px;border:1px solid var(--lp-border);border-radius:20px;
  background:linear-gradient(180deg,#fff 0%,#F8FAFF 100%);
}
.lp-vote-block h3{margin:0 0 8px;font-size:1.05rem}
.lp-vote-block p{margin:0 0 14px;color:var(--lp-text-muted)}
.lp-proof-strip{display:flex;align-items:center;justify-content:space-between;gap:24px}
.lp-proof-chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:54px;padding:0 18px;border-radius:999px;
  background:var(--lp-vip-soft);border:1px solid #cbd9ff;
  color:var(--lp-blue);font-weight:800;white-space:nowrap
}
@media (max-width: 900px){
  .lp-card__footer{align-items:stretch}
  .lp-card__footer .lp-btn{width:100%}
  .lp-vote__label{white-space:normal;text-align:left}
  .lp-proof-strip{flex-direction:column;align-items:flex-start}
  .lp-proof-chip{width:100%}
}


.lp-filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 28px}
.lp-filter-chip{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;border:1px solid var(--lp-border);background:#fff;color:var(--lp-text);font-weight:700;font-size:13px}
.lp-filter-chip--active{background:var(--lp-graphite);border-color:var(--lp-graphite);color:#fff}
.lp-links-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.lp-offer-card .lp-card__meta{margin-bottom:10px}
.lp-section-kicker{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.lp-mini-note{font-size:14px;color:var(--lp-text-muted)}
.lp-warning-box{margin-top:18px;padding:16px 18px;border-radius:18px;border:1px solid #ffe1c7;background:#fff7ef;color:#7a4a12}
.lp-hero-note{margin-top:18px;font-size:14px;color:var(--lp-text-muted)}
.lp-proof-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.lp-proof-stat{padding:18px;border:1px solid var(--lp-border);border-radius:18px;background:#fff}
.lp-proof-stat strong{display:block;font-size:1.2rem;letter-spacing:-.02em}
.lp-proof-stat span{display:block;margin-top:6px;color:var(--lp-text-muted);font-size:14px}
.lp-hero-panel__mini{margin:14px 0 0;color:var(--lp-text-muted);font-size:14px;line-height:1.5}
@media (max-width: 960px){
  .lp-links-grid,.lp-proof-list{grid-template-columns:1fr}
}


/* v16 mobile premium refinements */
.lp-hero{padding:44px 0 26px}
.lp-hero__grid{align-items:start;gap:28px}
.lp-hero__title{max-width:640px}
.lp-hero-panel{background:linear-gradient(180deg,#FFFFFF 0%,#FBFCFF 100%);box-shadow:0 18px 40px rgba(20,24,31,.05)}
.lp-preview-item{background:#fff}
.lp-hero-note{max-width:560px}

@media (max-width: 900px){
  body{background:#F5F7FA}
  .site-header{position:sticky;top:0;z-index:70;background:rgba(245,247,250,.92);backdrop-filter:blur(14px)}
  .site-header__inner{padding:14px 0 12px;grid-template-columns:1fr auto;gap:14px;align-items:start}
  .site-branding{padding-right:0}
  .site-title{font-size:16px;line-height:1.1}
  .site-tagline{font-size:11px;line-height:1.25;max-width:140px}
  .site-header__actions{justify-content:flex-end}
  .site-header__actions .lp-btn--primary{min-height:44px;padding:0 18px;border-radius:18px;font-size:15px;box-shadow:0 10px 20px rgba(31,79,216,.12)}

  .lp-hero{padding:22px 0 10px}
  .lp-hero__eyebrow{margin-bottom:12px}
  .lp-badge{padding:8px 12px;font-size:11px;line-height:1.1}
  .lp-hero__title{font-size:clamp(24px, 8.4vw, 38px);line-height:1.02;letter-spacing:-.05em;margin:0 0 12px;max-width:none}
  .lp-hero__lead{font-size:16px;line-height:1.55;margin:0 0 18px;max-width:none}
  .lp-hero__actions{margin:0 0 14px}
  .lp-hero__actions .lp-btn{min-height:54px;border-radius:22px;font-size:16px}
  .lp-hero__chips{gap:8px}
  .lp-chip{padding:9px 12px;font-size:12px;background:rgba(255,255,255,.85)}
  .lp-hero-note{font-size:13px;line-height:1.45;margin-top:14px}

  .lp-card{padding:18px;border-radius:24px;box-shadow:0 12px 28px rgba(20,24,31,.04)}
  .lp-hero-panel{margin-top:6px;padding:18px}
  .lp-hero-panel__title{font-size:15px;margin:0 0 12px}
  .lp-preview-list{gap:10px}
  .lp-preview-item{padding:14px 14px;border-radius:16px;gap:12px}
  .lp-preview-item__body h3{font-size:15px;margin:0}
  .lp-preview-item .lp-badge{min-width:34px;justify-content:center;padding:8px 0}

  .lp-section{padding:36px 0}
  .lp-section-title{font-size:clamp(26px,8vw,34px);margin-bottom:10px}
  .lp-section-subtitle,.lp-section-lead{font-size:15px;line-height:1.55}
  .lp-filter-row{margin:14px 0 22px;gap:8px}
  .lp-filter-chip{padding:9px 12px;font-size:12px}
  .lp-links-grid{gap:14px}
  .lp-offer-card .lp-card__title{font-size:24px}
  .lp-card__footer{margin-top:18px}
  .lp-card__footer-meta{width:100%}
  .lp-vote{width:100%;justify-content:space-between;min-height:46px}

  .lp-cta-strip{padding:20px;border-radius:24px}
  .lp-cta-strip__content h2{font-size:30px;line-height:1.04}
  .lp-cta-strip__content p{font-size:15px;line-height:1.55}
  .lp-proof-list{gap:12px}
  .lp-proof-stat{padding:16px;border-radius:16px}
  .lp-proof-stat strong{font-size:18px}

  .lp-sticky-mobile{left:10px;right:10px;bottom:10px;border-radius:22px;background:rgba(255,255,255,.96);box-shadow:0 12px 34px rgba(20,24,31,.10)}
  .lp-sticky-mobile a{min-height:58px;font-size:15px}
  .site-footer{padding-bottom:90px}
}
