/* ═══════════════════════════════════════════════════════════════════════════
   VistoShield — Landing Page Styles
   Brand: Navy #101475 / Teal #24bfb3 / Red #f16359
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --navy:     #101475;
    --navy-dark:#0a0e4a;
    --teal:     #24bfb3;
    --teal-dark:#1a9a90;
    --red:      #f16359;
    --slate-50: #f8fafc;
    --slate-100:#f1f5f9;
    --slate-200:#e2e8f0;
    --slate-300:#cbd5e1;
    --slate-400:#94a3b8;
    --slate-500:#64748b;
    --slate-600:#475569;
    --slate-700:#334155;
    --slate-800:#1e293b;
    --slate-900:#0f172a;
    --white:    #ffffff;
    --font:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono:     "SF Mono", SFMono-Regular, ui-monospace, Menlo, monospace;
    --radius:   8px;
    --shadow:   0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg:0 10px 25px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    text-decoration: none;
}
.btn--teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn--outline:hover { border-color: var(--white); color: var(--white); }
.btn--lg { padding: 16px 36px; font-size: 17px; }
.btn--sm { padding: 8px 20px; font-size: 14px; }
.btn--block { width: 100%; }

/* ── Navigation ──────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 74, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav__logo { height: 32px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__links a { color: var(--slate-300); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--white); }
.nav--scrolled { background: rgba(10, 14, 74, .98) !important; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; border-radius: 2px; }
.nav__toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle--active span:nth-child(2) { opacity: 0; }
.nav__toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--slate-900) 100%);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(36,191,179,.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero__inner { display: flex; align-items: center; gap: 60px; position: relative; }
.hero__content { flex: 1; }
.hero__title { font-size: 52px; font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; }
.hero__highlight { color: var(--teal); }
.hero__subtitle { font-size: 19px; color: var(--slate-300); line-height: 1.7; margin-bottom: 36px; max-width: 560px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero__note { font-size: 13px; color: var(--slate-400); }
.hero__visual { flex-shrink: 0; }
.hero__shield { width: 280px; height: 280px; opacity: .15; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ── Section Headers ─────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--slate-900); margin-bottom: 12px; }
.section-header p { font-size: 18px; color: var(--slate-500); max-width: 600px; margin: 0 auto; }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: var(--slate-300); }

/* ── Features ────────────────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--slate-50); }
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card__icon { font-size: 36px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: var(--slate-900); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

/* ── Plugins ─────────────────────────────────────────────────────────── */
.plugins { padding: 100px 0; background: var(--navy); }
.plugins__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.plugin-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color .2s;
}
.plugin-card:hover { border-color: var(--teal); }
.plugin-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.plugin-card__icon { font-size: 28px; }
.plugin-card h3 { font-size: 18px; font-weight: 700; color: var(--white); }
.plugin-card p { font-size: 14px; color: var(--slate-400); margin-bottom: 16px; line-height: 1.6; }
.plugin-card__features { list-style: none; }
.plugin-card__features li {
    font-size: 13px;
    color: var(--slate-300);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.plugin-card__features li::before { content: "✓ "; color: var(--teal); font-weight: 700; }

/* ── How It Works ────────────────────────────────────────────────────── */
.how-it-works { padding: 100px 0; background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; }
.step__number {
    width: 48px; height: 48px;
    background: var(--teal);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
    margin: 0 auto 16px;
}
.step h3 { font-size: 16px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--slate-500); margin-bottom: 8px; }
.step code { font-family: var(--mono); font-size: 13px; background: var(--slate-100); padding: 6px 12px; border-radius: 4px; color: var(--slate-700); }

/* ── Panels ──────────────────────────────────────────────────────────── */
.panels { padding: 80px 0; background: var(--slate-800); }
.panels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel-card {
    background: var(--slate-700);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--slate-600);
}
.panel-card h3 { color: var(--white); font-size: 20px; margin-bottom: 10px; }
.panel-card p { color: var(--slate-400); font-size: 14px; margin-bottom: 12px; }
.badge {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    padding: 4px 10px; border-radius: 12px;
}
.badge--green { background: rgba(16,185,129,.15); color: #10b981; }
.badge--gray { background: rgba(148,163,184,.15); color: var(--slate-400); }

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing { padding: 100px 0; background: var(--slate-50); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing__grid--2col { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }
.price-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 36px;
    position: relative;
    transition: box-shadow .2s;
}
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card--featured {
    border-color: var(--teal);
    box-shadow: 0 0 0 1px var(--teal), var(--shadow-lg);
    transform: scale(1.03);
}
.price-card__badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--teal); color: var(--white);
    font-size: 12px; font-weight: 700;
    padding: 4px 16px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: .5px;
}
.price-card__header { text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--slate-100); margin-bottom: 24px; }
.price-card__header h3 { font-size: 22px; color: var(--slate-900); margin-bottom: 8px; }
.price-card__price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price-card__currency { font-size: 24px; color: var(--slate-500); }
.price-card__amount { font-size: 48px; font-weight: 800; color: var(--slate-900); }
.price-card__period { font-size: 14px; color: var(--slate-500); }
.price-card__features { list-style: none; margin-bottom: 28px; }
.price-card__features li { padding: 8px 0; font-size: 14px; color: var(--slate-600); border-bottom: 1px solid var(--slate-50); }
.price-card__features li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.price-card__features li strong { color: var(--slate-900); }
.price-card__features li strong::before { content: ""; }

/* ── Download ────────────────────────────────────────────────────────── */
.download { padding: 80px 0; background: var(--navy); }
.download__content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.download__step h3 { font-size: 20px; color: var(--teal); margin-bottom: 12px; }
.download__step p { font-size: 14px; color: var(--slate-300); margin-bottom: 8px; }
.download__step strong { color: var(--white); }
.code-block {
    background: rgba(0,0,0,.3);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 12px;
    overflow-x: auto;
}
.code-block code { font-family: var(--mono); font-size: 14px; color: var(--teal); }

/* ── Comparison ──────────────────────────────────────────────────────── */
.comparison { padding: 100px 0; background: var(--white); }
.comparison__table-wrap { overflow-x: auto; }
.comparison__table { width: 100%; border-collapse: collapse; }
.comparison__table th,
.comparison__table td { padding: 14px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--slate-100); }
.comparison__table th { background: var(--slate-50); font-weight: 700; color: var(--slate-700); }
.comparison__table td { color: var(--slate-600); }
.comparison__highlight { background: rgba(36,191,179,.05); color: var(--teal-dark) !important; font-weight: 600; }
.comparison__table thead .comparison__highlight { background: var(--teal); color: var(--white) !important; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer { background: var(--slate-900); padding: 60px 0 0; }
.footer__inner { display: flex; gap: 60px; padding-bottom: 40px; }
.footer__brand { flex: 1; }
.footer__logo { height: 28px; margin-bottom: 12px; }
.footer__brand p { font-size: 14px; color: var(--slate-400); max-width: 280px; }
.footer__links { display: flex; gap: 60px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.footer__col a { font-size: 14px; color: var(--slate-400); transition: color .2s; }
.footer__col a:hover { color: var(--teal); }
.footer__bottom { border-top: 1px solid var(--slate-800); padding: 20px 0; }
.footer__bottom p { font-size: 13px; color: var(--slate-500); text-align: center; }
.footer__bottom a { color: var(--teal); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 968px) {
    .hero__title { font-size: 38px; }
    .hero__visual { display: none; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .price-card--featured { transform: none; }
    .panels__grid { grid-template-columns: 1fr; }
    .download__content { grid-template-columns: 1fr; }
    .comparison__table { font-size: 13px; }
    .footer__inner { flex-direction: column; gap: 40px; }
    .footer__links { flex-wrap: wrap; gap: 40px; }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
    }
    .nav__links--open { display: flex; }
    .nav__links a { font-size: 16px; padding: 8px 0; }
    .nav__links .btn { width: 100%; justify-content: center; }
    .nav__toggle { display: block; }
    .hero { padding: 120px 0 60px; }
    .hero__title { font-size: 30px; }
    .hero__subtitle { font-size: 16px; }
    .features__grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 28px; }
}

/* ── Plugin Showcase Pages ───────────────────────────────────────────── */
.plugin-hero {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 140px 0 80px;
}
.plugin-hero__inner { max-width: 700px; }
.plugin-hero__badge {
    display: inline-block;
    background: rgba(36,191,179,.15);
    color: var(--teal);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.plugin-hero h1 { font-size: 42px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.plugin-hero__lead { font-size: 18px; color: var(--slate-300); line-height: 1.7; margin-bottom: 32px; }
.plugin-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.plugin-features { padding: 80px 0; background: var(--slate-50); }
.plugin-features h2 { font-size: 30px; font-weight: 800; color: var(--slate-900); text-align: center; margin-bottom: 40px; }
.plugin-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.plugin-feature {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 28px;
}
.plugin-feature__icon { font-size: 32px; margin-bottom: 12px; }
.plugin-feature h3 { font-size: 17px; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.plugin-feature p { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

.plugin-details { padding: 80px 0; }
.plugin-details h2 { font-size: 28px; font-weight: 800; color: var(--slate-900); margin-bottom: 16px; }
.plugin-details h3 { font-size: 20px; font-weight: 700; color: var(--slate-800); margin: 32px 0 12px; }
.plugin-details p { font-size: 15px; color: var(--slate-600); line-height: 1.7; margin-bottom: 14px; }
.plugin-details ul { padding-left: 20px; margin-bottom: 16px; }
.plugin-details li { font-size: 14px; color: var(--slate-600); margin-bottom: 6px; line-height: 1.6; }
.plugin-details code { font-family: var(--mono); background: var(--slate-100); padding: 2px 6px; border-radius: 3px; font-size: 13px; }
.plugin-details__two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin: 24px 0; }
.plugin-details__highlight {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 24px;
}

.plugin-cta { background: var(--navy); color: var(--white); }
.plugin-cta h2 { color: var(--white); font-size: 30px; margin-bottom: 12px; }
.plugin-cta p { color: var(--slate-300); font-size: 16px; margin-bottom: 24px; }

/* ── Plugin Card Links (Landing Page) ────────────────────────────────── */
.plugin-card__link {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--teal);
    transition: color .2s;
}
.plugin-card__link:hover { color: var(--white); }

@media (max-width: 768px) {
    .plugin-features__grid { grid-template-columns: 1fr; }
    .plugin-details__two-col { grid-template-columns: 1fr; }
    .plugin-hero h1 { font-size: 30px; }
}
