/* Base Styles */
:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --dark: #292F36;
    --light: #F7FFF7;
    --gray: #6c757d;
    --gradient: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9f9f9;
}

.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: #ff4f4f;
}

ul {
    list-style: none;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo-container {
    flex: 0 0 200px;
}

.logo {
    width: 100%;
    height: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

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

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

#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: var(--gradient);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.cta-button:hover {
    background-color: transparent;
    color: white;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--dark);
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

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

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.step {
    flex: 0 0 250px;
    margin: 0 20px 30px;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* AI Technology Section */
.ai-technology {
    padding: 80px 0;
    background-color: white;
}

.ai-technology h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.tech-column {
    flex: 0 0 48%;
    margin-bottom: 30px;
}

.tech-column h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

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

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

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

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

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

.footer-logo {
    width: 200px;
    margin-bottom: 30px;
}

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

.footer-column {
    flex: 0 0 30%;
    margin-bottom: 30px;
}

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

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

.footer-column a {
    color: #cccccc;
}

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

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 30px;
}

.copyright p {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tech-column {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        height: auto;
        padding: 20px 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 20px;
    }
    
    nav ul li {
        margin: 0 0 15px;
    }
    
    #menu-toggle {
        display: block;
    }
    
    .menu-open #menu-toggle span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-open #menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-open #menu-toggle span:last-child {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .feature-card, .step, .footer-column {
        flex: 0 0 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .features, .how-it-works, .ai-technology, .cta-section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}
