/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-button {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.nav-button:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #6366f1);
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 40px;
    width: 128px;
    height: 128px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 80px;
    right: 40px;
    width: 160px;
    height: 160px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #93c5fd, #c4b5fd, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e5e7eb;
    font-weight: 300;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #d1d5db;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-white {
    background: white;
    color: #3b82f6;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: scale(1.05);
    background: #f9fafb;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: #f9fafb;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.stats-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item:nth-child(1) .stat-number { color: #3b82f6; }
.stat-item:nth-child(2) .stat-number { color: #8b5cf6; }
.stat-item:nth-child(3) .stat-number { color: #6366f1; }
.stat-item:nth-child(4) .stat-number { color: #ec4899; }

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.section-header.white h2 {
    color: white;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.section-header.white p {
    color: #d1d5db;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    background: #f9fafb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-icon.blue { background: #3b82f6; }
.service-icon.purple { background: #8b5cf6; }
.service-icon.green { background: #10b981; }
.service-icon.orange { background: #f97316; }
.service-icon.red { background: #ef4444; }
.service-icon.indigo { background: #6366f1; }

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
}

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

.portfolio-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

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

.portfolio-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.portfolio-icon.blue { background: #3b82f6; }
.portfolio-icon.purple { background: #8b5cf6; }
.portfolio-icon.green { background: #10b981; }
.portfolio-icon.orange { background: #f97316; }
.portfolio-icon.red { background: #ef4444; }
.portfolio-icon.indigo { background: #6366f1; }

.portfolio-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.tag {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.blue { background: #dbeafe; color: #1d4ed8; }
.tag.green { background: #d1fae5; color: #065f46; }
.tag.purple { background: #e9d5ff; color: #7c3aed; }
.tag.red { background: #fee2e2; color: #dc2626; }
.tag.yellow { background: #fef3c7; color: #d97706; }
.tag.indigo { background: #e0e7ff; color: #4338ca; }
.tag.orange { background: #fed7aa; color: #c2410c; }

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #6366f1);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    color: #bfdbfe;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

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

.footer-main {
    grid-column: span 2;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #93c5fd, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-main p {
    color: #9ca3af;
    margin-bottom: 1rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: white;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .footer-main {
        grid-column: span 1;
    }
}