:root {
    --primary-color: #8b5cf6; /* Purple */
    --primary-dark: #7c3aed;
    --primary-light: #c4b5fd;
    --secondary-color: #f3f4f6; /* Light gray with purple tint */
    --accent-color: #ec4899; /* Pink accent */
    --accent-gradient: linear-gradient(135deg, #ec4899, #f59e0b);
    --text-color: #1f2937; /* Dark gray */
    --text-light: #6b7280;
    --heading-color: #111827; /* Very dark gray */
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
    --gradient-secondary: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9);
    --gradient-pink: linear-gradient(135deg, #ec4899, #f472b6, #fbbf24);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --max-width: 1100px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition-speed: 0.3s ease;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
    min-height: 100vh;
}

h1, h2, h3 {
    color: var(--heading-color);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem; /* Responsive adjustments below */
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #003a91; /* Darker primary */
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Added to group nav links and language switcher */
.nav-links {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 1.5rem;
}

header nav ul li a {
    font-weight: 600;
    color: var(--text-color);
}

header nav ul li a:hover {
    color: var(--primary-color);
}

.language-switcher {
    margin-left: 1.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.language-switcher:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Sections */
section {
    padding: 2.5rem 0;
}

section:nth-child(odd) {
     background-color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section h1 {
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-speed);
    border: none;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #9333ea);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features-section {
     background-color: var(--secondary-color);
}

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

.feature-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-item h3 {
    margin-top: 1rem; /* Adjust if using icons */
    margin-bottom: 0.5rem;
}

/* How it Works */
.how-it-works-section {
    background-color: var(--white);
}

/* Demo Section */
.demo-section {
    background-color: var(--secondary-color);
}

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

.demo-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.demo-card h3 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.demo-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.demo-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.demo-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.demo-card ul li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.demo-card .cta-button {
    display: inline-block;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 2rem;
}

.step span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-section {
     background-color: var(--secondary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch; /* Make cards same height */
}

.pricing-tier {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-tier.popular {
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg) translate(30%, -50%);
    transform-origin: top right;
     width: 120px;
    text-align: center;
    right: -30px;
     top: 15px;
}

.pricing-tier h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-container {
    text-align: center; /* Keep price centered */
    margin-bottom: 1.5rem; /* Match original margin */
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    /* Removed margin-bottom here as it's handled by container */
    margin-bottom: 0.25rem; /* Small space before original price */
    text-align: center; /* Ensure price itself is centered if container changes */
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-left: 0.25rem;
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0; /* Reset margin for this p */
    text-align: center;
}

.original-price del {
    /* Consider using a variable for the discount color */
    color: #e53e3e; /* A slightly darker red */
    margin-right: 0.5rem;
    opacity: 0.9;
}

.paypal-button-container {
    margin-top: 1.5rem; /* Add space above the PayPal button */
}

/* Custom Chat Bubble Styling */
.chat-widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
}

/* Style the chat bubble button */
.chat-widget button,
.chat-widget [role="button"],
.chat-widget .bp-widget-button {
    background: var(--gradient-purple) !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-lg) !important;
    border: none !important;
    width: 60px !important;
    height: 60px !important;
    transition: all var(--transition-speed) !important;
}

.chat-widget button:hover,
.chat-widget [role="button"]:hover,
.chat-widget .bp-widget-button:hover {
    transform: scale(1.1) !important;
    box-shadow: var(--shadow-xl) !important;
    background: var(--gradient-pink) !important;
}

.pricing-tier ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1; /* Push button to bottom */
}

.pricing-tier ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-tier ul li::before {
    content: '\2713'; /* Checkmark */
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pricing-tier .cta-button {
    display: block;
    text-align: center;
    margin-top: auto; /* Stick to bottom */
}

/* Contact Section */
.contact-section {
    text-align: center;
     background-color: var(--white);
}

.contact-section p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact-buttons .cta-button {
    margin: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--heading-color), #1e293b);
    color: #a0aec0;
    padding: 2rem 0;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

footer p {
    margin: 0;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

footer ul li {
    margin-left: 1rem;
}

footer ul li a {
    color: #a0aec0;
}

footer ul li a:hover {
    color: var(--white);
}

/* Currency Switcher Styling */
.currency-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.currency-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-size: 1rem;
}

.currency-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.currency-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.currency-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* AI Chatbot Section Styling */
.ai-chatbot-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.ai-chatbot-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ai-chatbot-section > .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.chatbot-demo {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--accent-color);
}

.chatbot-demo h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.chatbot-pricing {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
}

.chatbot-pricing h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

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

.chatbot-pricing .pricing-tier h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--heading-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-links.mobile-active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .nav-links ul li a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
        border-radius: var(--border-radius);
        background: var(--secondary-color);
        transition: all var(--transition-speed);
    }
    
    .nav-links ul li a:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
    }
    
    .language-switcher {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        background: var(--gradient-primary);
        color: var(--white);
        border: none;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-md);
    }
}

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

    h2 {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    header nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .pricing-tier {
        padding: 1.5rem;
    }
    
    .demo-card {
        padding: 1.5rem;
    }
    
    .demo-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 350px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    footer ul {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .feature-grid {
         grid-template-columns: 1fr; /* Stack features */
    }

     .pricing-grid {
         grid-template-columns: 1fr; /* Stack pricing */
    }

    /* For very small screens, make nav more compact */
    header nav ul {
        gap: 0.25rem;
    }

    header nav ul li a {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }

    .language-switcher {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.25rem;
    }
    
    .demo-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .demo-card {
        padding: 1rem;
    }
} 