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

:root {
    --primary-bg: #0f0f0f;
    --secondary-bg: #1a1a1a;
    --accent-bg: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --accent-color: #3B82F6;
    --hover-color: #2563EB;
    --border-color: #333333;
    --gradient: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--secondary-bg);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 100px rgba(59, 130, 246, 0.1);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    margin-bottom: 80px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-left,
.nav-right {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

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


.back-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn:hover {
    border-color: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

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

.back-btn:hover i,
.back-btn:hover span {
    position: relative;
    z-index: 1;
}

.back-btn:active {
    transform: translateY(0);
}

.brand {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 4px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    animation: brandGlow 3s ease-in-out infinite alternate;
}


.main-content {
    padding: 0 40px;
    position: relative;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
    position: relative;
    z-index: 2;
}


.contact-info {
    padding-right: 40px;
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-container {
    position: relative;
    margin-bottom: 80px;
}

.contact-title {
    font-size: 84px;
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -3px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-underline {
    width: 120px;
    height: 4px;
    background: var(--gradient);
    margin-top: 20px;
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s both;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-bottom-color: var(--accent-color);
}

.contact-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 5px;
    min-width: 20px;
}

.contact-item .label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item .value {
    color: var(--text-primary);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item .value:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.social-link {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
}

.social-link:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover i {
    color: var(--primary-bg);
    position: relative;
    z-index: 1;
}


.contact-form {
    padding-left: 40px;
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-header {
    margin-bottom: 50px;
}

.form-header h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.form-group {
    position: relative;
    margin-bottom: 40px;
}

label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 15px 0;
    font-size: 16px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus + .form-line,
textarea:focus + .form-line {
    width: 100%;
}

input:focus,
textarea:focus {
    outline: none;
    border-bottom-color: transparent;
}

.form-group:focus-within label {
    color: var(--accent-color);
}

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

textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.submit-btn {
    background: var(--gradient);
    color: var(--primary-bg);
    border: none;
    padding: 18px 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(-1px);
}

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

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


@media (max-width: 1024px) {
    .content-wrapper {
        gap: 60px;
    }
    
    .contact-title {
        font-size: 64px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 25px;
        padding: 25px 20px;
        margin-bottom: 60px;
    }
    
    .nav-left,
    .nav-right {
        gap: 25px;
        justify-content: center;
    }
    
    .main-content {
        padding: 0 20px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-info {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-title {
        font-size: 56px;
        margin-bottom: 40px;
    }
    
    .title-underline {
        margin: 20px auto 0;
    }
    
    .contact-form {
        padding-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 20px 15px;
    }
    
    .nav-left,
    .nav-right {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .contact-title {
        font-size: 42px;
        letter-spacing: -2px;
    }
    
    .brand {
        font-size: 22px;
        letter-spacing: 3px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.6;
}

.dot-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.dot-2 {
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
}

.dot-3 {
    bottom: 30%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
}


@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}


.message {
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInUp 0.3s ease;
}

.success-message {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-bg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes brandGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6));
    }
}

.footer {
    background: linear-gradient(180deg, var(--primary-bg) 0%, #0A0812 50%, var(--primary-bg) 100%);
    padding: 80px 20px 40px;
    margin-top: 100px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-section h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo span {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.footer .social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.footer .social-link:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.footer .social-link:hover::before {
    transform: scale(1);
}

.footer .social-link:hover svg {
    color: var(--primary-bg);
    position: relative;
    z-index: 1;
}

.footer .social-link svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--text-secondary);
}


@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 32px;
    }
    
    .footer-section:nth-child(4),
    .footer-section:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 20px 30px;
        margin-top: 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-section:first-child {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
        max-width: none;
        margin: 0 auto 30px;
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 15px 25px;
        margin-top: 60px;
    }
    
    .footer-content {
        gap: 28px;
    }
    
    .footer-logo span {
        font-size: 16px;
    }
    
    .footer-description {
        font-size: 13px;
    }
    
    .footer-section h3 {
        font-size: 14px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-bottom p,
    .footer-bottom-links a {
        font-size: 13px;
    }
    
    .footer-bottom-links {
        gap: 12px;
    }
    
    .footer .social-link {
        width: 36px;
        height: 36px;
    }
    
    .footer .social-link svg {
        width: 16px;
        height: 16px;
    }
}