
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg .hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.hero-video-bg .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-video-bg .hero-video.hero-video-active {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--hero-gradient);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(55, 55, 55, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.animated-word {
    position: relative;
    display: inline-block;
    height: 1.2em;
    overflow: hidden;
}

.animated-word .word {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(45deg, #ffffff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.animated-word .word.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    margin-right: 1rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Media */
.hero-media {
    position: relative;
}

.presentation-preview {
    position: relative;
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg);
    transition: var(--transition);
}

.presentation-preview:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.preview-window {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.preview-header {
    background: #f8f9fa;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.preview-dots {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
}

.preview-dots span:nth-child(1) { background: #ff5f56; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #27ca3f; }

.preview-title {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.preview-content {
    position: relative;
    aspect-ratio: 16/9;
    background: #f8f9fa;
}

.preview-content video,
.preview-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 100px; /* Slightly more padding on mobile due to larger navbar */
        padding-bottom: 2rem;
        min-height: auto;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .stat {
        flex: 1;
        max-width: 120px;
    }
    
    .tab-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .company-logos {
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        margin: 0.25rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .tab-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .company-logos {
        gap: 1.5rem;
    }
    
    .company-logos img {
        height: 24px;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .footer-badges {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }
    
    .presentation-preview {
        transform: none;
    }
    
    .company-logos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

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

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1d29 0%, #2d1b3d 100%);
    color: white;
    z-index: 9999;
    padding: 1.5rem 0;
    border-top: 3px solid #7c3aed;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    position: relative;
}

.cookie-consent-text {
    margin-bottom: 1rem;
}

.cookie-title {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ffffff;
}

.cookie-description {
    margin-bottom: 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.privacy-link {
    color: #a855f7;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}

.privacy-link:hover {
    color: #c084fc;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}

.cookie-consent-location {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Cookie Settings Modal */
.cookie-category {
    padding: 1rem 0;
}

.cookie-category h6 {
    color: #1f2937;
    font-weight: 600;
}

.cookie-category .text-muted {
    color: #6b7280;
}

.cookie-category p.small {
    margin-top: 0.5rem;
    color: #6b7280;
    line-height: 1.4;
}

.compliance-info {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0;
}

.compliance-info strong {
    color: #1f2937;
}

/* GDPR/CCPA Specific Styles */
.gdpr-content .cookie-title::before {
    content: "🇪🇺 ";
}

.ccpa-content .cookie-title::before {
    content: "🇺🇸 ";
}

.gdpr-content .cookie-description {
    font-size: 0.85rem;
}

.gdpr-content .privacy-links {
    margin-top: 1rem;
}

.ccpa-content .cookie-description {
    font-size: 0.9rem;
}

/* Responsive Cookie Banner */
@media (max-width: 992px) {
    .cookie-consent-banner {
        padding: 1rem 0;
    }
    
    .cookie-consent-actions {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .cookie-consent-location {
        position: static;
        justify-content: center;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 1rem 0;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-consent-actions .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .privacy-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-description {
        font-size: 0.85rem;
    }
}

/* Cookie Consent Animation */
@keyframes slideUpIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-banner.animate-in {
    animation: slideUpIn 0.4s ease-out;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .cookie-consent-banner {
        background: #000000;
        border-top-color: #ffffff;
    }
    
    .cookie-description {
        color: #ffffff;
    }
    
    .privacy-link {
        color: #ffffff;
        text-decoration: underline;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        transition: none;
    }
    
    .cookie-consent-banner.animate-in {
        animation: none;
    }
}
