/* DiskLens — disklens.vtun.ro
   Static marketing site. Single stylesheet, English only.
   Visual language: light, airy, Apple-style, with Liquid Glass surfaces and the
   lens's purple->magenta->orange gradient as the brand accent. */

:root {
    --bg: #f5f5f7;
    --bg-2: #ffffff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #ffffff;
    --text: #1d1d1f;
    --muted: #6e6e73;
    --border: rgba(0, 0, 0, 0.08);
    --accent: #7b42c0;   /* lens purple   */
    --accent-2: #d52f79; /* lens magenta  */
    --accent-3: #f98749; /* lens orange   */
    --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
    --radius: 18px;
    --radius-lg: 26px;
    --shadow: 0 10px 40px rgba(40, 10, 60, 0.10);
    --shadow-soft: 0 2px 14px rgba(0, 0, 0, 0.06);
    --maxw: 1080px;
    --nav-h: 60px;
    font-synthesis: none;
    -webkit-text-size-adjust: 100%;
}

@supports (font-variation-settings: normal) {
    :root { font-family: "InterVariable", system-ui, -apple-system, sans-serif; }
}
:root { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b0b0f;
        --bg-2: #141418;
        --surface: rgba(28, 28, 34, 0.62);
        --surface-solid: #1a1a20;
        --text: #f5f5f7;
        --muted: #9b9ba3;
        --border: rgba(255, 255, 255, 0.10);
        --shadow: 0 14px 50px rgba(0, 0, 0, 0.45);
        --shadow-soft: 0 2px 14px rgba(0, 0, 0, 0.35);
    }
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* Soft brand glow behind the page top */
body::before {
    content: "";
    position: fixed;
    inset: -30% 0 auto 0;
    height: 70vh;
    background:
        radial-gradient(60% 60% at 20% 0%, rgba(123, 66, 192, 0.18), transparent 70%),
        radial-gradient(50% 50% at 85% 5%, rgba(249, 135, 73, 0.14), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: var(--surface);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.05rem; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { margin-left: 4px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s, opacity 0.15s;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(170, 40, 110, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(170, 40, 110, 0.45); }
.btn-ghost { background: var(--surface-solid); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { border-color: rgba(123, 66, 192, 0.4); }
.btn-sm { padding: 8px 15px; font-size: 0.88rem; }

/* Official Apple "Download on the Mac App Store" badge, with light/dark variants.
   Show/hide rules are scoped under .appstore-badge so they outrank ".appstore-badge img"
   on specificity (two classes beats class+element) — otherwise both variants render. */
.appstore-badge { display: inline-block; line-height: 0; transition: opacity 0.15s; }
.appstore-badge img { height: 52px; width: auto; }
.appstore-badge:hover { opacity: 0.82; }
.appstore-badge .badge-light { display: block; }
.appstore-badge .badge-dark { display: none; }
@media (prefers-color-scheme: dark) {
    .appstore-badge .badge-light { display: none; }
    .appstore-badge .badge-dark { display: block; }
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 84px 0 56px; }
.hero-icon {
    width: 128px; height: 128px; margin: 0 auto 26px;
    filter: drop-shadow(0 18px 38px rgba(120, 40, 150, 0.28));
    animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero-icon { animation: none; } }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 700; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.lead { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--muted); max-width: 620px; margin: 18px auto 0; }
.hero-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 34px; }
/* Apple Mac App Store badge at 52px, the "Explore features" button a touch taller at 56px. */
.hero-cta .appstore-badge img { height: 52px; }
.hero-cta .btn { height: 56px; }
.hero-cta .btn-ghost { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); }
.hero-note { margin-top: 16px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--accent-2);
    margin-bottom: 10px;
}

/* ---------- Glass cards / feature grid ---------- */
.glass {
    background: var(--surface);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface-solid);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center; margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(123, 66, 192, 0.16), rgba(249, 135, 73, 0.16));
}
.feature .ic svg { width: 24px; height: 24px; stroke: var(--accent); }
.feature h3 { font-size: 1.18rem; font-weight: 650; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Screenshots ---------- */
/* Frameless gallery: each screenshot is a window capture that carries its own macOS drop
   shadow, so the window floats directly on the section — no card border or background. */
.shots { display: grid; gap: 40px 30px; grid-template-columns: repeat(2, 1fr); align-items: start; }
.shot img { width: 100%; height: auto; display: block; }
.shot.wide { grid-column: 1 / -1; }
.shot.wide img { max-width: 900px; margin-inline: auto; }
.shot-cap { margin-top: 4px; font-size: 0.92rem; color: var(--muted); text-align: center; }

/* ---------- Pricing ---------- */
.price-card { max-width: 420px; margin: 0 auto; padding: 38px 34px; text-align: center; }
.price { font-size: 3.2rem; font-weight: 700; letter-spacing: -0.03em; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-sub { color: var(--muted); margin: 6px 0 22px; }
.checklist { list-style: none; text-align: left; max-width: 280px; margin: 22px auto 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; }
.checklist li::before {
    content: ""; flex: none; width: 19px; height: 19px; margin-top: 2px; border-radius: 50%;
    background: var(--grad);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* ---------- Callout strip ---------- */
.callout { text-align: center; padding: 48px 0; }
.callout .glass { padding: 44px 30px; max-width: 760px; margin: 0 auto; }
.callout h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.callout p { color: var(--muted); margin: 12px auto 0; max-width: 560px; }

/* ---------- Prose (privacy / support / changelog) ---------- */
.page-hero { text-align: center; padding: 70px 0 30px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 700; }
.page-hero p { color: var(--muted); margin-top: 12px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 7px; }
.prose .muted { color: var(--muted); }
.prose a { color: var(--accent); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.faq summary {
    cursor: pointer; list-style: none; padding: 18px 22px;
    font-weight: 600; font-size: 1.04rem;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 1.5rem; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* Changelog */
.release { max-width: 760px; margin: 0 auto 24px; padding: 26px 28px; }
.release-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.release-ver { font-size: 1.4rem; font-weight: 700; }
.tag { font-size: 0.74rem; font-weight: 600; padding: 3px 10px; border-radius: 980px; background: var(--grad); color: #fff; }
.release-date { color: var(--muted); font-size: 0.9rem; margin-left: auto; }
.release ul { list-style: none; display: grid; gap: 9px; }
.release li { display: flex; gap: 10px; color: var(--text); }
.release li::before { content: "—"; color: var(--accent-2); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 30px; color: var(--muted); font-size: 0.9rem; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.foot .brand { font-size: 0.95rem; color: var(--text); }
.foot-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.foot-legal { width: 100%; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .nav-links { display: none; }
    .grid-3, .grid-2, .shots { grid-template-columns: 1fr; }
    .shot.wide { grid-column: auto; }
    .hero { padding: 60px 0 40px; }
    .foot-links { margin-left: 0; }
}
