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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 212, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.3;
}

.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 2rem 2rem;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.03) 0%, transparent 70%);
}

.logo-container {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding: 1rem;
    margin-top: 0;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: invert(1) brightness(1.1) drop-shadow(0 0 30px rgba(0, 212, 255, 0.2));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.logo:hover::before {
    opacity: 1;
}

.logo:hover {
    filter: invert(1) brightness(1.2) drop-shadow(0 0 50px rgba(0, 212, 255, 0.5));
    transform: scale(1.03);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    opacity: 0.8;
    position: relative;
    line-height: 1.4;
}

.tagline::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--accent-primary);
    opacity: 0.6;
    border-radius: 0.5px;
}



.cta-section {
    margin-top: 2rem;
}

.contact-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(0, 212, 255, 0.05);
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: -1;
}

.contact-btn:hover::before {
    left: 0;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    border-color: var(--accent-primary);
}

.contact-btn .btn-text {
    transition: color 0.4s ease;
}

.contact-btn:hover .btn-text {
    color: var(--bg-primary);
}

.contact-btn .btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.contact-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* 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.9);
    backdrop-filter: blur(20px);
}

.modal-content {
    background: var(--bg-secondary);
    margin: 3% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-secondary);
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.modal-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0099cc 0%, #00d4ff 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.submit-btn .submit-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .submit-icon {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        max-width: 300px;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 1.5rem 2rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 250px;
    }
    
    .container {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .close {
        top: 1rem;
        right: 1.5rem;
        font-size: 1.5rem;
    }
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: invert(1) brightness(1.1) drop-shadow(0 0 30px rgba(0, 212, 255, 0.2));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: invert(1) brightness(1.2) drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
    transform: scale(1.02);
}
