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

:root {
    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-600: #2563eb;
    --color-purple-100: #f3e8ff;
    --color-purple-600: #9333ea;
    --color-green-100: #dcfce7;
    --color-green-600: #16a34a;
    --color-orange-100: #ffedd5;
    --color-orange-600: #ea580c;
    --color-pink-100: #fce7f3;
    --color-pink-600: #db2777;
    --color-indigo-100: #e0e7ff;
    --color-indigo-600: #4f46e5;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-400: #9ca3af;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-yellow-400: #facc15;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: #111827;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

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

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to bottom right, #2563eb, #9333ea);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #111827;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1rem;
}

.nav-link:hover {
    color: #2563eb;
}

.mobile-menu-btn {
    display: block;
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

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

.nav-link-mobile {
    text-align: left;
    color: #111827;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.nav-link-mobile:hover {
    color: #2563eb;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: #030213;
    color: white;
}

.btn-primary:hover {
    background: rgba(3, 2, 19, 0.9);
}

.btn-outline {
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #111827;
}

.btn-outline:hover {
    background: var(--color-gray-50);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(to bottom, var(--color-blue-50), white);
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-blue {
    background: var(--color-blue-100);
    color: var(--color-blue-600);
}

.feature-icon-purple {
    background: var(--color-purple-100);
    color: var(--color-purple-600);
}

.feature-icon-green {
    background: var(--color-green-100);
    color: var(--color-green-600);
}

.feature-title {
    font-weight: 600;
}

.feature-subtitle {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-decoration {
    position: absolute;
    border-radius: 1rem;
    opacity: 0.2;
}

.hero-decoration-1 {
    width: 8rem;
    height: 8rem;
    bottom: -1.5rem;
    right: -1.5rem;
    background: linear-gradient(to bottom right, #2563eb, #9333ea);
}

.hero-decoration-2 {
    width: 6rem;
    height: 6rem;
    top: -1.5rem;
    left: -1.5rem;
    background: linear-gradient(to bottom right, #9333ea, #db2777);
}

/* Section Styles */
section {
    padding: 5rem 1rem;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.badge-blue {
    background: var(--color-blue-100);
    color: var(--color-blue-600);
}

.badge-purple {
    background: var(--color-purple-100);
    color: var(--color-purple-600);
}

.badge-green {
    background: var(--color-green-100);
    color: var(--color-green-600);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    gap: 2rem;
}

.service-card {
    padding: 1.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon-blue {
    background: var(--color-blue-100);
    color: var(--color-blue-600);
}

.service-icon-purple {
    background: var(--color-purple-100);
    color: var(--color-purple-600);
}

.service-icon-green {
    background: var(--color-green-100);
    color: var(--color-green-600);
}

.service-icon-orange {
    background: var(--color-orange-100);
    color: var(--color-orange-600);
}

.service-icon-pink {
    background: var(--color-pink-100);
    color: var(--color-pink-600);
}

.service-icon-indigo {
    background: var(--color-indigo-100);
    color: var(--color-indigo-600);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--color-gray-600);
}

/* Projects Section */
.projects {
    background: var(--color-gray-50);
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.project-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-description {
    color: var(--color-gray-600);
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--color-gray-100);
    color: var(--color-gray-900);
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--color-gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--color-gray-50), white);
}

.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-info-description {
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

.contact-item {
    background: white;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon-blue {
    background: var(--color-blue-100);
    color: var(--color-blue-600);
}

.contact-item-icon-green {
    background: var(--color-green-100);
    color: var(--color-green-600);
}

.contact-item-icon-purple {
    background: var(--color-purple-100);
    color: var(--color-purple-600);
}

.contact-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item-value {
    color: var(--color-gray-600);
}

/* Footer */
.footer {
    background: var(--color-gray-900);
    color: white;
    padding: 3rem 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(to bottom right, #2563eb, #9333ea);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-description {
    color: var(--color-gray-400);
}

.footer-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-gray-800);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--color-gray-700);
}

.footer-bottom {
    border-top: 1px solid var(--color-gray-800);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-gray-400);
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-mobile {
        display: none !important;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-buttons {
        flex-direction: row;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
