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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Particle Background */
#particle-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(3);
    width: 100%;
    height: 100%;
    background-image: url("material/particles.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.15;
}

/* Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0071e3, transparent);
    top: 5%;
    left: 10%;
    animation: float 12s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #9333ea, transparent);
    bottom: 10%;
    right: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #0071e3, transparent);
    top: 50%;
    right: 5%;
    animation: float 15s ease-in-out infinite;
}

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

/* Main Container */
.contact-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 140px 2rem 4rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0071e3;
    background: rgba(0, 113, 227, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 113, 227, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #0071e3, #9333ea);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    line-height: 1.1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Form Section */
.form-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0071e3, #9333ea, #0071e3);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(147, 51, 234, 0.2));
    border-radius: 20px;
    margin: 0 auto 1.5rem;
}

.form-icon svg {
    width: 40px;
    height: 40px;
    color: #0071e3;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.form-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Form Styling */
.contact-form {
    max-width: 100%;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section-title:first-of-type {
    margin-top: 0;
}

.section-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0071e3, #9333ea);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.form-section-title h3 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
}

.label-icon {
    font-size: 1.2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 113, 227, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.service-checkbox {
    position: relative;
}

.service-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.service-checkbox label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-checkbox label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(147, 51, 234, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-checkbox label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-2px);
}

.service-checkbox input:checked + label {
    background: rgba(0, 113, 227, 0.1);
    border-color: rgba(0, 113, 227, 0.5);
}

.service-checkbox input:checked + label::before {
    opacity: 1;
}

.checkbox-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 113, 227, 0.15);
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.checkbox-icon svg {
    width: 24px;
    height: 24px;
    color: #0071e3;
}

.checkbox-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.checkbox-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.checkbox-description {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.checkbox-indicator {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.checkbox-indicator svg {
    width: 16px;
    height: 16px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.service-checkbox input:checked + label .checkbox-indicator {
    background: linear-gradient(135deg, #0071e3, #9333ea);
    border-color: transparent;
}

.service-checkbox input:checked + label .checkbox-indicator svg {
    opacity: 1;
    transform: scale(1);
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(147, 51, 234, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.terms-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: #0071e3;
}

.terms-checkbox label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    cursor: pointer;
}

.terms-checkbox label a {
    color: #0071e3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-checkbox label a:hover {
    color: #9333ea;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.3rem 2.5rem;
    background: linear-gradient(135deg, #0071e3, #9333ea);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.5);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-icon,
.btn-loader {
    width: 20px;
    height: 20px;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1.5rem;
}

.form-message svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.form-message strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.form-message p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #fff;
}

.success-message svg {
    color: #22c55e;
}

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

.error-message svg {
    color: #ef4444;
}

/* Contact Info Section */
.contact-info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-5px);
}

.info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.2), rgba(147, 51, 234, 0.2));
    border-radius: 16px;
    margin: 0 auto 1.5rem;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: #0071e3;
}

.info-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.info-content a {
    display: block;
    font-size: 1.05rem;
    color: #0071e3;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #9333ea;
}

.info-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 120px 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

    .form-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .service-checkbox label {
        padding: 1.2rem;
    }

    .info-card {
        padding: 2rem;
    }

    .orb-1, .orb-2, .orb-3 {
        width: 250px;
        height: 250px;
    }
}

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

    .form-card {
        padding: 1.5rem;
    }

    .form-icon {
        width: 60px;
        height: 60px;
    }

    .form-icon svg {
        width: 30px;
        height: 30px;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .section-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .form-section-title h3 {
        font-size: 1.1rem;
    }

    .checkbox-icon {
        width: 40px;
        height: 40px;
    }

    .checkbox-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
