/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-svg:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: none;
    position: relative;
    padding-bottom: 4px;
}

.nav-link:hover {
    color: #333;
}

.nav-link.active {
    color: #333;
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 1px;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.try-bots-btn {
    background: #000;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.try-bots-btn:hover {
    background: #333;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
    padding: 100px 20px 20px 20px;
    color: #333;
    background: white;
    flex-shrink: 0;
}

.hero-image {
    height: 100vh;
    margin: 0;
    width: 100%;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

/* About Section */
.about {
    padding: 3rem 0;
    background: #f8f9fa;
}

.about-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Mission Section - Text left, image right */
.mission-section .about-text {
    order: 1;
}

.mission-section .about-image {
    order: 2;
}

.about-text {
    padding: 1rem;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-image {
    padding: 1rem;
}

.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Insights Section */
.insights-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #171924 0%, #19151d 100%);
    color: white;
    border-radius: 15px;
}

.insights-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Products Section */
.products {
    padding: 3rem 0;
    background: white;
}

.products-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.bots-section {
    text-align: center;
    padding: 2rem;
}

.bots-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.bots-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.bot-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bot-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.bot-card:hover::before {
    left: 100%;
}

.bot-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    border-color: rgba(79, 86, 116, 0.3);
}

.bot-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1c1e25 0%, #1a171fd5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(29, 30, 37, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.bot-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1a1c24, #292230, #12141d);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bot-card:hover .bot-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.bot-card:hover .bot-icon::after {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

.bot-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Apply white filter only to SVG icons, not PNG */
.bot-img[src*=".svg"] {
    filter: brightness(0) invert(1);
}

/* PNG images (like bot.png) should display naturally */
.bot-img[src*=".png"] {
    filter: none;
}

/* Fallback for bot icon if SVG doesn't load */
.bot-img[src*="bot-icon.svg"]:after {
    content: "🤖";
    font-size: 24px;
    display: block;
    text-align: center;
    line-height: 32px;
}

.bot-card:hover .bot-img {
    transform: scale(1.1);
}

.bot-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.bot-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.bot-card:hover .bot-content h4 {
    color: #121318;
}

.bot-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.bot-card:hover .bot-content p {
    color: #555;
}

/* Add pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Add floating animation for bot icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.bot-icon {
    animation: float 3s ease-in-out infinite;
}

.bot-card:nth-child(2) .bot-icon {
    animation-delay: 1s;
}

.bot-card:nth-child(3) .bot-icon {
    animation-delay: 2s;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.product-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.cta-btn {
    background: linear-gradient(135deg, #20222b 0%, #28242c 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 3rem 0;
    background: white;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Consulting Section - Text left, image right */
.consulting-section .service-text {
    order: 1;
}

.consulting-section .service-image {
    order: 2;
}

.service-text {
    padding: 1rem;
}

.service-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.service-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-image {
    padding: 1rem;
}

.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-item:hover .service-img {
    transform: scale(1.05);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .consulting-section .service-text,
    .consulting-section .service-image {
        order: unset;
    }
    
    .service-text h3 {
        font-size: 1.5rem;
    }
    
    .service-text p {
        font-size: 1rem;
    }
    
    .service-img {
        height: 200px;
    }
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: white;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    background: linear-gradient(135deg, #282930 0%, #29262c 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.contact-item .note {
    font-size: 0.9rem;
    color: #888;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-text {
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mission-section .about-text,
    .mission-section .about-image {
        order: unset;
    }

    .about-img {
        height: 250px;
    }

    .products-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bots-section h3 {
        font-size: 2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .service-card {
        grid-template-columns: 1fr !important;
    }

    .service-card:nth-child(even) .service-image,
    .service-card:nth-child(even) .service-content {
        order: unset;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
