/* ================================================
   SecureCheck Pro - IT Security Landing Page
   Custom Styles
   ================================================ */

/* -------------------- Variables -------------------- */
:root {
    --primary-color: #1e3a5f;
    --secondary-color: #4a90e2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #4a90e2;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #1a1a2e;
    --white-color: #ffffff;
    --gray-color: #6c757d;
    --body-font: 'Inter', sans-serif;
    --heading-font: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

/* -------------------- Global Styles -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

.display-3,
.display-4,
.display-5 {
    font-size: 2rem !important;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: darken(var(--primary-color), 10%);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* -------------------- Preloader -------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    color: var(--primary-color);
}

/* -------------------- Header Navigation -------------------- */
.header-area {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: var(--transition);
}

.navbar {
    background: rgba(30, 58, 95, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    min-height: 80px;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--dark-color);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    min-height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: var(--white-color) !important;
}

.header-logo {
    height: 48px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .header-logo {
    height: 42px;
}

@media (max-width: 575px) {
    .header-logo {
        height: 40px;
    }
}

.navbar-nav .nav-link {
    color: var(--white-color) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--white-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.btn-primary-nav {
    background: var(--secondary-color);
    color: var(--white-color) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    margin-left: 1rem !important;
}

.btn-primary-nav:hover {
    background: var(--primary-color);
    /*transform: translateY(-2px);*/
}

/* -------------------- Hero Section -------------------- */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    display: flex;
    align-items: center;
}

.min-vh-60 {
    min-height: 60vh;
}

.hero-text h1 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 2rem;
}

.hero-text .lead {
    color: var(--gray-color);
    font-size: 1.125rem;
    line-height: 1.7;
}

.hero-features {
    list-style: none;
    padding: 0;
}

.hero-features li {
    padding: 0.5rem 0;
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.6;
}

.hero-features li i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.hero-video .video-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: #1a1a2e;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-video {
    width: 100%;
    height: auto;
    display: block;
}

#hero-video.hidden {
    display: none;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.4) 0%, rgba(74, 144, 226, 0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.video-play-button:hover {
    background: var(--white-color);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.video-play-button.playing {
    display: none;
}

.video-play-button i {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-left: 5px;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    /*transform: translateY(-2px);*/
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    /*transform: translateY(-2px);*/
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* -------------------- Scanner Section -------------------- */
.scanner-section {
    background: url('../images/cyber-background.jpg') center/cover;
    position: relative;
}

.scanner-section .scanner-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.scanner-card {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.scanner-card .card-header {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--white-color);
    padding: 2.5rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.scanner-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.scanner-card .card-header h2 {
    position: relative;
    z-index: 1;
    font-weight: 600;
}

.scanner-card .card-header p {
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.scanner-card .card-body {
    padding: 2rem;
}

.scanner-form {
    width: 100%;
}

.scanner-input-wrapper {
    position: relative;
    width: 100%;
}

.scanner-input-wrapper i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.scanner-input {
    border-radius: 50px;
    border: 1px solid #dce3f1;
    padding: 0.9rem 1.5rem 0.9rem 3.2rem;
    background: #ffffff;
    transition: var(--transition);
}

.scanner-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.15);
}

.scanner-button {
    border-radius: 5px;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 220px;
    white-space: nowrap;
}

.scanner-button i {
    font-size: 1.1rem;
}

.scanner-input-wrapper .invalid-feedback {
    margin-left: 3.2rem;
}

@media (max-width: 991px) {
    .scanner-button {
        width: 100%;
        min-width: auto;
    }
    
    .scanner-input-wrapper .invalid-feedback {
        margin-left: 0;
    }
}

#scanResults {
    background: #f1f5fb;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e1e7f0;
}

/* -------------------- Services Section -------------------- */
.services-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 1.75rem;
}

.service-card {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    /*transform: translateY(-10px);*/
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.service-card.premium {
    border: 2px solid var(--primary-color);
}

.premium-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.8rem;
}

.card-icon {
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.price-tag {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
}

.price-tag .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.price-tag .period {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* -------------------- Certificate Section -------------------- */
.certificate-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    position: relative;
}

.certificate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E') repeat;
    pointer-events: none;
}

.certificate-section .container {
    position: relative;
    z-index: 1;
}

.certificate-section h2,
.certificate-section .lead {
    color: var(--white-color) !important;
}

.certificate-section h2 {
    font-size: 1.75rem;
}

.certificate-preview-small {
    position: relative;
    display: inline-block;
}

.certificate-seal-img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.15));
}

.certificate-badge-small {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--white-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.certificate-badge-small i {
    font-size: 1rem;
}

.benefit-item-horizontal {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    height: 100%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item-horizontal:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    /*transform: translateY(-5px);*/
}

.benefit-item-horizontal i {
    color: var(--secondary-color);
}

.benefit-item-horizontal h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-item-horizontal p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.9rem;
}

/* -------------------- Process Section -------------------- */
.process-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Video Container No Video State */
.video-wrapper.no-video {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
}

.video-wrapper.no-video::after {
    content: 'Video wird geladen...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    z-index: 0;
}

.process-step {
    position: relative;
    padding: 2rem;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* -------------------- CTA Section -------------------- */
.cta-section {
    background: url('../images/cyber-background.jpg') center/cover;
    padding: 100px 0;
    background-attachment: fixed;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white-color);
}

.cta-form .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.cta-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
}

.btn-warning {
    background: var(--secondary-color);
    color: var(--white-color);
    border: none;
}

.btn-warning:hover {
    background: var(--primary-color);
    color: var(--white-color);
    /*transform: translateY(-2px);*/
}

/* -------------------- Contact Section -------------------- */
.contact-section {
    padding: 100px 0;
}

.contact-info .info-item {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

/* -------------------- Footer -------------------- */
.footer-section {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 50px 0 20px;
}

.footer-section a.text-light:hover {
    color: var(--secondary-color) !important;
    text-decoration: none;
}

.company-info {
    border-left: 3px solid var(--secondary-color);
}

.company-info h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links a {
    color: var(--white-color);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    /*transform: translateY(-3px);*/
}

/* -------------------- Scroll to Top Button -------------------- */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition);
}

#scrollToTop:hover {
    background: var(--secondary-color);
    /*transform: translateY(-5px);*/
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* -------------------- Modal Styles -------------------- */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 15px 15px 0 0;
    border: none;
}

.modal-header .modal-title {
    font-weight: 600;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border: none;
    padding: 1.5rem 2rem;
}

/* -------------------- Animations -------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* -------------------- Utility Classes -------------------- */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-lg {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(var(--white-color), var(--white-color)) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
}

/* -------------------- Page Headers -------------------- */
.page-header-section {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.page-header-section h1 {
    color: var(--dark-color);
    font-size: 2rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--gray-color);
}

/* -------------------- Legal Content -------------------- */
.legal-content {
    background: var(--white-color);
}

.legal-card {
    background: var(--white-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.legal-card h2 {
    color: var(--dark-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-card h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* -------------------- Contact Page -------------------- */
.contact-page-section {
    background: var(--light-color);
}

.contact-form-card,
.contact-info-card,
.faq-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-form-card h2,
.contact-info-card h3,
.faq-card h3 {
    color: var(--dark-color);
}

.info-item h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.support-hours {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
}

.footer-links a.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* -------------------- Custom Scrollbar -------------------- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}