/* ════════════════════════════════════════════════════════════
   FakeSite Hunter — Professional Dark Theme
   ════════════════════════════════════════════════════════════ */

/* ──── Reset & Base ──── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ──── HEADER / NAVBAR ──── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.logo-highlight {
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 12px 0;
    font-size: 15px;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-menu a:hover {
    color: #ffffff;
}

/* ──── HERO SECTION ──── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    color: #9ca3af;
    max-width: 680px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* ──── SCAN BOX ──── */
.scan-box {
    max-width: 640px;
    margin: 0 auto 48px;
}

.scan-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px 6px 6px 18px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.scan-input-wrapper:focus-within {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-icon {
    color: #6b7280;
    flex-shrink: 0;
    margin-right: 12px;
}

.scan-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    padding: 12px 0;
    min-width: 0;
}

.scan-input::placeholder {
    color: #4b5563;
}

.scan-btn {
    flex-shrink: 0;
    padding: 12px 28px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.scan-btn:hover {
    background: linear-gradient(135deg, #5558e6, #6d28d9);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.scan-btn:active {
    transform: translateY(0);
}

.scan-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.scan-btn.loading .btn-text {
    display: none;
}

.scan-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.scan-hint {
    margin-top: 14px;
    font-size: 13px;
    color: #4b5563;
}

.hint-url {
    color: #6366f1;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 12px;
    background: rgba(99, 102, 241, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.hint-url:hover {
    color: #a78bfa;
    background: rgba(99, 102, 241, 0.15);
}

.hint-sep {
    margin: 0 8px;
    color: #2d2d3d;
}

/* ──── RESULT CARDS ──── */
.result-container {
    max-width: 560px;
    margin: 0 auto;
}

.result-card {
    display: none;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    animation: fadeSlideUp 0.5s ease;
}

.result-card.active {
    display: block;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.result-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.result-icon-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.result-icon-safe {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.result-icon-warn {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.result-label {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.result-label-danger { color: #ef4444; }
.result-label-safe   { color: #22c55e; }
.result-label-warn   { color: #f59e0b; }

.result-url {
    font-size: 13px;
    color: #6b7280;
    word-break: break-all;
    margin-bottom: 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 8px;
}

.result-confidence {
    font-size: 15px;
    color: #d1d5db;
    margin-bottom: 8px;
    font-weight: 600;
}

.result-engines {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.result-phishing {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.result-warning {
    font-size: 13px;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    padding: 14px 20px;
    border-radius: 10px;
    line-height: 1.6;
}

.result-legitimate {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.result-safe-msg {
    font-size: 13px;
    color: #86efac;
    background: rgba(34, 197, 94, 0.08);
    padding: 14px 20px;
    border-radius: 10px;
    line-height: 1.6;
}

.result-error {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.result-error-msg {
    font-size: 13px;
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.08);
    padding: 14px 20px;
    border-radius: 10px;
    line-height: 1.6;
}

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

.section-alt {
    background: rgba(255, 255, 255, 0.015);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.section-subtitle {
    font-size: 16px;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ──── HOW IT WORKS STEPS ──── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    width: 52px;
    height: 52px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    margin-bottom: 20px;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 16px;
}

.step-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* ──── FEATURES GRID ──── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    margin-bottom: 16px;
}

.feature-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

/* ──── STATS BAR ──── */
.stats-bar {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #c084fc, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ──── CONTACT ──── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    margin: 0 auto 16px;
}

.contact-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 13px;
    color: #9ca3af;
}

/* ──── FOOTER ──── */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 48px 0 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 32px;
}

.footer-left {
    max-width: 360px;
}

.footer-desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 14px;
    line-height: 1.7;
}

.footer-right {
    display: flex;
    gap: 28px;
}

.footer-right a {
    font-size: 14px;
    color: #6b7280;
    transition: color 0.3s;
}

.footer-right a:hover {
    color: #a78bfa;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #4b5563;
}

/* ──── RESPONSIVE — TABLET ──── */
@media (max-width: 968px) {
    .hero-title {
        font-size: 38px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ──── RESPONSIVE — MOBILE ──── */
@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: -0.8px;
    }

    .hero-description {
        font-size: 15px;
    }

    .scan-input-wrapper {
        flex-direction: column;
        padding: 12px;
        gap: 10px;
    }

    .input-icon {
        display: none;
    }

    .scan-input {
        width: 100%;
        padding: 10px 4px;
    }

    .scan-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .scan-hint {
        display: none;
    }

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

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .result-card {
        padding: 28px 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 28px;
    }

    .footer-right {
        flex-direction: column;
        gap: 12px;
    }
}

/* ──── SCROLLBAR ──── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: #1e1e2e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d2d3d;
}

/* ──── SELECTION ──── */
::selection {
    background: rgba(99, 102, 241, 0.3);
    color: #ffffff;
}
