/* Base Styles */
body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1rem 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar-brand img {
    height: 45px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #2d1b69 0%, #1d0f45 100%);
    position: relative;
    padding: 4rem 0 1.5rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(240)'%3E%3Cstop offset='0' stop-color='%232d1b69'/%3E%3Cstop offset='1' stop-color='%231d0f45'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='540' height='450' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.1'%3E%3Cpath fill='%23444' d='M90 150L0 300h180z'/%3E%3Cpath d='M90 150L180 0H0z'/%3E%3Cpath fill='%23AAA' d='M270 150L360 0H180z'/%3E%3Cpath fill='%23DDD' d='M450 150l-90 150h180z'/%3E%3Cpath fill='%23999' d='M450 150L540 0H360z'/%3E%3Cpath d='M630 150l-90 150h180z'/%3E%3Cpath fill='%23DDD' d='M630 150L720 0H540z'/%3E%3Cpath fill='%23444' d='M810 150l-90 150h180z'/%3E%3Cpath fill='%23FFF' d='M810 150L900 0H720z'/%3E%3Cpath fill='%23DDD' d='M990 150l-90 150h180z'/%3E%3Cpath fill='%23444' d='M990 150l90-150H900z'/%3E%3Cpath fill='%23DDD' d='M90 450L0 600h180z'/%3E%3Cpath d='M90 450l90-150H0z'/%3E%3Cpath fill='%23666' d='M270 450l-90 150h180z'/%3E%3Cpath fill='%23AAA' d='M270 450l90-150H180z'/%3E%3Cpath fill='%23DDD' d='M450 450l-90 150h180z'/%3E%3Cpath fill='%23999' d='M450 450l90-150H360z'/%3E%3Cpath fill='%23999' d='M630 450l-90 150h180z'/%3E%3Cpath fill='%23FFF' d='M630 450l90-150H540z'/%3E%3Cpath d='M810 450l-90 150h180z'/%3E%3Cpath fill='%23DDD' d='M810 450l90-150H720z'/%3E%3Cpath fill='%23AAA' d='M990 450l-90 150h180z'/%3E%3Cpath fill='%23444' d='M990 450l90-150H900z'/%3E%3Cpath fill='%23222' d='M90 750L0 900h180z'/%3E%3Cpath d='M270 750l-90 150h180z'/%3E%3Cpath fill='%23DDD' d='M270 750l90-150H180z'/%3E%3Cpath d='M450 750l90-150H360z'/%3E%3Cpath fill='%23444' d='M630 750l-90 150h180z'/%3E%3Cpath fill='%23AAA' d='M630 750l90-150H540z'/%3E%3Cpath fill='%23444' d='M810 750l-90 150h180z'/%3E%3Cpath fill='%23666' d='M810 750l90-150H720z'/%3E%3Cpath fill='%23999' d='M990 750l-90 150h180zM180 0L90 150h180z'/%3E%3Cpath fill='%23444' d='M360 0l-90 150h180z'/%3E%3Cpath fill='%23FFF' d='M540 0l-90 150h180z'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E");
    background-attachment: fixed;
    opacity: 0.1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 27, 105, 0.7);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Component Styles */
.badge {
    font-size: 0.875rem;
    padding: 0.5em 1em;
    border-radius: 50px;
}

.btn-primary {
    background-color: #EE7E6B;
    border-color: #EE7E6B;
    color: white;
    padding: 0.75rem 2.5rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #EE7E6B;
    border-color: #EE7E6B;
    color: white;
    box-shadow: none;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 1rem 2.5rem;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.upload-area .bi-cloud-arrow-up {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.upload-area h5 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.upload-area p {
    margin-bottom: 0.25rem;
}

.upload-area small {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

.upload-area.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.upload-area.disabled {
    background-color: #f8f9fa;
    border-style: solid;
    cursor: not-allowed;
}

/* File Items */
.file-item {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: filter 0.3s ease;
}

.file-item.blurred {
    filter: blur(5px);
    pointer-events: none;
    opacity: 0.7;
}

.file-item.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.file-item.success {
    border-color: #198754;
    background-color: rgba(25, 135, 84, 0.05);
}

/* AI Detection Results */
.ai-chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    min-width: 120px;
    text-align: center;
}

.ai-chip small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 0.1rem;
}

.ai-chip.ai-generated {
    background-color: #dc3545;
}

.ai-chip.human-created {
    background-color: #0d6efd;
}

.confidence-score-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.confidence-score {
    font-size: 1.75rem;
    line-height: 1;
    color: #212529;
}

/* Email Overlay */
.email-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.email-overlay.show {
    display: flex;
}

.email-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.email-form h3 {
    margin-bottom: 1.5rem;
    color: #212529;
}

.email-form .form-control {
    margin-bottom: 1rem;
}

.email-form .bi-check-circle {
    color: #198754;
}

/* Progress and Cards */
.progress {
    height: 0.5rem;
    border-radius: 0.25rem;
}

.card {
    border: none;
    border-radius: 12px;
}

.bi {
    color: #6c757d;
}