/* ===================================================
   iScuba QR Library
   Theme v1.0
=================================================== */

:root{
    --deep:#08233d;
    --deep-2:#04192b;
    --teal:#0b8ea7;
    --teal-2:#08748a;
    --accent:#00c8ff;
    --mist:#eef8fb;
    --sand:#f8fbfc;
    --ink:#0f172a;
    --body:#475569;
    --line:#dde8ef;
    --ok:#18b879;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
    margin:0;
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    color:var(--body);
    background:white;
    line-height:1.65;
}

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

.section{ padding:70px 0; }
.center{ text-align:center; }
.muted{ background:var(--mist); }

.header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
}

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

.brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:var(--ink);
    font-weight:800;
}

.brand .dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--accent);
}

.topnav a{
    display:inline-block;
    padding:10px 18px;
    border-radius:999px;
    border:1px solid var(--teal);
    text-decoration:none;
    color:var(--teal);
    font-weight:700;
    transition:.25s;
}

.topnav a:hover{
    background:var(--teal);
    color:white;
}

/* HERO */

.hero{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,var(--deep),var(--deep-2));
    color:white;
    padding:90px 0 80px;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 20% 30%,rgba(255,255,255,.08),transparent 35%),
        radial-gradient(circle at 80% 70%,rgba(0,200,255,.12),transparent 30%);
    pointer-events:none;
}
.hero > .container{
    position:relative;
    z-index:2;
}

.hero-grid{
    position:relative;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:50px;
    align-items:center;
}

.hero h1{
    font-size:48px;
    line-height:1.08;
    margin:18px 0;
}

.lead{
    font-size:19px;
    opacity:.94;
    max-width:620px;
}

.badge{
    display:inline-block;
    padding:8px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    color:#cdefff;
    font-size:13px;
}

/* BUTTONS */

.cta-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:26px;
}

.cta{
    display:inline-block;
    padding:14px 22px;
    border-radius:14px;
    background:var(--teal);
    color:white;
    text-decoration:none;
    font-weight:800;
    transition:.25s;
}

.cta:hover{
    background:var(--teal-2);
    transform:translateY(-1px);
}

.cta.secondary{
    background:transparent;
    border:1px solid rgba(255,255,255,.65);
}

.cta.secondary:hover{
    background:rgba(255,255,255,.1);
}

/* KPI */

.kpis{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:24px;
    font-size:14px;
    opacity:.95;
}

.kpis span{
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.kpis .dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--accent);
}

/* QR SYMBOL */

.qr-figure{
    display:flex;
    justify-content:center;
    align-items:center;
}

.qr-symbol{
    width:260px;
    height:260px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    padding:26px;
    border-radius:28px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 24px 60px rgba(0,0,0,.25);
}

.qr-symbol span{
    border-radius:18px;
    background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(210,245,255,.85));
    position:relative;
}

.qr-symbol span::after{
    content:"";
    position:absolute;
    inset:24%;
    border-radius:10px;
    background:var(--deep);
}

.qr-symbol span:nth-child(2){ transform:translateY(18px); }
.qr-symbol span:nth-child(3){ transform:translateY(-18px); }

.qr-symbol span:nth-child(4)::after{
    inset:38%;
    background:var(--accent);
}

/* CONTENT */

h2{
    margin:0 0 16px;
    color:var(--ink);
    font-size:34px;
    line-height:1.18;
}

h3{ color:var(--ink); }

.twocol{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:36px;
    align-items:center;
}

/* PROGRESS */

.progress-card{
    background:white;
    border:1px solid var(--line);
    border-radius:18px;
    padding:24px;
    box-shadow:0 14px 30px rgba(8,35,61,.08);
}

.progress-card h3{
    margin:0 0 16px;
    color:var(--ink);
}

.progress-row{
    display:flex;
    justify-content:space-between;
    gap:16px;
    margin-bottom:12px;
}

.progress-row span{ font-weight:600; }
.progress-row strong{ color:var(--teal); }

.progress-bar{
    height:12px;
    border-radius:999px;
    background:#dcecf3;
    overflow:hidden;
    margin-bottom:14px;
}

.progress-bar span{
    display:block;
    height:100%;
    border-radius:999px;
    background:linear-gradient(90deg,var(--teal),var(--accent));
}

.note{
    font-size:14px;
    opacity:.78;
}

/* SECTION HEAD */

.section-head{
    max-width:720px;
    margin-bottom:32px;
}

.section-head h2{ margin-bottom:10px; }
.section-head p{ margin:0; }

/* QR GRID */

.qr-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}

.qr-card{
    min-height:230px;
    padding:22px;
    border-radius:18px;
    background:#fafdfe;
    border:1px solid var(--line);
    box-shadow:0 10px 24px rgba(8,35,61,.06);
    transition:.25s;

    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.qr-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 36px rgba(8,35,61,.11);
    border-color:rgba(11,142,167,.45);
}

.qr-card.available{ background:white; }

.qr-card.pending{
    background:#f8fbfc;
    opacity:.78;
}

.qr-num{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    margin-bottom:14px;
    border-radius:14px;
    background:linear-gradient(135deg,var(--teal),var(--accent));
    color:white;
    font-weight:900;
    letter-spacing:.04em;
}

.qr-card h3{
    margin:0 0 10px;
    font-size:20px;
    line-height:1.22;
}

.qr-card p{
    margin:0 0 22px;
    font-size:15px;
}

.card-link,
.status{
    margin-top:auto;
    display:inline-block;
}

.card-link{
    padding:9px 15px;
    border-radius:999px;
    background:var(--teal);
    color:white;
    text-decoration:none;
    font-weight:800;
    font-size:14px;
    transition:.25s;
}

.card-link:hover{ background:var(--teal-2); }

.status{
    padding:8px 13px;
    border-radius:999px;
    border:1px dashed #9bb3bf;
    color:#64748b;
    font-size:13px;
    font-weight:700;
}

/* FOOTER */

.footer{
    padding:30px 0;
    border-top:1px solid var(--line);
    color:#64748b;
    font-size:14px;
}

.footer .row{
    display:flex;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
}

/* RESPONSIVE */

@media (max-width:900px){
    .hero{
        padding:72px 0 64px;
    }

    .hero-grid,
    .twocol{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:38px;
    }

    .lead{
        font-size:17px;
    }

    .qr-symbol{
        width:220px;
        height:220px;
    }
}

@media (max-width:600px){
    .container{
        padding:0 18px;
    }

    .header .row{
        height:auto;
        min-height:64px;
        gap:12px;
        padding:10px 0;
        align-items:flex-start;
        flex-direction:column;
    }

    .topnav a{
        padding:8px 14px;
        font-size:14px;
    }

    .hero h1{
        font-size:32px;
    }

    h2{
        font-size:28px;
    }

    .section{
        padding:52px 0;
    }

    .qr-card{
        min-height:220px;
    }
}