@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #4a49e0;
    --secondary-color: #2a2a2a;
    --background-color: #121212;
    --text-color: #f0f0f0;
    --hover-color: #3a38d0;
    --feature-bg-color: #252525;
    --feature-text-color: #d0d0d0;
    --accent-color: #ff6b6b;
}

.light-mode {
    --primary-color: #3f51b5;
    --secondary-color: #f5f5f5;
    --background-color: #ffffff;
    --text-color: #333333;
    --hover-color: #303f9f;
    --feature-bg-color: #f0f0f0;
    --feature-text-color: #555555;
    --accent-color: #ff4081;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.8;
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    background-color: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.light-mode header {
    background-color: rgba(255, 255, 255, 0.8);
}

header.header-small {
    padding: 10px 20px;
    background-color: rgba(31, 31, 31, 0.95);
}

.light-mode header.header-small {
    background-color: rgba(255, 255, 255, 0.95);
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: var(--accent-color);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px 15px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-buttons .btn {
    margin: 10px;
}

.btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #ffffff;
}

.primary-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: var(--secondary-color);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/8292849.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
}

.light-mode .hero {
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("../images/8292849.jpg");
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    margin: 15px 0 25px 0;
    font-size: 1.1em;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

.features {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    background-color: var(--background-color);
}

.feature {
    background-color: var(--feature-bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.feature i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.feature h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.5em;
}

.feature p {
    margin-bottom: 20px;
    color: var(--feature-text-color);
    font-size: 0.9em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-section {
    padding: 60px 20px;
    background-color: var(--background-color);
    text-align: center;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.video-container h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.video-container video {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container video:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.video-container video::-webkit-media-controls {
    background-color: rgba(31, 31, 31, 0.7);
    border-radius: 0 0 15px 15px;
}

.light-mode .video-container video::-webkit-media-controls {
    background-color: rgba(245, 245, 245, 0.7);
}

.video-container video::-webkit-media-controls-panel {
    padding: 10px;
}

.video-container video:not(:defined) {
    position: relative;
}

.video-container video:not(:defined)::before {
    content: 'Loading...';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-color);
}

html {
    scroll-behavior: smooth;
}

.btn:focus, a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

body {
    background: linear-gradient(to bottom, var(--background-color), var(--feature-bg-color));
}

a, .btn, .feature, .video-container video {
    transition: all 0.3s ease;
}

a:hover, .btn:hover, .feature:hover, .video-container video:hover {
    filter: brightness(1.1);
}

h1, h2, h3 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.light-mode h1, .light-mode h2, .light-mode h3 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.feature p {
    color: var(--feature-text-color);
}

.feature {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .feature {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.logo:hover {
    text-shadow: 0 0 10px var(--primary-color);
}

.contact-section {
    padding: 60px 20px;
    background-color: var(--feature-bg-color);
    color: var(--text-color);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out;
}

.contact-container p {
    margin-bottom: 15px;
    font-size: 1em;
}

.contact-container a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-container a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }

    header.header-small {
        padding: 10px;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    .cta-buttons {
        margin-top: 15px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .features {
        padding: 40px 15px;
    }

    .feature {
        padding: 20px;
    }

    .feature h2 {
        font-size: 1.3em;
    }

    .video-section {
        padding: 40px 15px;
    }

    .video-container h2 {
        font-size: 1.8em;
    }

    .contact-section {
        padding: 40px 15px;
    }

    .contact-container h2 {
        font-size: 1.8em;
    }

    .contact-container p {
        font-size: 0.9em;
    }

    .cta-buttons .btn {
        font-size: 0.8em;
        padding: 10px 15px;
    }

    .cta-buttons .btn i {
        font-size: 14px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .feature h2 {
        font-size: 1.2em;
    }

    .feature p {
        font-size: 0.8em;
    }

    .video-container h2 {
        font-size: 1.6em;
    }

    .contact-container h2 {
        font-size: 1.6em;
    }

    .cta-buttons .btn {
        font-size: 0.7em;
        padding: 8px 12px;
    }

    .cta-buttons .btn i {
        font-size: 12px;
        margin-right: 3px;
    }
}

#theme-toggle {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2em;
    cursor: pointer;
    transition: color 0.3s ease;
}

#theme-toggle:hover {
    color: var(--accent-color);
}

.light-mode #theme-toggle {
    color: var(--text-color);
}

.light-mode #theme-toggle:hover {
    color: var(--primary-color);
}

.DemoVideo-Container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 30px;
    background-color: var(--feature-bg-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.DemoVideo-Container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.DemoVideo-Container h2 {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.DemoVideo-Container video {
    width: 100%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.DemoVideo-Container video:hover {
    transform: scale(1.02);
}

.DemoVideo-Container video::-webkit-media-controls {
    background-color: rgba(31, 31, 31, 0.7);
    border-radius: 0 0 10px 10px;
}

.light-mode .DemoVideo-Container video::-webkit-media-controls {
    background-color: rgba(245, 245, 245, 0.7);
}

.demo-call-button {
    margin-top: 30px;
    text-align: center;
}

.demo-call-button .btn {
    padding: 12px 24px;
    font-size: 1em;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.demo-call-button .btn:hover {
    background-color: var(--hover-color);
}

.demo-call-button .btn i {
    margin-right: 8px;
}

.demo-call-window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    background-color: var(--feature-bg-color);
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.demo-call-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--text-color);
}

.demo-call-header h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5em;
    cursor: pointer;
}

.demo-call-content {
    padding: 20px;
}

.demo-call-content video {
    width: 100%;
    border-radius: 10px;
}

.demo-call-controls {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.nav-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: var(--hover-color);
}

@media (max-width: 768px) {
    .DemoVideo-Container {
        padding: 20px;
        margin: 40px auto;
    }

    .DemoVideo-Container h2 {
        font-size: 1.8em;
    }

    .demo-call-window {
        width: 95%;
    }

    .demo-call-header h3 {
        font-size: 1.2em;
    }

    .nav-btn {
        padding: 8px 16px;
    }
}

