.work-details {
    margin-top: 1.5rem;
}

.work-details p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.screenshot-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    justify-content: center;
    perspective: 1000px;
}

.device-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 50px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 0 0 4px rgba(0, 0, 0, 0.1),
        0 0 30px rgba(0, 0, 0, 0.3);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 2;
}

.device-frame::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 2px;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.device-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.device-frame:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.device-frame:hover .device-screen img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .device-frame {
        width: 240px;
        height: 500px;
    }
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.features {
    margin: 1.5rem 0;
}

.features h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.features ul {
    list-style-type: none;
    padding-left: 0;
}

.features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.features li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.work-details .btn-primary {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.work-details .btn-primary:hover {
    background-color: var(--primary-color-dark);
}

.project-logo {
    margin: 1.5rem 0;
    text-align: center;
}

.project-logo img {
    max-width: 200px;
    height: auto;
}

.technical-highlights,
.impact {
    margin: 1.5rem 0;
}

.technical-highlights h4,
.impact h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.technical-highlights ul,
.impact ul {
    list-style-type: none;
    padding-left: 0;
}

.technical-highlights li,
.impact li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.technical-highlights li:before,
.impact li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    margin: 1rem 0 2rem;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.about-list li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .about-text {
        font-size: 1rem;
    }
}

.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(1, 117, 194, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(19, 185, 253, 0.15) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

.particles-container {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

@keyframes gradientMove {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 600px;
    overflow: hidden;
    border-radius: 16px;
}

.hero-image img {
    width: 100%;
    height: auto;
    opacity: 0.6;
    filter: brightness(0.8) contrast(1.2) saturate(1.2);
    mix-blend-mode: screen;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.15;
    filter: blur(40px);
    z-index: -1;
    border-radius: 20px;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(1, 117, 194, 0.1), rgba(19, 185, 253, 0.1));
    mix-blend-mode: overlay;
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        max-width: 100%;
        margin-top: 48px;
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.skill-category {
    background: rgba(26, 26, 26, 0.5);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.skill-list {
    list-style: none;
    display: grid;
    gap: 16px;
}

.skill-list li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.skill-list li:hover {
    color: var(--text);
    border-color: var(--primary);
}

.skill-list li::before {
    content: "•";
    color: var(--primary);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

#contact {
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

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

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(1, 117, 194, 0.2);
    background: rgba(26, 26, 26, 0.7);
}

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

.social-links {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    justify-content: center;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    padding: 12px;
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
} 