
/* CSS Variables */
:root {
    --black-pearl: #0d0d0d;
    --black-surface: #1a1a1a;
    --accent-blue: #3b82f6;
    --accent-blue-dark: #2563eb;
    --accent-blue-darker: #1d4ed8;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --shadow-color: rgba(59, 130, 246, 0.3);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Loading Screen */
#loading-screen {
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Navigation Styles */
.navbar {
    /* background-color: rgba(13, 13, 13, 0.95); */
    background-color: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    /* background-color: rgba(13, 13, 13, 0.98); */
        background-color: transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    color: #9ca3af;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-dark));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.mobile-nav-link {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 0.25rem 0;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-blue);
    background-color: rgba(59, 130, 246, 0.1);
    transform: translateX(-10px);
    width: calc(100% - 20px);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}


/* Video Play Button */
.video-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    color: white;
    border: 2px solid rgba(59, 130, 246, 0.3);
    padding: 1.5rem 2.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.video-play-btn:hover::before {
    left: 100%;
}

.video-play-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    border-color: var(--accent-blue);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.video-play-btn:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.play-icon i {
    font-size: 1.2rem;
    margin-left: 0.2rem;
}


/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.show {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: var(--black-surface);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal.show .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.1);
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    animation-delay: 1s;
}

.shape-6 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
        opacity: 0.2;
    }
}

/* Typography */
.section-title {
    font-weight: 900;
    line-height: 1.2;
}

.text-glow-accent {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.accent-blue {
    color: var(--accent-blue);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-blue-dark), var(--accent-blue-darker));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--accent-blue);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 1rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(26, 26, 26, 0.8);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* Feature Cards */
.feature-card {
    background: var(--black-surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #374151;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(26, 26, 26, 0.8);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Pricing Cards */
.pricing-card {
    background: var(--black-surface);
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #374151;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
}

.pricing-featured {
    border: 2px solid var(--accent-blue);
    background: linear-gradient(135deg, var(--black-surface), rgba(59, 130, 246, 0.05));
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.price {
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: right;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-left: 0.75rem;
    margin-right: 0;
}

.pricing-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    background: linear-gradient(135deg, var(--accent-blue-dark), var(--accent-blue-darker));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Server Tags */
.server-tag {
    background: var(--black-surface);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid #374151;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.server-tag:hover {
    background: var(--accent-blue);
    color: white;
    transform: scale(1.05);
    border-color: var(--accent-blue);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Flag Icons */
.flag-icon {
    width: 3rem;
    height: auto;
    min-height: 2rem;
    object-fit: cover;
    border-radius: 0.375rem;
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.flag-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* Agent Cards */
.agent-card {
    background: var(--black-surface);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.agent-content {
    padding: 1.5rem;
}

/* Step Cards */
.step-card {
    text-align: center;
    padding: 2rem;
    background: var(--black-surface);
    border-radius: 1rem;
    border: 1px solid #374151;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: flex-start;
    space-x-reverse: 1rem;
    padding: 1.5rem;
    background: var(--black-surface);
    border-radius: 1rem;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent-blue);
    background: rgba(26, 26, 26, 0.8);
    transform: translateX(-5px);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    border-radius: 0.75rem;
    margin-left: 1rem;
    margin-right: 0;
    font-size: 1.25rem;
    color: white;
}

/* Contact Form */
.contact-form {
    background: var(--black-surface);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #374151;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--black-pearl);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Autofill fix for Chrome */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: var(--text-primary); !important;
}

/* Optional: Add a transition to reduce flicker */
input:-webkit-autofill {
    transition: background-color 9999s ease-in-out 0s;
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Footer */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--black-surface);
    color: var(--text-muted);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-blue);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-dark));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

/* Animation Delays */
.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }
.animation-delay-600 { animation-delay: 0.6s; }
.animation-delay-700 { animation-delay: 0.7s; }
.animation-delay-800 { animation-delay: 0.8s; }
.animation-delay-900 { animation-delay: 0.9s; }
.animation-delay-1000 { animation-delay: 1s; }
.animation-delay-1100 { animation-delay: 1.1s; }

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Glow Effects */
.glow-accent {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .hero-section {
        padding-top: 1rem;
        min-height: 85vh;
    }

    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar h-20 {
        height: 4rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .feature-card,
    .pricing-card,
    .agent-card,
    .step-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .stat-card {
        padding: 0.75rem;
    }

    .contact-item {
        /* padding: 1rem;
        flex-direction: column;
        text-align: center; */
    }

    .contact-icon {
        /* margin: 0 auto 0.75rem auto; */
    }

    .pricing-features {
        font-size: 0.875rem;
    }

    .mobile-nav-link {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }

    .shape-1,
    .shape-2,
    .shape-3,
    .shape-4,
    .shape-5,
    .shape-6 {
        width: 60px;
        height: 60px;
    }

    .flag-icon {
        width: 2rem;
        min-height: 1.5rem;
    }

    .server-tag {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 577px) and (max-width: 768px) {
    .section-title {
        font-size: 2.25rem !important;
    }

    .hero-section {
        padding-top: 1.5rem;
        min-height: 90vh;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-card,
    .pricing-card,
    .agent-card,
    .step-card {
        padding: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .contact-item {
        /* padding: 1.25rem; */
    }

    .shape-1,
    .shape-2,
    .shape-3,
    .shape-4,
    .shape-5,
    .shape-6 {
        width: 100px;
        height: 100px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-title {
        font-size: 2.75rem !important;
    }

    .hero-section {
        padding-top: 2rem;
    }

    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1025px) {
    .container {
        max-width: 1140px;
    }

    .section-title {
        font-size: 3.5rem !important;
    }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Height-based responsive adjustments */
@media (max-height: 600px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .stat-card {
        padding: 0.75rem;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .section-title {
        font-size: 2rem !important;
        margin-bottom: 1rem;
    }

    .navbar {
        height: 3.5rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .pricing-card:hover,
    .agent-card:hover,
    .step-card:hover {
        transform: none;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 3rem;
        font-size: 1rem;
    }

    .nav-link,
    .mobile-nav-link {
        min-height: 2.75rem;
        display: flex;
        align-items: center;
    }
}

/* Dark mode adjustments for mobile */
@media (prefers-color-scheme: dark) {
    .navbar {
        /* background-color: rgba(0, 0, 0, 0.95); */
            background-color: transparent;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-shapes .shape {
        animation: none;
    }

    .animate-on-scroll {
        transition: none;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .floating-shapes {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero-section {
        padding-top: 0 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --black-pearl: #000000;
        --black-surface: #111111;
        --accent-blue: #4f9aff;
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
        --border-color: #666666;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-shapes {
        display: none;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
    }

    .section-title {
        font-size: 2.5rem !important;
    }

    .pricing-featured {
        transform: none;
    }

    .video-modal-content {
        width: 95% !important;
        margin: 1rem;
    }

    .video-play-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        gap: 0.75rem;
    }

    .play-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .play-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .video-play-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .play-icon {
        width: 2rem;
        height: 2rem;
    }

    .play-icon i {
        font-size: 0.9rem;
    }

    .video-modal-close {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 2rem;
    }
}

/* Loading Spinner */
#loading-spinner {
    min-height: 40vh;
}
