/* =====================================================
   PHISHING WEBSITE DETECTOR - LANDING PAGE
   Same colors as the Chrome extension
   ===================================================== */

:root {
    --purple: #6a4fd1;
    --purple-dark: #4b33a8;
    --purple-soft: #efeafd;
    --green: #2e9a5f;
    --red: #e0464f;
    --ink: #241f3a;
    --muted: #625d7a;
    --line: #e6e0f6;
    --bg: #faf8ff;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

svg {
    width: 20px;
    height: 20px;
    flex: none;
}

a {
    color: var(--purple-dark);
}

.wrap {
    width: min(1160px, 100% - 40px);
    margin: 0 auto;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(90deg, #7a5be0, #5a3cc8);
    color: #fff;
    box-shadow: 0 10px 22px rgba(90, 60, 200, 0.3);
}

.btn-outline {
    background: #fff;
    color: var(--purple-dark);
    border: 2px solid #b9a8ee;
}

.btn-light {
    background: #fff;
    color: var(--ink);
}

.btn-small {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 14px;
    color: #fff !important;
}

.btn.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #b9a8ee;
    outline-offset: 3px;
}

/* ---------- navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 70px;
}

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

.brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.links a {
    color: var(--muted);
    font-size: 15px;
    text-decoration: none;
}

.links a:hover {
    color: var(--purple-dark);
}

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
}

.menu-btn svg {
    width: 24px;
    height: 24px;
}

/* ---------- hero ---------- */
.hero {
    padding: 70px 0 60px;
    background:
        radial-gradient(circle at 85% 15%, rgba(150, 120, 240, 0.28), transparent 45%),
        radial-gradient(circle at 5% 90%, rgba(150, 120, 240, 0.12), transparent 40%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.pill,
.eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--purple-soft);
    color: var(--purple-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
}

h1 span {
    color: var(--purple);
}

.lead {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 22px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-points svg {
    color: var(--green);
    width: 18px;
    height: 18px;
}

.hero-visual {
    position: relative;
    height: 560px;
}

.shot {
    position: absolute;
    width: 300px;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(70, 40, 170, 0.25);
}

.shot-front {
    right: 20%;
    top: 0;
    z-index: 2;
}

.shot-back {
    right: 0;
    top: 60px;
    transform: rotate(6deg);
    opacity: 0.95;
}

/* ---------- sections ---------- */
.section {
    padding: 80px 0;
}

.section-tint {
    background: #f3effe;
}

.section-head {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
}

.sub {
    margin: 10px 0 0;
    color: var(--muted);
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 8px 24px rgba(80, 60, 160, 0.06);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.card p {
    margin: 0 0 10px;
    color: var(--muted);
}

/* ---------- about ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--muted);
}

.check-list svg {
    margin-top: 3px;
    color: var(--green);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.stat {
    padding: 22px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #7a5be0, #5a3cc8);
    color: #fff;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 34px;
    line-height: 1.2;
}

.stat span {
    font-size: 14px;
    opacity: 0.88;
}

/* ---------- features ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--purple-soft);
    color: var(--purple-dark);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

/* ---------- how it works ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    text-align: center;
}

.step-num {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7a5be0, #5a3cc8);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.step h3 {
    font-size: 18px;
}

/* ---------- screenshots ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.gallery figure,
.wide-shot {
    margin: 0;
    text-align: center;
}

.gallery img,
.wide-shot img {
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(70, 40, 170, 0.16);
    cursor: zoom-in;
    transition: transform 0.15s ease;
}

.gallery img:hover,
.wide-shot img:hover {
    transform: translateY(-4px);
}

figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.wide-shot {
    max-width: 900px;
    margin: 40px auto 0;
}

/* ---------- install ---------- */
.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.num-list {
    margin: 0;
    padding-left: 22px;
    color: var(--muted);
}

.num-list li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.num-list strong {
    color: var(--ink);
}

code {
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--purple-soft);
    color: var(--purple-dark);
    font-size: 14px;
}

.note {
    margin-top: 16px !important;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--purple-soft);
    color: var(--purple-dark) !important;
    font-size: 14px;
}

/* ---------- download ---------- */
.download {
    padding: 0 0 80px;
}

.download-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 46px;
    border-radius: 26px;
    background: var(--ink);
    color: #fff;
}

.download h2 {
    margin: 0;
    font-size: 30px;
}

.download p {
    margin: 6px 0 0;
    opacity: 0.75;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- footer ---------- */
.footer {
    padding: 50px 0 24px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer p {
    color: var(--muted);
    font-size: 14px;
}

.footer h4 {
    margin: 0 0 10px;
    font-size: 15px;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.footer li {
    margin-bottom: 6px;
}

.footer ul a {
    color: var(--muted);
    text-decoration: none;
}

.copyright {
    width: min(1160px, 100% - 40px);
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 13px !important;
}

/* ---------- screenshot viewer ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(20, 16, 40, 0.85);
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-height: 90vh;
    border-radius: 16px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps,
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .menu-btn { display: grid; }

    .links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 20px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .links.open { display: flex; }
    .links a { padding: 10px 0; }

    .hero-inner,
    .about-grid,
    .install-grid,
    .footer-inner { grid-template-columns: 1fr; }

    .hero { padding-top: 40px; }
    .hero-visual { height: 470px; }
    .shot { width: 250px; }
    .shot-front { right: auto; left: 0; }

    .download-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }
}

@media (max-width: 520px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .feature-grid,
    .steps { grid-template-columns: 1fr; }
    .hero-visual { height: 400px; }
    .shot { width: 210px; }
    .brand span { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .gallery img, .wide-shot img { transition: none; }
}

/* ===== GRJD name block ===== */
.name-block {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 34px;
    align-items: center;
    margin-top: 34px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(80, 60, 160, 0.06);
}
.name-logo { width: 180px; height: 180px; object-fit: contain; }
.name-text h3 { margin: 0 0 6px; font-size: 22px; }
.name-text > p { margin: 0 0 18px; color: var(--muted); }
.letters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.letter {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px; border-radius: 14px; background: var(--purple-soft);
}
.letter strong { font-size: 34px; line-height: 1; color: var(--purple); }
.letter span { font-weight: 700; }
.letter small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.name-tag { margin: 18px 0 0; font-style: italic; font-weight: 600; color: var(--purple-dark); font-size: 18px; }
.footer-tag { margin: -4px 0 10px; font-style: italic; opacity: .85; }
@media (max-width: 860px) {
    .name-block { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .name-logo { width: 130px; height: 130px; }
    .letters { grid-template-columns: 1fr 1fr; width: 100%; text-align: left; }
}

/* ===== Privacy policy page ===== */
.policy-page { padding: 120px 0 70px; background: linear-gradient(180deg, var(--purple-soft), #fff 320px); }
.policy { max-width: 820px; }
.policy h1 { font-size: 38px; margin: 14px 0 6px; }
.policy-date { color: var(--muted); margin: 0 0 24px; }
.policy h2 { font-size: 21px; margin: 34px 0 10px; color: var(--purple-dark); }
.policy p, .policy li { line-height: 1.7; color: #3d3a52; }
.policy ul { padding-left: 22px; }
.policy li { margin-bottom: 6px; }
.policy-highlight { margin: 22px 0; padding: 18px 20px; border-left: 4px solid var(--purple); background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(80,60,160,.07); line-height: 1.6; }
.policy-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.policy-table th, .policy-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-table th { background: var(--purple-soft); color: var(--purple-dark); }
.policy-table td:first-child { font-family: ui-monospace, Consolas, monospace; white-space: nowrap; font-size: 14px; }
@media (max-width: 640px) { .policy h1 { font-size: 30px; } .policy-table td:first-child { white-space: normal; } }

.install-sub { margin: 18px 0 6px; font-size: 15px; }

.install-hint {
    margin: 8px 0 4px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f6f2ff;
    color: #5b5480;
    font-size: 13.5px;
    line-height: 1.55;
}
