/* ============================================
   NAMZ CRYPTER - PREMIUM DESIGN SYSTEM
   Ultra-Premium Unified Styles
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #ff0055;
    --primary-light: #ff4081;
    --primary-dark: #cc0044;
    
    /* Secondary Colors */
    --secondary-color: #00ff9d;
    --accent-color: #00d4ff;
    --purple-color: #a855f7;
    --orange-color: #ff6b00;
    
    /* Background Colors */
    --bg-dark: #030308;
    --bg-darker: #010103;
    --card-bg: rgba(15, 15, 20, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.03);
    
    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #8a8a9a;
    --text-secondary: rgba(255, 255, 255, 0.7);
    
    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-primary: rgba(255, 0, 85, 0.2);
    --border-accent: rgba(0, 212, 255, 0.2);
    
    /* Glow Effects */
    --glow-primary: 0 0 40px rgba(255, 0, 85, 0.3);
    --glow-secondary: 0 0 40px rgba(0, 255, 157, 0.3);
    --glow-accent: 0 0 40px rgba(0, 212, 255, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(255, 0, 85, 0.2);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 0, 85, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 85, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* ===== FLOATING ORBS ===== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: orbFloat 15s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -3s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

/* ===== NAVBAR ULTRA PREMIUM ===== */
.navbar {
    background: linear-gradient(180deg, rgba(3, 3, 8, 0.95) 0%, rgba(3, 3, 8, 0.85) 100%);
    backdrop-filter: blur(30px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 85, 0.5), rgba(0, 212, 255, 0.5), transparent);
    opacity: 0.6;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(3, 3, 8, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4081 50%, #ff0055 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.4);
    transition: all 0.4s ease;
}

.brand-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.navbar-brand:hover .brand-icon::before {
    transform: translateX(100%);
}

.navbar-brand:hover .brand-icon {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 8px 30px rgba(255, 0, 85, 0.6);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text-main {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Nav Items Container */
.nav-items-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-decoration: none;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 85, 0.1) 0%, rgba(255, 64, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 25px;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 0, 85, 0.15);
}

.nav-link i {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: all 0.3s;
}

.nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Nav Dot Indicator */
.nav-link .nav-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover .nav-dot,
.nav-link.active .nav-dot {
    opacity: 1;
    transform: scale(1);
}

/* ===== BUTTONS ===== */
.btn-login {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    text-decoration: none;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-1px);
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4081 100%);
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    margin-left: 15px;
}

.btn-nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-nav-cta:hover::before {
    transform: translateX(100%);
}

.btn-nav-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 0, 85, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    color: #fff;
}

/* Status Indicator */
.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 20px;
}

.nav-status-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--secondary-color);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== GLASSMORPHISM CARDS ===== */
.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 0, 85, 0.2);
    box-shadow: var(--shadow-glow);
}

/* ===== SECTION STYLES ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid rgba(255, 0, 85, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FORM STYLES ===== */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-select {
    background-color: #0a0a12;
    color: #ffffff;
}

.form-select option {
    background-color: #0a0a12;
    color: #ffffff;
    padding: 10px;
}

.form-select option:hover,
.form-select option:focus,
.form-select option:checked {
    background-color: #1a1a2e;
    color: #ffffff;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 85, 0.15);
    color: var(--text-main);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* ===== BUTTONS STYLES ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border: none;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 0, 85, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ===== BADGES & TAGS ===== */
.badge-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-lifetime {
    background: linear-gradient(135deg, var(--purple-color), #c084fc);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-free {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===== SCROLL REVEAL ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== UTILITY CLASSES ===== */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
}

.border-glow {
    border: 1px solid var(--border-primary);
    box-shadow: var(--shadow-glow);
}

/* Main Content Offset for Fixed Navbar */
.main-content {
    padding-top: 100px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .nav-items-wrapper {
        background: transparent;
        border: none;
        padding: 0;
        flex-direction: column;
        gap: 5px;
        margin-top: 20px;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 15px 20px !important;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
    }

    .nav-status {
        margin: 15px 0;
        justify-content: center;
    }

    .btn-login {
        width: 100%;
        justify-content: center;
        margin: 10px 0;
    }

    .btn-nav-cta {
        width: 100%;
        justify-content: center;
        margin: 10px 0 0 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ===== SCROLLBAR CUSTOM ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 85, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 85, 0.5); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* ===== FOOTER ===== */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

.footer-brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

.footer-brand:hover {
    color: #fff;
}

.footer-desc {
    color: var(--text-muted);
    max-width: 300px;
    line-height: 1.7;
}

.footer-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

/* ===== DETECTION SCORE STYLES ===== */
.detection-info {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--purple-color);
}

.detection-info small {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Detection score badge colors */
.detection-very-low {
    color: #00ff9d !important;
}

.detection-low {
    color: #7fff00 !important;
}

.detection-medium {
    color: #ffa500 !important;
}

.detection-high {
    color: #ff4444 !important;
}

/* Form select optgroup styling */
.form-select optgroup {
    background: #1a1a2e;
    color: var(--purple-color);
    font-weight: 600;
    font-style: normal;
    padding: 5px 0;
}
