/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(to bottom, #0a0e27 0%, #1a1a3e 50%, #0f0f1e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #b0b0c0;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1538 50%, #0a0e27 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), inset 0 0 20px rgba(0, 212, 255, 0.1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), inset 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.5), rgba(26, 21, 56, 0.8));
}

.services h2,
.portfolio h2,
.about h2,
.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 60, 0.8) 0%, rgba(42, 20, 70, 0.6) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.3), inset 0 0 20px rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: #b0b0c0;
    line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 20px;
    background: linear-gradient(to bottom, rgba(26, 21, 56, 0.8), rgba(10, 14, 39, 0.5));
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: linear-gradient(135deg, rgba(26, 26, 60, 0.7) 0%, rgba(42, 20, 70, 0.5) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
}

.portfolio-item:hover {
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

.portfolio-image {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #00d4ff;
}

.portfolio-item p {
    color: #b0b0c0;
    margin-bottom: 1rem;
}

.portfolio-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.portfolio-link:hover {
    color: #a855f7;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.featured-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* About Section */
.about {
    padding: 80px 20px;
    background: linear-gradient(to bottom, rgba(10, 14, 39, 0.5), rgba(26, 21, 56, 0.8));
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    color: #b0b0c0;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #b0b0c0;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: linear-gradient(to bottom, rgba(26, 21, 56, 0.8), rgba(10, 14, 39, 0.5));
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #b0b0c0;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 26, 60, 0.9) 0%, rgba(42, 20, 70, 0.8) 100%);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(10, 14, 39, 0.5);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: #e0e0e0;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #808090;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), inset 0 0 10px rgba(0, 212, 255, 0.05);
    background: rgba(10, 14, 39, 0.8);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    color: white;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
}

.form-status.success {
    color: #00ff88;
}

.form-status.error {
    color: #ff4466;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 15, 30, 0.95) 100%);
    color: #b0b0c0;
    padding: 3rem 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #b0b0c0;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services h2,
    .portfolio h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .footer .container {
        flex-direction: column;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}
