/* Printsoft Suite landing — Liquid Light style (memory v0.6 pivot)
 * Light bg + dark glass cards + Apple-inspired styling, czytelność > drama */

:root {
    --color-base: #fafaf7;
    --color-paper: #ffffff;
    --color-card: rgba(255, 255, 255, 0.65);
    --color-card-strong: rgba(255, 255, 255, 0.92);
    --color-line: rgba(15, 23, 42, 0.08);
    --color-line-strong: rgba(15, 23, 42, 0.16);
    --color-ink: #0f172a;
    --color-ink-2: #475569;
    --color-ink-muted: #94a3b8;
    --color-c: #08919e;
    --color-m: #be185d;
    --color-y: #d97706;
    --color-ok: #059669;

    --font-display: 'Fraunces', Georgia, serif;
    --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;

    --shadow-glass: 0 8px 32px rgba(15, 23, 42, 0.06), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    --shadow-card-hover: 0 16px 48px rgba(15, 23, 42, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: var(--color-base);
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background gradient glow — subtelne, jak Apple keynote */
.bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 1400px 700px at 20% -10%, rgba(8, 145, 158, 0.06), transparent 65%),
        radial-gradient(ellipse 1200px 600px at 80% -5%, rgba(190, 24, 93, 0.04), transparent 60%),
        radial-gradient(ellipse 1000px 500px at 50% 110%, rgba(217, 119, 6, 0.03), transparent 55%);
}

/* ==== TOPBAR ==== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px;
    max-width: 1240px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(250, 250, 247, 0.7);
    border-bottom: 1px solid var(--color-line);
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-line-strong);
    border-radius: 4px;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.04em;
    color: var(--color-ink);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.01em;
}

.brand-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-ink-muted);
    margin-top: 1px;
}

.nav {
    display: flex;
    gap: 32px;
    font-size: 14px;
}

.nav a {
    color: var(--color-ink-2);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.nav a:hover { color: var(--color-ink); }

@media (max-width: 720px) {
    .topbar { padding: 16px 24px; }
    .nav { display: none; }
}

/* ==== MAIN ==== */
main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 48px 80px;
}

@media (max-width: 720px) {
    main { padding: 0 24px 60px; }
}

/* ==== HERO ==== */
.hero {
    padding: 100px 0 80px;
    max-width: 760px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-ink-muted);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--color-ink);
    margin-bottom: 24px;
}

.hero-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--color-c) 0%, var(--color-m) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.45;
    color: var(--color-ink-2);
    max-width: 640px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--color-ink);
    color: var(--color-paper);
    border: 1px solid var(--color-ink);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.btn-ghost {
    color: var(--color-ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-line-strong);
    padding-bottom: 2px;
    transition: color 0.15s, border-color 0.15s;
}

.btn-ghost:hover {
    color: var(--color-ink);
    border-color: var(--color-ink);
}

/* ==== SECTION TITLE ==== */
.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.025em;
    margin-bottom: 40px;
}

/* ==== MODULES ==== */
.modules {
    padding: 80px 0;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.module-card {
    background: var(--color-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-line);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow-glass);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.module-card.module-live {
    border: 1px solid rgba(5, 150, 105, 0.25);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, var(--color-card) 50%);
}

.module-card.module-future {
    background: rgba(255, 255, 255, 0.4);
}

.module-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-ink-muted);
    font-weight: 600;
    margin-bottom: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-green {
    background: var(--color-ok);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.dot-amber {
    background: var(--color-y);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.dot-grey {
    background: var(--color-ink-muted);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.module-card h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 24px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.module-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color-ink-2);
    margin-bottom: 16px;
    flex: 1;
}

.module-link {
    color: var(--color-c);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

.module-link:hover { text-decoration: underline; }

.module-soon {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-ink-muted);
    font-weight: 600;
    margin-top: auto;
    align-self: flex-start;
}

/* ==== APPROACH ==== */
.approach {
    padding: 80px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.approach-item {
    padding: 24px 0;
}

.approach-num {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 56px;
    letter-spacing: -0.04em;
    color: var(--color-ink-muted);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-item h4 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.approach-item p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--color-ink-2);
}

/* ==== CONTACT ==== */
.contact {
    padding: 80px 0;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact .section-title {
    margin-bottom: 16px;
}

.contact-sub {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-ink-2);
    margin-bottom: 32px;
}

.contact-fallback {
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-ink-muted);
}

.contact-fallback a {
    color: var(--color-ink-2);
    text-decoration: underline;
}

/* ==== FOOTER ==== */
footer {
    border-top: 1px solid var(--color-line);
    padding: 32px 48px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 13px;
    color: var(--color-ink-2);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-brand small {
    color: var(--color-ink-muted);
    font-size: 11px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: var(--color-ink-2);
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover { color: var(--color-ink); }

.sep { color: var(--color-ink-muted); }

@media (max-width: 720px) {
    footer { padding: 24px; }
    .footer-content { flex-direction: column; align-items: flex-start; }
}

/* ==== ACCESSIBILITY ==== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

::selection {
    background: rgba(8, 145, 158, 0.2);
    color: var(--color-ink);
}
