@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #ff0080;
    --primary-light: #ff4da6;
    --primary-dark: #cc0066;
    --secondary-color: #00ff80;
    --accent-color: #8000ff;
    --background-color: #0a0a0a;
    --surface-color: #1a1a1a;
    --card-color: #2a2a2a;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --light-text-color: #ffffff;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #ff0080, #8000ff, #00ff80);
    --gradient-secondary: linear-gradient(45deg, #ff6b35, #f093fb, #04e5e5);
    --gradient-accent: linear-gradient(90deg, #667eea, #764ba2);
    --neon-glow: 0 0 20px rgba(255, 0, 128, 0.5);
    --shadow-colored: 0 10px 30px rgba(255, 0, 128, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
        linear-gradient(-45deg, rgba(128, 0, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0, 255, 128, 0.1) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 0, 128, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(128, 0, 255, 0.15) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-100px, -100px) rotate(360deg); }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

header {
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-colored);
    background: rgba(42, 42, 42, 0.98);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    margin-right: 16px;
    border-radius: 12px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.5));
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}

.logo h1 a {
    text-decoration: none;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav .nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 32px;
}

nav .nav-list li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav .nav-list li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav .nav-list li a:hover::before {
    opacity: 1;
}

nav .nav-list li a:hover {
    color: var(--light-text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.cta-button {
    background: var(--gradient-primary);
    color: var(--light-text-color);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--neon-glow);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    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.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.7), var(--shadow-colored);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 3px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--text-color);
    margin: 4px 0;
    transition: 0.4s;
}

#hero {
    background: var(--surface-color);
    color: var(--text-color);
    text-align: center;
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0.1;
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h2 {
    font-size: 4.5rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 32px;
    text-shadow: 0 0 40px rgba(255, 0, 128, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

#hero p {
    font-size: 1.3rem;
    margin: 32px 0 48px;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-main {
    background: var(--gradient-primary);
    color: var(--light-text-color);
    padding: 20px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: var(--neon-glow), var(--shadow-colored);
    border: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.cta-button-main:hover::before {
    left: 100%;
}

.cta-button-main:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 50px rgba(255, 0, 128, 0.8), 0 20px 40px rgba(255, 0, 128, 0.4);
}

#services, #testimonials, #contact {
    padding: 100px 0;
}

h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 80px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    position: relative;
    text-transform: uppercase;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.service-item {
    background: var(--card-color);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-colored), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item img {
    height: 70px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 15px rgba(255, 0, 128, 0.5));
    transition: all 0.4s ease;
}

.service-item:hover img {
    transform: scale(1.2) rotateY(15deg);
    filter: drop-shadow(0 0 25px rgba(255, 0, 128, 0.8));
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.service-item p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 50px;
}

.testimonial-item {
    background: var(--card-color);
    padding: 50px;
    border-radius: 20px;
    border: 2px solid transparent;
    position: relative;
    transition: all 0.4s ease;
    text-align: center;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-secondary);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-item::after {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 5rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-colored), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-item:hover::before {
    opacity: 1;
}

.testimonial-item img {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    margin-bottom: 30px;
    object-fit: cover;
    border: 3px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 15px rgba(255, 0, 128, 0.5));
}

.testimonial-item p {
    font-style: italic;
    margin: 0 0 30px 0;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.testimonial-item h4 {
    text-align: center;
    margin: 0;
    font-weight: 600;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#contact {
    text-align: center;
    background: var(--surface-color);
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0.1;
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

#contact h2 {
    margin-bottom: 60px;
}

.contact-info {
    margin: 60px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 20px 40px;
    background: var(--gradient-primary);
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: var(--neon-glow), var(--shadow-colored);
    min-width: 250px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 128, 0.8), var(--shadow-colored);
}

.social-media {
    margin-top: 60px;
}

.social-media a {
    margin: 0 20px;
    display: inline-block;
    transition: all 0.4s ease;
}

.social-media img {
    height: 50px;
    border-radius: 12px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.5));
}

.social-media a:hover {
    transform: translateY(-6px) rotateY(20deg) scale(1.1);
}

.social-media a:hover img {
    filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.8));
}

footer {
    background: linear-gradient(135deg, var(--background-color), #050505);
    color: var(--light-text-color);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 16px 0;
    }

    header .container {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        display: none;
    }

    nav .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: var(--card-color);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        gap: 0;
        border-radius: 0 0 16px 16px;
    }

    nav .nav-list.active {
        display: flex;
    }

    nav .nav-list li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    nav .nav-list li:last-child {
        border-bottom: none;
    }

    nav .nav-list li a {
        display: block;
        padding: 16px 24px;
        border-radius: 0;
    }

    .menu-toggle {
        display: flex;
    }

    #hero {
        padding: 80px 0;
    }

    #hero h2 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
        margin: 24px 0 40px;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    #services, #testimonials, #contact {
        padding: 60px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-item {
        padding: 32px 24px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .testimonial-item {
        padding: 32px 24px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-button {
        min-width: 280px;
    }
}
