:root {
    --primary-color: #4171f5;
    --primary-gradient: linear-gradient(135deg, #4171f5 0%, #6d95ff 100%);
    --button-gradient: linear-gradient(135deg, #4171f5 0%, #5483ff 100%);
    --background-gradient: radial-gradient(circle at top right, rgba(109, 149, 255, 0.08) 0%, rgba(65, 113, 245, 0.03) 50%, transparent 100%);
    --text-color: #1f2937;
    --background-color: #ffffff;
    --shadow-color: rgba(65, 113, 245, 0.15);
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: var(--background-gradient);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 5rem;
}

.hero {
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    max-width: 600px;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Phone Frame */
.phone-frame {
    background: white;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 360px;
    height: 640px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-header {
    background: #f8fafc;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.industry-icons {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.industry-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.industry-icon:hover {
    background: rgba(65, 113, 245, 0.1);
    transform: translateY(-2px);
}

.industry-icon.active {
    background: rgba(65, 113, 245, 0.15);
    color: var(--primary-color);
}

.chat-window {
    padding: 1rem;
    height: calc(100% - 4rem);
    overflow-y: auto;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Chat Bubbles */
.chat-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    animation: fadeSlideIn 0.3s ease-out;
    opacity: 0;
    transform: translateY(10px);
}

.chat-message.customer {
    background: #f1f5f9;
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
}

.chat-message.servanna {
    background: var(--primary-gradient);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.chat-message.photo {
    background: #f1f5f9;
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
    padding: 0.25rem;
}

.chat-message.photo img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-radius: 1rem;
    width: fit-content;
    margin-top: 0.5rem;
}

.typing-indicator span {
    width: 0.5rem;
    height: 0.5rem;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

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

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .phone-frame {
        width: 320px;
        height: 580px;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-left {
        margin: 0 auto;
    }
    
    .hero {
        padding: 4rem 0 2rem;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 100%;
        height: 480px;
        border-radius: 1rem;
    }
    
    .industry-icon {
        font-size: 1.25rem;
        padding: 0.375rem;
    }
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.rotating-word {
    color: var(--primary-color);
    display: inline-block;
    min-width: 120px;
}

.subtext {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.cta-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.phone-input-container {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 0;
    width: 100%;
    transition: all var(--transition-speed);
    overflow: hidden;
}

.country-selector {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    border-right: 2px solid #e5e7eb;
    cursor: pointer;
    user-select: none;
    background: #f9fafb;
    transition: background-color var(--transition-speed);
}

.country-selector:hover {
    background: #f3f4f6;
}

.flag {
    font-size: 1.25rem;
}

.country-code {
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 500;
}

.chevron {
    font-size: 0.7rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

#phone, #heroPhone {
    border: none;
    outline: none;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
}

#phone::placeholder, #heroPhone::placeholder {
    color: #9ca3af;
}

.phone-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(65, 113, 245, 0.1);
}

/* Country dropdown styles */
.country-dropdown {
    position: absolute;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2100;
    max-height: 250px;
    overflow-y: auto;
    width: auto;
    min-width: 180px;
}

.country-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.country-option:hover {
    background-color: #f3f4f6;
}

/* RTL Support */
[dir="rtl"] .country-selector {
    border-right: none;
    border-left: 2px solid #e5e7eb;
}

[dir="rtl"] .chevron {
    margin-left: 0;
    margin-right: 0.25rem;
}

[dir="rtl"] .country-selector,
[dir="rtl"] .country-option {
    flex-direction: row-reverse;
}

/* Phone input validation states */
.phone-input-container:has(input.valid) {
    border-color: #10b981;
}

.phone-input-container:has(input.invalid) {
    border-color: #ef4444;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .country-selector {
        padding: 0.625rem 0.875rem;
    }
    
    #phone, #heroPhone {
        padding: 0.625rem 0.875rem;
    }
}

.cta-button, .start-button {
    background: var(--button-gradient);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), opacity var(--transition-speed);
    width: 100%;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.cta-button:hover, .start-button:hover {
    background: var(--primary-gradient);
    box-shadow: 0 4px 12px var(--shadow-color);
    opacity: 1;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal[style*="display: flex"] {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 2rem;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color var(--transition-speed);
    z-index: 2001;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.close-button:hover {
    color: var(--text-color);
    background: #f3f4f6;
}

.modal h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-subtitle {
    color: #4b5563;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    display: block;
}

/* Name input */
#name {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all var(--transition-speed);
}

#name:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(65, 113, 245, 0.1);
}

/* Submit button */
.contact-form .cta-button {
    margin-top: 0.5rem;
}

/* RTL Support */
[dir="rtl"] .form-group {
    text-align: right;
}

[dir="rtl"] .flag {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .phone-input-container {
    flex-direction: row-reverse;
}

/* Progress Screen */
.progress-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.progress-screen:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.progress-container {
    text-align: center;
}

.progress-text {
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.progress-screen:not(.hidden) .progress-text {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .subtext {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}

/* Use Case Grid Styles */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.use-case-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(65, 113, 245, 0.08);
    border: 1px solid rgba(65, 113, 245, 0.1);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(65, 113, 245, 0.12);
}

.use-case-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.use-case-card p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
}

/* Modal Content Adjustments */
.modal-content {
    max-width: 600px;
    width: 90%;
    padding: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .progress-text {
        font-size: 1.25rem;
    }
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-color);
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-item:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color var(--transition-speed);
}

.dropdown-content a:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.contact-button {
    background: var(--button-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), opacity var(--transition-speed);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.contact-button:hover {
    background: var(--primary-gradient);
    box-shadow: 0 4px 12px var(--shadow-color);
    opacity: 1;
    transform: translateY(-2px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .header-container {
        padding: 0 1rem;
    }
    
    .logo span {
        font-size: 1.125rem;
    }
    
    .contact-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 0.25rem 0.5rem;
    margin-left: 1rem;
}

.lang-option {
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all var(--transition-speed);
    opacity: 0.5;
}

.lang-option.active {
    opacity: 1;
}

.lang-option:hover {
    transform: scale(1.1);
}

/* Chevron in dropdown */
.nav-item.dropdown {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chevron-down {
    margin-top: 2px;
    transition: transform var(--transition-speed);
}

.dropdown:hover .chevron-down {
    transform: rotate(180deg);
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .main-nav {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .phone-input-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .flag {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .modal-content h2 {
    text-align: right;
}

[dir="rtl"] .close-button {
    right: auto;
    left: 1.5rem;
}

/* Adjust font sizes for Arabic */
[dir="rtl"] h1 {
    line-height: 1.4;
    font-size: 2.75rem;
}

[dir="rtl"] .subtext {
    line-height: 1.8;
}

[dir="rtl"] .use-case-card p {
    line-height: 1.6;
}

/* Adjust spacing for Arabic */
[dir="rtl"] .nav-item {
    font-size: 0.95rem;
}

[dir="rtl"] .dropdown-content {
    text-align: right;
}

/* Metrics Section */
.metrics-section {
    padding: 4rem 0 3rem;
    background: linear-gradient(to bottom, transparent, rgba(109, 149, 255, 0.05));
    margin: 2rem -2rem;
    overflow: hidden;
}

.metrics-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    padding: 0 2rem;
}

.metrics-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.metrics-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.metrics-content {
    width: 100%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.workflow-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.workflow-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(to bottom right, rgba(109, 149, 255, 0.1), transparent);
    border-radius: calc(var(--border-radius) + 20px);
    z-index: -1;
}

.workflow-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.metric-card {
    background: white;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(65, 113, 245, 0.08);
    border: 1px solid rgba(65, 113, 245, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-desc {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.4;
}

/* Responsive adjustments for metrics */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .workflow-image {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .metrics-section {
        margin: 1rem -1rem;
        padding: 2rem 0;
    }

    .metrics-section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .metrics-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .metrics-layout {
        gap: 2rem;
        padding: 0;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }

    .metric-card {
        padding: 1rem;
    }

    .workflow-image::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Support for metrics */
[dir="rtl"] .metrics-subtitle {
    text-align: right;
    line-height: 1.6;
}

[dir="rtl"] .metric-card {
    text-align: right;
}

/* Who We Help Section */
.who-we-help {
    padding: 6rem 0;
    background: linear-gradient(to bottom, transparent, rgba(109, 149, 255, 0.03));
}

.who-we-help h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.industry-layout {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.industry-nav {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.industry-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 1px solid rgba(65, 113, 245, 0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: left;
    width: 100%;
}

.industry-button:hover {
    background: rgba(65, 113, 245, 0.03);
    border-color: rgba(65, 113, 245, 0.2);
    transform: translateX(4px);
}

.industry-button.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.industry-icon {
    font-size: 1.5rem;
}

.industry-content {
    flex: 1;
    min-width: 0;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.chat-bubble {
    max-width: 80%;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    position: relative;
    animation: fadeSlideIn 0.3s ease-out;
}

.chat-bubble p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.chat-bubble.customer {
    background: #f3f4f6;
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
}

.chat-bubble.servanna {
    background: var(--primary-gradient);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.content-text {
    padding-top: 2rem;
    border-top: 1px solid rgba(65, 113, 245, 0.1);
    animation: fadeSlideUp 0.3s ease-out;
}

.content-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.6;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .industry-layout {
        gap: 3rem;
    }

    .industry-nav {
        flex: 0 0 240px;
    }
}

@media (max-width: 768px) {
    .who-we-help {
        padding: 4rem 0;
    }

    .industry-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .industry-nav {
        flex: none;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .industry-nav::-webkit-scrollbar {
        display: none;
    }

    .industry-button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .industry-button:hover {
        transform: translateY(-2px);
    }

    .content-text h3 {
        font-size: 1.25rem;
    }

    .content-text p {
        font-size: 1rem;
    }
}

/* RTL Support */
[dir="rtl"] .industry-button {
    text-align: right;
}

[dir="rtl"] .industry-button:hover {
    transform: translateX(-4px);
}

[dir="rtl"] .chat-bubble.customer {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.25rem;
}

[dir="rtl"] .chat-bubble.servanna {
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 0.25rem;
}

/* Get Started Section */
.get-started {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(65, 113, 245, 0.05) 0%, rgba(109, 149, 255, 0.02) 100%);
}

.get-started h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.get-started .subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    max-width: 700px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(65, 113, 245, 0.08);
    border: 1px solid rgba(65, 113, 245, 0.1);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.timeline-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(65, 113, 245, 0.12);
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-number {
    font-size: 1.5rem;
    flex-shrink: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #4b5563;
    line-height: 1.5;
    font-size: 1rem;
}

.get-started .cta-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.get-started .cta-button {
    width: auto;
    min-width: 200px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    background: var(--button-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.get-started .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .get-started {
        padding: 3rem 0;
    }

    .get-started h2 {
        font-size: 1.75rem;
    }

    .timeline-item {
        padding: 1.25rem;
        gap: 1rem;
    }

    .timeline-number {
        font-size: 1.25rem;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.875rem;
    }

    .get-started .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* RTL Support */
[dir="rtl"] .timeline-item:hover {
    transform: translateX(-8px);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid rgba(65, 113, 245, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-speed);
}

.faq-item:hover {
    border-color: rgba(65, 113, 245, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

.toggle-icon {
    font-size: 1.5rem;
    color: #4b5563;
    transition: transform var(--transition-speed);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-column a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color var(--transition-speed);
}

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

.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

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

.social-links a {
    color: #9ca3af;
    font-size: 1.25rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-social {
        grid-column: 1 / -1;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .get-started h2,
    .faq h2 {
        font-size: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .timeline-number {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column a {
        display: inline-block;
        margin: 0 0.5rem;
    }
}

/* RTL Support */
[dir="rtl"] .timeline-item:hover {
    transform: translateX(-8px);
}

[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-column a {
    text-align: right;
}

/* Contact Modal Styles */
.modal-subtitle {
    color: #4b5563;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--transition-speed);
}

.contact-form .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(65, 113, 245, 0.1);
}

.contact-form .phone-input-container {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed);
}

.contact-form .phone-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(65, 113, 245, 0.1);
}

.contact-form .flag {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.contact-form .form-input {
    border: none;
    padding: 0.5rem 0;
}

.contact-form .form-input:focus {
    box-shadow: none;
}

/* RTL Support for Contact Modal */
[dir="rtl"] .contact-form .flag {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .contact-form .phone-input-container {
    flex-direction: row-reverse;
}

/* Country Selector Dropdown */
.country-dropdown {
    position: absolute;
    background: white;
    border: 1px solid rgba(65, 113, 245, 0.1);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2100;
    max-height: 200px;
    overflow-y: auto;
    width: 120px;
}

.country-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-option:hover {
    background-color: rgba(65, 113, 245, 0.05);
}

/* Phone input validation states */
input[type="tel"].valid {
    border-color: #10b981;
}

input[type="tel"].invalid {
    border-color: #ef4444;
}

.phone-input-container:has(input.valid) {
    border-color: #10b981;
}

.phone-input-container:has(input.invalid) {
    border-color: #ef4444;
}

.flag {
    cursor: pointer;
    user-select: none;
}

/* RTL Support for country dropdown */
[dir="rtl"] .country-option {
    flex-direction: row-reverse;
} 