/* Base styles and variables */
:root {
    --primary: #00c7b4;
    --secondary: #ff7284;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f0f0f0;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --spacing: 8rem;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
}

p {
    margin-bottom: 1.5rem;
}

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

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

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

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    fill: url(#hero-gradient);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--light);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(0, 199, 180, 0.1);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
}

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

/* Technology Section */
.technology {
    padding: var(--spacing) 0;
    background-color: var(--gray);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    font-size: 1.1rem;
}

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

.tech-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

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

.icon-bg {
    fill: rgba(0, 199, 180, 0.1);
}

/* Gallery Section */
.gallery {
    padding: var(--spacing) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-svg {
    width: 100%;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--light);
    transition: var(--transition);
    opacity: 0;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Features Section */
.features {
    padding: var(--spacing) 0;
    background-color: var(--gray);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.check-svg {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

.check-bg {
    fill: var(--primary);
}

.features-visual {
    display: flex;
    justify-content: center;
}

.features-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--gradient);
    color: var(--light);
}

.cta-section h2 {
    color: var(--light);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    opacity: 0.8;
    margin-top: 1rem;
}

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

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--light);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-favicon {
    display: flex;
    align-items: center;
}

.footer-favicon img {
    margin-left: 1rem;
}

/* Animation keyframes and other animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animations for wave-like SVG elements */
.background-pattern path {
    animation: wave 15s infinite linear;
}

.background-pattern path:nth-child(2) {
    animation-delay: -5s;
}

.background-pattern path:nth-child(3) {
    animation-delay: -10s;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Animation for AI elements */
.ai-elements circle {
    animation: pulse 3s infinite alternate;
}

.ai-elements circle:nth-child(2) {
    animation-delay: 0.5s;
}

.ai-elements circle:nth-child(3) {
    animation-delay: 1s;
}

.ai-elements circle:nth-child(4) {
    animation-delay: 1.5s;
}

.ai-elements circle:nth-child(5) {
    animation-delay: 2s;
}

/* Media Queries */
@media (max-width: 992px) {
    :root {
        --spacing: 5rem;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .cta {
        justify-content: center;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing: 4rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .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);
    }
    
    .tech-cards,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .cta {
        flex-direction: column;
    }
    
    .cta .btn {
        width: 100%;
    }
}
