/* Ultra-Modern 3D DNA Platform - Next-Gen OSINT Interface */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

:root {
    /* Ultra-Modern Color Palette - Cyberpunk Inspired */
    --primary-bg: #030712;
    --secondary-bg: #0f1419;
    --tertiary-bg: #1e293b;
    --accent-primary: #00f5ff;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #06ffa5;
    --accent-quaternary: #ff0080;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-accent: #00f5ff;
    --text-gradient: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 50%, #06ffa5 100%);
    
    /* Advanced Shadow System */
    --shadow-glow-primary: 0 0 30px rgba(0, 245, 255, 0.4);
    --shadow-glow-secondary: 0 0 30px rgba(139, 92, 246, 0.4);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-neumorphic: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    
    /* DNA & Particle Colors */
    --dna-strand-1: #00f5ff;
    --dna-strand-2: #8b5cf6;
    --dna-strand-3: #06ffa5;
    --dna-base-1: #ff0080;
    --dna-base-2: #ffaa00;
    
    /* Advanced Animation Curves */
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-elastic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
    
    /* Neumorphism Variables */
    --neuro-light: rgba(255, 255, 255, 0.05);
    --neuro-dark: rgba(0, 0, 0, 0.3);
    --neuro-inset-light: rgba(255, 255, 255, 0.1);
    --neuro-inset-dark: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    body {
    background: 
        radial-gradient(ellipse at top, var(--secondary-bg) 0%, var(--primary-bg) 70%),
        linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
        color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
        overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    scroll-behavior: smooth;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 100px; /* Compensate for fixed navbar */
}

/* Ensure all paragraphs use proper text color */
p {
    color: var(--text-secondary);
}

/* Search Results Page Styles */
.search-results-header {
    background: linear-gradient(135deg, var(--tertiary-bg) 0%, var(--secondary-bg) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.search-query-display {
    margin: 2rem 0;
}

.search-query-display .badge {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-glow-primary);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { box-shadow: var(--shadow-glow-primary); }
    100% { box-shadow: 0 0 40px rgba(0, 245, 255, 0.6); }
}

.search-results-content {
    background: var(--primary-bg);
}

#loadingState {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* DNA Loading Animation */
.dna-loading-animation {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.dna-helix-loading {
    position: relative;
    width: 100%;
    height: 100%;
    animation: rotate 2s linear infinite;
}

.dna-strand-loading {
    position: absolute;
    width: 4px;
    height: 20px;
    background: var(--accent-primary);
    border-radius: 2px;
    box-shadow: var(--shadow-glow-primary);
}

.dna-strand-loading:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: strand1 2s ease-in-out infinite;
}

.dna-strand-loading:nth-child(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: strand2 2s ease-in-out infinite;
}

.dna-strand-loading:nth-child(3) {
    bottom: 0;
    right: 0;
    animation: strand3 2s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes strand1 {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(1.5); opacity: 0.7; }
}

@keyframes strand2 {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.7; }
}

@keyframes strand3 {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

@keyframes progress-animation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

#loadingState .spinner-border {
    border-width: 0.25rem;
    box-shadow: var(--shadow-glow-primary);
}

#errorState {
    border: 1px solid rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.1);
    backdrop-filter: blur(10px);
}

#resultsContainer .card {
    background: var(--tertiary-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all 0.3s var(--ease-elastic);
    margin-bottom: 1.5rem;
}

#resultsContainer .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-secondary);
}

#resultsContainer .card.border-danger {
    border-color: rgba(220, 53, 69, 0.5) !important;
    background: rgba(220, 53, 69, 0.05);
}

#resultsContainer .card.border-danger .card-header {
    background: rgba(220, 53, 69, 0.8) !important;
}

#resultsContainer .card .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-elastic);
}

#resultsContainer .card .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-primary);
}

/* Search Results Action Buttons */
.search-results-content .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s var(--ease-elastic);
    position: relative;
    overflow: hidden;
}

.search-results-content .btn-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.search-results-content .btn-lg:hover::before {
    left: 100%;
}

.search-results-content .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-primary);
}

/* Alert Styling */
.alert {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 15px;
}

.alert-warning {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.1);
}

.alert-danger {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.1);
}

#resultsContainer .card-header {
    border-bottom: 1px solid var(--glass-border);
    font-weight: 600;
}

.nav-tabs {
    border-bottom: 1px solid var(--glass-border);
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    background: transparent;
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s var(--ease-elastic);
}

.nav-tabs .nav-link:hover {
    color: var(--text-accent);
    background: var(--glass-bg);
}

.nav-tabs .nav-link.active {
    color: var(--text-accent);
    background: var(--glass-bg);
    border-bottom: 2px solid var(--accent-primary);
}

.tab-content {
    padding: 2rem 0;
}

.tech-badge {
    display: inline-block;
    background: var(--glass-bg);
    color: var(--text-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 0.25rem;
    border: 1px solid var(--glass-border);
}

.stats-counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    font-family: 'Orbitron', monospace;
    text-shadow: var(--shadow-glow-primary);
    margin-bottom: 1rem;
}

/* Override for specific elements that should be brighter */
.card-body p,
.feature-card p {
    color: var(--text-secondary);
}

/* Hero text should be brighter */
.main-hero p {
    color: var(--text-secondary);
}

/* Advanced Multi-Layer Background System */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(0, 245, 255, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 45% 10%, rgba(6, 255, 165, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 70% 50%, rgba(255, 0, 128, 0.03) 0%, transparent 45%);
    z-index: -2;
    animation: bgPulse 25s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300f5ff' fill-opacity='0.02'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zM10 10c0-11.046 8.954-20 20-20s20 8.954 20 20-8.954 20-20 20-20-8.954-20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    animation: meshMove 30s linear infinite;
    opacity: 0.3;
}

@keyframes bgPulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    33% { 
        opacity: 0.8; 
        transform: scale(1.02);
    }
    66% { 
        opacity: 0.4; 
        transform: scale(0.98);
    }
}

@keyframes meshMove {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    33% { transform: translateX(-20px) translateY(-20px) rotate(120deg); }
    66% { transform: translateX(20px) translateY(-40px) rotate(240deg); }
    100% { transform: translateX(0) translateY(0) rotate(360deg); }
}

/* Ultra-Modern Sticky Navigation with Neumorphism */
.navbar {
    background: linear-gradient(135deg, 
        rgba(3, 7, 18, 0.95) 0%, 
        rgba(15, 20, 25, 0.98) 100%) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0;
    transition: all 0.4s var(--ease-expo);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 20%, 
        var(--accent-secondary) 50%, 
        var(--accent-tertiary) 80%, 
        transparent 100%);
    opacity: 0.6;
    animation: navGlow 3s ease-in-out infinite;
}

@keyframes navGlow {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 0.8; transform: scaleX(1); }
}

.navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(3, 7, 18, 0.98) 0%, 
        rgba(15, 20, 25, 1) 100%) !important;
    box-shadow: 
        var(--shadow-glow-primary),
        0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 0.8rem 0;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.6rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.3));
    transition: all 0.4s var(--ease-bounce);
    position: relative;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    transition: width 0.4s var(--ease-expo);
}

.navbar-brand:hover {
    transform: scale(1.08) rotateX(10deg);
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
}

.navbar-brand:hover::after {
    width: 100%;
}

.nav-link {
    position: relative;
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.9rem 1.5rem !important;
    transition: all 0.3s var(--ease-elastic);
    border-radius: 12px;
    margin: 0 0.2rem;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, 
        var(--accent-primary) 0%, 
        var(--accent-secondary) 50%, 
        var(--accent-tertiary) 100%);
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    transition: all 0.4s var(--ease-expo);
    transform: translate(-50%, -50%);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    transition: width 0.3s var(--ease-expo);
}

.nav-link:hover {
    color: var(--text-primary) !important;
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
}

.nav-link:hover::before {
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-accent) !important;
    background: rgba(0, 245, 255, 0.1);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 20px rgba(0, 245, 255, 0.2);
}

.nav-link.active::after {
    width: 100%;
}

/* Ultra-Modern Hero Section with Advanced 3D Effects */
    .main-hero {
    min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    padding: 2rem 1rem;
    position: relative;
    perspective: 2000px;
    overflow: hidden;
}

.main-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        conic-gradient(from 0deg at 50% 50%, 
            rgba(0, 245, 255, 0.03) 0deg, 
            rgba(139, 92, 246, 0.03) 60deg, 
            rgba(6, 255, 165, 0.03) 120deg, 
            rgba(255, 0, 128, 0.03) 180deg, 
            rgba(255, 170, 0, 0.03) 240deg, 
            rgba(0, 245, 255, 0.03) 300deg, 
            rgba(139, 92, 246, 0.03) 360deg);
    animation: heroRotate 40s linear infinite;
    z-index: -1;
    opacity: 0.6;
}

.main-hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(0, 245, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 50%, 
        transparent 100%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    z-index: -1;
}

@keyframes heroRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1) translate(0, 0); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.2) translate(-10px, 10px); 
        opacity: 0.6; 
    }
}

    .main-hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    background: var(--text-gradient);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    animation: 
        gradientShift 6s ease-in-out infinite,
        textFloat 8s ease-in-out infinite,
        textGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.main-hero h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 245, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(6, 255, 165, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: -1;
    filter: blur(2px);
    transform: translate(2px, 2px);
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
        filter: hue-rotate(0deg);
    }
    33% { 
        background-position: 100% 50%; 
        filter: hue-rotate(60deg);
    }
    66% { 
        background-position: 50% 100%; 
        filter: hue-rotate(-60deg);
    }
}

@keyframes textFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotateX(5deg) rotateY(2deg); 
    }
    50% { 
        transform: translateY(-8px) rotateX(-2deg) rotateY(-1deg); 
    }
    75% { 
        transform: translateY(-12px) rotateX(3deg) rotateY(1deg); 
    }
}

@keyframes textGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(0, 245, 255, 0.3)); 
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.6)); 
    }
}

    .main-hero p {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 700px;
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s var(--ease-expo) 0.3s both;
}

.main-hero p::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    transform: translateX(-50%);
    border-radius: 1px;
    animation: lineGrow 1s var(--ease-expo) 1.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) rotateX(10deg);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
        filter: blur(0px);
    }
}

@keyframes lineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 60px;
        opacity: 1;
    }
}

/* Ultra-Modern Neumorphic Search Card with Advanced 3D Effects */
    .search-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 4rem 3rem;
    max-width: 600px;
        width: 100%;
        margin: 0 auto;
    box-shadow: 
        var(--shadow-neumorphic),
        0 0 60px rgba(0, 245, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: all 0.5s var(--ease-bounce);
    animation: cardFloat 10s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.search-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--accent-primary) 0%, 
        var(--accent-secondary) 25%, 
        var(--accent-tertiary) 50%, 
        var(--accent-quaternary) 75%, 
        var(--accent-primary) 100%);
    background-size: 400% 400%;
    border-radius: 34px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s var(--ease-expo);
    animation: borderGradient 8s ease-in-out infinite;
}

.search-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: left 0.6s var(--ease-expo);
    z-index: 1;
    pointer-events: none;
}

.search-card:hover::before {
    opacity: 0.6;
}

.search-card:hover::after {
    left: 100%;
}

@keyframes borderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes cardFloat {
    0%, 100% { 
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-8px) rotateX(3deg) rotateY(2deg) scale(1.01); 
    }
    50% { 
        transform: translateY(-5px) rotateX(-2deg) rotateY(-1deg) scale(1.005); 
    }
    75% { 
        transform: translateY(-12px) rotateX(1deg) rotateY(1deg) scale(1.02); 
    }
}

.search-card:hover {
    transform: translateY(-20px) rotateX(8deg) scale(1.03);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 245, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

    .search-card label {
        font-size: 1.1rem;
    color: var(--text-accent);
    margin-bottom: 1rem;
        display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
}

.search-card label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    border-radius: 1px;
    animation: labelGlow 2s ease-in-out infinite;
}

@keyframes labelGlow {
    0%, 100% { opacity: 0.6; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

.search-card input[type="text"], 
.search-card select {
    width: 100%;
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 1.3rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        rgba(0, 0, 0, 0.05) 100%);
    color: var(--text-primary);
    margin-bottom: 2rem;
    transition: all 0.4s var(--ease-bounce);
    backdrop-filter: blur(12px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.search-card input[type="text"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.search-card input[type="text"]:focus::placeholder {
    opacity: 0.4;
    transform: translateY(-2px);
}

.search-card input[type="text"]:focus, 
.search-card select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: linear-gradient(145deg, 
        rgba(0, 245, 255, 0.05) 0%, 
        rgba(139, 92, 246, 0.03) 100%);
    box-shadow: 
        0 0 0 3px rgba(0, 245, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 8px 25px rgba(0, 245, 255, 0.15);
    transform: translateY(-3px) scale(1.02);
}

.search-card input[type="text"]:hover,
.search-card select:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.search-card .form-text {
        color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

    .search-card .btn-primary {
        width: 100%;
        font-size: 1.2rem;
    padding: 1.2rem 0;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
        font-weight: 600;
        border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-tertiary));
    transition: left 0.3s ease;
}

    .search-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.4),
        0 0 20px rgba(124, 58, 237, 0.3);
}

.search-card .btn-primary:hover::before {
    left: 0;
}

.search-card .btn-primary span {
    position: relative;
    z-index: 1;
}

/* Modern Feature Cards with 3D Transform */
.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-20px) rotateX(10deg) rotateY(5deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 212, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
        transition: all 0.3s ease;
    }

.feature-card:hover h4 {
    color: var(--text-accent);
    text-shadow: 0 0 8px rgba(0, 245, 255, 0.3);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

    .feature-icon {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    filter: drop-shadow(0 0 10px var(--accent-primary));
}

/* DNA Helix Animation */
.dna-helix {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 100px;
    height: 200px;
    transform: translateY(-50%);
    animation: helixRotate 10s linear infinite;
}

@keyframes helixRotate {
    0% { transform: translateY(-50%) rotateY(0deg); }
    100% { transform: translateY(-50%) rotateY(360deg); }
}

.dna-strand {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--dna-strand-1), var(--dna-strand-2));
    border-radius: 1px;
    animation: strandPulse 2s ease-in-out infinite alternate;
}

.dna-strand:nth-child(1) {
    left: 20px;
    transform: rotateY(0deg);
}

.dna-strand:nth-child(2) {
    right: 20px;
    transform: rotateY(180deg);
}

@keyframes strandPulse {
    0% { opacity: 0.6; transform: scaleY(1); }
    100% { opacity: 1; transform: scaleY(1.1); }
}

/* Stats Section with 3D Counters */
.stats-counter {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
}

.stats-counter:hover {
    transform: scale(1.1) rotateX(10deg);
    filter: drop-shadow(0 5px 15px rgba(0, 212, 255, 0.3));
}

/* Tech Badges with Modern Design */
.tech-badge {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0.3rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-primary);
}

.tech-badge:hover::before {
    left: 100%;
}

/* Methodology Steps with 3D Effect */
.methodology-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.methodology-step:hover {
    transform: translateX(10px);
}

.methodology-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.methodology-step:hover::before {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* Particle Network Enhancement */
#particle-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* Smaller padding for mobile */
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.6rem 0;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .nav-link {
        padding: 0.7rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .main-hero {
        padding: 2rem 1rem;
        min-height: 90vh; /* Adjust for fixed header */
    }
    
    .search-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .feature-card:hover {
        transform: translateY(-10px);
    }
    
    .dna-helix {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-tertiary));
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.methodology-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-neumorphic);
    transition: all 0.4s var(--ease-expo);
}

.methodology-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-neumorphic),
        0 0 40px rgba(0, 245, 255, 0.1);
}

.methodology-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.methodology-step:hover {
    background: rgba(0, 245, 255, 0.05);
    transform: translateX(10px);
}

.step-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 2rem;
    min-width: 60px;
    text-align: center;
}

.step-content h4 {
    color: var(--text-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.about-content {
    padding: 2rem;
}

.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.application-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.app-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.app-item:hover {
    background: rgba(0, 245, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.app-icon {
    background: var(--text-gradient);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.app-icon i {
    color: white;
    font-size: 1.2rem;
}

.app-content h5 {
    color: var(--text-accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.app-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.commitment-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-neumorphic);
    transition: all 0.4s var(--ease-expo);
}

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-neumorphic),
        0 0 40px rgba(0, 245, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.2);
}

.compliance-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.compliance-header i {
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.compliance-badges .badge {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.85rem;
}

.disclaimer {
    background: rgba(255, 170, 0, 0.1) !important;
    border-color: rgba(255, 170, 0, 0.3) !important;
    color: var(--text-secondary) !important;
}

.cta-section {
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow-neumorphic);
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 180px;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s var(--ease-bounce);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Homepage CTA Section */
.cta-home-section {
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: var(--shadow-neumorphic);
    position: relative;
    overflow: hidden;
}

.cta-home-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, 
        rgba(0, 245, 255, 0.02) 0deg, 
        rgba(139, 92, 246, 0.02) 120deg, 
        rgba(6, 255, 165, 0.02) 240deg, 
        rgba(0, 245, 255, 0.02) 360deg);
    animation: ctaRotate 20s linear infinite;
    z-index: -1;
}

@keyframes ctaRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-home-section h3 {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.cta-home-section .btn {
    padding: 1.2rem 2.5rem;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.4s var(--ease-bounce);
    position: relative;
    overflow: hidden;
}

.cta-home-section .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.cta-home-section .btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-home-section .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Performance Optimizations for Homepage */
.main-hero,
.feature-card,
.search-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduced motion for performance */
@media (prefers-reduced-motion: no-preference) {
    .main-hero h1 {
        animation-duration: 6s, 8s, 3s;
    }
    
    .search-card {
        animation-duration: 10s;
    }
    
    .feature-card {
        transition-duration: 0.4s;
    }
}

/* Mobile Responsiveness for About Page */
@media (max-width: 768px) {
.methodology-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .app-item {
        flex-direction: column;
        text-align: center;
    }
    
    .app-icon {
        margin: 0 auto 1rem auto;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Ultra-Modern Footer Styles */
.footer {
    background: linear-gradient(135deg, 
        var(--primary-bg) 0%, 
        var(--secondary-bg) 50%, 
        var(--tertiary-bg) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 20%, 
        var(--accent-secondary) 50%, 
        var(--accent-tertiary) 80%, 
        transparent 100%);
    opacity: 0.6;
}

.footer-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 245, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 40%);
    animation: footerPulse 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes footerPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.footer-brand h5 {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s var(--ease-bounce);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.social-link:hover {
    color: white;
    transform: translateY(-2px) scale(1.1);
    border-color: var(--accent-primary);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.footer-title {
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    margin: 3rem 0 2rem 0;
}

.footer-bottom-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.security-badge {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.security-badge:hover {
    background: rgba(0, 245, 255, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.contact-info {
    padding: 1rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.contact-item i {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Legal Pages Styling */
.legal-hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.legal-meta .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.legal-section h4 {
    color: var(--text-primary);
    margin: 1.5rem 0 1rem 0;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Navigation for legal pages */
.terms-nav, .privacy-nav, .disclaimer-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    top: 120px;
}

.terms-nav .nav-link,
.privacy-nav .nav-link,
.disclaimer-nav .nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.terms-nav .nav-link:hover,
.privacy-nav .nav-link:hover,
.disclaimer-nav .nav-link:hover,
.terms-nav .nav-link.active,
.privacy-nav .nav-link.active,
.disclaimer-nav .nav-link.active {
    color: var(--text-accent);
    transform: translateX(5px);
}

/* Contact Page Styling */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 245, 255, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: white;
}

.contact-link {
    display: block;
    color: var(--text-accent);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.contact-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form-card .card-header {
    background: linear-gradient(45deg, rgba(0, 245, 255, 0.1), rgba(139, 92, 246, 0.1));
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem;
}

.contact-form-card .card-body {
    padding: 2rem;
}

.contact-form .form-label {
    color: var(--text-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.2);
    color: var(--text-primary);
}

.support-hours, .response-times {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s var(--ease-expo);
    box-shadow: var(--shadow-neumorphic);
}

.support-hours:hover, .response-times:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-neumorphic),
        0 0 40px rgba(0, 245, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.2);
}

.hours-grid, .response-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item, .response-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent-primary);
}

.response-item.critical { border-left-color: #dc3545; }
.response-item.high { border-left-color: #fd7e14; }
.response-item.medium { border-left-color: #ffc107; }
.response-item.low { border-left-color: #20c997; }

.office-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 245, 255, 0.15);
}

.office-location {
    border-left: 3px solid var(--accent-primary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.office-location:hover {
    border-left-color: var(--accent-secondary);
    transform: translateX(5px);
}

.office-location h6 {
    color: var(--text-accent);
    margin-bottom: 0.5rem;
}

.office-note {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-benefits p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Compliance Page Styling */
.certification-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: white;
}

.cert-details {
    margin: 1rem 0;
}

.cert-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.cert-status.valid {
    background: rgba(32, 201, 151, 0.2);
    color: #20c997;
}

.cert-expiry {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.framework-section {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.framework-list {
    list-style: none;
    padding: 0;
}

.framework-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.regulation-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.regulation-header h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.audit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.audit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    color: white;
}

.documentation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.doc-item {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.doc-item:hover {
    transform: translateX(5px);
    border-color: var(--accent-primary);
}

.doc-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
}

.transparency-stats {
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Warning and highlight boxes */
.highlight-box, .warning-box, .professional-use-box, 
.liability-warning, .no-warranties-box, .compliance-warning,
.third-party-disclaimer, .security-responsibility,
.indemnification-clause {
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.warning-box, .liability-warning, .no-warranties-box, .compliance-warning {
    background: rgba(255, 193, 7, 0.05);
    border-color: rgba(255, 193, 7, 0.3);
}

.important-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 1.5rem;
}

.security-certifications {
    margin: 2rem 0;
}

.cert-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cert-badge {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.rights-contact, .contact-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.privacy-tool-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.privacy-tool-link:hover {
    color: var(--text-accent);
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}

/* Mobile Footer Responsiveness */
@media (max-width: 768px) {
    .footer-badges {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .security-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-text {
        text-align: center;
        margin-bottom: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

