* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

:root {
    --primary-color: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #6366f1, #4f46e5);
    --primary-gradient-hover: linear-gradient(135deg, #4f46e5, #3730a3);
    --secondary-color: #10b981;
    --sidebar-bg: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --sidebar-text: #475569;
    --sidebar-hover: #e2e8f0;
    --sidebar-active: #dbeafe;
    --chat-bg: linear-gradient(180deg, #f9fafb 0%, #f1f5f9 100%);
    --user-msg-bg: linear-gradient(135deg, #dbeafe, #bfdbfe);
    --ai-msg-bg: linear-gradient(135deg, #ffffff, #f8fafc);
    --border-color: #e2e8f0;
    --error-color: #ef4444;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.12);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --completed-color: #10b981;
    --pending-color: #f59e0b;
    --cancelled-color: #ef4444;
    --code-bg: #f8fafc;
    --code-border: #4f46e5;
    --code-text: #374151;
    --section-bg: #ffffff;
    --testimonial-gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6);
    --testimonial-gradient-2: linear-gradient(135deg, #10b981, #0ea5e9);
    --testimonial-gradient-3: linear-gradient(135deg, #f59e0b, #f97316);
    --testimonial-gradient-4: linear-gradient(135deg, #ec4899, #8b5cf6);
}

body {
    background: var(--chat-bg);
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Header Styles - بهبود یافته */
header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.95) 0%, rgba(99, 102, 241, 0.95) 100%);
    box-shadow: var(--shadow-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.logo-text h1 {
    font-size: 26px;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.signup-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    color: var(--primary-color);
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.signup-btn:hover::before {
    transform: translateX(0);
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
}

.signup-btn i {
    font-size: 18px;
}

/* دکمه ورود با ایتا - مشابه دکمه ثبت نام */
.ita-btn {
    background: rgb(230, 117, 41) !important;
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    display: none;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.ita-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.24) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.ita-btn:hover::before {
    transform: translateX(0);
}

.ita-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* آیکون داخل دکمه */
.ita-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* Hero Section - بهبود یافته */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><path d="M500,250Q400,400,250,500Q100,600,100,800Q300,900,500,900Q700,900,900,800Q900,600,750,500Q600,400,500,250Z" fill="%234f46e5"/></svg>') no-repeat;
    background-size: 70% auto;
    background-position: 100% 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 25px;
    color: #1e293b;
    line-height: 1.2;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.hero-text p {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 35px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 16px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.4);
}

.cta-secondary {
    background: white;
    color: var(--primary-color);
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.feature-badge {
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dark);
    border-color: var(--primary-color);
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 18px;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-chat-preview {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow-dark);
    border: 1px solid var(--border-color);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-chat-preview:hover {
    transform: perspective(1000px) rotateY(0deg);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Demo Chat Section */
.demo-chat-section {
    margin: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #1e293b;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 20px auto 0;
}

.demo-chat-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    flex-direction: column;
}

.demo-chat-header {
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.demo-messages-container {
    flex-grow: 1;
    padding: 25px;
    overflow-y: auto;
    background: var(--chat-bg);
    display: flex;
    flex-direction: column;
}

.demo-message {
    display: flex;
    margin-bottom: 25px;
    max-width: 80%;
    animation: messageAppear 0.5s ease-out both;
}

.demo-user-message {
    margin-right: auto;
    flex-direction: row-reverse;
    animation-name: messageAppearRight;
}

.demo-ai-message {
    margin-left: auto;
    animation-name: messageAppearLeft;
}

.demo-message-content {
    padding: 16px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow-medium);
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.demo-user-message .demo-message-content {
    background: var(--user-msg-bg);
    border-bottom-right-radius: 4px;
    color: #1e40af;
    border-right: 3px solid #4f46e5;
}

.demo-ai-message .demo-message-content {
    background: white;
    border-bottom-left-radius: 4px;
    color: #374151;
    border: 1px solid var(--border-color);
    border-left: 3px solid #10b981;
}

.demo-message-sender {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.demo-user-message .demo-message-sender {
    color: #1e40af;
}

.demo-user-message .demo-message-sender::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #4f46e5;
    border-radius: 50%;
    margin-left: 6px;
}

.demo-ai-message .demo-message-sender {
    color: #10b981;
}

.demo-ai-message .demo-message-sender::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 6px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

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

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

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    font-size: 15px;
}

/* Plans Section - بهبود یافته برای نمایش گرید در دسکتاپ */
.plans-section {
    padding: 80px 0;
    position: relative;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: stretch;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.plan-card.popular:hover {
    transform: translateY(-10px) scale(1.07);
    box-shadow: 0 25px 50px rgba(79, 70, 229, 0.3);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 3px;
    right: 3px;
    height: 10px;
    background: var(--primary-gradient);
    border-radius: 25px 25px 0 0;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    overflow: initial;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.plan-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to left, var(--primary-color), transparent);
}

.plan-name {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 700;
}

.plan-card.popular .plan-name {
    color: var(--primary-color);
}

.plan-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

.plan-card.popular .plan-price {
    font-size: 48px;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-period {
    color: #64748b;
    font-size: 16px;
    margin-top: 5px;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.plan-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #475569;
    transition: all 0.3s ease;
    padding: 8px 5px;
    border-radius: 8px;
}

.plan-card.popular .plan-feature {
    background: rgba(79, 70, 229, 0.05);
}

.plan-feature:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateX(5px);
}

.plan-feature i {
    color: var(--success-color);
    margin-left: 10px;
    font-size: 18px;
}

.plan-feature i.fa-times-circle {
    color: var(--error-color);
}

.plan-action {
    text-align: center;
    margin-top: auto;
}

.plan-btn {
    display: inline-block;
    width: 100%;
    padding: 16px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}

.plan-card.popular .plan-btn {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
    padding: 18px;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.plan-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #3730a3, #4f46e5);
    transition: width 0.5s ease;
    z-index: -1;
}

.plan-btn:hover::before {
    width: 100%;
}

.plan-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.plan-card.popular .plan-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

/* Testimonials Section - بهبود یافته با انیمیشن نرم‌تر */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: 30px;
    margin: 60px 0;
    overflow: hidden;
    position: relative;
}

.testimonials-container {
    position: relative;
    padding: 30px 0 30px;
}

.testimonials-scroll-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 20px;
    margin: 0 -10px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonials-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonials-grid {
    display: flex;
    gap: 30px;
    min-width: min-content;
    padding: 10px 30px;
    align-items: stretch;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: center;
    cursor: pointer;
}

.testimonial-card.active {
    flex: 0 0 380px;
    transform: scale(1.05);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15);
    border: 2px solid var(--primary-color);
}

.testimonial-card.prev {
    transform: translateX(-30px) scale(0.95);
    opacity: 0.7;
    z-index: 4;
}

.testimonial-card.next {
    transform: translateX(30px) scale(0.95);
    opacity: 0.7;
    z-index: 4;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-gradient);
    border-radius: 15px 15px 0 0;
    opacity: 0.9;
}

.testimonial-card.active::before {
    height: 8px;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: var(--primary-gradient);
    transition: all 0.3s ease;
}

.testimonial-card.active .testimonial-avatar {
    width: 80px;
    height: 80px;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-user-info h4 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.testimonial-card.active .testimonial-user-info h4 {
    font-size: 20px;
}

.testimonial-user-info p {
    font-size: 14px;
    color: #64748b;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.testimonial-card.active .testimonial-stars {
    font-size: 18px;
}

.testimonial-text {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    flex-grow: 1;
    font-style: italic;
    position: relative;
    padding-top: 15px;
    transition: all 0.3s ease;
}

.testimonial-card.active .testimonial-text {
    font-size: 16px;
}

.testimonial-text::before {
    content: '"';
    font-size: 50px;
    color: #e2e8f0;
    position: absolute;
    top: -15px;
    right: -5px;
    line-height: 1;
    font-family: Georgia, serif;
    transition: all 0.3s ease;
}

.testimonial-card.active .testimonial-text::before {
    font-size: 60px;
    top: -20px;
}

/* دکمه‌های ناوبری */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 20px;
    opacity: 0.8;
}

.testimonial-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    opacity: 1;
}

.testimonial-nav.prev-btn {
    right: 10px;
}

.testimonial-nav.next-btn {
    left: 10px;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

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

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes messageAppearRight {
    from {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes messageAppearLeft {
    from {
        opacity: 0;
        transform: translateX(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        gap: 30px;
    }

    .plan-card.popular {
        order: -1;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h2::after {
        right: 50%;
        transform: translateX(50%);
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        justify-content: center;
    }

    .demo-chat-container {
        height: 400px;
    }

    .testimonial-card {
        flex: 0 0 300px;
    }

    .testimonial-card.active {
        flex: 0 0 330px;
    }

    .testimonial-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        padding: 15px 0;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .signup-btn,
    .ita-btn {
        width: 100% !important;
        justify-content: center;
        display: flex !important;
        padding: 14px 20px;
        box-sizing: border-box;
    }

    .hero-text h2 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .demo-message {
        max-width: 90%;
    }

    .testimonials-scroll-wrapper {
        padding: 20px 10px;
    }

    .testimonials-grid {
        padding: 10px 15px;
        gap: 20px;
    }

    .testimonial-card {
        flex: 0 0 280px;
        padding: 20px;
        min-height: 250px;
    }

    .testimonial-card.active {
        flex: 0 0 300px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }

    .testimonial-card.active .testimonial-avatar {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .testimonial-user-info h4 {
        font-size: 16px;
    }

    .testimonial-card.active .testimonial-user-info h4 {
        font-size: 18px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-card.active .testimonial-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 30px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .feature-badge {
        width: 100%;
        justify-content: center;
    }

    .demo-chat-container {
        height: 350px;
    }

    .testimonial-card {
        flex: 0 0 260px;
    }

    .testimonial-card.active {
        flex: 0 0 280px;
    }

    .signup-btn,
    .ita-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .ita-icon {
        width: 18px;
        height: 18px;
    }
}

/* Typing indicator */
.typing-indicator {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 20px;
}

.typing-indicator span {
    position: absolute;
    top: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.typing-indicator span:nth-child(1) {
    left: 8px;
    animation: typing1 0.6s infinite;
}

.typing-indicator span:nth-child(2) {
    left: 8px;
    animation: typing2 0.6s infinite;
}

.typing-indicator span:nth-child(3) {
    left: 24px;
    animation: typing2 0.6s infinite;
}

.typing-indicator span:nth-child(4) {
    left: 40px;
    animation: typing3 0.6s infinite;
}

@keyframes typing1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes typing2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(16px, 0); }
}

@keyframes typing3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}
