/* DrawingStamp Pro — Website-Styling (framework-frei) */

:root {
    --bg:          #0f172a;   /* slate-900 */
    --bg-soft:     #1e293b;   /* slate-800 */
    --surface:     #ffffff;
    --surface-2:   #f1f5f9;   /* slate-100 */
    --border:      #e2e8f0;   /* slate-200 */
    --text:        #1e293b;   /* slate-800 */
    --text-soft:   #475569;   /* slate-600 */
    --text-invert: #f8fafc;
    --accent:      #2563eb;   /* blue-600 */
    --accent-dark: #1d4ed8;   /* blue-700 */
    --accent-soft: #dbeafe;   /* blue-100 */
    --ok:          #16a34a;
    --radius:      12px;
    --maxw:        1080px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .4em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .6em; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
p  { margin: 0 0 1em; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--surface-2); }
.muted { color: var(--text-soft); }
.center { text-align: center; }

/* ---- Navigation ---- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.nav__brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav__links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav__links a { color: var(--text-soft); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--accent); text-decoration: none; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: var(--radius);
    font-weight: 600; font-size: 1rem; cursor: pointer;
    border: 1px solid transparent; transition: transform .08s ease, background .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }

/* ---- Hero ---- */
.hero {
    background: radial-gradient(1200px 500px at 50% -10%, #1e3a8a 0%, var(--bg) 55%);
    color: var(--text-invert);
    padding: 96px 0 88px;
    text-align: center;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: #cbd5e1; max-width: 680px; margin: 0 auto 1.8em; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__meta { margin-top: 22px; font-size: .9rem; color: #94a3b8; }
.badge {
    display: inline-block; padding: 5px 14px; border-radius: 999px;
    background: rgba(37,99,235,.18); color: #bfdbfe; font-size: .85rem;
    font-weight: 600; margin-bottom: 22px; border: 1px solid rgba(96,165,250,.3);
}

/* ---- Feature grid ---- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
}
.card .ico { font-size: 1.7rem; margin-bottom: 10px; display: block; }
.card h3 { margin-bottom: .3em; }
.card p { margin: 0; color: var(--text-soft); font-size: .96rem; }

/* ---- Steps ---- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: step; }
.step { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); position: relative; }
.step::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent-dark);
    font-weight: 700; margin-bottom: 12px;
}

/* ---- Download cards ---- */
.dl-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.dl-card { text-align: center; padding: 30px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.dl-card .os { font-size: 2.2rem; margin-bottom: 8px; }
.dl-card h3 { margin-bottom: .2em; }
.dl-card .sub { color: var(--text-soft); font-size: .88rem; margin-bottom: 18px; }

/* ---- Changelog ---- */
.log-entry { padding: 22px 0; border-bottom: 1px solid var(--border); }
.log-entry:last-child { border-bottom: none; }
.log-entry h3 { margin-bottom: .3em; }
.log-entry .ver { color: var(--accent); font-weight: 700; }
.log-entry ul { margin: .4em 0 0; padding-left: 1.2em; color: var(--text-soft); }

/* ---- Legal pages ---- */
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.4em; font-size: 1.3rem; }
.legal p, .legal li { color: var(--text-soft); }

/* ---- Footer ---- */
.footer { background: var(--bg); color: #94a3b8; padding: 40px 0; font-size: .9rem; }
.footer a { color: #cbd5e1; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__copy { margin-left: auto; }

@media (max-width: 640px) {
    .nav__links { gap: 14px; }
    .nav__links a:not(.btn) { display: none; }
    .footer__copy { margin-left: 0; width: 100%; }
}
