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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background: #0F1419;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* Background Elements */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.orbital-accent {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    border: 2px solid rgba(0, 217, 255, 0.1);
    top: -400px;
    right: -400px;
    z-index: 0;
    pointer-events: none;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #00D9FF 0%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
}

.nav-links a:hover {
    color: #00D9FF;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #00D9FF, #FF6B4A);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 100px 0 150px;
    text-align: center;
}

.hero-logo {
    width: 220px;
    height: 220px;
    margin: 0 auto 40px;
    animation: float 6s ease-in-out infinite;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #00D9FF 50%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.tagline {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #FF6B4A 0%, #FF8866 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 74, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 74, 0.5);
}

/* Section Headers */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00D9FF 0%, #0066CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.project-card {
    background: linear-gradient(135deg, rgba(35, 41, 56, 0.8) 0%, rgba(26, 31, 46, 0.8) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00D9FF, #0066CC);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FF6B4A, #FF8866);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.project-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 217, 255, 0.1);
    color: #00D9FF;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Footer */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-content {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00D9FF;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 42px;
    }

    .tagline {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 36px;
    }

    .nav-links {
        gap: 20px;
        font-size: 14px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    h1 {
        font-size: 36px;
    }

    .hero {
        padding: 60px 0 100px;
    }
}