/* ── ShieldFlow — Official Brand Theme ── */
/* Colors from BRANDING.md: Navy #0F172A, Blue #2563EB, Cyan #06B6D4 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0F172A;
    --bg2: #1E293B;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border: #334155;
    --text: #F8FAFC;
    --muted: #94A3B8;
    --dim: #64748b;
    --blue: #2563EB;
    --cyan: #06B6D4;
    --green: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --gradient: linear-gradient(135deg, #2563EB, #06B6D4);
    --glow: rgba(37, 99, 235, 0.15);
    --r: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Animations */
@keyframes glow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(6, 182, 212, 0.3)
    }

    50% {
        text-shadow: 0 0 40px rgba(6, 182, 212, 0.5)
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.anim,
.scroll-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: all .6s cubic-bezier(.22, 1, .36, 1);
}

.anim.visible,
.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.d1 {
    transition-delay: .1s
}

.d2 {
    transition-delay: .2s
}

.d3 {
    transition-delay: .3s
}

.d4 {
    transition-delay: .4s
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(51, 65, 85, .5);
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-shield {
    border-radius: 6px;
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a.active {
    color: #fff;
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 2px;
}

.nav-cta {
    background: var(--blue) !important;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600 !important;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(37, 99, 235, .15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 20% 80%, rgba(6, 182, 212, .08) 0%, transparent 70%),
        radial-gradient(ellipse 30% 30% at 80% 60%, rgba(124, 58, 237, .05) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--glow);
    border: 1px solid rgba(37, 99, 235, .3);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6.5vw, 68px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 20px;
}

.glow-text {
    background: linear-gradient(135deg, #2563EB, #06B6D4, #2563EB);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.metric {
    text-align: center;
}

.metric-val {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.metric-label {
    font-size: 12px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 0 24px rgba(37, 99, 235, .25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, .35);
}

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

.btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .05);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: 12px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg2);
}

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

.pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 16px;
    background: var(--glow);
    border: 1px solid rgba(37, 99, 235, .2);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pill-green {
    background: rgba(16, 185, 129, .08);
    border-color: rgba(16, 185, 129, .2);
    color: #34d399;
}

.section-header h2 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 10px;
}

.section-sub {
    font-size: 15px;
    color: var(--muted);
    max-width: 440px;
    margin: 0 auto;
}

/* Steps */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    text-align: center;
    padding: 28px;
    border-radius: var(--r);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all .3s;
}

.step:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .06);
}

.step-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 8px;
}

.step-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

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

.step-arrow {
    font-size: 24px;
    color: var(--dim);
    margin-top: 60px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px;
    border-radius: var(--r);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all .3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateY(-2px);
}

.feat-icon {
    font-size: 32px;
    margin-bottom: 12px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .04);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* Highlight Card */
.highlight-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(6, 182, 212, .04));
    border: 1px solid rgba(37, 99, 235, .15);
}

.highlight-content h2 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.highlight-content p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.highlight-content strong {
    color: #fff;
}

.platforms {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.platform {
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.cleanup-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flow-item {
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.flow-bad {
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .2);
    color: #f87171;
}

.flow-process {
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .2);
    color: #fbbf24;
}

.flow-good {
    background: rgba(16, 185, 129, .1);
    border: 1px solid rgba(16, 185, 129, .2);
    color: #34d399;
}

.flow-arrow {
    color: var(--dim);
    font-size: 18px;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.price-card {
    padding: 32px;
    border-radius: var(--r);
    background: var(--bg-card);
    border: 1px solid var(--border);
    position: relative;
    transition: all .3s;
}

.price-card:hover {
    transform: translateY(-3px);
}

.price-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.price {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--dim);
}

.price-desc {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.price-card li {
    font-size: 14px;
    color: var(--muted);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
}

.price-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

.price-card-pop {
    border-color: rgba(37, 99, 235, .3);
    background: rgba(37, 99, 235, .04);
}

.pop-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 8px;
    background: var(--gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* FAQ */
.faq-container {
    max-width: 720px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    overflow: hidden;
    transition: all .3s;
}

.faq-item[open] {
    border-color: rgba(37, 99, 235, .25);
    background: rgba(37, 99, 235, .03);
}

.faq-item summary {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--dim);
    transition: transform .2s;
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--cyan);
}

.faq-item p {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* CTA */
.section-cta {
    text-align: center;
    padding: 100px 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(37, 99, 235, .08) 0%, transparent 70%);
}

.cta-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.cta-sub {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 28px;
}

.cta-note {
    font-size: 13px;
    color: var(--dim);
    margin-top: 16px;
}

/* Footer */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-by {
    color: var(--dim);
    font-size: 13px;
    margin-left: 8px;
}

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

.footer-by a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 13px;
    color: var(--dim);
}

/* Responsive */
@media (max-width:768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .highlight-card {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width:480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        gap: 16px;
    }

    .hero-sub br {
        display: none;
    }
}