:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #4cc9f0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(67, 97, 238, 0.1);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Banner Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f5f7ff 0%, #f0f2ff 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.dashboard-preview {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Video Guide Section */
.video-guide {
    padding: 100px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* UPDATED VIDEO CONTAINER STYLES */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
}

.youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.video-overlay:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.video-overlay i {
    font-size: 70px;
    margin-bottom: 20px;
    color: var(--success);
    transition: var(--transition);
}

.video-overlay:hover i {
    transform: scale(1.1);
}

.video-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 16px;
    opacity: 0.9;
}

.video-overlay.hidden {
    display: none;
}

/* Steps Section */
.steps {
    padding: 100px 0;
    background-color: #f9faff;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--gray);
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background-color: white;
}

.demo-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.demo-content {
    flex: 1;
}

.demo-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark);
}

.demo-content p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 18px;
}

.demo-features {
    list-style: none;
    margin-bottom: 40px;
}

.demo-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.demo-features i {
    color: var(--success);
    margin-right: 12px;
    font-size: 18px;
}

.demo-visual {
    flex: 1;
    position: relative;
}

.demo-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background-color: #f9faff;
    text-align: center;
}

.clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.client-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    color: var(--secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: white;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f9faff;
    border-radius: var(--radius);
    padding: 40px 30px;
    position: relative;
    box-shadow: var(--shadow);
}

.testimonial-card:before {
    content: "\201C";
    font-size: 80px;
    color: var(--light-gray);
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta .btn {
    background-color: white;
    color: var(--primary);
    font-size: 18px;
    padding: 16px 40px;
}

.cta .btn:hover {
    background-color: var(--light);
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 70px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--success);
}

.footer-col p {
    color: #aaa;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {

    .hero-container,
    .demo-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .steps-container,
    .testimonials-container {
        grid-template-columns: 1fr;
    }

    .video-overlay i {
        font-size: 50px;
    }

    .video-overlay h3 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .demo-content h2 {
        font-size: 28px;
    }

    .cta h2 {
        font-size: 30px;
    }

    .client-logo {
        padding: 0 20px;
        height: 50px;
        font-size: 16px;
    }
}