/* Base reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif; color: #1f2937; background: #f8fafc; line-height: 1.6; min-height: 100vh; display:flex; flex-direction:column; }

/* Landing markdown content */
.landing-main { position: relative; z-index: 1; }
.landing-content { font-size: 1rem; line-height:1.65; display:grid; gap:1.1rem; margin: 2.5rem 0 3rem; }
.landing-content h1, .landing-content h2, .landing-content h3 { line-height:1.18; font-weight: 700; letter-spacing: -0.01em; }
.landing-content h1 { font-size:2.1rem; margin-top:1.5rem; }
.landing-content h2 { font-size:1.6rem; margin-top:1.75rem; }
.landing-content h3 { font-size:1.25rem; margin-top:1.5rem; }
.landing-content p { max-width: 78ch; }
.landing-content ul { list-style: disc; padding-left: 1.25rem; display:grid; gap:.35rem; }
.landing-content a { color:#4338ca; font-weight:600; text-decoration:none; }
.landing-content a:hover { text-decoration:underline; }
.landing-content strong { font-weight:700; }
.landing-content code { background:#1e293b; color:#f1f5f9; padding:.15rem .4rem; border-radius:6px; font-size:.85rem; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.landing-content blockquote { border-left:4px solid #6366f1; padding:.5rem 1rem; margin: .25rem 0; background:#eef2ff; color:#3730a3; border-radius: 0 12px 12px 0; }
.landing-content hr { border:none; height:1px; background:linear-gradient(90deg,#e2e8f0, #cbd5e1); margin:2.25rem 0; }
.landing-content img { max-width:100%; height:auto; border-radius:16px; box-shadow:0 10px 30px rgba(15,23,42,.18); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav { max-width: 1200px; margin: 0 auto; padding: 0.75rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 700; display: flex; align-items: center; gap: .5rem; font-size: 1.25rem; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 500; opacity: 0.95; }
.nav-links a:hover { opacity: 1; }
.cta-button { background: rgba(255,255,255,0.2); color: #fff; padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid rgba(255,255,255,0.3); text-decoration: none; font-weight: 600; transition: .2s ease; }
.cta-button:hover { background: #fff; color: #667eea; transform: translateY(-2px); }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Simple stack utilities */
.stack-start { display:flex; flex-direction:column; gap:1rem; align-items:flex-start; }
.pt-0 { padding-top: 0 !important; }

/* Hero */
.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 120px 0 80px; text-align: center; position: relative;}
/* Większy padding-top dla kompaktowego hero, żeby nie wchodził pod sticky header przy różnych skalach przeglądarki */
.hero-compact { padding-top: 96px; padding-bottom: 0px; margin-bottom: 36px; }
/* Minimalistyczny hero (slogan only) */
.hero-minimal { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 56px 0 44px; text-align: center;}
.hero-minimal .slogan { font-size: clamp(1.75rem, 3.2vw + 0.2rem, 2.25rem); font-weight: 800; letter-spacing: -0.015em; line-height:1.12; margin: 0 auto; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: .75rem; }
.hero p { max-width: 640px; margin: 0 auto; opacity: .95; }

/* Hero split (text + media) */
.hero-split { padding: 72px 0; text-align: left; }
.hero-split .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: start; }
.hero-content { display: grid; gap: 1rem; align-items: start; }
.hero-content h1 { font-size: 3rem; line-height: 1.1; letter-spacing: -0.01em; }
.hero-content p.lead { font-size: 1.05rem; color: #e5e7eb; max-width: 62ch; }
.badge-soft { display:inline-flex; align-items:center; gap:.5rem; font-weight:700; padding:.35rem .6rem; border-radius: 999px; background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.22); }
.price-row { display:flex; align-items:baseline; gap:.75rem; margin-top:.25rem; }
.price-row .price { font-size: 1.5rem; font-weight: 800; }
.price-row .note { opacity:.9; }
.hero-actions { display:flex; gap:.75rem; flex-wrap: wrap; margin-top: .5rem; }
.hero-media { position: relative; }
.hero-media .art { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.25); }
.hero-media .art img { display:block; width:100%; height:auto; }
.hero-media:before { content:""; position:absolute; inset:-8%; background: radial-gradient(1200px 400px at 80% 35%, rgba(255,255,255,.35), rgba(255,255,255,0)); filter: blur(6px); pointer-events:none; }

/* Edition chips */
.chips { display:flex; gap:.5rem; flex-wrap: wrap; margin-top:.35rem; }
.chip { display:inline-flex; align-items:center; gap:.35rem; padding:.25rem .6rem; border-radius:999px; font-weight:700; font-size:.85rem; background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.22); color:#fff; }

/* Feature split (in content, light) */
.feature-split { display:grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; }
.feature-content { display:grid; gap:1rem; align-items:start; }
.feature-content h2 { font-size: 2.25rem; line-height:1.15; letter-spacing: -0.01em; color:#0f172a; }
.feature-content p.lead { font-size: 1.05rem; color: #475569; max-width: 62ch; }
.feature-media { position: relative; }
.feature-media { margin-top: 20px; }
.feature-media .art { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(2,6,23,.10); border: 1px solid #e5e7eb; background:#fff; }
.feature-media .art img { display:block; width:100%; height:auto; }

/* Button outline for light background */
.btn-outline { background:#fff; color:#0f172a; padding:.85rem 1.25rem; border:1px solid #e2e8f0; border-radius:999px; text-decoration:none; font-weight:600; transition:.2s ease; }
.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(2,6,23,.08); }

/* Eyebrow (badge/pill) */
.eyebrow { display:inline-flex; align-items:center; gap:.5rem; padding:.35rem .6rem; border-radius:999px; font-size:.85rem; font-weight:600; color:#fff; 
  background: linear-gradient(90deg, rgba(15,23,42,.88) 0%, rgba(15,23,42,.72) 100%);
  border:1px solid rgba(255,255,255,.18); box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.hero .eyebrow { border-color: rgba(255,255,255,.22); box-shadow: 0 6px 18px rgba(0,0,0,.22); }

/* Soft background gradient for light sections */
.bg-soft-gradient {
  background: linear-gradient(180deg, rgba(102,126,234,.10) 0%, rgba(118,75,162,.08) 35%, rgba(248,250,252,1) 100%);
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: .2s ease; }
.btn-primary { background: #fff; color: #667eea; padding: .9rem 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.2); }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; padding: .9rem 1.5rem; border: 2px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-theme { background: #667eea; color: #fff; padding: .85rem 1.25rem; border: none; border-radius: 999px; box-shadow: 0 8px 18px rgba(102,126,234,0.35); }
.btn-theme:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-block { width: 100%; display: flex; justify-content: center; }
.btn:disabled,
.btn-theme:disabled {
  background: #d1d5db !important;
  color: #888 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}

/* Auth page layout */
.auth-page { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 48px 0; }
.auth-page-tight { padding-top: 0; }
.auth-card { background: #fff; max-width: 520px; margin: -60px auto 0; border-radius: 20px; padding: 2rem; box-shadow: 0 20px 50px rgba(0,0,0,0.08); border: 1px solid #e5e7eb; }
.auth-card h2 { font-size: 1.75rem; color: #1e293b; margin-bottom: .25rem; }
.auth-card p.sub { color: #64748b; margin-bottom: 1.5rem; }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; }
.label { font-weight: 600; color: #334155; margin-bottom: .25rem; display: block; }
.input { width: 100%; padding: .85rem 1rem; border: 1px solid #e2e8f0; border-radius: 12px; outline: none; transition: .2s ease; background: #fff; }
.input:focus { border-color: #667eea; box-shadow: 0 0 0 4px rgba(102,126,234,.15); }
.form-footer { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; margin-top: .5rem; }
.hint { font-size: .75rem; color: #64748b; margin-top: .35rem; }

.actions { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.link { color: #667eea; text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

.divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; color: #94a3b8; margin: 1.25rem 0; }
.divider:before, .divider:after { content: ""; height: 1px; background: #e2e8f0; display: block; }

.oauth-grid { display: grid; gap: .75rem; }
.oauth-btn { border: 1px solid #e2e8f0; border-radius: 12px; padding: .8rem 1rem; display: flex; align-items: center; gap: .6rem; color: #0f172a; text-decoration: none; background: #fff; transition: .2s ease; }
.oauth-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
.oauth-icon { width: 20px; height: 20px; display: inline-block; }

/* Shop views */
.cards { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1rem; }
.card { background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding:1.25rem; box-shadow:0 10px 24px rgba(0,0,0,.06); }
.card h3 { margin-bottom:.25rem; color:#1e293b; font-size:1.1rem; }
.card .price { color:#0f172a; font-weight:700; margin:.25rem 0 .75rem; }

/* Footer */
.footer { background: #0f172a; color: #fff; text-align: center; padding: 2rem 0; margin-top: auto; }
.footer a { color: #cbd5e1; text-decoration: none; }
.footer a:visited { color: #cbd5e1; }
.footer a:hover { color: #e2e8f0; text-decoration: underline; }

/* Icon-only CTA button */
.icon-only { padding: .6rem .8rem; border-radius: 999px; display:inline-flex; align-items:center; justify-content:center; width: 40px; height: 40px; }
.icon-only i { pointer-events:none; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .auth-card { margin-top: -40px; padding: 1.5rem; }
  .hero-split .container { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2.125rem; }
  .hero-media { order: -1; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-media { margin-top: 12px; }
}

/* Account layout */
.account-layout{display:flex;gap:24px;align-items:flex-start}
.account-sidebar{width:260px;flex:0 0 260px}
.account-content{flex:1;min-width:0}
.sidebar-card{background:#fff;border:1px solid #eee;border-radius:12px;padding:16px}
.sidebar-cards{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.account-sidebar .card{border-radius:16px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 8px 20px rgba(2,6,23,.06);padding:14px}
.account-sidebar .card h3{margin:0 0 4px 0;color:#0f172a}
.account-sidebar .card p.sub{margin:0;color:#475569}
.account-sidebar .card.is-active{outline:2px solid #111}
.sidebar-nav{display:flex;flex-direction:column}
.sidebar-nav a{display:flex;gap:.5rem;align-items:center;padding:10px 12px;border-radius:8px;color:#111;text-decoration:none}
.sidebar-nav a:hover{background:#f5f6f8}
.sidebar-nav a.is-active{background:#111;color:#fff}
@media (max-width: 900px){
  .account-layout{flex-direction:column}
  .account-sidebar{width:100%;flex:0 0 auto}
}

/* Alerts */
.alert-success{padding:.75rem 1rem;border:1px solid #86efac;background:#ecfdf5;color:#065f46;border-radius:12px;box-shadow:0 6px 16px rgba(5,150,105,.12)}
/* Disabled button: szary, bez hover, bez efektów */
.btn[disabled], .btn:disabled {
  background: #e5e7eb !important;
  color: #a1a1aa !important;
  border: none !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  pointer-events: none !important;
  transition: none !important;
}
.btn[disabled]:hover, .btn:disabled:hover {
  background: #e5e7eb !important;
  color: #a1a1aa !important;
  box-shadow: none !important;
  transform: none !important;
}
#carousel-track {
    overflow-x: scroll;
    scrollbar-width: none; /* Firefox */
}
#carousel-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}
