@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #f1f5f9;
    background: linear-gradient(180deg, #020617 0%, #0c0a1e 50%, #1a0b2e 100%);
    background-attachment: fixed;
    scroll-behavior: smooth;
    font-weight: 400;
}

/* Header */
.header {
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: radial-gradient(ellipse at center, #1a0b2e 0%, #0c0a1e 30%, #050211 70%, #000000 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.3" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 25%, #8b5cf6 50%, #06b6d4 75%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.75;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #cbd5e1;
}

.cta-button {
    background: linear-gradient(135deg, #312e81, #3b82f6, #06b6d4);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* Services Section */
.services {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.025em;
}

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

.service-card {
    background: linear-gradient(145deg, rgba(2, 6, 23, 0.9), rgba(12, 10, 30, 0.8));
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    background: linear-gradient(145deg, rgba(12, 10, 30, 0.95), rgba(26, 11, 46, 0.9));
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.3);
}

.service-card:nth-child(1) h3 {
    color: #3b82f6;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card:nth-child(2) h3 {
    color: #8b5cf6;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card:nth-child(3) h3 {
    color: #06b6d4;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.7;
    font-weight: 300;
}

/* Team Section */
.team {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.95) 0%, rgba(12, 10, 30, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 8rem 3rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.team-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.team-description {
    font-size: 1.3rem;
    color: #94a3b8;
    max-width: 900px;
    margin: 0 auto 4rem;
    font-weight: 300;
    line-height: 1.8;
}

.team-roles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

.role {
    background: linear-gradient(145deg, rgba(2, 6, 23, 0.8), rgba(12, 10, 30, 0.6));
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    min-width: 220px;
    transition: all 0.3s ease;
}

.role:nth-child(1) {
    border-color: rgba(59, 130, 246, 0.2);
}

.role:nth-child(2) {
    border-color: rgba(139, 92, 246, 0.2);
}

.role:nth-child(3) {
    border-color: rgba(6, 182, 212, 0.2);
}

.role:nth-child(4) {
    border-color: rgba(244, 63, 94, 0.2);
}

.role:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    background: linear-gradient(145deg, rgba(12, 10, 30, 0.9), rgba(26, 11, 46, 0.8));
}

.role-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.role:nth-child(1) h4 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.role:nth-child(2) h4 {
    color: #8b5cf6;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.role:nth-child(3) h4 {
    color: #06b6d4;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.role:nth-child(4) h4 {
    color: #f43f5e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.role p {
    color: #94a3b8;
    font-weight: 300;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 8rem 3rem;
    background: linear-gradient(135deg, #1a0b2e, #0c0a1e, #020617);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
                radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 70%),
                radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.05) 0%, transparent 80%);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 3rem auto 0;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(2, 6, 23, 0.6);
    backdrop-filter: blur(10px);
    color: #f1f5f9;
    transition: all 0.3s ease;
    font-weight: 300;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
    background: rgba(12, 10, 30, 0.8);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.contact-form button {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6, #06b6d4);
    color: white;
    border: none;
    padding: 1.3rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed, #1d4ed8, #0891b2);
}

.contact-info {
    margin-top: 3rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #94a3b8;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(145deg, rgba(2, 6, 23, 0.95), rgba(12, 10, 30, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    color: #f1f5f9;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    background: linear-gradient(45deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.toast-message {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #f1f5f9;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #000000 0%, #020617 100%);
    color: #64748b;
    text-align: center;
    padding: 3rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    font-weight: 300;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .services {
        padding: 5rem 1.5rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2.5rem 2rem;
    }

    .team {
        padding: 5rem 1.5rem;
    }

    .team-roles {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .contact {
        padding: 5rem 1.5rem;
    }

    .contact-form {
        margin: 2rem auto 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .role {
        padding: 2rem 1.5rem;
        min-width: 280px;
    }

    .toast {
        right: 15px;
        left: 15px;
        max-width: none;
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}
