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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #ffffff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

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

/* Dark Mode Toggle - now inside the nav-cta */
.dark-mode-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4f46e5;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent from shrinking */
}

.dark-mode-toggle:hover {
    background: #4338ca;
    transform: scale(1.1);
}

body.dark-mode .dark-mode-toggle {
    background: #2d3748;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

body.dark-mode .navbar {
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .navbar.scrolled {
    background: rgba(30, 30, 30, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
}

body.dark-mode .nav-logo {
    color: #818cf8;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

body.dark-mode .nav-menu a {
    color: #e0e0e0;
}

.nav-menu a:hover {
    color: #4f46e5;
}

body.dark-mode .nav-menu a:hover {
    color: #818cf8;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4f46e5;
    transition: width 0.3s ease;
}

body.dark-mode .nav-menu a::after {
    background: #818cf8;
}

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

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

body.dark-mode .hamburger span {
    background: #e0e0e0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger animation */
.hamburger span:nth-child(2) {
    transform-origin: center;
    transition: transform 0.3s ease;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4f46e5, #7c3aed);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: #4f46e5;
    color: white;
}

.btn-primary:hover {
    background: #4338ca;
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
}

body.dark-mode .btn-outline {
    color: #818cf8;
    border: 2px solid #818cf8;
}

.btn-outline:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
}

body.dark-mode .btn-outline:hover {
    background: #818cf8;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    z-index: 0;
}

body.dark-mode .hero::before {
    background: radial-gradient(circle, rgba(129, 140, 248, 0.1) 0%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

body.dark-mode .hero-content h1 {
    color: #f8fafc;
}

.highlight {
    color: #4f46e5;
    position: relative;
}

body.dark-mode .highlight {
    color: #818cf8;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(79, 70, 229, 0.2);
    z-index: -1;
}

body.dark-mode .highlight::after {
    background: rgba(129, 140, 248, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 500px;
}

body.dark-mode .hero-content p {
    color: #cbd5e1;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 3rem;
}

.stat h3 {
    font-size: 2rem;
    color: #4f46e5;
    font-weight: 700;
}

body.dark-mode .stat h3 {
    color: #818cf8;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

body.dark-mode .stat p {
    color: #cbd5e1;
}

/* Chat Container */
.chat-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
}

body.dark-mode .chat-container {
    background: #1e293b;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.chat-header {
    background: #4f46e5;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.dark-mode .chat-header {
    background: #4f46e5;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

body.dark-mode .chat-avatar {
    background: #f8fafc;
    color: #4f46e5;
}

.chat-name {
    font-weight: 600;
    flex: 1;
}

.chat-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body.dark-mode .chat-messages {
    background: #1e293b;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message {
    background: #f3f4f6;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

body.dark-mode .bot-message {
    background: #334155;
    color: #f8fafc;
}

.user-message {
    background: #4f46e5;
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

body.dark-mode .user-message {
    background: #818cf8;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
}

body.dark-mode .chat-input {
    border-top: 1px solid #334155;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    outline: none;
    font-size: 1rem;
    background: white;
    color: #333;
}

body.dark-mode .chat-input input {
    background: #334155;
    color: #f8fafc;
    border: 1px solid #475569;
}

.chat-input button {
    background: #4f46e5;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

body.dark-mode .chat-input button {
    background: #818cf8;
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* Live Demo Section */
.live-demo {
    padding: 100px 0;
    background: #f8fafc;
    transition: background 0.3s ease;
}

body.dark-mode .live-demo {
    background: #0f172a;
}

.live-demo .section-header {
    margin-bottom: 3rem;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.demo-chat {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
}

body.dark-mode .demo-chat {
    background: #1e293b;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.demo-chat-header {
    background: #4f46e5;
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.dark-mode .demo-chat-header {
    background: #4f46e5;
}

.demo-chat-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
}

body.dark-mode .demo-chat-avatar {
    background: #f8fafc;
    color: #4f46e5;
}

.demo-chat-name {
    font-weight: 600;
    flex: 1;
}

.demo-chat-status {
    font-size: 0.8rem;
    opacity: 0.8;
}

.demo-chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body.dark-mode .demo-chat-messages {
    background: #1e293b;
}

.demo-chat-input {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
}

body.dark-mode .demo-chat-input {
    border-top: 1px solid #334155;
}

.demo-chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    outline: none;
    font-size: 1rem;
    background: white;
    color: #333;
}

body.dark-mode .demo-chat-input input {
    background: #334155;
    color: #f8fafc;
    border: 1px solid #475569;
}

.demo-chat-input button {
    background: #4f46e5;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

body.dark-mode .demo-chat-input button {
    background: #818cf8;
}

.demo-chat-input button:hover {
    transform: scale(1.1);
}

.demo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-feature {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .demo-feature {
    background: #1e293b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.demo-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.dark-mode .demo-feature:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.demo-feature i {
    font-size: 2rem;
    color: #4f46e5;
    margin-bottom: 1rem;
}

body.dark-mode .demo-feature i {
    color: #818cf8;
}

.demo-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

body.dark-mode .demo-feature h3 {
    color: #f8fafc;
}

.demo-feature p {
    color: #6b7280;
    font-size: 0.95rem;
}

body.dark-mode .demo-feature p {
    color: #cbd5e1;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
    transition: background 0.3s ease;
}

body.dark-mode .features {
    background: #0f172a;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

body.dark-mode .section-header h2 {
    color: #f8fafc;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

body.dark-mode .section-header p {
    color: #cbd5e1;
}

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

.feature-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

body.dark-mode .feature-card {
    background: #1e293b;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

body.dark-mode .feature-card::before {
    background: linear-gradient(90deg, #818cf8, #a78bfa);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.dark-mode .feature-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #4f46e5;
    font-size: 2rem;
    transition: transform 0.3s;
}

body.dark-mode .feature-icon {
    background: #334155;
    color: #818cf8;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

body.dark-mode .feature-card h3 {
    color: #f8fafc;
}

.feature-card p {
    color: #6b7280;
}

body.dark-mode .feature-card p {
    color: #cbd5e1;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: #f8fafc;
    transition: background 0.3s ease;
}

body.dark-mode .how-it-works {
    background: #0f172a;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s;
}

body.dark-mode .step {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

body.dark-mode .step-number {
    background: #818cf8;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

body.dark-mode .step h3 {
    color: #f8fafc;
}

.step p {
    color: #6b7280;
}

body.dark-mode .step p {
    color: #cbd5e1;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
    transition: background 0.3s ease;
}

body.dark-mode .testimonials {
    background: #0f172a;
}

.testimonials-container {
    position: relative;
}

.testimonial-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.dark-mode .testimonial-card {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.user-info h4 {
    font-weight: 600;
    color: #1f2937;
}

body.dark-mode .user-info h4 {
    color: #f8fafc;
}

.user-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

body.dark-mode .user-info p {
    color: #cbd5e1;
}

.testimonial-card p {
    color: #6b7280;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

body.dark-mode .testimonial-card p {
    color: #cbd5e1;
}

.rating {
    color: #fbbf24;
}

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

/* Swiper styles */
.swiper {
    width: 100%;
    height: auto;
    padding: 2rem 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: #f8fafc;
    transition: background 0.3s ease;
}

body.dark-mode .pricing {
    background: #0f172a;
}

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

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

body.dark-mode .pricing-card {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.dark-mode .pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border: 2px solid #4f46e5;
    transform: scale(1.05);
}

body.dark-mode .pricing-card.featured {
    border: 2px solid #818cf8;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4f46e5;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

body.dark-mode .popular {
    background: #818cf8;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

body.dark-mode .pricing-card h3 {
    color: #f8fafc;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 1rem;
}

body.dark-mode .price {
    color: #818cf8;
}

.dollar {
    font-size: 1.5rem;
    position: relative;
    top: -10px;
}

.period {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

body.dark-mode .period {
    color: #cbd5e1;
}

.pricing-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

body.dark-mode .pricing-card p {
    color: #cbd5e1;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    padding: 0.5rem 0;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

body.dark-mode .features-list li {
    color: #cbd5e1;
}

.features-list li i {
    color: #4f46e5;
}

body.dark-mode .features-list li i {
    color: #818cf8;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
    transition: background 0.3s ease;
}

body.dark-mode .faq {
    background: #0f172a;
}

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

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

body.dark-mode .faq-item {
    border-bottom: 1px solid #334155;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

body.dark-mode .faq-question {
    color: #f8fafc;
}

.faq-question:hover {
    color: #4f46e5;
}

body.dark-mode .faq-question:hover {
    color: #818cf8;
}

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

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #6b7280;
    line-height: 1.7;
}

body.dark-mode .faq-answer p {
    color: #cbd5e1;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    text-align: center;
    transition: background 0.3s ease;
}

body.dark-mode .cta {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
    transition: background 0.3s ease;
}

body.dark-mode .footer {
    background: #0f172a;
}

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

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

.footer-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: #4f46e5;
}

body.dark-mode .footer-logo i {
    color: #818cf8;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4f46e5;
}

body.dark-mode .footer-section h3::after {
    background: #818cf8;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

body.dark-mode .footer-section ul li a {
    color: #94a3b8;
}

body.dark-mode .footer-section ul li a:hover {
    color: #f8fafc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

body.dark-mode .social-links a {
    background: #1e293b;
}

.social-links a:hover {
    background: #4f46e5;
}

body.dark-mode .social-links a:hover {
    background: #818cf8;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid #334155;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .nav-menu, .nav-cta {
        display: none;
    }
    
    /* Mobile menu when active */
    .nav-menu.active, .nav-cta.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    body.dark-mode .nav-menu.active, 
    body.dark-mode .nav-cta.active {
        background: #1e293b;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        gap: 0;
    }
    
    .nav-menu.active a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #eee;
    }
    
    body.dark-mode .nav-menu.active a {
        border-bottom: 1px solid #334155;
    }
    
    .nav-cta.active {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 2rem;
    }
    
    .nav-cta.active .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Add dark mode toggle to the end of mobile menu */
    .nav-cta.active {
        position: relative;
    }
    
    .nav-cta.active .dark-mode-toggle {
        align-self: flex-end;
        margin-top: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .stats {
        gap: 1.5rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .chat-container, .demo-chat {
        height: 400px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

body.dark-mode .scroll-to-top {
    background: #818cf8;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

body.dark-mode .scroll-to-top:hover {
    background: #6366f1;
}