/* Base Styles */
:root {
    --bg-dark: #0f172a;
    --bg-darker: #0a0f1d;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --primary-color: #4F46E5;
    --primary-hover: #6366f1;
    --card-bg: #1e293b;
    --card-border: #334155;
    --input-bg: #1e293b;
    --input-border: #334155;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Changa', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
}

.main-header.scrolled {
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.3);
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    position: relative;
}

.laptop-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.video-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-dark);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Add reflection effect */
.laptop-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0));
    transform: scaleY(-1);
    opacity: 0.5;
    filter: blur(4px);
}

/* Animation for laptop */
@keyframes floatLaptop {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.laptop-container {
    animation: floatLaptop 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .laptop-container {
        max-width: 90%;
    }
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Modified Hero Styles */
.hero {
    padding-top: 120px;
    /* Account for fixed header */
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-video {
    position: relative;
}

.laptop-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: url('/path-to-laptop-frame.png') no-repeat center;
    background-size: contain;
}

.laptop-screen {
    position: absolute;
    top: 6.5%;
    left: 12%;
    width: 76%;
    height: 76%;
    overflow: hidden;
    border-radius: 3px;
}

.laptop-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        /* Add hamburger menu for mobile */
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Vector Shapes */
.blob-shape,
.wave-shape,
.circle-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.1;
    z-index: 0;
}

/* Hero Section */
.hero {
    background: var(--bg-darker);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

.hero-vectors {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-vectors .blob-shape {
    position: absolute;
    opacity: 0.05;
    transition: transform 0.5s ease;
}

.hero-vectors .main-blob {
    top: -50px;
    right: -100px;
    width: 600px;
    height: 600px;
}

.hero-vectors .secondary-blob {
    bottom: -100px;
    left: -150px;
    width: 500px;
    height: 500px;
    opacity: 0.03;
}

.gradient-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--card-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--card-border);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2);
}

.pricing-header {
    background: var(--primary-color);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.pricing-duration {
    font-size: 1.1rem;
    opacity: 0.8;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary-color);
    margin-left: 10px;
    font-weight: bold;
}

/* Contact Form */
.contact {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 20px 0;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.step-connector {
    height: 2px;
    flex: 0.2;
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    margin-top: 30px;
    position: relative;
}

.step-connector::before,
.step-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translateY(-50%);
}

.step-connector::before {
    left: 0;
}

.step-connector::after {
    right: 0;
}

.how-it-works-vector {
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 400px;
    height: 400px;
    opacity: 0.05;
    z-index: 0;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-primary);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
}

.footer h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-vector {
        width: 400px;
        height: 400px;
        right: -50px;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .container {
        padding: 0 15px;
    }
}

.laptop-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    position: relative;
}

/* Mouse styling */
.mouse-svg {
    position: absolute;
    width: 80px;
    height: 120px;
    right: -80px;
    bottom: 15px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* Glow animation for scroll wheel */
@keyframes glowPulse {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.2;
    }
}

.glow-circle {
    animation: glowPulse 3s infinite ease-in-out;
}

/* Mouse hover effect */
.mouse-svg:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.features-grid {
    padding: 80px 0;
    background: #0f172a;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 20px;
}

.feature-card {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #334155;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: #4F46E5;
}

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 24px;
    padding: 20px 20px 10px;
    color: #e2e8f0;
}

.feature-card p {
    padding: 0 20px 20px;
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
}

.feature-actions {
    padding: 0 20px 20px;
    display: flex;
    justify-content: flex-end;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #4F46E5;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.action-btn:hover {
    background: #6366f1;
}

.action-icon {
    font-size: 20px;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.glow-circle {
    animation: glowPulse 2s infinite ease-in-out;
    opacity: 0;
}

@keyframes glowPulse {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateX(-10px);
    float: left;
}

.feature-card:hover .arrow-btn {
    opacity: 1;
    transform: translateX(0);
}

.arrow-btn:hover {
    background: var(--primary-hover);
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.arrow-btn:hover .arrow {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .arrow-btn {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(10px);
    transition: 0.3s;
    padding-top: 60px;
    z-index: 999;
}

.sidebar.open {
    right: 0;
}

.close-sidebar-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Scroll to top button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1000;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Updated Navigation and Sidebar Styles */
.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.0);
}

.nav-links a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: white;
    transform: translateY(-2px);
}

/* Sidebar Link Styles */
.sidebar .nav-menu {
    background: rgba(15, 23, 42, 0.0);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.sidebar .nav-menu a {
    color: var(--text-primary);
    background: rgba(15, 23, 42, 0.0);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 8px;
    display: block;
    text-align: center;
}

.sidebar .nav-menu a:hover {
    background: rgba(15, 23, 42, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        margin-right: auto;
        /* Push to the left */
    }

    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Sidebar Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.5);
        z-index: 998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.open {
        display: block;
        opacity: 1;
    }

    .sidebar {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background: rgba(15, 23, 42, 0.5);
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .sidebar.open {
        right: 0;
    }
}

/* Header Navigation Layout */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    order: 1;
    /* Ensures logo is on the left */
}

.nav-links {
    display: flex;
    gap: 30px;
    order: 2;
    /* Ensures nav links are in the center */
}

.mobile-menu-btn {
    display: none;
    order: 3;
    /* Ensures mobile menu button is on the right */
}

/* Sidebar Header Styles */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.sidebar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar .close-sidebar-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar .close-sidebar-btn:hover {
    color: var(--primary-color);
}

/* Header Navigation Layout */
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    background: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    order: 1;
    /* Ensures logo is on the left */
}

.nav-links {
    display: flex;
    gap: 30px;
    order: 2;
    /* Ensures nav links are in the center */
}

.mobile-menu-btn {
    display: none;
    order: 3;
    /* Ensures mobile menu button is on the right */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: absolute;
        /* Positioned absolutely on the right */
        right: -120px !important;
        /* Adjust based on your container padding */
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-menu {
        position: relative;
        display: flex;
        align-items: center;
    }

    .logo {
        order: 1;
        float: left !important;
        /* Logo is now on the left on mobile */
    }
}

/* Sticky Sidebar Footer */
.sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* Set the height to full viewport height */
    overflow-y: auto;
    /* Add scrollbar if content exceeds viewport height */
}

.sidebar-footer {
    border-top: 1px solid var(--card-border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    /* Push the footer to the bottom */
    background-color: var(--bg-dark);
    position: sticky;
    bottom: 0;
    width: 100%;
}

.sidebar-footer .social-links {
    display: flex;
    gap: 15px;
}

.sidebar-footer .social-links a {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.sidebar-footer .social-links a:hover {
    color: var(--primary-color);
}

.sidebar-footer .phone-number {
    color: var(--text-primary);
    font-weight: 500;
    direction: ltr !important;
}