/* General Reset & Base Styles */
:root {
    --primary-color: #007bff; /* Bright Blue */
    --secondary-color: #4a00e0; /* Purple */
    --accent-color: #ffffff;
    --text-color: #f0f0f0;
    --dark-bg: #0a192f; /* Very Dark Blue */
    --medium-bg: #112240; /* Slightly Lighter Dark Blue */
    --gradient-start: var(--primary-color);
    --gradient-end: var(--secondary-color);
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

h1, h2, h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: #ccd6f6; /* Lighter text color */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4dabf7; /* Lighter blue on hover */
}

section {
    padding: 80px 0;
}

/* Header & Navigation */
header {
    background-color: rgba(10, 25, 47, 0.85); /* Slightly transparent dark bg */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

/* Style for the logo image */
.logo-image {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center; /* Align items vertically */
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 5px 0; /* Add some padding for better click area */
}

.nav-links a:hover,
.nav-links a.login-link:hover {
    color: var(--primary-color);
}

/* Style for the Login link */
.nav-links a.login-link {
    font-weight: 600;
    border: 1px solid var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-links a.login-link:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
}


.cta-button {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center; /* Ensure text is centered */
}

.cta-button:hover {
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.mobile-menu-button {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.8rem;
    cursor: pointer;
}


/* Hero Section */
.hero-section {
    padding: 160px 0 100px; /* More top padding due to fixed header */
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--medium-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: radial-gradient(circle at top right, rgba(0, 123, 255, 0.1) 0%, transparent 40%),
                      radial-gradient(circle at bottom left, rgba(74, 0, 224, 0.1) 0%, transparent 40%);
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative; /* Above pseudo-element */
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    background: linear-gradient(90deg, var(--accent-color), #c0c0ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #a8b2d1; /* Lighter secondary text */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    padding: 12px 35px;
    font-size: 1.1rem;
}

/* Style for the single hero image */
.hero-image-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}
.hero-image {
    max-width: 90%; /* Adjust as needed */
    width: 600px; /* Or specific width */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0; /* Initially hidden for animation */
    transform: translateY(30px); /* Start position for animation */
}

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

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

.feature-item {
    background-color: var(--dark-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Initially hidden for animation */
    transform: translateY(30px);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.feature-item i { /* Style for Font Awesome icons */
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

/* How it Works Section */
.steps-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
    opacity: 0; /* Initially hidden for animation */
    transform: translateY(30px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    align-self: center; /* Align arrow vertically */
    margin: 0 10px; /* Space around arrow */
    opacity: 0; /* Initially hidden for animation */
    transform: scale(0.5); /* Start small for scale animation */
}

/* Integrations Section */
.integrations-section {
     background-color: var(--dark-bg); /* Changed BG for variety */
}

.integrations-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #a8b2d1;
}

.integration-columns {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Make columns same height */
    flex-wrap: wrap;
    gap: 30px;
}

.integration-column {
    flex: 1;
    background-color: var(--medium-bg); /* Changed BG */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 250px; /* Ensure minimum width on smaller flex wraps */
    display: flex;
    flex-direction: column; /* Align content vertically */
    opacity: 0; /* Initially hidden for animation */
    transform: translateY(30px);
}

.integration-column h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.integration-column h3 i { color: var(--primary-color); }


.integration-column ul {
    list-style: none;
    padding-left: 0;
    flex-grow: 1; /* Allow ul to take available space */
}

.integration-column li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccd6f6;
}

.integration-column li i { /* Channel icons */
    color: #a8b2d1;
    width: 20px; /* Fixed width for alignment */
    text-align: center;
}
.integration-column li small { color: #8892b0; font-size: 0.8em;}

/* Removed .ai-logo styles */

.integration-separator {
    font-size: 2.5rem;
    color: var(--primary-color);
    align-self: center;
    padding: 0 20px;
    opacity: 0; /* Initially hidden for animation */
    transform: scale(0.5); /* Start small for scale animation */
}

.integration-icon-placeholder {
    text-align: center;
    margin-top: auto; /* Pushes icon to bottom */
    padding-top: 20px;
}
.integration-icon-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.5;
}

/* Contact Section */
.contact-section {
     background: linear-gradient(135deg, var(--medium-bg) 0%, var(--dark-bg) 100%);
}

.contact-section h2, .contact-section p:first-of-type {
    text-align: center;
}

.contact-options {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 3rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.contact-form-container {
    flex: 1.5; /* Form takes more space */
    min-width: 300px;
}

.contact-direct {
    flex: 1;
    min-width: 250px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #a8b2d1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--medium-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

#contact-form button {
    width: auto;
    padding: 12px 35px;
    margin-top: 1rem;
}

/* Style for form status message */
.form-status-message {
    margin-top: 1rem;
    font-weight: 600;
    min-height: 1.5em; /* Reserve space */
}
.form-status-message.success {
    color: #28a745; /* Green for success */
}
.form-status-message.error {
    color: #dc3545; /* Red for error */
}
.form-status-message.sending {
     color: #ffc107; /* Yellow for sending */
}


.contact-direct h3 {
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;
    gap: 10px; /* Reduced gap */
    margin-bottom: 0.5rem; /* Reduced margin */
    font-size: 1.1rem;
    padding: 12px 20px; /* Adjusted padding */
    border-radius: 8px;
    background-color: #25D366; /* Whatsapp Green */
    color: white; /* White text for contrast */
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

.contact-link:hover {
    background-color: #128C7E; /* Darker Whatsapp Green */
    transform: scale(1.03);
}

.contact-link i {
    font-size: 1.3rem; /* Adjusted icon size */
}

/* Style for WhatsApp number text */
.whatsapp-number {
    font-size: 1rem;
    color: #a8b2d1;
    margin-top: 0.5rem;
    margin-bottom: 2rem; /* Space before Human Robotics ref */
}


.human-robotics-ref {
    margin-top: 3rem;
    text-align: left;
    color: #a8b2d1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.human-robotics-ref img {
    opacity: 0.8;
    max-height: 25px; /* Control size */
    width: auto;
}


/* Footer */
footer {
    background-color: var(--dark-bg);
    text-align: center;
    padding: 20px 0;
    margin-top: 50px; /* Add some space before footer */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8892b0;
    font-size: 0.9rem;
}

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

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Class to trigger animation */
.animate-on-scroll {
    opacity: 0; /* Start hidden */
}

/* Utility class for hidden elements (like honeypot) */
.hidden {
    display: none !important;
}

/* Responsiveness */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .steps-container { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg) scale(0.5); margin: 10px 0; } /* Adjust transform */
    .integration-columns { flex-direction: column; align-items: center; }
    .integration-separator { display: none; } /* Hide plus on column stack */
    .integration-column { width: 90%; max-width: 500px; } /* Adjust width when stacked */
    .hero-image { max-width: 80%; width: 500px;}
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav links */
        position: absolute;
        top: 70px; /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--dark-bg); /* Use a solid background */
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); /* Add shadow */
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%; /* Make list items full width */
        text-align: center; /* Center text */
    }
    /* Ensure Login link styles work in mobile menu */
    .nav-links a.login-link {
        display: inline-block; /* Allow padding */
        border-width: 1px; /* Ensure border visible */
        width: auto; /* Don't force full width */
        margin-top: 10px;
    }


    .mobile-menu-button {
        display: block; /* Show hamburger */
    }

    .nav-cta {
        display: none; /* Hide CTA in nav on mobile */
    }

    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-image { max-width: 95%; width: 400px;}


    .contact-options { flex-direction: column; }
    .contact-direct { margin-top: 2rem; text-align: center;} /* Center align direct contact */
     .whatsapp-number { text-align: center; }
     .human-robotics-ref { justify-content: center; } /* Center HR ref */
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 60px 0; }
    .hero-section { padding-top: 120px; }
    .cta-button { padding: 10px 25px; font-size: 1rem;} /* Slightly larger base */
    .hero-cta { padding: 12px 30px; }
    .feature-item { padding: 25px 20px; }
    .hero-image { max-width: 100%; width: auto;}
}