/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 120, 255, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: #0078ff;
}

.nav-logo i {
    font-size: 2rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #0078ff, 0 0 10px #0078ff, 0 0 15px #0078ff;
    }
    to {
        text-shadow: 0 0 10px #0078ff, 0 0 20px #0078ff, 0 0 30px #0078ff;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0078ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #0078ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Project Header */
.project-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%230078ff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.project-hero {
    text-align: center;
    position: relative;
    z-index: 2;
}

.project-icon {
    margin-bottom: 2rem;
}

.project-icon i {
    font-size: 5rem;
    color: #0078ff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.project-hero h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #0078ff, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 120, 255, 0.1);
    border: 1px solid rgba(0, 120, 255, 0.3);
    border-radius: 25px;
    color: #0078ff;
    font-weight: 500;
}

/* Project Overview */
.project-overview {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.8);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #0078ff;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.overview-features h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0078ff;
}

.overview-features ul {
    list-style: none;
}

.overview-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 120, 255, 0.2);
    color: #ffffff;
    font-size: 1.1rem;
}

.overview-features li i {
    color: #0078ff;
    font-size: 1.2rem;
    width: 20px;
}

/* Technology Stack */
.tech-stack {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.tech-stack h2 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0078ff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 120, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: #0078ff;
    box-shadow: 0 10px 30px rgba(0, 120, 255, 0.3);
}

.tech-item i {
    font-size: 3rem;
    color: #0078ff;
    margin-bottom: 1rem;
}

.tech-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.tech-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Project Features */
.project-features {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.9);
}

.project-features h2 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0078ff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 120, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: #0078ff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.2);
}

.feature-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 3rem;
    color: #0078ff;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
    text-align: center;
}

/* Security Features */
.security-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.security-features h2 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0078ff;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.security-item {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 120, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.security-item:hover {
    border-color: #0078ff;
    box-shadow: 0 10px 30px rgba(0, 120, 255, 0.3);
}

.security-item h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0078ff;
}

.security-item h3 i {
    font-size: 1.5rem;
}

.security-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Project Screenshots */
.project-screenshots {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.8);
}

.project-screenshots h2 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0078ff;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    text-align: center;
}

.screenshot-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(0, 120, 255, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.screenshot-placeholder:hover {
    border-color: #0078ff;
    box-shadow: 0 10px 30px rgba(0, 120, 255, 0.3);
}

.screenshot-placeholder i {
    font-size: 4rem;
    color: #0078ff;
    margin-bottom: 1rem;
}

.screenshot-placeholder p {
    color: #0078ff;
    font-weight: 600;
    font-size: 1.1rem;
}

.screenshot-image {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(0, 120, 255, 0.3);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.screenshot-image:hover {
    border-color: #0078ff;
    box-shadow: 0 10px 30px rgba(0, 120, 255, 0.3);
    transform: translateY(-5px);
}

.screenshot-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-image:hover img {
    transform: scale(1.05);
}

.screenshot-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.screenshot-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Project Links */
.project-links {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.project-links h2 {
    text-align: center;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0078ff;
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 3rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 120, 255, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #0078ff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.project-link:hover {
    border-color: #0078ff;
    background: rgba(0, 120, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 120, 255, 0.3);
}

.project-link i {
    font-size: 2.5rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(0, 120, 255, 0.3);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0078ff;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #0078ff;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 120, 255, 0.1);
    border: 1px solid rgba(0, 120, 255, 0.3);
    border-radius: 50%;
    color: #0078ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0078ff;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0078ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 120, 255, 0.2);
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .project-hero h1 {
        font-size: 2.5rem;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .project-hero h1 {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
    }
    
    .tech-item, .feature-card, .security-item {
        padding: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    margin: 5% auto;
    padding: 0;
    border: 2px solid #0078ff;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 120, 255, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #0078ff, #0056b3);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-header h3 i {
    font-size: 1.2rem;
}

.close {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.telegram-info {
    text-align: center;
    margin-bottom: 2rem;
}

.telegram-icon {
    font-size: 4rem;
    color: #0078ff;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.telegram-info h4 {
    color: #ffffff;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.telegram-info p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.telegram-details {
    background: rgba(0, 120, 255, 0.1);
    border: 1px solid rgba(0, 120, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.telegram-details p {
    margin: 0.5rem 0;
    color: #ffffff;
    font-size: 0.95rem;
}

.telegram-details strong {
    color: #0078ff;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.telegram-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0078ff, #0056b3);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 120, 255, 0.3);
}

.telegram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 120, 255, 0.5);
    background: linear-gradient(135deg, #0056b3, #0078ff);
    color: #ffffff;
}

.telegram-btn i {
    font-size: 1.2rem;
}

.cancel-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: #cccccc;
    border: 2px solid #333333;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    border-color: #ff6b6b;
    color: #ff6b6b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .telegram-btn, .cancel-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Back to Portfolio Section */
.back-to-portfolio {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

.back-to-portfolio .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #0078ff, #0056cc);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 120, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #0078ff;
    border: 2px solid #0078ff;
}

.btn-secondary:hover {
    background: #0078ff;
    color: #fff;
} 