/* ============================================================
   BiblioSmart — Landing Publik (CSS)
   Paletë: bezh i ngrohtë + bordo + krem + gold
   Dizajn editorial (serif për tituj, sans për body)
   Ndërton mbi auth.css (ndan variabla :root me të).
   ============================================================ */

:root {
    /* Aliases modern (sipas porosisë: --primary, --accent, --bg) */
    --primary:     #7c2d12;   /* bordo i thellë */
    --primary-2:   #9b2a3a;
    --accent:      #eab308;   /* gold */
    --accent-2:    #b8883b;
    --bg:          #fdf6e3;   /* krem i ngrohtë */
    --bg-2:        #faf0db;
    --paper:       #ffffff;
    --ink:         #1f1a14;
    --ink-2:       #3b322a;
    --muted:       #7a6a58;
    --line:        #e9dfce;
    --line-2:      #d8c9ad;
    --brown:       #5c3a1e;
    --shadow-sm:   0 2px 8px rgba(92, 58, 30, 0.06);
    --shadow:      0 14px 34px rgba(92, 58, 30, 0.10);
    --shadow-lg:   0 30px 70px rgba(92, 58, 30, 0.18);
    --radius:      16px;
    --radius-lg:   22px;
    --serif:       "ui-serif", Georgia, "Iowan Old Style", "Times New Roman", serif;
    --sans:        system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ======= DARK MODE ======= */
html[data-bs-theme="dark"] {
    --primary:    #d97777;
    --primary-2:  #f0a1a1;
    --accent:     #f7c948;
    --accent-2:   #d4a93a;
    --bg:         #1a1410;
    --bg-2:       #221a14;
    --paper:      #261c15;
    --ink:        #f4ead4;
    --ink-2:      #e6d9b8;
    --muted:      #b29e82;
    --line:       #3a2e23;
    --line-2:     #4a3a2b;
    --brown:      #3a2e23;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
    --shadow:     0 14px 34px rgba(0,0,0,0.4);
    --shadow-lg:  0 30px 70px rgba(0,0,0,0.5);
}

/* ======= BASE ======= */
html, body { margin: 0; padding: 0; }
body.bs-landing-body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.55;
    min-height: 100vh;
}

html[data-bs-theme="dark"] body.bs-landing-body {
    background: linear-gradient(180deg, #1a1410 0%, #221a14 100%);
}

.bs-landing-body *, .bs-landing-body *::before, .bs-landing-body *::after { box-sizing: border-box; }

.bs-land-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.bs-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    background: rgba(253, 246, 227, 0.78);
    border-bottom: 1px solid var(--line);
}
html[data-bs-theme="dark"] .bs-nav {
    background: rgba(26, 20, 16, 0.82);
    border-bottom: 1px solid var(--line);
}

.bs-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.bs-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}
.bs-brand-mark.small {
    width: 42px; height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--primary) 100%);
    display: grid; place-items: center;
    box-shadow: 0 8px 20px rgba(124, 45, 18, 0.25), inset 0 0 0 1px rgba(244,234,212,0.2);
    color: #fff;
    flex-shrink: 0;
}
.bs-brand-mark.small svg { width: 22px; height: 22px; }

.bs-nav-name strong {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--ink);
}
.bs-nav-name em {
    display: block;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.bs-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}
.bs-nav-links a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
    position: relative;
}
.bs-nav-links a:hover { color: var(--primary); }
.bs-nav-links a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s;
}
.bs-nav-links a:hover::after { transform: scaleX(1); }

.bs-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bs-theme-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid; place-items: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bs-theme-btn:hover { background: var(--bg-2); border-color: var(--primary); color: var(--primary); }
.bs-theme-btn svg { width: 18px; height: 18px; }

.bs-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff8e6;
    background: linear-gradient(135deg, var(--primary) 0%, var(--brown) 100%);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(124, 45, 18, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
    transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
.bs-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(124, 45, 18, 0.36);
    filter: brightness(1.05);
}
.bs-nav-cta svg { width: 15px; height: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.bs-land-hero {
    position: relative;
    padding: 72px 24px 64px;
    overflow: hidden;
}
.bs-land-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 800px 400px at 10% 0%, rgba(124, 45, 18, 0.08), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 100%, rgba(234, 179, 8, 0.10), transparent 60%);
    pointer-events: none;
}
html[data-bs-theme="dark"] .bs-land-hero::before {
    background:
        radial-gradient(ellipse 800px 400px at 10% 0%, rgba(217, 119, 119, 0.10), transparent 60%),
        radial-gradient(ellipse 700px 500px at 100% 100%, rgba(247, 201, 72, 0.08), transparent 60%);
}

.bs-land-hero-grid {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.bs-land-hero-text { min-width: 0; }

.bs-kicker-light {
    background: rgba(124, 45, 18, 0.08);
    border: 1px solid rgba(124, 45, 18, 0.18);
    color: var(--primary);
}
html[data-bs-theme="dark"] .bs-kicker-light {
    background: rgba(217, 119, 119, 0.12);
    border-color: rgba(217, 119, 119, 0.28);
    color: var(--primary-2);
}

.bs-land-title {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(36px, 5.6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 22px 0 20px;
}
.bs-land-title em {
    font-style: italic;
    color: var(--primary);
    background: linear-gradient(120deg, var(--primary) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bs-land-lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    max-width: 560px;
    margin: 0 0 28px;
}

.bs-land-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.bs-btn-hero { width: auto; padding: 14px 26px; font-size: 15px; }
.bs-btn-hero-2 {
    width: auto; padding: 13px 22px; font-size: 14px;
    text-decoration: none;
}

/* Quick stats */
.bs-land-quickstats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 24px;
    box-shadow: var(--shadow-sm);
    max-width: 620px;
}
html[data-bs-theme="dark"] .bs-land-quickstats {
    background: rgba(255,255,255,0.03);
}

.bs-qs-item {
    flex: 1 1 0;
    min-width: 120px;
    padding: 4px 14px;
}
.bs-qs-num {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
    line-height: 1.05;
}
.bs-qs-lbl {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: 0.02em;
}
.bs-qs-divider {
    width: 1px;
    align-self: stretch;
    background: var(--line);
}

/* Ilustrimi */
.bs-land-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bs-illus {
    width: 100%;
    max-width: 460px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(124, 45, 18, 0.18));
    animation: bsIllusFloat 6s ease-in-out infinite;
}
.bs-illus-badge {
    animation: bsBadgeSpin 14s linear infinite;
    transform-origin: 62px 62px;
}
@keyframes bsIllusFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes bsBadgeSpin {
    from { transform: translate(30px, 30px) rotate(0deg); }
    to   { transform: translate(30px, 30px) rotate(360deg); }
}

/* ============================================================
   VEÇORITË
   ============================================================ */
.bs-land-features {
    padding: 80px 0 72px;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
html[data-bs-theme="dark"] .bs-land-features {
    background: #1f1711;
}

.bs-sec-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.bs-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}
html[data-bs-theme="dark"] .bs-eyebrow { color: var(--primary-2); }

.bs-sec-head h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 14px;
}
.bs-sec-lead {
    color: var(--muted);
    font-size: 15.5px;
    margin: 0;
}

.bs-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.bs-feat {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}
html[data-bs-theme="dark"] .bs-feat {
    background: rgba(255,255,255,0.03);
}
.bs-feat::before {
    content: "";
    position: absolute; left: 0; top: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}
.bs-feat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--line-2);
}
.bs-feat:hover::before { transform: scaleX(1); }

.bs-feat-ico {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    margin-bottom: 18px;
    color: #fff;
}
.bs-feat-ico svg { width: 24px; height: 24px; }
.bs-feat-ico-1 { background: linear-gradient(135deg, #7c2d12, #9b2a3a); }
.bs-feat-ico-2 { background: linear-gradient(135deg, #5c3a1e, #7a4b25); }
.bs-feat-ico-3 { background: linear-gradient(135deg, #b8883b, #eab308); color: #4a1219; }
.bs-feat-ico-4 { background: linear-gradient(135deg, #2f6a3d, #1b4d28); }

.bs-feat h3 {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.bs-feat p {
    margin: 0 0 14px;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.6;
}
.bs-feat-meta {
    font-size: 12.5px;
    color: var(--muted);
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}
.bs-feat-meta strong {
    color: var(--primary);
    font-weight: 700;
}
html[data-bs-theme="dark"] .bs-feat-meta strong { color: var(--primary-2); }
.bs-feat-meta span { margin: 0 6px; color: var(--line-2); }

/* ============================================================
   SI PUNON
   ============================================================ */
.bs-land-how {
    padding: 72px 0;
}

.bs-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    counter-reset: bs-step;
    position: relative;
}
.bs-step {
    text-align: left;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}
html[data-bs-theme="dark"] .bs-step { background: rgba(255,255,255,0.03); }

.bs-step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--brown));
    color: #fff8e6;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    display: grid; place-items: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(124, 45, 18, 0.3);
}
.bs-step h3 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}
.bs-step p {
    color: var(--ink-2);
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.bs-land-cta {
    padding: 56px 0;
    background: linear-gradient(135deg, #5c3a1e 0%, #7c2d12 60%, #4a1219 100%);
    color: #f4ead4;
    position: relative;
    overflow: hidden;
}
.bs-land-cta::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 40%, rgba(234, 179, 8, 0.15), transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(244, 234, 212, 0.08), transparent 50%);
    pointer-events: none;
}

.bs-land-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
}
.bs-land-cta h2 {
    font-family: var(--serif);
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
    color: #fbf4df;
}
.bs-land-cta p {
    margin: 0;
    color: rgba(244, 234, 212, 0.82);
    font-size: 15px;
}
.bs-land-cta-buttons .bs-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #4a1219;
    box-shadow: 0 10px 24px rgba(234, 179, 8, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.bs-land-cta-buttons .bs-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 16px 30px rgba(234, 179, 8, 0.45);
}

/* ============================================================
   FOOTER
   ============================================================ */
.bs-land-foot {
    padding: 28px 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
}
.bs-land-foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.bs-land-foot-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.bs-land-foot-brand strong {
    display: block;
    font-family: var(--serif);
    font-size: 16px;
    color: var(--ink);
}
.bs-land-foot-brand em {
    display: block;
    font-style: normal;
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px;
}
.bs-land-foot-meta {
    color: var(--muted);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.bs-land-foot-meta a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
html[data-bs-theme="dark"] .bs-land-foot-meta a { color: var(--primary-2); }
.bs-land-foot-meta a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .bs-land-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .bs-land-hero-art { order: -1; max-width: 360px; margin: 0 auto; }
    .bs-nav-links { display: none; }
}

@media (max-width: 640px) {
    .bs-nav-inner { padding: 12px 16px; gap: 10px; }
    .bs-land-hero { padding: 48px 16px 40px; }
    .bs-nav-cta { padding: 9px 14px; font-size: 12.5px; }
    .bs-nav-cta svg { display: none; }

    .bs-land-quickstats {
        padding: 14px 10px;
    }
    .bs-qs-item { padding: 4px 8px; min-width: 95px; }
    .bs-qs-num { font-size: 22px; }
    .bs-qs-divider { display: none; }

    .bs-land-features,
    .bs-land-how { padding: 56px 0; }

    .bs-land-cta-inner { text-align: center; }
    .bs-land-cta-buttons { width: 100%; justify-content: center; display: flex; }

    .bs-nav-name em { display: none; }
}

@media (max-width: 420px) {
    .bs-land-title { font-size: 34px; }
    .bs-btn-hero { width: 100%; justify-content: center; }
    .bs-btn-hero-2 { width: 100%; justify-content: center; }
}

/* Reduco animacione për preferencë */
@media (prefers-reduced-motion: reduce) {
    .bs-illus, .bs-illus-badge { animation: none !important; }
    .bs-feat, .bs-nav-cta { transition: none !important; }
    .bs-feat:hover, .bs-nav-cta:hover { transform: none; }
}
