/* Custom styling for the image metadata extractor app inspired by Synctec */

/* Common styles and variables */
:root {
    --primary-gradient: linear-gradient(135deg, #6e47ff, #4f37b9);
    --secondary-gradient: linear-gradient(135deg, #ff4b6e, #b731a5);
    --dark-bg: #0d0d13;
    --card-bg: rgba(25, 25, 35, 0.7);
    --accent-color: #6e47ff;
    --accent-secondary: #ff4b6e;
}

body {
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(72, 45, 119, 0.2) 0%, rgba(0, 0, 0, 0) 20%),
        radial-gradient(circle at 90% 80%, rgba(110, 71, 255, 0.2) 0%, rgba(0, 0, 0, 0) 30%);
    background-attachment: fixed;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

/* Disable scrolling when loading screen is active */
body.no-scroll {
    overflow: hidden;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.2s cubic-bezier(0.65, 0, 0.35, 1), visibility 1.2s cubic-bezier(0.65, 0, 0.35, 1);
    overflow: hidden;
    opacity: 1;
    visibility: visible;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.loading-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 120px;
    font-weight: 600;
    letter-spacing: -4px;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #6e47ff, #b731a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite alternate;
    text-transform: uppercase;
    filter: drop-shadow(0 0 8px rgba(110, 71, 255, 0.5));
}

.loading-tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: fadeIn 2s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 20px rgba(110, 71, 255, 0.3), 0 0 40px rgba(110, 71, 255, 0.2);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 40px rgba(110, 71, 255, 0.5), 0 0 80px rgba(110, 71, 255, 0.3);
        transform: scale(1.05);
    }
}

.loading-spinner {
    margin-top: 1rem;
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25rem;
    border-color: rgba(110, 71, 255, 0.3);
    border-right-color: var(--accent-color);
    animation-duration: 1.5s;
    box-shadow: 0 0 30px rgba(110, 71, 255, 0.5);
}

.loading-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(110, 71, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(110, 71, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.2;
    animation: gridPulse 8s infinite alternate ease-in-out;
}

@keyframes gridPulse {
    0% {
        opacity: 0.1;
        background-size: 40px 40px;
    }
    100% {
        opacity: 0.3;
        background-size: 45px 45px;
    }
}

/* Blob elements */
.loading-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: float 15s infinite alternate ease-in-out;
}

.loading-element-1 {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: rgba(110, 71, 255, 0.15);
    animation-delay: 0s;
}

.loading-element-2 {
    bottom: 15%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: rgba(183, 49, 165, 0.15);
    animation-delay: -5s;
}

.loading-element-3 {
    top: 40%;
    right: 30%;
    width: 250px;
    height: 250px;
    background: rgba(255, 75, 110, 0.1);
    animation-delay: -10s;
}

.loading-element-4 {
    bottom: 30%;
    left: 20%;
    width: 350px;
    height: 350px;
    background: rgba(110, 71, 255, 0.12);
    animation-delay: -7s;
}

/* Geometric shapes */
.loading-geometric {
    position: absolute;
    border: 1px solid rgba(110, 71, 255, 0.3);
    z-index: -1;
    animation: rotate 20s infinite linear;
}

.loading-geometric-1 {
    top: 20%;
    left: 15%;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    transform: rotate(45deg);
    animation-duration: 30s;
}

.loading-geometric-2 {
    bottom: 25%;
    right: 10%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    animation-duration: 25s;
    animation-direction: reverse;
}

.loading-geometric-3 {
    top: 40%;
    right: 20%;
    width: 80px;
    height: 80px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border: none;
    background: rgba(110, 71, 255, 0.1);
    animation-duration: 18s;
}

.loading-geometric-4 {
    bottom: 35%;
    left: 30%;
    width: 120px;
    height: 120px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    border: none;
    background: rgba(183, 49, 165, 0.1);
    animation-duration: 22s;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5%, 5%) scale(1.1);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

/* Typography */
h1, h2, h3, .site-title {
    font-family: 'Oswald', sans-serif;
    letter-spacing: -2.4px;
    font-weight: 400;
    text-transform: uppercase;
}

.site-title {
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.mega-title {
    font-size: 120px;
    font-weight: 600;
    letter-spacing: -4px;
    background: linear-gradient(90deg, #6e47ff, #b731a5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(110, 71, 255, 0.5);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: rgba(13, 13, 19, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(110, 71, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(13, 13, 19, 0.95);
}

.navbar-brand {
    position: relative;
    z-index: 1;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(110, 71, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(110, 71, 255, 0.1);
    transition: height 0.3s ease;
    z-index: -1;
    transform: translateY(100%);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(110, 71, 255, 0.3);
}

.navbar-nav .nav-link:hover::before {
    height: 100%;
    transform: translateY(0);
}

.navbar-nav .nav-link.active {
    position: relative;
    color: #fff;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(110, 71, 255, 0.4);
    }
    70% {
        opacity: 1;
        box-shadow: 0 0 0 5px rgba(110, 71, 255, 0);
    }
    100% {
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(110, 71, 255, 0);
    }
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 7rem;
    position: relative;
    overflow: hidden;
}

.hero-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-element-1 {
    top: -10%;
    left: -5%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(110, 71, 255, 0.2) 0%, rgba(13, 13, 19, 0) 70%);
    animation: float-element 20s infinite alternate ease-in-out;
}

.hero-element-2 {
    bottom: -20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 75, 110, 0.15) 0%, rgba(13, 13, 19, 0) 70%);
    animation: float-element 15s infinite alternate-reverse ease-in-out;
}

.hero-element-3 {
    top: 40%;
    left: 10%;
    width: 20vw;
    height: 20vw;
    background: radial-gradient(circle, rgba(110, 71, 255, 0.1) 0%, rgba(13, 13, 19, 0) 70%);
    animation: float-element 25s infinite alternate ease-in-out;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(110, 71, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(110, 71, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

@keyframes float-element {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(5%, 5%);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(110, 71, 255, 0.1);
    border: 1px solid rgba(110, 71, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
}

.hero-badge span {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 90%;
}

.hero-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    background-image: var(--primary-gradient);
    border: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(110, 71, 255, 0.3);
}

.hero-secondary-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.hero-secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-image-container {
    position: relative;
    max-width: 100%;
    height: auto;
}

.hero-image {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: floating 5s ease-in-out infinite;
}

.hero-image-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(110, 71, 255, 0.4) 0%, rgba(13, 13, 19, 0) 70%);
    filter: blur(10px);
    z-index: 1;
    animation: pulse 5s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: translateX(-50%) scale(0.9);
    }
    50% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(0.9);
    }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    position: relative;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(110, 71, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-image: var(--primary-gradient);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(110, 71, 255, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.feature-title, 
.community-title, 
.tech-content h3,
.new-feature-card h3,
.advanced-features-section .card-header h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.8rem;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Specific feature card title optimization */
.feature-title {
    min-height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Specific tech highlight title optimization */
.tech-content h3 {
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Specific new feature title optimization */
.new-feature-card h3 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

/* Specific advanced features section title optimization */
.advanced-features-section .card-header h3 {
    font-size: 1.15rem;
    letter-spacing: 0;
    white-space: nowrap;
}

/* Improve icon alignment in headings */
.new-feature-card h3 i,
.advanced-features-section .card-header h3 i {
    vertical-align: middle;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .tech-content h3 {
        font-size: 1.4rem;
        white-space: normal;
    }
}

@media (max-width: 992px) {
    .feature-title {
        font-size: 1.2rem;
        min-height: 3.2rem;
    }
    
    .community-title, 
    .tech-content h3 {
        font-size: 1.3rem;
    }
    
    .new-feature-card h3 {
        font-size: 1.3rem;
    }
    
    .advanced-features-section .card-header h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .feature-title {
        min-height: auto;
        margin-bottom: 0.5rem;
    }
    
    .advanced-features-section .card-header h3 {
        white-space: normal;
        line-height: 1.4;
    }
}

/* AI capabilities headings optimization */
.ai-capability-content h4 {
    font-size: 1.15rem;
    line-height: 1.3;
    white-space: normal;
    font-family: 'IBM Plex Sans', sans-serif;
    letter-spacing: -0.01em;
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* Upload Section */
.upload-section {
    padding: 5rem 0;
    position: relative;
}

.upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(110, 71, 255, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 75, 110, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: -1;
}

.upload-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(110, 71, 255, 0.2);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.upload-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(110, 71, 255, 0.4);
}

.upload-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 30%, rgba(110, 71, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Drag and drop zone */
.drag-drop-zone {
    border: 2px dashed rgba(110, 71, 255, 0.3);
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.drag-drop-zone:hover,
.drag-drop-zone.highlight {
    border-color: var(--accent-color);
    background-color: rgba(110, 71, 255, 0.05);
}

.drag-drop-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.selected-files-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Access Section */
.access-section {
    background-color: #13151a;
    position: relative;
}

.access-card {
    background: rgba(29, 32, 37, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.access-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.access-cta {
    background: rgba(110, 71, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.access-cta:hover {
    background: rgba(110, 71, 255, 0.15);
    transform: translateY(-3px);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background-color: #0a0a12;
    overflow: hidden;
    padding: 5rem 0;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 30%, rgba(110, 71, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Testimonial Carousel */
.testimonial-carousel-item {
    padding: 2rem 1rem;
}

#testimonialCarousel .carousel-indicators {
    bottom: -40px;
}

#testimonialCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(110, 71, 255, 0.3);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#testimonialCarousel .carousel-indicators button.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    background-color: rgba(110, 71, 255, 0.5);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#testimonialCarousel:hover .carousel-control-prev,
#testimonialCarousel:hover .carousel-control-next {
    opacity: 0.8;
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(110, 71, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 650px;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(110, 71, 255, 0.4);
}

.testimonial-card-featured {
    border-width: 2px;
    box-shadow: 0 10px 30px rgba(110, 71, 255, 0.2);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: rgba(110, 71, 255, 0.2);
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    font-family: 'Georgia', serif;
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid var(--accent-color);
    position: relative;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animated avatar effect */
.animated-avatar {
    transition: all 0.5s ease;
}

.carousel-item.active .animated-avatar {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(110, 71, 255, 0.7);
    }
    100% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(110, 71, 255, 0.3);
    }
}

.testimonial-info h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Community Section */
.community-section {
    background: #121212;
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23303030' fill-opacity='0.3'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10S50 55.523 50 50zm0-30c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10S50 25.523 50 20zM10 10C4.477 10 0 14.477 0 20s4.477 10 10 10 10-4.477 10-10S15.523 10 10 10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.5;
}

.community-card {
    background: rgba(25, 25, 25, 0.7);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(55, 55, 55, 0.2);
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(40, 40, 40, 0.8);
}

.community-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--bs-primary);
    background: rgba(0, 123, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.community-card:nth-child(2) .community-icon {
    color: var(--bs-info);
    background: rgba(23, 162, 184, 0.1);
}

.community-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.community-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Tech Highlights Section */
.tech-highlights-section {
    position: relative;
    background-color: #13151a;
}

.tech-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.tech-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(110, 71, 255, 0.1), 
        rgba(110, 71, 255, 0.6), 
        rgba(110, 71, 255, 0.1));
    transform: translateX(-50%);
}

.tech-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: rgba(110, 71, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-color);
    border: 1px solid rgba(110, 71, 255, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
    background: rgba(110, 71, 255, 0.2);
    box-shadow: 0 0 20px rgba(110, 71, 255, 0.4);
}

.tech-content {
    flex: 1;
    padding: 1.5rem 2rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-left: 2rem;
    border: 1px solid rgba(110, 71, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-content {
    transform: translateX(5px);
    border-color: rgba(110, 71, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tech-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.tech-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    background-color: rgba(13, 13, 19, 0.7);
    position: relative;
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(110, 71, 255, 0.2);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: transparent;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    padding: 1.25rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(110, 71, 255, 0.1);
    color: var(--accent-color);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer-dark {
    background-color: rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.7);
}

.social-icons {
    margin: 0;
    padding: 0;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* File thumbnail styles */
.thumbnail-container {
    height: 200px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.file-thumbnail {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Results container */
#results-container {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(110, 71, 255, 0.2);
}

/* File card styling */
.file-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(110, 71, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
}

.file-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.file-card .card-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
}

.file-card .file-name {
    max-width: 70%;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
}

/* Metadata table styles */
.metadata-table {
    margin-bottom: 0;
}

.metadata-table th {
    font-weight: 600;
    width: 30%;
    color: rgba(255, 255, 255, 0.8);
}

.metadata-table td {
    word-break: break-word;
}

/* Selectable text for hash values */
.selectable-text {
    user-select: all;
    cursor: pointer;
    font-family: monospace;
    font-size: 0.9em;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Tab styling */
.nav-tabs {
    border-bottom: 1px solid rgba(110, 71, 255, 0.3);
}

.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: rgba(110, 71, 255, 0.1);
    border-color: transparent;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background-color: rgba(110, 71, 255, 0.2);
    border-color: transparent;
    border-bottom: 2px solid var(--accent-color);
    font-weight: 500;
}

.tab-content {
    background-color: rgba(0, 0, 0, 0.2);
    border: none !important;
}

/* Progress bar */
.progress {
    height: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 0;
}

.progress-bar {
    background-image: var(--primary-gradient);
}

/* Animation for progress bar */
@keyframes progress-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.progress-bar-animated {
    background-size: 200% 200%;
    animation: progress-animation 2s ease infinite;
}

/* Buttons */
.btn-primary {
    background-image: var(--primary-gradient);
    border: none;
}

.btn-success {
    background-image: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

.btn-outline-info {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-info:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-secondary {
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Media queries for responsive design */
@media (max-width: 1200px) {
    .mega-title {
        font-size: 100px;
    }
    
    .hero-section {
        padding: 6rem 0 5rem;
    }
    
    .hero-text {
        max-width: 95%;
    }
    
    .loading-logo {
        font-size: 100px;
    }
    
    .loading-geometric-1,
    .loading-geometric-2 {
        transform: scale(0.9);
    }
    
    /* Improve carousel visibility */
    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        width: 7%;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .mega-title {
        font-size: 80px;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem;
        padding: 0.4rem 0.8rem;
    }
    
    .loading-logo {
        font-size: 90px;
    }
    
    .loading-tagline {
        font-size: 20px;
    }
    
    .loading-element-1 {
        width: 250px;
        height: 250px;
    }
    
    .loading-element-2 {
        width: 300px;
        height: 300px;
    }
    
    .loading-geometric {
        transform: scale(0.8);
    }
    
    /* Hide some geometric elements on smaller screens */
    .loading-geometric-3,
    .loading-geometric-4 {
        display: none;
    }
    
    /* Adjust testimonials carousel */
    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        width: 8%;
        opacity: 0.6;
    }
    
    .tech-timeline {
        max-width: 700px;
    }
    
    /* Better padding for content sections */
    .features-section,
    .upload-section,
    .testimonials-section,
    .community-section,
    .tech-highlights-section,
    .faq-section {
        padding: 4rem 0;
    }
    
    /* Navbar toggle adjustment */
    .navbar-toggler {
        border: 1px solid rgba(110, 71, 255, 0.5);
        padding: 0.4rem 0.6rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(110, 71, 255, 0.3);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mega-title {
        font-size: 60px;
        letter-spacing: -2px;
    }
    
    .hero-text {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
    }
    
    .hero-buttons .ms-3 {
        margin-left: 0 !important;
    }
    
    .hero-image-container {
        margin-top: 3rem;
    }
    
    .file-card .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-card .file-name {
        max-width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .metadata-table th {
        width: 40%;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .tech-timeline::before {
        left: 40px;
    }
    
    .tech-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .tech-icon {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tech-content {
        margin-left: 0;
        margin-top: 1.5rem;
        width: 100%;
    }
    
    /* Loading screen adjustments */
    .loading-logo {
        font-size: 70px;
        margin-bottom: 0.3rem;
    }
    
    .loading-tagline {
        font-size: 16px;
        margin-bottom: 1.5rem;
    }
    
    .loading-spinner .spinner-border {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .testimonial-card,
    .community-card {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile menu adjustments */
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-collapse {
        background-color: rgba(13, 13, 19, 0.95);
        border-radius: 0 0 10px 10px;
        padding: 1rem;
        margin-top: 0.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    /* Add transition for smoother navbar collapse */
    .navbar-collapse.collapse {
        transition: all 0.3s ease;
    }
    
    /* Improve testimonial display on mobile */
    .testimonial-content p {
        font-size: 1.1rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    /* Adjust carousel arrows for smaller screens */
    #testimonialCarousel .carousel-control-prev-icon,
    #testimonialCarousel .carousel-control-next-icon {
        padding: 1rem;
    }
    
    /* Make all section headers more compact */
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-divider {
        margin: 1rem auto;
    }
    
    /* Adjust section spacing */
    .features-section,
    .testimonials-section,
    .community-section,
    .tech-highlights-section,
    .faq-section {
        padding: 3rem 0;
        margin-bottom: 2rem;
    }
    
    /* Improve form responsiveness */
    input.form-control,
    textarea.form-control,
    select.form-control {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    /* Improve button touch targets */
    .btn {
        padding: 0.6rem 1.2rem;
        min-height: 44px; /* Minimum recommended touch target size */
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    
    .mega-title {
        font-size: 42px;
        letter-spacing: -1px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .drag-drop-zone {
        padding: 1.5rem 1rem;
    }
    
    .drag-drop-title {
        font-size: 1.2rem;
    }
    
    .loading-logo {
        font-size: 50px;
    }
    
    .loading-tagline {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .loading-element-1, 
    .loading-element-2, 
    .loading-element-3 {
        width: 150px;
        height: 150px;
        filter: blur(30px);
    }
    
    .loading-geometric-1,
    .loading-geometric-2 {
        transform: scale(0.6);
    }
    
    .footer-dark .col-md-4 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .social-icons {
        margin-top: 1rem;
        text-align: center;
    }
    
    /* Further reduce the font size for better mobile view */
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    /* Make the file cards more compact */
    .file-card .card-header {
        padding: 0.75rem;
    }
    
    /* Adjust nav tabs for better scrollability */
    .nav-tabs .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Stack the tech items more compactly */
    .tech-item {
        margin-bottom: 2rem;
        padding-left: 70px;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Adjust accordion items */
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
    
    /* Adjust card paddings */
    .feature-card,
    .community-card,
    .testimonial-card {
        padding: 1.25rem;
    }
    
    /* Smaller icons for better spacing */
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* More compact accordion */
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Fix navbar toggler position */
    .navbar-toggler {
        margin-right: 0.5rem;
    }
    
    /* Adjust avatar animation */
    .animated-avatar {
        width: 45px;
        height: 45px;
    }
    
    /* Smaller header spacing */
    .section-header {
        margin-bottom: 2rem;
    }
}

/* Extra small devices adjustments */
@media (max-width: 400px) {
    .mega-title {
        font-size: 36px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-badge {
        padding: 0.3rem 0.8rem;
    }
    
    .hero-badge span {
        font-size: 0.8rem;
    }
    
    .loading-logo {
        font-size: 38px;
    }
    
    .loading-tagline {
        font-size: 12px;
    }
    
    /* Simplify loading animation for very small screens */
    .loading-element-3,
    .loading-element-4,
    .loading-geometric-1,
    .loading-geometric-2 {
        display: none;
    }
    
    /* Adjust testimonial carousel */
    #testimonialCarousel .carousel-control-prev-icon,
    #testimonialCarousel .carousel-control-next-icon {
        padding: 0.8rem;
    }
    
    /* Smaller header spacing */
    .navbar-brand img {
        height: 35px;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    /* Compact all cards further */
    .feature-card,
    .community-card,
    .testimonial-card {
        padding: 1rem;
    }
    
    /* Reduce margin between sections */
    .features-section,
    .upload-section,
    .testimonials-section,
    .community-section,
    .tech-highlights-section,
    .faq-section {
        margin-bottom: 2rem;
    }
}

/* Add styles for new sections */

/* Advanced Features Section */
.advanced-features-section {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advanced-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(125deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: -1;
}

.advanced-features-section .card {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.advanced-features-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.advanced-features-section .card-header {
    font-weight: 500;
    border-bottom: none;
}

.advanced-features-section .card-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.advanced-features-section .fas.fa-check-circle {
    font-size: 0.85rem;
}

/* New Features Section */
.new-features-section {
    background-color: var(--bs-dark);
    position: relative;
}

.new-feature-card {
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    background-color: var(--bs-dark);
}

.new-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.new-feature-card .card-body {
    padding: 1.5rem;
}

.new-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--bs-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.new-feature-card .feature-badge:hover {
    background-color: var(--bs-primary-hover);
}

.new-feature-card.border-success .feature-badge {
    background-color: var(--bs-success);
}

.new-feature-card.border-warning .feature-badge {
    background-color: var(--bs-warning);
    color: var(--bs-dark);
}

.new-feature-card.border-info .feature-badge {
    background-color: var(--bs-info);
}

.feature-details {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.feature-details ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.feature-details ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-details ul li:last-child {
    margin-bottom: 0;
}

/* Updated Community Section */
.community-section {
    background: #121212;
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23303030' fill-opacity='0.3'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10S50 55.523 50 50zm0-30c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10S50 25.523 50 20zM10 10C4.477 10 0 14.477 0 20s4.477 10 10 10 10-4.477 10-10S15.523 10 10 10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.5;
}

.community-card {
    background: rgba(25, 25, 25, 0.7);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(55, 55, 55, 0.2);
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(40, 40, 40, 0.8);
}

.community-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--bs-primary);
    background: rgba(0, 123, 255, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.community-card:nth-child(2) .community-icon {
    color: var(--bs-info);
    background: rgba(23, 162, 184, 0.1);
}

.community-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.community-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Metadata Section Styling */
.metadata-consolidated {
    padding: 10px;
    background-color: rgba(25, 25, 35, 0.7);
    border-radius: 8px;
}

.metadata-section {
    margin-bottom: 15px;
    border: 1px solid rgba(110, 71, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    background-color: rgba(13, 13, 19, 0.7);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.metadata-section:hover {
    border-color: rgba(110, 71, 255, 0.5);
    box-shadow: 0 4px 12px rgba(110, 71, 255, 0.15);
}

.metadata-category {
    padding: 12px 15px;
    background-color: rgba(110, 71, 255, 0.1);
    border-bottom: 1px solid rgba(110, 71, 255, 0.2);
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metadata-category:hover {
    background-color: rgba(110, 71, 255, 0.2);
}

.metadata-category i {
    margin-right: 8px;
    color: var(--accent-color);
}

.metadata-content {
    padding: 15px;
    background-color: rgba(20, 20, 30, 0.7);
}

.metadata-table {
    width: 100%;
    border-collapse: collapse;
}

.metadata-key {
    padding: 8px 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    width: 30%;
    border-bottom: 1px solid rgba(110, 71, 255, 0.1);
    vertical-align: top;
    font-size: 13px;
}

.metadata-value {
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(110, 71, 255, 0.1);
    word-break: break-word;
    font-size: 13px;
}

.metadata-table tr:last-child .metadata-key,
.metadata-table tr:last-child .metadata-value {
    border-bottom: none;
}

.copy-btn {
    background-color: rgba(110, 71, 255, 0.1);
    border: 1px solid rgba(110, 71, 255, 0.3);
    color: var(--accent-color);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: rgba(110, 71, 255, 0.3);
    border-color: var(--accent-color);
}

.copy-btn.copied {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.5);
    color: #28a745;
}

.nested-list {
    padding-left: 20px;
    margin: 0;
    list-style-type: none;
}

.nested-list li {
    margin-bottom: 6px;
    position: relative;
}

.nested-list li:last-child {
    margin-bottom: 0;
}

.nested-list li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -12px;
}

.nested-key {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.show-more-btn,
.show-less-btn {
    background-color: rgba(110, 71, 255, 0.1);
    border: 1px solid rgba(110, 71, 255, 0.3);
    color: var(--accent-color);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 11px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s ease;
}

.show-more-btn:hover,
.show-less-btn:hover {
    background-color: rgba(110, 71, 255, 0.3);
    border-color: var(--accent-color);
}

.empty-value {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.metadata-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.metadata-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* View Options Styling */
.view-options-section {
    margin-bottom: 20px;
    background-color: rgba(13, 13, 19, 0.7);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(110, 71, 255, 0.2);
}

.view-options-title {
    margin-bottom: 12px;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
}

.view-options-title i {
    margin-right: 8px;
    color: var(--accent-color);
}

.view-options-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.view-option-btn {
    background-color: rgba(25, 25, 35, 0.7);
    border: 1px solid rgba(110, 71, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
}

.view-option-btn i {
    margin-right: 5px;
    font-size: 12px;
}

.view-option-btn:hover {
    background-color: rgba(110, 71, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.view-option-btn.active {
    background-color: rgba(110, 71, 255, 0.3);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(110, 71, 255, 0.3);
}

.view-content {
    background-color: rgba(20, 20, 30, 0.5);
    border-radius: 6px;
    padding: 15px;
    min-height: 100px;
    border: 1px solid rgba(110, 71, 255, 0.15);
    overflow: auto;
    max-height: 400px;
}

.view-message {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Specific view styles */
.normal-view-container {
    text-align: center;
}

.normal-view-container img {
    max-width: 100%;
    max-height: 350px;
    border-radius: 4px;
    border: 1px solid rgba(110, 71, 255, 0.2);
}

.binary-view-container,
.hex-view-container,
.ascii-view-container {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-all;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(110, 71, 255, 0.15);
}

.data-row {
    margin-bottom: 4px;
}

.address {
    color: var(--accent-color);
    margin-right: 10px;
    display: inline-block;
    width: 70px;
}

.data-bytes {
    color: rgba(255, 255, 255, 0.8);
}

.ascii-representation {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.pixel-data-container {
    overflow: auto;
    max-height: 300px;
}

.pixel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20px, 1fr));
    gap: 1px;
}

.pixel-cell {
    width: 20px;
    height: 20px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.7);
}

.histogram-container {
    text-align: center;
    padding: 10px;
}

.histogram-canvas {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.channels-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.channel-item {
    text-align: center;
}

.channel-label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 600;
}

.channel-image {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(110, 71, 255, 0.2);
}

.bitplane-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.bitplane-item {
    text-align: center;
}

.bitplane-label {
    margin-bottom: 5px;
    font-size: 12px;
}

.bitplane-image {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(110, 71, 255, 0.2);
}

.stego-results {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 12px;
    margin-top: 10px;
}

.stego-result-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(110, 71, 255, 0.1);
}

.stego-result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stego-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-right: 8px;
}

.view-info-text {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.view-api-info {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
    font-style: italic;
}

/* AI Analysis Section */
.ai-analysis-section {
    background-color: #0d0d13;
    padding: 4rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.ai-analysis-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 40%, rgba(110, 71, 255, 0.15), transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(46, 204, 113, 0.1), transparent 50%);
    z-index: 0;
}

.ai-feature-image {
    background-color: #151525;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.ai-feature-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.ai-stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.ai-stat-item {
    flex: 1;
    min-width: 110px;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.8), rgba(20, 20, 35, 0.8));
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(110, 71, 255, 0.2);
}

.ai-stat-item:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.9), rgba(20, 20, 35, 0.9));
    border-color: rgba(110, 71, 255, 0.4);
}

.ai-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    background: linear-gradient(to right, #6e47ff, #ff4b6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.ai-feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #6e47ff, #ff4b6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-feature-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

.ai-capabilities-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ai-capability-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 10px;
    background-color: rgba(30, 30, 50, 0.5);
    transition: all 0.3s ease;
}

.ai-capability-item:hover {
    background-color: rgba(30, 30, 50, 0.8);
    transform: translateX(5px);
}

.ai-capability-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6e47ff, #563dc3);
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(110, 71, 255, 0.3);
}

.ai-capability-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.ai-capability-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .ai-feature-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .ai-feature-description {
        text-align: center;
    }
    
    .ai-capability-item {
        padding: 0.75rem;
    }
    
    .ai-capability-content h4 {
        font-size: 1.1rem;
    }
    
    .ai-capability-content p {
        font-size: 0.9rem;
    }
    
    .ai-stat-value {
        font-size: 1.5rem;
    }
    
    .ai-stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .ai-stat-item {
        min-width: 90px;
        padding: 0.75rem;
        margin: 0.25rem;
    }
}
