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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2f 100%);
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 5px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 198, 255, 0.3);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Menu Button */
.menu-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    display: none;
}

.menu-btn:hover {
    color: #00c6ff;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(0, 198, 255, 0.3);
    padding: 2rem;
}

.side-menu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.menu-overlay.active {
    display: block;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 198, 255, 0.3);
}

.menu-header h3 {
    color: #00c6ff;
}

.close-menu {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-menu:hover {
    color: #ff4444;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-item:hover {
    background: rgba(0, 198, 255, 0.1);
    transform: translateX(-5px);
}

.menu-item i {
    width: 24px;
    color: #00c6ff;
}

.user-menu-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 198, 255, 0.3);
}

.user-info-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.menu-logout {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.menu-logout:hover {
    background: rgba(255, 68, 68, 0.3);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: #00c6ff;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 198, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.username-display {
    color: #00c6ff;
    font-weight: bold;
}

.logout-btn {
    background: transparent;
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #ff4444;
    color: #fff;
}

/* Sections General Styles */
section {
    min-height: 100vh;
    padding: 80px 5% 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #fff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.1));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 198, 255, 0.03) 10px,
        rgba(0, 114, 255, 0.03) 20px
    );
    animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccc;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.3);
}

/* About Section */
.about {
    background: linear-gradient(135deg, #0f0f1a, #1a1a2f);
}

.typing-container {
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
    min-height: 100px;
}

.typing-text {
    color: #00c6ff;
    border-right: 3px solid #0072ff;
    padding-right: 5px;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #0072ff; }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #00c6ff;
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.project-content {
    padding: 1.5rem;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #00c6ff;
}

.project-card p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-button {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid #00c6ff;
    border-radius: 25px;
    color: #00c6ff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.project-button:hover {
    background: #00c6ff;
    color: #000;
}

.coming-soon {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.coming-soon .project-button {
    border-color: #ffc107;
    color: #ffc107;
    cursor: not-allowed;
}

.coming-soon .project-button:hover {
    background: #ffc107;
    color: #000;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 198, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:hover {
    transform: scale(1.05);
    border-color: #00c6ff;
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.3);
}

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

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #00c6ff;
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(135deg, #1a1a2f, #0f0f1a);
}

.support-button {
    padding: 1.5rem 4rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
}

.support-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(0, 198, 255, 0.5);
}

/* Sign Up Banner */
.signup-banner {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1), rgba(0, 114, 255, 0.1));
    margin: 2rem 0;
    border-radius: 20px;
}

.signup-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00c6ff;
}

.signup-banner p {
    color: #ccc;
    margin-bottom: 2rem;
}

.signup-banner .cta-button {
    animation: none;
    opacity: 1;
}

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

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.95);
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(0, 198, 255, 0.3);
}

.footer p {
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .typing-container {
        font-size: 1.5rem;
    }

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

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

    .side-menu {
        width: 280px;
    }
}

