/* Root Variables */
:root {
    --primary-color: #8B5CF6;
    --secondary-color: #EC4899;
    --dark-bg: #0F172A;
    --card-bg: #1E293B;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-light: #FFFFFF;
    --text-muted: #94A3B8;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    background-size: 100% 100%, 100% 100%, 200% 200%;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
}

.form-text {
    color: white !important;
}

/* Navigation */
nav,
.navbar {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 40px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-login,
.btn-signup,
.btn-primary,
.btn-outline-light {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login {
    background-color: transparent;
    border: 1px solid var(--primary-color);
}

.btn-signup,
.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    border: none;
}

.faicon {
    color: #955bf0 !important
}

.text-success {
    color: hsl(0, 0%, 100%) !important;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline-light {
    padding: 0.75rem 2rem;
    border-radius: 50px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 2px 0;
    transition: transform 0.3s ease;
}

/* Mobile Menu */
.nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--dark-bg);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links.show .nav-link {
    margin: 0.5rem 0;
    text-align: center;
}

/* Hero Section */
.hero,
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(357deg, var(--dark-bg), var(--card-bg));
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    background-size: 100% 100%, 100% 100%, 200% 200%;
    background-attachment: fixed;
}

.hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero h1,
.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2,
.hero-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.hero p,
.hero-section p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 3px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-video {
    flex: 1;
    max-width: 600px;
    margin-left: 2rem;
}

.hero-video iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Navigation Section */
.features-nav {
    padding: 2rem 1rem;
    background: linear-gradient(0deg, var(--dark-bg), var(--card-bg));
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.features-nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-nav-item {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.feature-nav-item.active {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateX(1rem);
}

.feature-nav-item .feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-nav-item.active .feature-icon {
    color: var(--text-primary);
}

.feature-nav-item .feature-text h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.ty {
    color: #ffc107 !important
}

.feature-nav-item .feature-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-nav-item.active .feature-text h3,
.feature-nav-item.active .feature-text p {
    color: var(--text-primary);
}

.features-preview {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-image.active {
    opacity: 1;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 2rem 0rem;
    background-color: var(--card-bg);
}

.feature-card {
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card .feature-icon,
.feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

.effi {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: #20293c;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.effi h2 {
    margin-bottom: 1rem;
}

.effi p {
    max-width: 800px;
}

/* Solutions Grid */
.solutions-grid {
    padding: 2rem 0rem;
    background-color: var(--dark-bg);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.grid-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.grid-item p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.read-more {
    background-color: var(--primary-color);
    color: var(--text-primary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 600;
}

.read-more:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
    padding: 2rem 2rem;
    text-align: center;
    background-color: var(--dark-bg);
    overflow: hidden;
    position: relative;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    animation: slideTestimonials 15s linear infinite;
    width: calc(300% + 6rem);
}

@keyframes slideTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100% / 3));
    }
}

.testimonial {
    flex: 0 0 calc(33.333% - 1.33rem);
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
}

.testimonial h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* CTA Section */
.cta-section.effi {
    padding: 1rem 1rem;
    text-align: center;
    background: linear-gradient(360deg, #20293c, var(--dark-bg));
}

.cta-section.effi h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section.effi p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
}

.cta-section.effi .cta-button {
    margin: 0 auto;
}

/* FAQ Section */
.faq {
    background-color: #10172b;
    padding: 1rem 1rem;
}

.faq h2,
.faq h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #21293d;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(139, 92, 246, 0.1);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-question.active+.faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

/* Footer */
footer {
    background-color: #22293e;
    padding: 1rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 15rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Google Button */
.custom-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.custom-google-btn:hover {
    background-color: #357ae8;
}

.custom-google-btn img {
    width: 20px;
    margin-right: 10px;
}

.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: none;
}

.is-invalid {
    border-color: #dc3545;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero,
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 5rem 1rem 1rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-video {
        margin-left: 0;
        width: 100%;
    }

    .hero-video iframe {
        height: 200px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 0.5rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .testimonial {
        flex: 0 0 100%;
        padding: 1.5rem;
        scroll-snap-align: center;
    }

    .testimonial-slider {
        width: 100%;
        animation: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        padding: 0;
    }

    .effi {
        padding: 2rem 1rem;
    }

    .cta-section.effi {
        padding: 3rem 1rem;
    }

    .cta-section.effi h2 {
        font-size: 2rem;
    }

    .features-content {
        flex-direction: column;
    }

    .feature-nav-item.active {
        transform: translateX(0);
    }

    .features-preview {
        min-height: 300px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
        align-items: center;
    }

    .social-links {
        margin-top: 2rem;
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .hero h1,
    .hero-section h1 {
        font-size: 2.5rem;
        line-height: normal;
    }

    .hero h2,
    .hero-section h2 {
        font-size: 1.5rem;
    }

    .cta-section.effi h2 {
        font-size: 2rem;
    }

    .cta-section.effi p {
        font-size: 1rem;
    }
}