:root {
            --bg: #f8fafc;
            --surface: #ffffff;
            --text: #0f172a;
            --muted: #64748b;
            --primary: #4f46e5;
            --primary-dark: #4338ca;
            --primary-light: #eef2ff;
            --border: #e2e8f0;
            --dark: #0b1020;
            --green: #16a34a;
            --radius: 16px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
            --shadow: 0 12px 32px rgba(15, 23, 42, .06);
        }

        * {
            box-sizing: border-box;
        }

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

        body {
            margin: 0;
            font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        input {
            font: inherit;
        }

        button,
        a {
            -webkit-tap-highlight-color: transparent;
        }

        .container {
            width: min(1160px, calc(100% - 36px));
            margin: 0 auto;
        }

        /* NAVBAR */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, .95);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
        }

        .header-inner {
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            position: relative;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 22px;
            font-weight: 800;
            letter-spacing: -.6px;
            white-space: nowrap;
        }

        .brand-icon {
            width: 36px;
            height: 36px;
            display: grid;
            place-items: center;
            border-radius: 10px;
            color: #fff;
            background: linear-gradient(135deg, #6366f1, #4338ca);
            box-shadow: 0 4px 12px rgba(79, 70, 229, .25);
            font-size: 16px;
        }

        .brand-name {
            color: #0f172a;
        }

        .brand-name span {
            color: var(--primary);
        }

        /* Mobile Hamburger Toggle */
        .nav-toggle {
            display: none;
            background: none;
            border: 0;
            cursor: pointer;
            padding: 8px;
            color: #334155;
            border-radius: 8px;
        }

        .nav-toggle:focus-visible {
            outline: 2px solid var(--primary);
        }

        .nav-toggle svg {
            display: block;
        }

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

        .nav-links a.nav-item {
            font-size: 14px;
            color: #475569;
            font-weight: 600;
            transition: color .2s ease;
        }

        .nav-links a.nav-item:hover {
            color: var(--primary);
        }

        /* Auth and Action Buttons */
        .nav-auth-group {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-left: 6px;
        }

        .btn-nav-login {
            font-size: 14px;
            font-weight: 600;
            color: #334155;
            padding: 8px 14px;
            border-radius: 8px;
            transition: all .2s ease;
        }

        .btn-nav-login:hover {
            color: var(--primary);
            background: #f1f5f9;
        }

        .btn-nav-register {
            font-size: 13.5px;
            font-weight: 700;
            background: var(--primary);
            color: #fff !important;
            padding: 8px 16px;
            border-radius: 9px;
            box-shadow: 0 2px 8px rgba(79, 70, 229, .2);
            transition: all .2s ease;
        }

        .btn-nav-register:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .nav-cta {
            background: #f1f5f9;
            color: #334155 !important;
            padding: 8px 14px;
            border-radius: 9px;
            font-size: 13.5px;
            font-weight: 700;
            border: 1px solid var(--border);
            transition: all .2s ease;
        }

        .nav-cta:hover {
            background: #e2e8f0;
            color: #0f172a !important;
        }

        .account-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            color: #475569;
            border-radius: 50%;
            background: #f1f5f9;
            transition: all 0.2s ease;
        }

        .account-icon:hover {
            background-color: var(--primary-light);
            color: var(--primary);
        }

        /* GENERAL BUTTONS */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 22px;
            border: 1px solid transparent;
            border-radius: 10px;
            font-weight: 650;
            cursor: pointer;
            transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
            font-size: 14.5px;
        }

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

        .btn-primary {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 14px rgba(79, 70, 229, .28);
        }

        .btn-primary:hover {
            background: var(--primary-dark);
        }

        .btn-outline {
            background: #fff;
            border-color: var(--border);
            color: #334155;
        }

        .btn-outline:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
        }

        /* HERO */
        .hero {
            position: relative;
            overflow: hidden;
            padding: 72px 0 60px;
            background:
                radial-gradient(ellipse at 15% 15%, rgba(129, 140, 248, .12), transparent 45%),
                radial-gradient(ellipse at 85% 20%, rgba(56, 189, 248, .1), transparent 38%),
                linear-gradient(180deg, #fff 0%, #f8fafc 100%);
        }

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

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border: 1px solid #e0e7ff;
            background: rgba(255, 255, 255, .9);
            color: var(--primary-dark);
            border-radius: 20px;
            font-size: 11.5px;
            font-weight: 800;
            letter-spacing: .5px;
            text-transform: uppercase;
        }

        .eyebrow-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: 0 0 0 3px #dcfce7;
        }

        .hero h1 {
            margin: 18px 0 16px;
            font-size: clamp(32px, 4.4vw, 56px);
            line-height: 1.12;
            letter-spacing: -1.8px;
            color: #0f172a;
        }

        .gradient-text {
            background: linear-gradient(100deg, #4f46e5, #7c3aed 60%, #0284c7);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-description {
            max-width: 530px;
            font-size: 16.5px;
            color: var(--muted);
            line-height: 1.7;
            margin: 0 0 26px;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .hero-note {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--muted);
            font-size: 13px;
            margin-top: 20px;
        }

        .hero-note span {
            color: var(--green);
            font-weight: 800;
        }

        /* PREVIEW DASHBOARD */
        .preview-wrap {
            position: relative;
            width: 100%;
        }

        .preview-glow {
            position: absolute;
            inset: 10% 5%;
            background: #818cf8;
            filter: blur(60px);
            opacity: .18;
            pointer-events: none;
        }

        .preview {
            position: relative;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .preview-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 18px;
            border-bottom: 1px solid var(--border);
            background: #fafbfc;
        }

        .window-dots {
            display: flex;
            gap: 6px;
        }

        .window-dots i {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            display: block;
        }

        .window-dots i:nth-child(1) { background: #fb7185; }
        .window-dots i:nth-child(2) { background: #fbbf24; }
        .window-dots i:nth-child(3) { background: #4ade80; }

        .preview-label {
            color: #64748b;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .4px;
        }

        .preview-content {
            padding: 18px;
        }

        .preview-title-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
        }

        .preview-title-row h3 {
            margin: 0;
            font-size: 16px;
        }

        .demo-badge {
            color: #64748b;
            background: #f1f5f9;
            border-radius: 6px;
            padding: 3px 6px;
            font-size: 10px;
            font-weight: 700;
        }

        .preview-url {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8fafc;
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 12px;
            color: #64748b;
            word-break: break-all;
        }

        .preview-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin: 14px 0;
        }

        .preview-stat {
            padding: 10px;
            border: 1px solid var(--border);
            border-radius: 8px;
            background: #fff;
            text-align: center;
        }

        .preview-stat small {
            display: block;
            font-size: 10.5px;
            color: #64748b;
            margin-bottom: 3px;
        }

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

        .stat-purple { color: #6366f1; }
        .stat-red { color: #e11d48; }
        .stat-green { color: #16a34a; }

        .issue-list {
            display: grid;
            gap: 8px;
        }

        .issue-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 8px;
        }

        .issue-symbol {
            width: 28px;
            height: 28px;
            display: grid;
            place-items: center;
            border-radius: 6px;
            background: #fff1f2;
            color: #e11d48;
            font-weight: 800;
            font-size: 12px;
            flex-shrink: 0;
        }

        .issue-symbol.warning {
            background: #fff7ed;
            color: #ea580c;
        }

        .issue-symbol.info-icon {
            background: #eef2ff;
            color: #4f46e5;
        }

        .issue-text {
            flex: 1;
            min-width: 0;
        }

        .issue-text strong {
            display: block;
            font-size: 12px;
            color: #1e293b;
        }

        .issue-text small {
            display: block;
            font-size: 10.5px;
            color: #64748b;
        }

        .issue-level {
            padding: 3px 6px;
            border-radius: 5px;
            font-size: 9px;
            font-weight: 800;
            background: #fff1f2;
            color: #be123c;
        }

        .issue-level.medium {
            background: #fff7ed;
            color: #c2410c;
        }

        .preview-footer {
            margin-top: 12px;
            padding: 9px 12px;
            border-radius: 8px;
            background: #f5f3ff;
            color: #5b21b6;
            font-size: 11px;
            font-weight: 600;
        }

        /* TRUST STRIP */
        .trust-strip {
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .trust-inner {
            min-height: 75px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 18px 42px;
            padding: 16px 0;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #475569;
            font-size: 13.5px;
            font-weight: 650;
        }

        .trust-icon {
            color: var(--primary);
            font-size: 17px;
        }

        /* FEATURES & WORKFLOW */
        .section {
            padding: 70px 0;
        }

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

        .section-kicker {
            color: var(--primary);
            font-size: 11.5px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-heading h2 {
            font-size: clamp(26px, 3.5vw, 36px);
            letter-spacing: -1px;
            line-height: 1.25;
            margin: 10px 0;
        }

        .section-heading p {
            color: var(--muted);
            font-size: 15.5px;
            margin: 0;
        }

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

        .feature-card {
            padding: 24px;
            border-radius: var(--radius);
            background: #fff;
            border: 1px solid var(--border);
            transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
        }

        .feature-card:hover {
            transform: translateY(-3px);
            border-color: #cbd5e1;
            box-shadow: var(--shadow-sm);
        }

        .feature-icon {
            display: grid;
            place-items: center;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 20px;
            margin-bottom: 16px;
        }

        .feature-icon.teal { background: #ecfeff; color: #0891b2; }
        .feature-icon.orange { background: #fff7ed; color: #ea580c; }
        .feature-icon.pink { background: #fff1f2; color: #e11d48; }
        .feature-icon.green { background: #f0fdf4; color: #16a34a; }

        .feature-card h3 {
            font-size: 17px;
            margin: 0 0 8px;
        }

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

        .workflow-section {
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

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

        .step-card {
            padding: 22px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: #fff;
        }

        .step-number {
            display: grid;
            place-items: center;
            width: 36px;
            height: 36px;
            background: var(--primary-light);
            color: var(--primary);
            border-radius: 10px;
            font-weight: 800;
            font-size: 14px;
            margin-bottom: 16px;
        }

        .step-card h3 {
            margin: 0 0 8px;
            font-size: 16px;
        }

        .step-card p {
            margin: 0;
            color: var(--muted);
            font-size: 13.5px;
        }

        /* SCANNER PANEL */
        .scanner-section {
            padding: 70px 0;
            background:
                radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, .06), transparent 55%),
                #f8fafc;
        }

        .scanner-card {
            max-width: 760px;
            margin: 0 auto;
            padding: 32px;
            border: 1px solid var(--border);
            border-radius: 20px;
            background: #fff;
            box-shadow: var(--shadow);
        }

        .scanner-card-heading {
            text-align: center;
            margin-bottom: 24px;
        }

        .scanner-card-heading h2 {
            font-size: 26px;
            margin: 8px 0 6px;
            letter-spacing: -.6px;
        }

        .scanner-card-heading p {
            margin: 0;
            color: var(--muted);
            font-size: 14px;
        }

        .scanner-label {
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: #334155;
            margin-bottom: 8px;
        }

        .url-input-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 5px 6px 5px 14px;
            background: #fff;
            transition: border-color .15s ease, box-shadow .15s ease;
        }

        .url-input-wrap:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
        }

        .url-symbol {
            color: #94a3b8;
            font-size: 17px;
        }

        .url-input-wrap input {
            flex: 1;
            min-width: 0;
            border: 0;
            outline: 0;
            padding: 10px 4px;
            color: #0f172a;
            font-size: 14px;
            background: transparent;
        }

        .scanner-help {
            color: #94a3b8;
            font-size: 12px;
            margin: 8px 0 0;
        }

        .scanner-divider {
            display: flex;
            align-items: center;
            gap: 14px;
            color: #94a3b8;
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: .5px;
            margin: 24px 0;
        }

        .scanner-divider::before,
        .scanner-divider::after {
            content: "";
            height: 1px;
            flex: 1;
            background: var(--border);
        }

        .protected-toggle {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            text-align: left;
            padding: 14px 16px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #fff;
            cursor: pointer;
            transition: background-color .15s ease;
        }

        .protected-toggle:hover {
            background: #f8fafc;
        }

        .protected-toggle-main {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .protected-toggle-icon {
            display: grid;
            place-items: center;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            background: #f1f5f9;
            font-size: 16px;
            flex-shrink: 0;
        }

        .protected-toggle strong {
            display: block;
            font-size: 14px;
            color: #1e293b;
        }

        .protected-toggle small {
            display: block;
            color: var(--muted);
            font-size: 12px;
        }

        .toggle-arrow {
            color: var(--muted);
            font-size: 18px;
            font-weight: 600;
        }

        .protected-section {
            display: none;
            margin-top: 16px;
            padding: 20px;
            background: #f8fafc;
            border: 1px solid var(--border);
            border-radius: 14px;
        }

        .protected-section h3 {
            margin: 0 0 6px;
            font-size: 17px;
        }

        .protected-description {
            margin: 0 0 16px;
            color: var(--muted);
            font-size: 13px;
        }

        .info {
            padding: 12px 14px;
            background: #eff6ff;
            border-left: 3px solid var(--primary);
            border-radius: 6px;
            color: #334155;
            font-size: 12px;
            margin-bottom: 16px;
        }

        .form-field {
            margin-bottom: 14px;
        }

        .form-field input {
            display: block;
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 9px;
            padding: 11px 12px;
            outline: 0;
            background: #fff;
            color: #0f172a;
            font-size: 14px;
        }

        .form-field input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
        }

        .form-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 18px;
        }

        .cancel-button {
            background: #fff;
            border-color: var(--border);
            color: #475569;
        }

        /* CALL TO ACTION & FOOTER */
        .cta-section {
            padding: 68px 0;
            background: var(--dark);
            color: #fff;
            text-align: center;
        }

        .cta-section h2 {
            max-width: 600px;
            margin: 0 auto 12px;
            font-size: clamp(26px, 3.5vw, 36px);
            letter-spacing: -.8px;
        }

        .cta-section p {
            max-width: 540px;
            margin: 0 auto 22px;
            color: #94a3b8;
            font-size: 15px;
        }

        .cta-section .btn {
            background: #fff;
            color: var(--primary-dark);
            font-weight: 700;
        }

        .cta-section .btn:hover {
            background: #f1f5f9;
        }

        .site-footer {
            padding: 26px 0;
            background: #fff;
            border-top: 1px solid var(--border);
        }

        .footer-top {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;
            padding-bottom: 22px;
        }

        .footer-brand {
            max-width: 320px;
        }

        .footer-brand p {
            color: var(--muted);
            font-size: 13px;
            margin: 8px 0 0;
        }

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

        .footer-links a {
            font-size: 13px;
            color: var(--muted);
            transition: color .15s ease;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-bottom {
            border-top: 1px solid var(--border);
            padding-top: 18px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            color: #94a3b8;
            font-size: 12px;
        }

        /* RESPONSIVE BREAKPOINTS */
        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero-copy {
                text-align: center;
            }

            .hero-description {
                margin-inline: auto;
            }

            .hero-actions {
                justify-content: center;
            }

            .hero-note {
                justify-content: center;
            }

            .preview-wrap {
                max-width: 560px;
                margin: 0 auto;
            }

            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: 72px;
                left: -18px;
                right: -18px;
                background: #fff;
                flex-direction: column;
                align-items: stretch;
                padding: 16px 20px 24px;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
                gap: 12px;
            }

            .nav-links.is-open {
                display: flex;
            }

            .nav-links a.nav-item {
                padding: 10px 0;
                font-size: 15px;
                border-bottom: 1px solid #f1f5f9;
            }

            .nav-auth-group {
                margin: 8px 0 0 0;
                flex-direction: column;
                width: 100%;
                gap: 8px;
            }

            .btn-nav-login,
            .btn-nav-register,
            .nav-cta {
                width: 100%;
                text-align: center;
                padding: 12px;
            }

            .footer-top {
                flex-direction: column;
            }
        }

        @media (max-width: 560px) {
            .container {
                width: calc(100% - 28px);
            }

            .hero {
                padding: 44px 0 36px;
            }

            .hero-actions {
                flex-direction: column;
            }

            .hero-actions .btn {
                width: 100%;
            }

            .feature-grid,
            .steps-grid {
                grid-template-columns: 1fr;
            }

            .scanner-card {
                padding: 20px 16px;
            }

            .url-input-wrap {
                flex-direction: column;
                align-items: stretch;
                padding: 10px;
            }

            .url-input-wrap input {
                padding: 8px 4px;
            }

            .url-input-wrap button {
                width: 100%;
            }

            .form-actions {
                grid-template-columns: 1fr;
            }

            .preview-stats {
                grid-template-columns: repeat(3, 1fr);
                gap: 5px;
            }

            .preview-stat strong {
                font-size: 17px;
            }

            .issue-level {
                display: none;
            }

            .footer-bottom {
                flex-direction: column;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            html {
                scroll-behavior: auto;
            }

            *,
            *::before,
            *::after {
                animation-duration: .01ms !important;
                transition-duration: .01ms !important;
            }
        }

/* Extracted inline styles */
.preview-status {
    margin-left: auto;
    color: #64748b;
}

.scanner-heading-icon {
    margin: 0 auto 12px;
}

.scanner-disclaimer {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    margin: 18px 0 0;
}
