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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo h2 {
    color: #7D67FF;
    font-size: 24px;
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #7D67FF;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7D67FF, #1DC77D);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle at 20% 80%, rgba(125, 103, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 199, 125, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 86, 0, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 24%, rgba(125, 103, 255, 0.1) 25%, rgba(125, 103, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(125, 103, 255, 0.1) 75%, rgba(125, 103, 255, 0.1) 76%, transparent 77%),
        linear-gradient(-45deg, transparent 24%, rgba(29, 199, 125, 0.1) 25%, rgba(29, 199, 125, 0.1) 26%, transparent 27%, transparent 74%, rgba(29, 199, 125, 0.1) 75%, rgba(29, 199, 125, 0.1) 76%, transparent 77%);
    background-size: 60px 60px;
    animation: backgroundMove 20s linear infinite;
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    color: #CCCCCC;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Buttons */
.btn-primary {
    background: #7D67FF;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #6B56E8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(125, 103, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #7D67FF;
    border: 2px solid #7D67FF;
    border-radius: 4px;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7D67FF;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Hero Visual Elements */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(2px);
}

.element-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(125, 103, 255, 0.4), rgba(93, 242, 177, 0.2));
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    box-shadow: 0 8px 32px rgba(125, 103, 255, 0.3);
}

.element-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(29, 199, 125, 0.3), rgba(237, 242, 93, 0.2));
    top: 55%;
    right: 10%;
    animation-delay: 2s;
    box-shadow: 0 8px 32px rgba(29, 199, 125, 0.3);
}

.element-3 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(245, 86, 0, 0.4), rgba(125, 103, 255, 0.2));
    bottom: 25%;
    left: 15%;
    animation-delay: 4s;
    box-shadow: 0 8px 32px rgba(245, 86, 0, 0.3);
}

.element-4 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(93, 242, 177, 0.5), rgba(29, 199, 125, 0.3));
    top: 30%;
    right: 25%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
    box-shadow: 0 4px 16px rgba(93, 242, 177, 0.4);
}

.element-5 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(237, 242, 93, 0.6), rgba(245, 86, 0, 0.3));
    bottom: 40%;
    right: 5%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 3s;
    box-shadow: 0 4px 16px rgba(237, 242, 93, 0.4);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #7D67FF, #1DC77D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 20px;
    color: #CCCCCC;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #000000;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
}

.services.fade-out {
    opacity: 0;
    transform: translateY(-50px);
}

.services.fade-in {
    opacity: 1;
    transform: translateY(0);
}

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

.service-card {
    background: #1A1A1A;
    border-radius: 8px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(125, 103, 255, 0.2);
    border-color: #7D67FF;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7D67FF;
    transition: all 0.3s ease;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #1DC77D;
    transform: scale(1.1);
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 4px 8px rgba(125, 103, 255, 0.3));
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.service-card p {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: #0A0A0A;
}

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

.portfolio-item {
    background: #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(45deg, #7D67FF, #1DC77D);
    position: relative;
}

.portfolio-content {
    padding: 24px;
}

.portfolio-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.portfolio-content p {
    font-size: 16px;
    color: #CCCCCC;
    margin-bottom: 16px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: #7D67FF;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 120px 0;
    background: #000000;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #7D67FF, #1DC77D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 18px;
    color: #CCCCCC;
    line-height: 1.8;
    margin-bottom: 40px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #7D67FF;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #CCCCCC;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.team-member {
    height: 120px;
    background: linear-gradient(45deg, #7D67FF, #1DC77D);
    border-radius: 8px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: #0A0A0A;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #2A2A2A;
    border: 1px solid #404040;
    border-radius: 4px;
    padding: 12px 16px;
    color: #FFFFFF;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7D67FF;
    box-shadow: 0 0 0 2px rgba(125, 103, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #7D67FF;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 16px;
    color: #CCCCCC;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1A1A1A;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 24px;
    color: #7D67FF;
}

.footer-section h4 {
    font-size: 18px;
}

.footer-section p {
    color: #CCCCCC;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7D67FF;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #7D67FF;
}

.footer-bottom {
    border-top: 1px solid #404040;
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: #CCCCCC;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(-10px) rotate(240deg);
    }
}

@keyframes backgroundMove {
    0% {
        background-position: 0px 0px, 0px 0px;
    }
    100% {
        background-position: 60px 60px, -60px -60px;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons button {
        width: 200px;
    }
    
    .nav ul {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #7D67FF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B56E8;
}