:root {
    --primary-color: #1a202c;
    --secondary-color: #2d3748;
    --accent-color: #667eea;
    --success-color: #48bb78;
    --danger-color: #f56565;
    --warning-color: #ed8936;
    --light-bg: #f7fafc;
    --dark-bg: #1a202c;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 8px 32px rgba(31, 38, 135, 0.15);
    --shadow-heavy: 0 20px 40px rgba(31, 38, 135, 0.25);
    --border-radius: 20px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

/* Selection Styling */
::selection {
    background: var(--accent-color);
    color: white;
}

::-moz-selection {
    background: var(--accent-color);
    color: white;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Removed blinking animation */
}

.neon-text {
    color: #66f0ff; /* softer cyan */
    text-shadow: 
        0 0 2px rgba(0, 230, 255, 0.6),
        0 0 5px rgba(0, 230, 255, 0.5),
        0 0 8px rgba(0, 179, 204, 0.4);
    animation: neonPulse 3s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    0% {
        text-shadow: 
            0 0 2px rgba(0, 230, 255, 0.6),
            0 0 5px rgba(0, 230, 255, 0.5),
            0 0 8px rgba(0, 179, 204, 0.4);
    }
    100% {
        text-shadow: 
            0 0 5px rgba(0, 230, 255, 0.8),
            0 0 10px rgba(0, 230, 255, 0.7),
            0 0 15px rgba(0, 179, 204, 0.6),
            0 0 20px rgba(0, 179, 204, 0.5);
    }
}



/* Removed gradientShift animation - no longer needed */

.btn-gradient {
    background: var(--gradient-1);
    border: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    perspective: 1000px; /* Added 3D perspective */
    transform-style: preserve-3d; /* Enable 3D transforms */
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn-gradient:hover::before {
    left: 0;
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.02) rotateX(5deg); /* Enhanced 3D hover */
    color: white;
    box-shadow: 
        var(--shadow-heavy),
        0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-gradient:active {
    transform: translateY(-1px) scale(0.98) rotateX(2deg); /* 3D active state */
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0, 0, 0); }
    40%, 43% { transform: translate3d(0, -30px, 0); }
    70% { transform: translate3d(0, -15px, 0); }
    90% { transform: translate3d(0, -4px, 0); }
}

.bounce {
    animation: bounce 2s infinite;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Slide In Left Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

/* Navbar Styles */
.navbar-glass {
    background: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-glass.scrolled {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    color: white !important;
    text-decoration: none;
    margin-right: auto;
    margin-left: 0;
}

.navbar .container {
    justify-content: flex-start;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: white !important;
}

.navbar-brand i {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

.navbar-brand .navbar-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 0;
    display: inline-block;
    vertical-align: middle;
}

.navbar-brand .gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border-radius: 8px;
    margin: 0 0.25rem;
    text-decoration: none;
}

.nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-btn {
    background: var(--gradient-1) !important;
    color: white !important;
    border-radius: 25px;
    padding: 10px 25px !important;
    margin-left: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.nav-btn:hover::before {
    left: 0;
}

.nav-btn:hover {
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-toggler i {
    color: white;
    font-size: 1.2rem;
}

/* Mobile navbar improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(26, 32, 44, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 1.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .nav-btn {
        margin: 1rem auto 0 auto;
        display: inline-flex;
        justify-content: center;
    }
}

/* Ensure proper z-index for navbar */
.navbar {
    z-index: 1050;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    padding: 180px 0 120px;
    color: white;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/><circle cx="700" cy="800" r="80" fill="url(%23a)"/></svg>');
    animation: floatBg 20s linear infinite;
    opacity: 0.3;
}

@keyframes floatBg {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    perspective: 1000px; /* Added 3D perspective */
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat3D linear infinite;
    opacity: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(102, 126, 234, 0.3));
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    z-index: 1;
    will-change: transform, opacity; /* Optimize for animation */
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-90vh) scale(1);
    }
    100% {
        transform: translateY(-100vh) scale(0.5);
        opacity: 0;
    }
}

/* Continuous particle animation */
.particle {
    animation-iteration-count: infinite !important;
    animation-fill-mode: forwards;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.reason-list,
.signal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reason-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
}

.reason-list li i {
    margin-top: 3px;
    color: #43e97b;
}

.signal-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.95);
}

.signal-list li strong {
    color: #e2e8f0;
    font-weight: 700;
}

.decision-reason-box {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    line-height: 1.45;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out;
}

.hero-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-3);
    margin: 20px 0;
    border-radius: 2px;
    animation: slideInLeft 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
    margin-top: 0.5rem;
}

.floating {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Circular Security Image */
.hero-image-container {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    perspective: 1000px; /* Added 3D perspective */
}

.hero-image-container img {
    border-radius: 50%;
    width: 500px;
    height: 500px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 20px;
    box-shadow: 
        0 0 50px rgba(102, 126, 234, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.1); /* Enhanced 3D shadow */
    transform-style: preserve-3d; /* Enable 3D transforms */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-image-container img:hover {
    transform: rotateY(15deg) rotateX(5deg) translateZ(50px); /* 3D hover effect */
    box-shadow: 
        0 0 60px rgba(102, 126, 234, 0.5),
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(1deg); }
    50% { transform: translateY(-40px) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(-1deg); }
}

/* Hero Button Enhancement */
.hero-section .btn-gradient {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Analysis Results */
.analysis-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.analysis-card.loading {
    border: 2px solid var(--accent-color);
}

.analysis-card.error {
    border: 2px solid var(--danger-color);
    background-color: rgba(231, 76, 60, 0.05);
}

.analysis-card.safe {
    border: 2px solid var(--success-color);
    background-color: rgba(46, 204, 113, 0.05);
}

.analysis-card.dangerous {
    border: 2px solid var(--danger-color);
    background-color: rgba(231, 76, 60, 0.05);
}

/* Risk level indicators */
.risk-level {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.risk-level i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.risk-level.with-icon {
    padding-left: 0.75rem;
}

.risk-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: white;
    border-radius: 6px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.risk-summary-text {
    flex: 1;
    margin-right: 1rem;
}

.risk-summary-text h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.risk-summary-text p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.risk-level.high {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.risk-level.medium {
    background-color: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.risk-level.low {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

/* Error message styling */
.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--danger-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    color: var(--danger-color);
}

.error-message i {
    margin-right: 0.5rem;
}

/* Risk factor items */
.risk-factors-list li {
    color: var(--secondary-color);
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.risk-factors-list li:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transform: translateX(5px);
}

.risk-factors-list li i {
    width: 20px;
    text-align: center;
    margin-right: 0.75rem;
}

.result-header {
    background: rgba(0, 0, 0, 0.02);
}

.result-header h3 {
    color: var(--primary-color);
    font-weight: 600;
}

.result-header p {
    color: var(--secondary-color);
}

.result-body {
    color: var(--primary-color);
}

.stat-item h5 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.stat-item p {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.risk-factors-list li {
    color: var(--secondary-color);
    padding: 0.5rem 0;
}

.text-muted {
    color: var(--secondary-color) !important;
    opacity: 0.8;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    transition: width 0.6s ease;
}

.progress-bar-success {
    background-color: var(--success-color);
}

.progress-bar-warning {
    background-color: #f39c12;
}

.progress-bar-danger {
    background-color: var(--danger-color);
}

.progress-label {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-value {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.detection-badges .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.stat-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Feature Analysis Section */
.feature-analysis {
    padding: 1.5rem;
    background-color: rgba(52, 152, 219, 0.05);
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.feature-analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

.feature-analysis-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.feature-analysis-summary {
    background-color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.feature-analysis h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 6px;
    background-color: white;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon.positive {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
}

.feature-icon.negative {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
}

.feature-icon.neutral {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
}

.feature-content {
    flex: 1;
}

.feature-name {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.feature-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.feature-value {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-value i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.feature-value.with-icon {
    padding-left: 0.5rem;
}

.feature-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.feature-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.feature-stat-item:hover {
    transform: translateY(-2px);
}

.feature-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.feature-value.positive {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--success-color);
    font-weight: 600;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.feature-value.negative {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
    font-weight: 600;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.feature-value.neutral {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
    font-weight: 600;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.05);
}

.detection-badges .badge {
    padding: 8px 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.risk-factors-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.risk-factors-list li:last-child {
    border-bottom: none;
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.features-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    color: white;
    perspective: 1000px; /* Added 3D perspective */
    transform-style: preserve-3d; /* Enable 3D transforms */
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-3);
    opacity: 0;
    transition: all 0.4s ease;
    transform: rotate(45deg);
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02) rotateY(5deg) rotateX(2deg); /* Enhanced 3D hover */
    box-shadow: 
        0 25px 50px rgba(31, 38, 135, 0.3),
        0 10px 20px rgba(102, 126, 234, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-1);
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: var(--gradient-2);
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
}

/* Examples Section */
.examples-section {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.examples-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.examples-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    z-index: 2;
}

.examples-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.examples-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
}

.examples-card.trusted::before {
    background: var(--gradient-4);
}

.examples-card.malicious::before {
    background: var(--gradient-2);
}

.examples-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.examples-card h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.examples-card h3 i {
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted h3 i {
    color: var(--success-color);
    background: rgba(72, 187, 120, 0.2);
    animation: pulse 2s infinite;
}

.malicious h3 i {
    color: var(--danger-color);
    background: rgba(245, 101, 101, 0.2);
    animation: pulse 2s infinite;
}

.examples-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.examples-list li {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: white;
    position: relative;
    overflow: hidden;
}

.examples-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.examples-list li:hover::before {
    left: 0;
}

.examples-list li:hover {
    transform: translateX(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.examples-list li i {
    margin-right: 1rem;
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.examples-list li span {
    flex: 1;
    font-weight: 500;
}

.examples-list li small {
    opacity: 0.7;
    font-size: 0.85rem;
    margin-left: auto;
    padding-left: 1rem;
}

/* Check Section */
.check-section {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    position: relative;
}

.check-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(240, 147, 251, 0.15) 0%, transparent 40%);
    z-index: 1;
}

.check-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
}

.check-card {
    border-radius: 25px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.25);
    position: relative;
    z-index: 2;
}

.input-group {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.input-group-text {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border-radius: 20px 0 0 20px;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
}

.form-control {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: none;
    border-color: transparent;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.check-section .btn-gradient {
    border-radius: 0 20px 20px 0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.checker-mode-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.1rem;
}

.checker-mode-btn {
    border: 1px solid transparent;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.checker-mode-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.checker-mode-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.check-mode-panel {
    display: none;
}

.check-mode-panel.active {
    display: block;
}

.qr-upload-panel {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.qr-upload-title {
    color: #ffffff;
    font-weight: 700;
}

.check-section .btn-outline-light {
    border-radius: 0 14px 14px 0;
    font-weight: 600;
    white-space: nowrap;
}

.email-check-panel {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.email-input {
    width: 100%;
    resize: vertical;
    border-radius: 14px;
    min-height: 160px;
}

.sms-input {
    width: 100%;
    resize: vertical;
    border-radius: 14px;
    min-height: 140px;
}

.email-examples-quickbar {
    margin-top: 1rem;
}

.email-examples-popup {
    margin-top: 0.8rem;
}

.sms-examples-quickbar {
    margin-top: 1rem;
}

.sms-examples-popup {
    margin-top: 0.8rem;
}

.email-example-item {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem;
    background: rgba(9, 20, 32, 0.45);
    display: grid;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.email-example-item:last-child {
    margin-bottom: 0;
}

.email-example-note {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #9cd4ff;
    margin-bottom: 0.25rem;
}

.email-example-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.93);
    font-size: 0.9rem;
    line-height: 1.45;
}

.email-example-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.email-example-actions .btn {
    border-radius: 9px;
    font-weight: 600;
}

.qr-examples-section {
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.qr-examples-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: #ffffff;
    margin-bottom: 0.9rem;
}

.qr-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 0.85rem;
}

.qr-example-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 16, 24, 0.52);
    padding: 0.75rem;
    color: #eaf3fb;
}

.qr-example-card.trusted {
    border-color: rgba(53, 223, 154, 0.4);
}

.qr-example-card.malicious {
    border-color: rgba(255, 123, 140, 0.4);
}

.qr-example-top {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.qr-type-badge {
    width: fit-content;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.qr-type-badge.trusted {
    background: rgba(53, 223, 154, 0.18);
    color: #35df9a;
}

.qr-type-badge.malicious {
    background: rgba(255, 123, 140, 0.2);
    color: #ff7b8c;
}

.qr-example-note {
    font-size: 0.82rem;
    opacity: 0.9;
}

.qr-code-box {
    width: 132px;
    height: 132px;
    margin: 0 auto 0.6rem;
    display: grid;
    place-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 2px;
}

.qr-code-box img,
.qr-code-box canvas {
    max-width: 100%;
    max-height: 100%;
}

.qr-example-url {
    font-size: 0.74rem;
    word-break: break-all;
    margin-bottom: 0.55rem;
    opacity: 0.85;
    min-height: 2.2rem;
}

.download-qr-btn {
    width: 100%;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .checker-mode-bar {
        grid-template-columns: 1fr;
    }
}

.examples-quickbar {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.example-pill {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.example-pill:hover,
.example-pill.active {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.55);
}

.example-pill.trusted i {
    color: #35df9a;
}

.example-pill.malicious i {
    color: #ff7b8c;
}

.examples-popup {
    margin-top: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1rem;
    animation: fadeInUp 0.25s ease;
}

.examples-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.examples-popup-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.examples-popup-close {
    border: 0;
    background: rgba(255, 255, 255, 0.15);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
}

.example-url-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0.6rem;
}

.example-url-item:last-child {
    margin-bottom: 0;
}

.example-url-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.example-url-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.example-url-note {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
}

.copy-example-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-radius: 9px;
    padding: 0.45rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.copy-example-btn:hover {
    background: rgba(255, 255, 255, 0.24);
}

/* Result Card */
.result-card {
    padding: 2.5rem;
    border-radius: 25px;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.2);
    margin-top: 2rem;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-header i {
    animation: bounce 2s infinite;
}

.status-text {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confidence-meter {
    margin-bottom: 2rem;
}

.confidence-meter small {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    opacity: 0.8;
}

.progress {
    height: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    background: var(--gradient-1);
    transition: width 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    0% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
    100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.8); }
}

.url-info {
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.url-detail-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--gradient-1);
    transition: all 0.3s ease;
}

.url-detail-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.detail-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-age,
.ssl-status {
    font-size: 1.1rem;
    font-weight: 600;
}

.risk-factors {
    list-style: none;
    padding: 0;
    margin: 0;
}

.risk-factors li {
    padding: 0.5rem 0;
    opacity: 0.9;
    position: relative;
    padding-left: 1.5rem;
}

.risk-factors li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--danger-color);
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(67, 233, 123, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(79, 172, 254, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3.5rem;
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.25);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, var(--gradient-1), var(--gradient-3), var(--gradient-1));
    opacity: 0.05;
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-section h2.gradient-text {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: none;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    /* Removed blinking animation */
}

.contact-section .subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.contact-form .btn-gradient {
    padding: 15px 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.contact-info {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover::before {
    left: 0;
}

.contact-item:hover {
    transform: translateX(10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1) rotateY(360deg);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

.contact-item span {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer,
.footer * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(240, 147, 251, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.footer-top {
    padding: 100px 0 60px;
    position: relative;
    z-index: 2;
}

.footer-info {
    position: relative;
}

.footer-info h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    background: none;
    color: #66f0ff;
    -webkit-text-fill-color: #66f0ff;
}

.footer-info h3 i {
    color: #2fe7ff;
    -webkit-text-fill-color: #2fe7ff;
}

.footer-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    font-weight: 300;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-links h4 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: inline-block;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover::before {
    width: 100%;
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(10px);
}

.footer-newsletter {
    position: relative;
}

.footer-newsletter h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-newsletter p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.policy-display {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    min-height: 120px;
}

.policy-display .policy-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.policy-display .policy-body,
.policy-display .policy-placeholder {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 1;
}

.newsletter-form {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 120px 1rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: white;
    box-shadow: none;
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    border-radius: 20px;
    padding: 0 25px;
    font-weight: 600;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-weight: 300;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links a.active {
    color: #ffffff;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features-section h2,
    .examples-section h2,
    .contact-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: center;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .navbar-nav {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 1rem;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 140px 0 80px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .footer-info, 
    .footer-links, 
    .footer-newsletter {
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .check-card {
        padding: 2rem;
    }
    
    .features-section h2,
    .examples-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
    }

    .examples-quickbar {
        flex-direction: column;
    }

    .example-pill {
        justify-content: center;
    }
    
    .input-group-text,
    .form-control,
    .check-section .btn-gradient {
        border-radius: 15px !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .examples-card,
    .contact-card,
    .check-card {
        padding: 1.5rem;
    }
    
    .features-section,
    .examples-section,
    .check-section,
    .contact-section {
        padding: 80px 0;
    }
    
    .footer-top {
        padding: 60px 0 40px;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 300px;
    max-width: 500px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left: 4px solid var(--success-color);
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(0, 0, 0, 0.95));
}

.toast-error {
    border-left: 4px solid var(--danger-color);
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1), rgba(0, 0, 0, 0.95));
}

.toast-warning {
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1), rgba(0, 0, 0, 0.95));
}

.toast-info {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(0, 0, 0, 0.95));
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Page Loading States */
.page-loading * {
    pointer-events: none;
}

.page-loaded {
    animation: none;
}

/* Enhanced Input Focus States */
.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3) !important;
}

.btn:focus,
.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4) !important;
}

/* Loading States for Buttons */
.btn:disabled {
    opacity: 0.7;
    transform: none !important;
    cursor: not-allowed;
}

/* Enhanced Card Animations */
.card-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.3);
}

/* Stagger Animation for Lists */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerFadeIn 0.6s ease-out forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Backgrounds */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        min-width: auto;
        max-width: none;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    .parallax-bg {
        position: static;
        width: 100%;
        height: 100%;
    }
    
    .animated-bg {
        background-size: 200% 200%;
    }
    
    .particle {
        display: none; /* Hide particles on mobile for performance */
    }
    
    .hero-particles {
        display: none;
    }
    
    /* Reduce motion for better performance on mobile */
    .glow-effect::before {
        animation: none;
    }
    
    .floating {
        animation-duration: 10s;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .examples-card h3,
    .contact-section h2 {
        font-size: 1.5rem;
    }
    
    /* Optimize button sizes for mobile */
    .btn-gradient {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .nav-btn {
        padding: 8px 20px !important;
        font-size: 0.9rem;
    }
}

/* High DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before,
    .features-section::before,
    .examples-section::before {
        background-size: 50px 50px;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .parallax-bg {
        transform: none !important;
    }
    
    .animated-bg {
        animation: none;
        background: var(--gradient-1);
    }
}

/* Hover Effects for Cards */
.card-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.3);
}

/* Glow Effects */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(102, 126, 234, 0.3), transparent);
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.glow-effect::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

/* Analysis Result Styles */
.analysis-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    color: white;
    animation: slideInUp 0.5s ease-out;
}

.analysis-card.loading {
    border-color: var(--accent-color);
    animation: pulse 2s infinite;
}

.analysis-card.error {
    border-color: var(--danger-color);
    background: rgba(245, 101, 101, 0.1);
}

.analysis-card.safe {
    border-color: var(--success-color);
    background: rgba(72, 187, 120, 0.1);
}

.analysis-card.dangerous {
    border-color: var(--danger-color);
    background: rgba(245, 101, 101, 0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Webkit Browsers */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
}

/* Cyber circuit background theme (first-image style) */
:root {
    --accent-color: #5fe8ff;
    --gradient-1: linear-gradient(135deg, #11313a 0%, #0a1d24 100%);
    --gradient-2: linear-gradient(135deg, #18424d 0%, #0d232b 100%);
    --gradient-3: linear-gradient(135deg, #2e7a89 0%, #1a4651 100%);
    --gradient-4: linear-gradient(135deg, #1f5a67 0%, #12313a 100%);
}

body {
    background: #070d12 !important;
}

.animated-bg {
    background:
        radial-gradient(circle at 50% 50%, rgba(208, 246, 255, 0.18) 0%, rgba(120, 177, 196, 0.08) 22%, transparent 44%),
        linear-gradient(90deg, transparent 0%, rgba(89, 223, 255, 0.08) 16%, transparent 18%, transparent 82%, rgba(89, 223, 255, 0.08) 84%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(102, 233, 255, 0.08) 10%, transparent 12%, transparent 88%, rgba(102, 233, 255, 0.08) 90%, transparent 100%),
        repeating-linear-gradient(0deg, rgba(130, 235, 255, 0.07) 0px, rgba(130, 235, 255, 0.07) 1px, transparent 1px, transparent 34px),
        repeating-linear-gradient(90deg, rgba(130, 235, 255, 0.06) 0px, rgba(130, 235, 255, 0.06) 1px, transparent 1px, transparent 34px),
        linear-gradient(180deg, #0c1e27 0%, #09161d 38%, #071017 100%) !important;
    animation: none !important;
    filter: contrast(1.08) brightness(0.92);
}

.animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 26%, rgba(114, 237, 255, 0.16) 0, rgba(114, 237, 255, 0) 16%),
        radial-gradient(circle at 78% 24%, rgba(114, 237, 255, 0.13) 0, rgba(114, 237, 255, 0) 14%),
        radial-gradient(circle at 20% 80%, rgba(114, 237, 255, 0.13) 0, rgba(114, 237, 255, 0) 13%),
        radial-gradient(circle at 81% 77%, rgba(114, 237, 255, 0.15) 0, rgba(114, 237, 255, 0) 16%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02));
    pointer-events: none;
}

.animated-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0 12%, rgba(99, 235, 255, 0.1) 12% 12.35%, transparent 12.35% 39%, rgba(99, 235, 255, 0.07) 39% 39.25%, transparent 39.25% 61%, rgba(99, 235, 255, 0.08) 61% 61.3%, transparent 61.3% 86%, rgba(99, 235, 255, 0.1) 86% 86.4%, transparent 86.4% 100%),
        linear-gradient(180deg, transparent 0 14%, rgba(99, 235, 255, 0.09) 14% 14.3%, transparent 14.3% 47%, rgba(99, 235, 255, 0.07) 47% 47.2%, transparent 47.2% 72%, rgba(99, 235, 255, 0.08) 72% 72.25%, transparent 72.25% 100%);
    opacity: 0.6;
    pointer-events: none;
}

.features-section,
.examples-section,
.check-section,
.contact-section {
    background: rgba(5, 11, 16, 0.38) !important;
}

.features-section::before,
.examples-section::before,
.check-section::before,
.contact-section::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(230, 248, 255, 0.09), rgba(230, 248, 255, 0) 52%),
        rgba(0, 0, 0, 0.2) !important;
    background-size: auto !important;
}

.hero-particles,
.particle {
    display: none !important;
}

/* Home hero uses the uploaded cybersecurity image */
.hero-section {
    background: url('/static/images/closed-padlock-on-digital-background-cyber-security-free-vector.jpg') center center / cover no-repeat !important;
}

.hero-section::before {
    background: linear-gradient(
        90deg,
        rgba(7, 14, 22, 0.82) 0%,
        rgba(7, 14, 22, 0.62) 44%,
        rgba(7, 14, 22, 0.48) 66%,
        rgba(7, 14, 22, 0.72) 100%
    ) !important;
    opacity: 1 !important;
    animation: none !important;
}

/* Home section text should not be selectable/copyable */
#home,
#home * {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Features section text should not be selectable/copyable */
#features,
#features * {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Keep key section headings uncopyable (without locking form inputs) */
#check .check-card > h2,
#contact .contact-card > h2,
#contact .contact-card > .subtitle {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Home text: monochrome with subtle readability effects */
.hero-title,
.hero-title .neon-text {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow:
        0 6px 20px rgba(0, 0, 0, 0.7),
        0 0 16px rgba(255, 255, 255, 0.16);
}

.hero-title .neon-text {
    font-weight: 800;
    filter: none;
    color: #35dfff !important;
    -webkit-text-fill-color: #35dfff !important;
    animation: none !important;
    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.55),
        0 0 12px rgba(53, 223, 255, 0.55);
}

.hero-subtitle,
.stat-label {
    color: rgba(245, 245, 245, 0.9) !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
}

.stat-number {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow:
        0 4px 12px rgba(0, 0, 0, 0.7),
        0 0 12px rgba(255, 255, 255, 0.12);
}

/* Home hero stats: compact text cards */
.hero-stats {
    gap: 1.6rem;
    margin-top: 2.4rem;
}

.hero-stats .stat-item {
    min-width: 160px;
}

.hero-stats .stat-number {
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
}

.hero-stats .stat-label {
    font-size: 0.84rem;
    line-height: 1.25;
    margin-top: 0.35rem;
}

@media (max-width: 992px) {
    .hero-stats .stat-item {
        min-width: 0;
    }
}

/* Navbar brand visibility */
.navbar-brand .gradient-text {
    background: none !important;
    color: #f8fbff !important;
    -webkit-text-fill-color: #f8fbff !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.22);
}

.navbar-brand i {
    background: none !important;
    color: #e7edf3 !important;
    -webkit-text-fill-color: #e7edf3 !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.16);
}

/* Make the features title fully white instead of gradient */
.features-section h2.gradient-text {
    background: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Features section uses dedicated image background */
.features-section {
    background: url('/static/images/features.jpg') center center / cover no-repeat !important;
}

.features-section::before {
    background:
        radial-gradient(
            220px 180px at 99% 99%,
            rgba(4, 10, 16, 0.98) 0%,
            rgba(4, 10, 16, 0.92) 45%,
            rgba(4, 10, 16, 0.58) 78%,
            rgba(4, 10, 16, 0) 100%
        ),
        linear-gradient(
            180deg,
            rgba(4, 10, 16, 0.72) 0%,
            rgba(4, 10, 16, 0.58) 50%,
            rgba(4, 10, 16, 0.76) 100%
        ) !important;
    opacity: 1 !important;
}

/* Screenshot-style URL result card */
.result-card-modern {
    margin-top: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(66, 231, 174, 0.55);
    background: linear-gradient(145deg, rgba(198, 226, 255, 0.2), rgba(240, 192, 255, 0.2));
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 22px 50px rgba(22, 24, 65, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #f6f8ff;
}

.result-card-modern.loading-state {
    border-color: rgba(145, 198, 255, 0.8);
}

.modern-result-header {
    text-align: center;
    padding: 2.25rem 2rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-result-header i {
    font-size: 2rem;
    margin-bottom: 0.7rem;
    color: #4ee29b;
}

.modern-result-header h3 {
    margin-bottom: 0.45rem;
    font-size: 2.15rem;
    font-weight: 700;
    color: #f8fbff;
}

.modern-result-header p {
    margin: 0;
    font-size: 1.3rem;
    color: rgba(240, 244, 255, 0.85);
    word-break: break-all;
}

.modern-result-body {
    padding: 2rem;
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modern-result-column h5 {
    color: #eef4ff;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.22rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.modern-progress-track {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.modern-progress-fill {
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #20c997, #29ea8e);
    transition: width 0.9s ease;
}

.modern-progress-fill.loading-bar {
    background: linear-gradient(90deg, #70a1ff, #5f7cff);
    animation: loadingPulse 1.6s ease-in-out infinite;
}

@keyframes loadingPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.risk-meta-row {
    margin-top: 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.risk-label.risk-low {
    color: #29dd89;
}

.risk-label.risk-medium {
    color: #ffd065;
}

.risk-label.risk-high {
    color: #ff8f8f;
}

.risk-value {
    color: rgba(244, 247, 255, 0.92);
}

.modern-progress-fill.risk-low {
    background: linear-gradient(90deg, #24c98f, #48f1a9);
}

.modern-progress-fill.risk-medium {
    background: linear-gradient(90deg, #f6b73c, #ffd86b);
}

.modern-progress-fill.risk-high {
    background: linear-gradient(90deg, #ff6b6b, #ff9c74);
}

.domain-grid {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.7rem;
}

.domain-item {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    color: rgba(236, 244, 255, 0.9);
    font-size: 1.02rem;
}

.domain-item i {
    color: #36d8f5;
}

.method-badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.method-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9px;
    background: linear-gradient(130deg, #13b7ff, #3fd2f2);
    color: #ffffff;
    padding: 0.44rem 0.85rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.verdict-explainer {
    margin-top: 0.6rem;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
}

.verdict-explainer.safe {
    border-color: rgba(67, 233, 123, 0.35);
    background: linear-gradient(140deg, rgba(67, 233, 123, 0.12), rgba(46, 204, 113, 0.08));
}

.verdict-explainer.risky {
    border-color: rgba(255, 120, 117, 0.38);
    background: linear-gradient(140deg, rgba(255, 120, 117, 0.12), rgba(255, 107, 107, 0.08));
}

.modern-risk-factors {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.modern-risk-factors li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(236, 244, 255, 0.92);
}

.check-another-btn {
    border-radius: 12px;
    border-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
    .modern-result-header h3 {
        font-size: 1.75rem;
    }

    .modern-result-header p {
        font-size: 1.1rem;
    }

    .modern-result-body {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .modern-result-header {
        padding: 1.5rem 1.1rem 1.2rem;
    }

    .modern-result-header h3 {
        font-size: 1.45rem;
    }

    .modern-result-header p {
        font-size: 0.98rem;
    }

    .modern-result-column h5 {
        font-size: 1.05rem;
    }

    .risk-meta-row,
    .domain-item,
    .modern-risk-factors li {
        font-size: 0.93rem;
    }
}