/* Base Styles */
:root {
    --primary: #6C63FF;
    --secondary: #7E57C2;
    --accent: #5E35B1;
    --light: #F5F5FF;
    --dark: #2A2A3A;
    --gray: #9E9EA7;
    --shadow: 0 5px 15px rgba(108, 99, 255, 0.1);
    --gradient: linear-gradient(135deg, #6C63FF 0%, #5E35B1 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

a:hover {
    color: var(--accent);
}

ul {
    list-style: none;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 200px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: white;
    padding: 160px 5% 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.hero-shape {
    position: absolute;
    right: -5%;
    top: 20%;
    width: 50%;
    z-index: 1;
    opacity: 0.8;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.4);
    color: white;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(108, 99, 255, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

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

.feature {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.feature p {
    color: var(--gray);
}

/* AI Tech Section */
.ai-tech {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.ai-tech .container {
    display: flex;
    align-items: center;
    position: relative;
}

.tech-content {
    flex: 1;
    padding-right: 50px;
    z-index: 2;
}

.tech-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.tech-content p {
    margin-bottom: 25px;
    color: var(--gray);
}

.tech-features {
    margin-bottom: 30px;
}

.tech-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.tech-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
}

.tech-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    margin-left: auto;
}

.tech-visual svg {
    width: 100%;
    height: auto;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--light);
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark);
}

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

.gallery-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item h3 {
    padding: 20px;
    text-align: center;
    color: var(--dark);
}

/* CTA Section */
.cta {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: transparent;
    border-color: white;
    color: white;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    width: 300px;
    height: 200px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .ai-tech .container {
        flex-direction: column;
    }

    .tech-content {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        background: white;
        padding: 80px 30px;
        transition: 0.5s;
        align-items: center;
        justify-content: center;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-shape {
        opacity: 0.4;
        top: 40%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .feature {
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-logo {
        margin: 0 auto 30px;
    }

    .footer-links {
        justify-content: space-around;
    }
}

@media screen and (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}
