/* Base Styles */
:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 12px 28px;
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--box-shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-cta {
    margin-left: 10px;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.nav-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 10px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 600px;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    z-index: 2;
}

.hero-dots {
    position: absolute;
    z-index: 1;
}

.hero-dots .dot {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.1);
}

.hero-dots .dot-1 {
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
}

.hero-dots .dot-2 {
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
}

.hero-dots .dot-3 {
    bottom: 50px;
    right: 50px;
    width: 80px;
    height: 80px;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    color: var(--gray-color);
    font-size: 1.1rem;
}

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

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

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.feature-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.feature-link:hover {
    gap: 10px;
}

/* Demo Section */
.demo {
    padding: 100px 0;
    background-color: #f8fafc;
}

.demo .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.demo-content {
    flex: 1;
}

.demo-steps {
    margin-top: 40px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-color);
}

.demo-window {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow-lg);
    overflow: hidden;
}

.demo-header {
    padding: 10px 15px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--light-gray);
}

.demo-controls {
    display: flex;
    gap: 8px;
}

.demo-controls .control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-controls .red {
    background-color: #ef4444;
}

.demo-controls .yellow {
    background-color: #f59e0b;
}

.demo-controls .green {
    background-color: #10b981;
}

.demo-title {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.demo-body {
    padding: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chat-message {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-content {
    background-color: #f8fafc;
    padding: 15px;
    border-radius: 0 10px 10px 10px;
    max-width: 80%;
}

.ai-message .message-content {
    background-color: #e0e7ff;
}

.chat-input {
    display: flex;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    overflow: hidden;
}

.chat-input input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
}

.send-button {
    width: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.send-button:hover {
    background-color: var(--primary-dark);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: white;
}

.testimonials .section-header {
    margin-bottom: 60px;
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 0 20px;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-prev, .slider-next {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.slider-prev:hover, .slider-next:hover {
    opacity: 1;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: #f8fafc;
}

.cta-card {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 60px;
    text-align: center;
    box-shadow: var(--box-shadow-lg);
}

.cta-card h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
}

.footer-top {
    padding: 80px 0 50px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

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

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

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-subscribe-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-subscribe {
    display: flex;
    margin-bottom: 30px;
}

.footer-subscribe input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 6px 0 0 6px;
    outline: none;
}

.footer-subscribe button {
    border-radius: 0 6px 6px 0;
    padding: 0 20px;
}

.footer-apps p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.app-buttons {
    display: flex;
    gap: 10px;
}

.app-buttons a img {
    height: 40px;
    border-radius: 6px;
    transition: var(--transition);
}

.app-buttons a:hover img {
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container, 
    .demo .container {
        flex-direction: column;
    }
    
    .hero-content, 
    .demo-content {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .hero-cta, 
    .hero-stats, 
    .cta-buttons {
        justify-content: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-card {
        padding: 