/* ================================================================
   Landing Page — Asystent Sezonowości
   Paleta Pikseo: #632483 (primary), #470a69 (dark), #479d74 (green)
   ================================================================ */

:root {
    --lp-navy: #1a0a2e;
    --lp-dark-purple: #2e0e4a;
    --lp-purple: #632483;
    --lp-purple-light: #855e9b;
    --lp-magenta: #9b3d7a;
    --lp-green: #479d74;
    --lp-green-dark: #3a8561;
    --lp-orange: #f5a623;
    --lp-red: #e40000;
    --lp-gray-100: #faf8fc;
    --lp-gray-200: #e4d8f0;
    --lp-gray-400: #9896a8;
    --lp-gray-600: #66616c;
    --lp-grad-hero: linear-gradient(135deg, #1a0a2e 0%, #2e0e4a 40%, #470a69 70%, #632483 100%);
    --lp-grad-accent: linear-gradient(90deg, #9b3d7a, #632483);
    --lp-grad-report: linear-gradient(135deg, #2e0e4a 0%, #632483 100%);
}

.lp-body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--lp-navy);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
.lp-body * { box-sizing: border-box; }

/* ============================ NAV ============================ */
.lp-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(99, 36, 131, 0.25);
    height: 64px;
    padding: 0 32px;
}
.lp-nav-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}
.lp-nav-brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: #fff;
}
.lp-nav-logo-img {
    height: 26px;
    width: auto;
    display: block;
}
.lp-nav-links { display: flex; align-items: center; gap: 28px; }
.lp-nav-links a {
    color: rgba(255, 255, 255, 0.85); text-decoration: none;
    font-size: 14px; font-weight: 500; transition: color 0.15s;
}
.lp-nav-links a:hover { color: #fff; }
.lp-nav-login {
    background: var(--lp-green); color: var(--lp-navy) !important;
    padding: 8px 16px; border-radius: 8px; font-weight: 700 !important;
}
.lp-nav-login:hover { background: var(--lp-green-dark); color: #fff !important; }

@media (max-width: 640px) {
    .lp-nav { padding: 0 16px; }
    .lp-nav-links { gap: 14px; }
    .lp-nav-links a { font-size: 13px; }
    .lp-nav-links a:not(.lp-nav-login) { display: none; }
}

/* ============================ HERO ============================ */
.lp-hero {
    background: var(--lp-grad-hero);
    padding: 140px 24px 80px;
    position: relative; overflow: hidden;
}
.lp-hero-bottom { padding: 72px 24px; }
.lp-hero-glow {
    position: absolute; border-radius: 50%;
    pointer-events: none;
}
.lp-hero-glow-1 {
    top: -120px; right: -120px; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99, 36, 131, 0.45) 0%, transparent 70%);
}
.lp-hero-glow-2 {
    bottom: -80px; left: -80px; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(155, 61, 122, 0.30) 0%, transparent 70%);
}
.lp-hero-inner {
    max-width: 800px; margin: 0 auto;
    text-align: center; position: relative; z-index: 1;
}
.lp-hero-inner-narrow { max-width: 640px; }

.lp-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99, 36, 131, 0.28);
    border: 1px solid rgba(99, 36, 131, 0.5);
    border-radius: 40px; padding: 6px 16px;
    margin-bottom: 24px;
}
.lp-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--lp-green);
    animation: lpPulse 2s infinite;
}
.lp-badge span:last-child { color: rgba(255, 255, 255, 0.85); font-size: 13px; font-weight: 500; }
@keyframes lpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.lp-hero-title {
    color: #fff; font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800; line-height: 1.2; letter-spacing: -0.03em;
    margin: 0 0 20px;
}
.lp-hero-title-sm { font-size: clamp(22px, 3vw, 32px); }
.lp-hero-sub {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(15px, 1.8vw, 18px);
    line-height: 1.6; max-width: 600px;
    margin: 0 auto 36px;
}

.lp-grad-text {
    background: var(--lp-grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Keyword input box */
.lp-input-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px; padding: 24px;
    max-width: 560px; margin: 0 auto;
}
.lp-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 12px; min-height: 0;
}
.lp-chips:empty { margin-bottom: 0; }
.lp-chip {
    background: rgba(99, 36, 131, 0.35);
    border: 1px solid rgba(99, 36, 131, 0.55);
    border-radius: 8px; padding: 6px 10px 6px 12px;
    color: #fff; font-size: 13px; font-weight: 500;
    display: inline-flex; align-items: center; gap: 8px;
}
.lp-chip-x {
    cursor: pointer; opacity: 0.6;
    border: 0; background: transparent; color: inherit;
    font-size: 14px; padding: 0; line-height: 1;
}
.lp-chip-x:hover { opacity: 1; }

.lp-input-row {
    display: flex; gap: 8px; margin: 0;
}
.lp-input {
    flex: 1; min-width: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px; padding: 12px 16px;
    color: #fff; font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
}
.lp-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.lp-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.lp-btn-cta {
    background: var(--lp-green); color: var(--lp-navy);
    border: 0; border-radius: 10px;
    padding: 12px 26px; font-weight: 700; font-size: 15px;
    cursor: pointer; font-family: inherit; white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    display: inline-flex; align-items: center; gap: 6px;
    text-decoration: none;
}
.lp-btn-cta:hover { background: var(--lp-green-dark); color: #fff; }
.lp-btn-cta:active { transform: scale(0.98); }
.lp-btn-cta:disabled { opacity: 0.6; cursor: not-allowed; }

.lp-input-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px; text-align: left;
    margin: 10px 0 0;
}

@media (max-width: 575px) {
    .lp-input-row { flex-direction: column; }
    .lp-btn-cta { width: 100%; justify-content: center; }
}

/* ============================ SOCIAL PROOF ============================ */
.lp-social {
    padding: 48px 24px;
    max-width: 800px; margin: 0 auto;
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    gap: 48px;
}
.lp-social-item { text-align: center; min-width: 140px; }
.lp-social-num { font-size: 28px; font-weight: 800; }
.lp-social-label {
    font-size: 13px; color: var(--lp-gray-400);
    font-weight: 500; margin-top: 2px;
}

/* ============================ SECTIONS ============================ */
.lp-section {
    padding: 72px 24px;
    max-width: 960px; margin: 0 auto;
}
.lp-section-narrow { max-width: 720px; }
.lp-section-tinted {
    background: var(--lp-gray-100);
    max-width: none; margin: 0;
    padding-left: 24px; padding-right: 24px;
}
.lp-section-tinted > * { max-width: 960px; margin-left: auto; margin-right: auto; }

.lp-h2 {
    text-align: center;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800; letter-spacing: -0.03em;
    margin: 0 0 8px;
}
.lp-sub {
    text-align: center; color: var(--lp-gray-400);
    font-size: 15px; margin: 0 0 48px;
}

/* ============================ 3 STEPS ============================ */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.lp-step {
    background: var(--lp-gray-100);
    border: 1px solid var(--lp-gray-200);
    border-radius: 16px; padding: 28px;
}
.lp-step-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(99, 36, 131, 0.1);
    color: var(--lp-purple); font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.lp-step-num {
    font-size: 12px; font-weight: 700;
    color: var(--lp-purple);
    letter-spacing: 0.05em; margin-bottom: 8px;
}
.lp-step-title {
    font-size: 17px; font-weight: 700;
    margin: 0 0 8px;
}
.lp-step-desc {
    font-size: 14px; color: var(--lp-gray-600);
    line-height: 1.6; margin: 0;
}

/* ============================ MOCK REPORT ============================ */
.lp-mock {
    max-width: 860px; margin: 0 auto;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 8px 40px rgba(26, 10, 46, 0.12);
    border: 1px solid var(--lp-gray-200);
}
.lp-mock-header {
    background: var(--lp-grad-report);
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.lp-mock-kpi-label {
    font-size: 10px; font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.08em; margin-bottom: 4px;
}
.lp-mock-kpi-val {
    font-size: 22px; font-weight: 800; color: #fff;
}
.lp-mock-kpi-sub {
    font-size: 11px; color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}
.lp-mock-chart { background: #fff; padding: 28px 32px; }
.lp-mock-chart-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}
.lp-mock-chart-head h3 { font-size: 15px; font-weight: 700; margin: 0; }
.lp-mock-legend {
    display: flex; gap: 12px;
    font-size: 11px; color: var(--lp-gray-400);
}
.lp-mock-legend > span { display: flex; align-items: center; gap: 4px; }
.lp-legend-bar {
    width: 10px; height: 10px; border-radius: 2px;
    background: var(--lp-purple); display: inline-block;
}
.lp-legend-line {
    width: 10px; height: 2px; background: var(--lp-magenta);
    display: inline-block;
}
.lp-mock-bars {
    position: relative; height: 140px;
    display: flex; align-items: flex-end; gap: 4px;
}
.lp-mock-bar-col {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; gap: 3px;
}
.lp-mock-bar-val {
    font-size: 9px; color: var(--lp-gray-400); font-weight: 600;
}
.lp-mock-bar {
    width: 100%; border-radius: 5px;
    background: var(--lp-purple); opacity: 0.5;
}
.lp-mock-bar-peak {
    background: var(--lp-grad-accent); opacity: 1;
}
.lp-mock-bar-label {
    font-size: 10px; color: var(--lp-gray-600); font-weight: 500;
}

.lp-mock-heat { background: #fff; padding: 0 32px 28px; }
.lp-mock-heat h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.lp-mock-heat-grid {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px;
}
.lp-mock-heat-cell {
    text-align: center; border-radius: 6px; padding: 8px 0;
}
.lp-mock-heat-m { font-size: 9px; font-weight: 700; }
.lp-mock-heat-v { font-size: 11px; font-weight: 800; margin-top: 2px; }

/* Blur section */
.lp-mock-blur-wrap { position: relative; background: #fff; }
.lp-mock-blur {
    filter: blur(5px);
    user-select: none; pointer-events: none;
    padding: 8px 32px 32px;
}
.lp-mock-blur h3 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.lp-mock-rec-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-bottom: 20px;
}
.lp-mock-rec {
    border-radius: 10px; padding: 14px;
    border-left: 3px solid transparent;
}
.lp-mock-rec-up {
    background: rgba(71, 157, 116, 0.12);
    border-left-color: var(--lp-green);
}
.lp-mock-rec-down {
    background: rgba(228, 0, 0, 0.08);
    border-left-color: var(--lp-red);
}
.lp-mock-rec-label { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; }
.lp-mock-rec-up .lp-mock-rec-label { color: var(--lp-green); }
.lp-mock-rec-down .lp-mock-rec-label { color: var(--lp-red); }
.lp-mock-rec-val { font-size: 14px; font-weight: 700; margin-top: 4px; }
.lp-mock-rec-sub { font-size: 12px; color: var(--lp-gray-600); margin-top: 2px; }

.lp-mock-cal {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr 1fr;
    gap: 1px; background: var(--lp-gray-200);
    border-radius: 10px; overflow: hidden; font-size: 12px;
}
.lp-mock-cal-h, .lp-mock-cal-c { padding: 7px 10px; }
.lp-mock-cal-h { background: var(--lp-gray-100); font-weight: 700; font-size: 11px; color: var(--lp-gray-600); }
.lp-mock-cal-c { background: #fff; }

.lp-mock-cta-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.lp-mock-cta-card {
    background: #fff; border-radius: 20px;
    padding: 32px; max-width: 440px; width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(26, 10, 46, 0.15);
}
.lp-mock-cta-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(99, 36, 131, 0.1);
    color: var(--lp-purple); font-size: 24px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.lp-mock-cta-card h3 {
    font-size: 22px; font-weight: 800;
    margin: 0 0 8px;
}
.lp-mock-cta-card p {
    font-size: 14px; color: var(--lp-gray-600);
    margin: 0 0 20px; line-height: 1.5;
}
.lp-mock-cta-sub {
    font-size: 12px; color: var(--lp-gray-400);
    margin-top: 12px !important;
}

/* ============================ FEATURES ============================ */
.lp-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.lp-feature {
    display: flex; gap: 14px;
    padding: 20px; border-radius: 14px;
    border: 1px solid var(--lp-gray-200);
    background: #fff;
}
.lp-feature-icon {
    flex-shrink: 0;
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(99, 36, 131, 0.08);
    color: var(--lp-purple); font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.lp-feature h3 {
    font-size: 15px; font-weight: 700;
    margin: 0 0 3px;
}
.lp-feature p {
    font-size: 13px; color: var(--lp-gray-600);
    line-height: 1.5; margin: 0;
}

/* ============================ FAQ ============================ */
.lp-faq { display: flex; flex-direction: column; gap: 8px; }
.lp-faq-item {
    border: 1px solid var(--lp-gray-200);
    border-radius: 12px; overflow: hidden;
    background: #fff;
}
.lp-faq-q {
    width: 100%; padding: 16px 20px;
    background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: inherit;
    font-size: 15px; font-weight: 600; text-align: left;
    color: var(--lp-navy);
}
.lp-faq-q i {
    color: var(--lp-gray-400);
    transition: transform 0.2s; flex-shrink: 0;
}
.lp-faq-item.open .lp-faq-q i { transform: rotate(180deg); }
.lp-faq-a {
    padding: 0 20px 16px;
    font-size: 14px; color: var(--lp-gray-600);
    line-height: 1.6;
    display: none;
}
.lp-faq-item.open .lp-faq-a { display: block; }

/* ============================ FOOTER ============================ */
.lp-footer {
    background: var(--lp-navy);
    color: #fff;
    padding: 60px 24px 30px;
}
.lp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    text-align: left;
}
.lp-footer-col {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}
.lp-footer-brand {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
}
.lp-footer-logo-img {
    height: 30px; width: auto;
    display: block;
    opacity: 0.95;
}
.lp-footer-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px; line-height: 1.65;
    margin: 0;
}
.lp-footer-h {
    color: #fff;
    font-weight: 700; font-size: 16px;
    margin: 0 0 16px;
}
.lp-footer-text {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.7);
}
.lp-footer-text strong {
    color: #fff; font-weight: 600;
}
.lp-footer-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.15s;
}
.lp-footer-text a:hover { color: #fff; }
.lp-footer-social {
    display: flex; gap: 10px;
    margin-top: 16px;
}
.lp-footer-social a {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    transition: background 0.15s, color 0.15s;
}
.lp-footer-social a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.lp-footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
}
.lp-footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.15s;
}
.lp-footer-bottom a:hover { color: #fff; }
@media (max-width: 768px) {
    .lp-footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ============================ RESULTS SECTION ============================ */
.lp-results-section {
    min-height: 100vh;
    padding: 90px 0 40px;
    background: #fff;
}
.lp-results-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 575px) {
    .lp-results-inner { padding-left: 16px; padding-right: 16px; }
}

/* Heatmapa rzeczywista (wyniki) */
.lp-heatmap-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
}
.lp-heatmap-cell {
    aspect-ratio: 1.1;
    border-radius: 8px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2px;
    color: var(--lp-navy);
}
.lp-heatmap-cell-m {
    font-size: 10px; font-weight: 700;
    text-transform: uppercase;
}
.lp-heatmap-cell-v {
    font-size: 12px; font-weight: 800;
}
.lp-heatmap-cell-hot { color: #fff; }

/* ============================ LOADING OVERLAY ============================ */
.lp-loading {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(26, 10, 46, 0.85);
    backdrop-filter: blur(6px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff; gap: 16px;
}
.lp-loading-spinner {
    width: 48px; height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--lp-green);
    border-radius: 50%;
    animation: lpSpin 0.8s linear infinite;
}
@keyframes lpSpin { to { transform: rotate(360deg); } }
.lp-loading-text { font-size: 16px; font-weight: 600; }

/* Mobile refinements */
@media (max-width: 767px) {
    .lp-hero { padding: 110px 16px 60px; }
    .lp-section { padding: 56px 16px; }
    .lp-mock-header { padding: 18px 16px; gap: 10px; }
    .lp-mock-kpi-val { font-size: 17px; }
    .lp-mock-chart, .lp-mock-heat { padding-left: 16px; padding-right: 16px; }
    .lp-mock-heat-grid { gap: 2px; }
    .lp-mock-heat-cell { padding: 6px 0; }
    .lp-mock-heat-m { font-size: 8px; }
    .lp-mock-heat-v { font-size: 9px; }
    .lp-mock-blur { padding: 8px 16px 24px; }
    .lp-mock-cal { font-size: 10px; }
    .lp-mock-rec-grid { grid-template-columns: 1fr; }
}
