/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Animated Gradient Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 25%, #4c1d95 50%, #581c87 75%, #1e1b4b 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.03;
    pointer-events: none;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Additional animated gradient layers for depth */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 255, 163, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    animation: gradientPulse 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px 0 rgba(99, 102, 241, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 255, 163, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
    animation: heroGradientMove 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGradientMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    33% {
        transform: translate(20px, -20px) scale(1.05);
        opacity: 0.9;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.9;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 21px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Preview Dashboard */
.hero-preview {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    transition: transform 0.1s ease-out;
    max-width: 100%;
    width: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}

.preview-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.preview-dots {
    display: flex;
    gap: 8px;
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.preview-dots span:nth-child(1) {
    background: #ff5f57;
}

.preview-dots span:nth-child(2) {
    background: #ffbd2e;
}

.preview-dots span:nth-child(3) {
    background: #28ca42;
}

.preview-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

.preview-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    min-height: 380px;
    max-height: 450px;
    overflow: hidden;
}

.preview-inbox {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
    min-width: 0;
    overflow: hidden;
}

.preview-conversation {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 0;
    flex-shrink: 0;
}

.preview-conversation:hover {
    background: var(--bg-light);
    transform: translateX(4px);
}

.preview-conversation.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--primary-color);
}

.preview-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.preview-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.preview-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-message {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
}

.preview-badge {
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    background: var(--bg-light);
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.preview-badge.ig {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
    color: white;
}

.preview-badge.wa {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.preview-chat {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    overflow: hidden;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 90%;
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.chat-bubble.customer {
    background: var(--bg-light);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.business {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.ai-suggestions {
    margin-top: 18px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    border: 1px dashed var(--primary-color);
    max-width: 100%;
    overflow: hidden;
}

.ai-label {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.suggestion-item {
    font-size: 12px;
    color: var(--text-gray);
    padding: 8px 10px;
    background: white;
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggestion-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
    border-color: var(--primary-color);
}

.preview-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 18px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border-color);
}

.kpi-item {
    text-align: center;
}

.kpi-value {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    line-height: 1.2;
}

.kpi-label {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.3;
    padding: 0 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
    display: block;
}

.social-proof-text {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    width: 120px;
    height: 60px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.logo-item:hover img {
    filter: grayscale(0%);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
}

/* Use Cases */
.use-cases {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.use-cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.04) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 255, 163, 0.04) 0%, transparent 40%);
    animation: useCasesGradient 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.use-cases > .container {
    position: relative;
    z-index: 1;
}

@keyframes useCasesGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.use-case-card {
    background: white;
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    transform-style: preserve-3d;
    will-change: transform;
}

.use-case-card:hover {
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.use-case-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.use-case-description {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 16px;
}

.use-case-features {
    list-style: none;
}

.use-case-features li {
    padding: 10px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 28px;
    font-size: 15px;
}

.use-case-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.step-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.step-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.step-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
}

/* Product Demo Dashboard */
.product-demo {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.product-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 255, 163, 0.05) 0%, transparent 50%);
    animation: productDemoGradient 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.product-demo > .container {
    position: relative;
    z-index: 1;
}

@keyframes productDemoGradient {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 1;
    }
    50% {
        transform: translate(-20px, 20px);
        opacity: 0.8;
    }
}

.demo-dashboard {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    min-height: 600px;
    margin-bottom: 60px;
}

.demo-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

.demo-inbox {
    border-right: 1px solid var(--border-color);
}

.conversations-list {
    padding: 12px;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.conversation-item:hover {
    background: var(--bg-light);
    transform: translateX(4px);
}

.conversation-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--primary-color);
}

.conversation-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.conversation-info {
    flex: 1;
}

.conversation-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.conversation-preview {
    font-size: 13px;
    color: var(--text-gray);
}

.demo-chat {
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
}

.message {
    padding: 14px 18px;
    border-radius: 16px;
    max-width: 75%;
    font-size: 15px;
    line-height: 1.5;
}

.message.customer {
    background: var(--bg-light);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.business {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.ai-suggestions-box {
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid var(--border-color);
}

.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.suggestion-btn {
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.demo-sidebar {
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sidebar-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 14px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-light);
}

.tab-content {
    display: none;
    padding: 28px;
    flex: 1;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.client-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-field-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.client-field-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}

.client-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.tag.vip {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.tag.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.orders-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.checklist-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checklist-item.completed {
    opacity: 0.6;
}

.checklist-item.completed label {
    text-decoration: line-through;
}

.demo-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.kpi-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.kpi-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.kpi-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.kpi-card .kpi-value {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.kpi-card .kpi-label {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Automation Builder */
.automation-builder {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.automation-builder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.04) 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.04) 0%, transparent 60%);
    animation: automationGradient 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.automation-builder > .container {
    position: relative;
    z-index: 1;
}

@keyframes automationGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(25px, -25px) scale(1.08);
    }
}

.automations-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.automation-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.automation-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.automation-rule {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pill {
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pill.when {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.pill.then {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.automation-description {
    color: var(--text-gray);
    font-size: 15px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    line-height: 1.7;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    word-wrap: break-word;
    transform-style: preserve-3d;
    will-change: transform;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.pricing-card.popular::before {
    transform: scaleX(1);
}

.pricing-card.popular::after {
    content: "Most Popular";
    position: absolute;
    top: 24px;
    right: -32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 6px 40px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Georgian version - change "Most Popular" to Georgian */
html[lang="ka"] .pricing-card.popular::after,
body[lang="ka"] .pricing-card.popular::after {
    content: "პოპულარული";
    padding: 6px 32px;
}

.pricing-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.pricing-description {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 28px;
    font-weight: 500;
}

.pricing-price {
    font-size: 64px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
    letter-spacing: -2px;
}

/* Reduce font size for long text (like Georgian "ინდივიდუალური" or "Custom") */
.pricing-card.has-long-price .pricing-price {
    font-size: 28px !important;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
    hyphens: auto;
    font-weight: 900;
}

.pricing-card.has-long-price {
    padding: 20px;
}

.pricing-period {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 36px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 14px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 32px;
    font-size: 15px;
    line-height: 1.6;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}

.pricing-card .btn {
    width: 100%;
}

/* FAQ */
.faq {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 163, 0.04) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
    animation: faqGradient 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.faq > .container {
    position: relative;
    z-index: 1;
}

@keyframes faqGradient {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-15px, 15px);
    }
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
    will-change: transform;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    padding: 28px;
    font-weight: 600;
    font-size: 19px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 22px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer-content {
    padding: 0 28px 28px;
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 16px;
}

/* Contact */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 280px;
    padding: 16px 24px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-message {
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
    min-height: 28px;
    font-size: 16px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
    -webkit-text-fill-color: white;
    background: none;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.footer-link:hover {
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Problem Statement */
.problem-statement {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Stagger animations for grid items */
.animate-stagger {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-stagger.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.hero-text {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-preview {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Section title animations */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-title.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Card animations */
.feature-card,
.use-case-card,
.step-card,
.pricing-card,
.automation-card,
.faq-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.animated,
.use-case-card.animated,
.step-card.animated,
.pricing-card.animated,
.automation-card.animated,
.faq-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Dashboard preview animation */
.dashboard-preview {
    animation: scaleIn 1s ease-out 0.8s both;
}

/* KPI cards animation */
.kpi-card {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.kpi-card.animated {
    opacity: 1;
    transform: scale(1);
}

/* Icons - no floating animation */

/* Smooth navbar animation */
.navbar {
    animation: fadeInDown 0.6s ease-out;
}

/* Smooth button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 42px;
    }

    .demo-dashboard {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .demo-inbox,
    .demo-sidebar {
        border-right: none;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 36px;
    }

    section {
        padding: 80px 0;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .preview-content {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .preview-inbox {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 20px;
        margin-bottom: 20px;
        padding-right: 0;
    }

    .dashboard-preview {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg) !important;
    }

    .preview-kpis {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kpi-label {
        font-size: 10px;
    }

    .features-grid,
    .use-cases-grid,
    .steps-container,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        flex-direction: column;
    }

    .email-input {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    section {
        padding: 60px 0;
    }
}
