/* Tropical Aquarium — site style. System fonts only: no external resources. */
:root {
    --bg: #03121c;
    --bg2: #062638;
    --panel: rgba(255, 255, 255, 0.045);
    --line: rgba(255, 255, 255, 0.10);
    --text: #e6f1f5;
    --muted: #93adb8;
    --accent: #3fd0d8;
    --accent2: #f5a623;
    --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 520px) var(--bg);
}
a { color: var(--accent); }
a:hover { color: #7fe6ea; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* language: only the active language is shown */
html[data-lang="fr"] [lang="en"]:not(html), html[data-lang="en"] [lang="fr"]:not(html) { display: none !important; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--text); text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4); }
.brand strong { font-size: 20px; letter-spacing: 0.2px; }
.langs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs button {
    font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; border-radius: 999px;
    padding: 4px 12px; cursor: pointer;
}
html[data-lang="fr"] .langs [data-set="fr"], html[data-lang="en"] .langs [data-set="en"] { background: var(--accent); color: #032; font-weight: 600; }

.hero { text-align: center; padding: 18px 0 8px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 12px; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 26px; }

.demo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); aspect-ratio: 16 / 9; background: #021019; }
.demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo .tag { position: absolute; left: 12px; top: 12px; font-size: 12px; color: #fff; background: rgba(0, 0, 0, 0.45);
             padding: 3px 10px; border-radius: 999px; pointer-events: none; }
.tanks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 6px; }
.tanks button {
    font: inherit; font-size: 14px; color: var(--text); background: var(--panel); border: 1px solid var(--line);
    border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.tanks button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }

.cta { text-align: center; padding: 34px 0 10px; }
.btn {
    display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none;
    color: #032; background: linear-gradient(180deg, #5fe0e6, #2bb8c2); padding: 14px 28px; border-radius: 12px;
    box-shadow: 0 8px 24px rgba(43, 184, 194, 0.35);
}
.btn:hover { color: #021; filter: brightness(1.08); }
.btn svg { width: 22px; height: 22px; }
.cta .meta { color: var(--muted); font-size: 15px; margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; color: #9fe3b0; }

section { padding: 44px 0 8px; }
section h2 { font-size: 28px; margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.card .body { padding: 14px 16px 16px; }
.card h3 { margin: 0 0 4px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px 26px; }
.features div h3 { font-size: 17px; margin: 0 0 2px; }
.features div p { margin: 0; color: var(--muted); font-size: 15px; }
ol.steps { padding-left: 22px; color: var(--muted); }
ol.steps li { margin: 6px 0; }
ol.steps b { color: var(--text); }

.prose { max-width: 760px; }
.prose h1 { font-size: 34px; margin: 10px 0 6px; }
.prose h2 { font-size: 22px; margin: 30px 0 8px; }
.prose p, .prose li { color: #c7d9df; }
.prose .date { color: var(--muted); font-size: 15px; }

footer { margin-top: 56px; border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px;
         display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
    body { font-size: 16px; }
    .brand strong { font-size: 17px; }
    .brand img { width: 42px; height: 42px; }
}
