:root {
    --primary: #5a189a;
    --primary-dark: #3c096c;
    --primary-light: #9d4edd;
    --accent: #e0aaff;
    --text: #10002b;
    --text-light: #240046;
    --background: #ffffff;
    --gray: #f8f9fa;
    --gray-dark: #e9ecef;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 8px 25px rgba(90, 24, 154, 0.3);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    margin-right: auto; /* Pushes logo to left */
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    margin-right: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex: 1;
    list-style: none;
    gap: 25px;
    margin: 0 auto;
    padding: 0;
    max-width: 800px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    margin-left: auto; /* Pushes hamburger to right */
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(45deg, rgba(90, 24, 154, 0.1) 0%, rgba(90, 24, 154, 0.05) 100%);
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 350px;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: var(--text);
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-light);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    background-size: 200% 200%;
    background-position: right bottom;
}

.btn.primary:hover {
    background-position: left bottom;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.btn.secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn.secondary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.hero-image {
    flex: 1;
    min-width: 350px;
    margin-top: 30px;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--hover-shadow);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background-color: var(--gray);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--background);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: 80px 0;
    background-color: var(--background);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== DEMO SECTION ===== */
.demo {
    padding: 80px 0;
    background-color: var(--gray);
}

.demo h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 80px 0;
    background-color: var(--background);
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--gray);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.quote {
    position: relative;
    margin-bottom: 20px;
}

.quote i:first-child {
    position: absolute;
    top: -10px;
    left: -10px;
    color: var(--primary-light);
    opacity: 0.3;
    font-size: 2rem;
}

.quote i:last-child {
    position: absolute;
    bottom: -20px;
    right: -10px;
    color: var(--primary-light);
    opacity: 0.3;
    font-size: 2rem;
}

.quote p {
    font-style: italic;
    padding: 0 20px;
}

.author h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.author p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== PARTNERS SECTION ===== */
.partners {
    padding: 5rem 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.partner-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partner-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.partner-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.partner-cta {
    margin-top: 2rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.partner-logos img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.partner-logos img:hover {
    opacity: 1;
}

/* ===== APP PROMOTION SECTION ===== */
.app-promo {
    padding: 5rem 0;
    background: linear-gradient(to right, var(--gray), var(--background));
}

.app-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.app-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.app-content p {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-buttons a img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.download-buttons a:hover img {
    transform: scale(1.05);
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.qr-code p {
    font-size: 0.9rem;
    color: var(--primary);
}



/* =====FAQ Section===== */
.faq {
    padding: 80px 0;
    background-color: var(--background);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--primary-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--gray);
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--gray-dark);
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: var(--gray);
}

.faq-answer p {
    padding: 20px 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px;
}


/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

.footer-links h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-newsletter h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-newsletter form {
    display: flex;
    margin-bottom: 20px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Poppins', sans-serif;
}

.footer-newsletter button {
    padding: 12px 20px;
    background-color: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-newsletter button:hover {
    background-color: white;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    opacity: 0.8;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .app-content p {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--background);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s;
        gap: 30px;
        max-width: 100%;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .footer-newsletter form {
        flex-direction: column;
    }
    
    .footer-newsletter input,
    .footer-newsletter button {
        border-radius: 4px;
    }
    
    .footer-newsletter button {
        margin-top: 10px;
    }
}