/* Shared by every page on wetvst.com. */
:root {
    --bg-dark: #171614;
    --bg-card: #201e1b;
    --bg-card-hover: #282521;
    --text-primary: #ffffff;
    --text-secondary: #b3ada5;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #363230;
    --green: #22c55e;
    --yellow: #eab308;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 32px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text-primary);
}

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.badge svg {
    width: 16px;
    height: 16px;
}

/* Plugins Section */
.plugins {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
}

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

.plugin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.2s;
}

.plugin-card:hover {
    background: var(--bg-card-hover);
    border-color: #4a4540;
}

.plugin-card.available {
    border-color: var(--green);
}

.plugin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.plugin-name {
    font-size: 1.5rem;
    font-weight: 600;
}

.plugin-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plugin-status.available {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
}

.plugin-status.coming {
    background: rgba(234, 179, 8, 0.15);
    color: var(--yellow);
}

.plugin-screenshot {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
}

.plugin-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.plugin-features {
    list-style: none;
    margin-bottom: 24px;
}

.plugin-features li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.plugin-features li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.plugin-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Philosophy Section */
.philosophy {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

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

.philosophy-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.philosophy-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Marks a link that leaves the site, so nobody is taken off it unannounced. */
.ext-icon {
    width: 0.7em;
    height: 0.7em;
    margin-left: 0.35em;
    vertical-align: baseline;
    opacity: 0.7;
}
nav a:hover .ext-icon { opacity: 1; }

/* Footer */
footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

footer a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    nav {
        display: none;
    }

    .plugin-card {
        padding: 24px;
    }
}
    
/* Release-notice signup. Consent-based and release-only: see privacy.html.
   Deliberately plain - a static form posting to the list provider, no
   script, no embed iframe, nothing to load. */
.notify { padding: 5rem 0; border-top: 1px solid var(--border); }
.notify h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
.notify > .container > p { color: var(--text-secondary); max-width: 40rem; }
.notify-form { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0 0; max-width: 34rem; }
.notify-form input[type="email"] {
    flex: 1 1 16rem;
    padding: 0.75rem 1rem;
    font: inherit;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}
.notify-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
}
.notify-form button { cursor: pointer; border: none; }
.notify-consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-top: 1rem;
    max-width: 40rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.notify-consent input { margin-top: 0.25rem; flex-shrink: 0; }
.notify-note { font-size: 0.8rem; opacity: 0.6; margin-top: 1rem; }
.notify-hp { position: absolute; left: -9999px; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Product pages. The hero is a split: the panel on a lit stage tinted with the
   plug-in's own colour, name, price and button beside it. A wide panel
   (WetWeld) spans the full width with the text underneath. */
.pdp-hero { padding: 24px 0 56px; background: radial-gradient(ellipse 70% 90% at 30% 55%, color-mix(in srgb, var(--tint, #888) 22%, transparent), transparent 70%); border-bottom: 1px solid var(--border); }
.pdp-back { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; }
.pdp-back:hover { color: var(--text-primary); }
.pdp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 24px; }
.pdp-stage { display: flex; justify-content: center; align-items: center; }
.pdp-render { max-width: 100%; max-height: 460px; width: auto; border-radius: 8px; display: block; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8), 0 0 80px -10px color-mix(in srgb, var(--tint, #888) 35%, transparent); }
.pdp-hero.wide { background: radial-gradient(ellipse 80% 70% at 50% 35%, color-mix(in srgb, var(--tint, #888) 18%, transparent), transparent 70%); }
.pdp-hero.wide .pdp-hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.pdp-hero.wide .pdp-stage { grid-column: 1 / -1; }
.pdp-buybox { background: color-mix(in srgb, var(--bg-card) 80%, transparent); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-top: 8px; }
.pdp-buybox .pdp-actions .btn { width: 100%; justify-content: center; }
.pdp-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pdp-title h1 { font-size: 3rem; letter-spacing: -0.02em; line-height: 1.05; }
.pdp-kind { color: var(--text-secondary); font-size: 1.15rem; margin-top: 6px; }
.pdp-lead { color: var(--text-secondary); font-size: 1.05rem; max-width: 40rem; margin: 16px 0 26px; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pdp-actions .btn { padding: 14px 28px; font-size: 1rem; }
.pdp-meta { color: var(--text-secondary); font-size: 0.85rem; margin-top: 14px; max-width: 40rem; }
/* Paid products are yellow, free open source is blue. */
.badge-premium { display: inline-block; background: var(--yellow); color: #1a1400; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; vertical-align: middle; margin-left: 10px; }
.pdp-title .badge-premium { margin-left: 0; font-size: 0.8rem; }
.btn-premium { background: var(--yellow); color: #1a1400; font-weight: 600; }
.btn-premium:hover { background: #facc15; }
@media (max-width: 900px) { .pdp-hero-grid, .pdp-hero.wide .pdp-hero-grid { grid-template-columns: 1fr; gap: 28px; } .pdp-render { max-height: 360px; } .pdp-title h1 { font-size: 2.2rem; } }
.pdp-section { padding: 48px 0; border-top: 1px solid var(--border); }
.pdp-section h2 { font-size: 1.5rem; margin-bottom: 20px; }
.pdp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.pdp-section .plugin-features li { font-size: 1rem; padding: 6px 0 6px 20px; }
.pdp-shot { width: 100%; border-radius: 8px; }
.pdp-media video, .pdp-media iframe { width: 100%; aspect-ratio: 16 / 9; border: none; border-radius: 8px; }
.pdp-install dt { font-weight: 600; margin-top: 16px; }
.pdp-install dd { color: var(--text-secondary); font-size: 0.95rem; }
.pdp-install code { font-size: 0.85rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; overflow-wrap: anywhere; }
.plugin-name a, .plugin-card > a { color: inherit; text-decoration: none; }
.plugin-name a:hover { color: var(--accent); }

/* Front-page plugin cards: one picture, one line, the buttons. The detail is on each plugin's page. */
.plugin-grid.cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, background 0.2s; }
.card:hover { border-color: #4a4540; background: var(--bg-card-hover); }
/* A close-up of each panel rather than the whole panel shrunk: object-fit fills
   the frame, and a per-plugin focus point and zoom (set inline) pick the part. */
.card-img { position: relative; display: block; height: 220px; overflow: hidden; background: #12110f; }
/* Shading: a soft vignette, and a fade at the bottom into the card body. */
.card-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 85% 85% at 50% 45%, transparent 55%, rgba(0,0,0,0.45) 100%),
                linear-gradient(to bottom, transparent 55%, color-mix(in srgb, var(--bg-card) 85%, transparent) 100%); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(calc(var(--zoom, 1) * 1.06)); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.card-body h3 { font-size: 1.35rem; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-kind { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 10px; }
.card-line { color: var(--text-secondary); font-size: 0.92rem; flex: 1; margin-bottom: 20px; }
.card .plugin-actions .btn { padding: 9px 16px; }
.card-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--yellow); margin-left: 8px; vertical-align: middle; }
.philosophy-item.premium h3 { color: var(--yellow); }
/* The whole tile opens the plug-in's page: the title link is stretched over the
   card, and the buy/download button sits above it so it still works on its own. */
.card { position: relative; cursor: pointer; }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .plugin-actions { position: relative; z-index: 2; }
.card .plugin-actions .btn { white-space: nowrap; }
.pdp-meta a { color: var(--text-primary); }
.pdp-band { padding: 56px 24px; border-top: 1px solid var(--border); }
.pdp-band img { display: block; width: 100%; max-width: 1400px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)); }
.pdp-cols.single { grid-template-columns: 1fr; }
/* A wide rack panel sits in a dark surround, like a unit in a rack, so it
   does not float as a bare strip. */
.pdp-hero.wide .pdp-render { padding: 18px 22px; background: linear-gradient(180deg, #2b2926, #161513); border: 1px solid #45403a; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 40px 70px -25px rgba(0,0,0,0.85), 0 0 90px -20px color-mix(in srgb, var(--tint, #888) 40%, transparent); }
.plugin-grid.mini-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card.mini .card-img { height: 140px; }
.card.mini .card-body { padding: 14px 16px 16px; }
.card.mini .card-body h3 { font-size: 1.05rem; }
.card.mini .card-line { font-size: 0.9rem; }
.card.mini .card-line { color: var(--text-primary); font-size: 1rem; line-height: 1.5; margin-bottom: 14px; }

/* Take a closer look: the 3D render with a marker on every control. Positions
   come from pdp-hotspots.py, which projects each control through the render's
   own camera, so they are percentages of the image. */
.pdp-closer { padding: 56px 0 64px; border-top: 1px solid var(--border); text-align: center; }
.pdp-closer h2 { font-size: 1.75rem; margin-bottom: 6px; }
.closer-stage { position: relative; display: inline-block; margin-top: 28px; max-width: 900px; width: 100%; }
.closer-stage img { display: block; width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,0.6)); }
.spot { position: absolute; width: 26px; height: 26px; margin: -44px 0 0 -13px; border-radius: 50%; border: 2px solid #fff; background: rgba(20,20,20,0.7); color: #fff; cursor: pointer; padding: 0; backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(0,0,0,0.5); transition: transform 0.15s, background 0.15s; }
/* A pin, not a cover: the marker floats above its control with a stem down to it. */
.spot::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 16px; margin-left: -1px; background: linear-gradient(#fff, rgba(255,255,255,0.2)); pointer-events: none; }
.spot::before { content: "+"; font: 600 18px/22px Inter, sans-serif; display: block; transition: transform 0.2s; }
.spot:hover { transform: scale(1.12); }
.spot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.spot.open { background: var(--accent); z-index: 5; }
.spot.open::before { transform: rotate(45deg); }
.spot-card { position: absolute; left: 30px; top: 50%; transform: translateY(-50%); width: 240px; text-align: left; background: rgba(24,22,20,0.96); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font: 400 0.85rem/1.45 Inter, sans-serif; color: var(--text-secondary); box-shadow: 0 16px 40px rgba(0,0,0,0.6); opacity: 0; visibility: hidden; transition: opacity 0.15s; pointer-events: none; }
.spot-card strong { display: block; color: var(--text-primary); font-weight: 600; margin-bottom: 4px; }
.spot.left .spot-card { left: auto; right: 30px; }
.spot.open .spot-card { opacity: 1; visibility: visible; }
/* Phones: the card would run off the screen beside a marker, so the text
   shows in a caption under the render instead. */
.closer-caption { display: none; }
@media (max-width: 700px) {
  .spot { width: 22px; height: 22px; margin: -36px 0 0 -11px; } .spot::before { font-size: 15px; line-height: 18px; } .spot::after { height: 12px; }
  .spot .spot-card { display: none; }
  .closer-caption:not([hidden]) { display: block; margin: 20px auto 0; max-width: 32rem; text-align: left; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; color: var(--text-secondary); font-size: 0.9rem; }
  .closer-caption strong { display: block; color: var(--text-primary); margin-bottom: 4px; }
}
.pdp-closer .pdp-meta { margin: 0 auto; }
/* A rack-wide render, zoomed: wider than the text column, showing about 60%
   of the rack, and one button slides the track to the other end. The pins sit
   on the track, so they travel with it. */
.closer-stage.pan { display: block; position: relative; left: 50%; width: min(1400px, calc(100vw - 32px)); max-width: none; margin: 28px 0 0; transform: translateX(-50%); overflow: hidden; padding: 30px 0 60px; }
.pan-track { position: relative; width: 170%; transition: transform 0.6s cubic-bezier(.4,0,.2,1); }
.pan-track img { display: block; width: 100%; }
.pan-btn { position: absolute; top: 50%; right: 22px; width: 80px; height: 80px; margin-top: -40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.45); background: rgba(16,15,14,0.72); color: #fff; font: 300 56px/72px Inter, sans-serif; cursor: pointer; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,0.45); z-index: 6; transition: transform 0.15s, background 0.15s; animation: pan-pulse 2.6s ease-out infinite; }
.pan-btn:hover { transform: scale(1.06); background: rgba(16,15,14,0.9); animation: none; }
@keyframes pan-pulse { 0% { box-shadow: 0 6px 18px rgba(0,0,0,0.45), 0 0 0 0 rgba(255,255,255,0.3); } 70% { box-shadow: 0 6px 18px rgba(0,0,0,0.45), 0 0 0 14px rgba(255,255,255,0); } 100% { box-shadow: 0 6px 18px rgba(0,0,0,0.45), 0 0 0 0 rgba(255,255,255,0); } }
/* The side with more to see fades out: the main cue that the rack continues. */
.closer-stage.pan .pan-view { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.25), #000 14%, #000 86%, rgba(0,0,0,0.25)); mask-image: linear-gradient(to right, rgba(0,0,0,0.25), #000 14%, #000 86%, rgba(0,0,0,0.25)); }
.closer-stage.pan.at-left .pan-view { -webkit-mask-image: linear-gradient(to right, #000 86%, rgba(0,0,0,0.25)); mask-image: linear-gradient(to right, #000 86%, rgba(0,0,0,0.25)); }
.closer-stage.pan.at-right .pan-view { -webkit-mask-image: linear-gradient(to left, #000 86%, rgba(0,0,0,0.25)); mask-image: linear-gradient(to left, #000 86%, rgba(0,0,0,0.25)); }
@media (max-width: 700px) { .pan-btn { width: 60px; height: 60px; margin-top: -30px; font-size: 42px; line-height: 54px; right: 10px; } }
.pan-btn.pan-prev { right: auto; left: 22px; }
.pan-btn[hidden] { display: none; }
/* Where a panel prints its labels above the controls (WetWeld), the pin hangs below instead. */
.spot.below { margin-top: 38px; }
.spot.below::after { top: auto; bottom: 100%; background: linear-gradient(rgba(255,255,255,0.2), #fff); }
@media (max-width: 700px) { .spot.below { margin-top: 14px; } }
.hl-premium { color: var(--yellow); }
.hl-free { color: var(--accent); }
/* Name and Premium badge centred on one line. */
.card-body h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.card-body h3 .badge-premium { margin-left: 0; }
/* The last tile: more is on the way. Same card, no product, dashed edge. */
.card.soon { border-style: dashed; background: transparent; }
.card.soon .card-img img { filter: saturate(0.85) brightness(0.9); }
.card-img { text-decoration: none; }
/* Cards navigate, so they end in a link, not a button: the button is kept for
   the action itself (Download, Buy) on the product page. */
.more-link { font-weight: 600; font-size: 1rem; text-decoration: none; }
.more-link span { display: inline-block; transition: transform 0.2s; }
.card:hover .more-link span { transform: translateX(4px); }
.more-free { color: var(--accent); }
.more-premium { color: var(--yellow); }
.card:hover .more-link { text-decoration: underline; text-underline-offset: 4px; }
/* Help page */
.help { max-width: 46rem; }
.help h1 { font-size: 2.5rem; margin-bottom: 8px; }
.help h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.help p { color: var(--text-secondary); margin-bottom: 10px; }
.help code { font-size: 0.85rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; overflow-wrap: anywhere; }
.help a { color: var(--accent); }
.help-steps { color: var(--text-secondary); padding-left: 1.4rem; margin: 8px 0 12px; }
.help-steps li { margin-bottom: 10px; }
.help-steps li p { margin: 8px 0 0; }
.help kbd { font: 600 0.8rem Inter, sans-serif; background: #2a2724; border: 1px solid #45403a; border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; color: var(--text-primary); }
.help code.copy { user-select: all; }
