/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #151521 100%);
    color: #e0e0e0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   PARTICLE CANVAS
   ============================================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   HEADER NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.9);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #a78bfa;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #8b5cf6;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Work Sans', sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
}

/* ============================================
   GLASS-MORPHISM CARDS
   ============================================ */
.glass-card {
    background: rgba(21, 21, 33, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    text-align: center;
}

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

.about-card h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.about-card p {
    color: #d0d0d0;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
}

.service-number {
    font-family: 'Work Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.service-card p {
    color: #d0d0d0;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-card {
    text-align: center;
    padding: 1.5rem;
    font-weight: 600;
    color: #a78bfa;
    font-size: 1.1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 1.5rem;
    font-family: 'Work Sans', sans-serif;
}

.team-card h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.team-role {
    color: #a78bfa;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.team-bio {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    color: #a78bfa;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #8b5cf6;
    transform: translateY(-3px);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-card {
    overflow: hidden;
    padding: 0;
}

.portfolio-image {
    width: 100%;
    height: 200px;
    border-radius: 20px 20px 0 0;
}

.gradient-1 {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.gradient-2 {
    background: linear-gradient(135deg, #a78bfa, #818cf8);
}

.gradient-3 {
    background: linear-gradient(135deg, #c084fc, #a78bfa);
}

.gradient-4 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.portfolio-stats {
    color: #a78bfa;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.portfolio-content p:last-child {
    color: #d0d0d0;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-label {
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 0.3rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.contact-value {
    color: #e0e0e0;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #808080;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(10, 10, 15, 0.8);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #b0b0b0;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-links h4,
.footer-social h4 {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

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

.footer-social .social-links {
    gap: 1.5rem;
    justify-content: flex-start;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: #808080;
}

/* ============================================
   NOTIFICATION SYSTEM
   ============================================ */
.notification {
    position: fixed;
    top: 100px;
    right: -400px;
    max-width: 400px;
    background: rgba(21, 21, 33, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 92, 246, 0.3);
    z-index: 10000;
    transition: right 0.3s ease;
}

.notification.show {
    right: 2rem;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.notification-success .notification-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.notification-error .notification-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.notification-message {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.5;
}

.notification-success {
    border-color: rgba(16, 185, 129, 0.5);
}

.notification-error {
    border-color: rgba(239, 68, 68, 0.5);
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(139, 92, 246, 0.2);
    }

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

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Sections */
    section {
        padding: 4rem 0;
    }

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

    /* Grids - Stack to single column on tablets */
    .about-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

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

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

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

    .contact-form {
        padding: 1.5rem;
    }

    /* Notification responsive */
    .notification {
        right: -100%;
        max-width: calc(100% - 2rem);
        left: 1rem;
    }

    .notification.show {
        right: auto;
        left: 1rem;
    }
}
