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

body {
    font-family:  Arial, sans-serif;
}

.hero {
    width: 100%;
    min-height: 100vh;
    background: radial-gradient(ellipse at center, #2d1054 0%, #1a0833 35%, #0a0418 70%, #050210 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(128, 60, 200, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(80, 40, 180, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title-line1 {
    font-size: 108px;
    font-weight: 600;
    background: linear-gradient(90deg, #efabfc 0%, #63e2f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.hero-title-line2 {
    font-size: 80px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-desc {
    font-size: 26px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.hero-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #6447ff, #8464ff);
    color: #fff;
    font-size: 18px;
    border: 1px solid rgba(168, 85, 247, 0.5);
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: 10px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
}

/* Carousel */
.carousel-wrapper {
    margin-top: 60px;
    width: 100%;
    max-width: 1080px;
    position: relative;
    z-index: 1;
}

.carousel {
    position: relative;
    width: 100%;
    border-radius: 16px;
    border: 1px solid #8363ff;
    padding: 30px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.3);
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-slide .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

.slide-caption h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.slide-caption p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(124, 58, 237, 0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(124, 58, 237, 1);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dots .dot {
    width: 15px;
    height: 8px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.carousel-dots .dot.active {
    background: #7c3aed;
    width: 32px;
}

/* Services Section */
.services {
    width: 100%;
    background: #050210;
    padding: 100px 20px;
}

.services-title {
    text-align: center;
    font-size: 80px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 80px;
    letter-spacing: 1px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1080px;
    margin: 0 auto 80px;
    border: 1px solid rgb(255 255 255 / 30%);
    padding: 30px;
    border-radius: 12px;
    background: #ffffff1a;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-width: 0;
}

.service-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.service-text {
    flex: 1;
    min-width: 0;
}

.service-text h3 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.service-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.service-emphasis{
    font-size: 20px!important;
    font-weight: 700;
}


/* Contact Section */
.contact {
    width: 100%;
    background: #0a0418;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../bg.png') center center / cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.contact > * {
    position: relative;
    z-index: 1;
}

.contact-title {
    text-align: center;
    font-size: 80px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.contact-form {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 16px;
    background: rgb(255 255 255 / 6%);
}

.form-group > label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.form-group > label .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #281838;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.form-group textarea,
.form-group .contact-input {
    width: 50%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    margin-left: 46px;
}

.form-group .contact-input {
    min-height: auto;
}

.form-group textarea {
    resize: vertical;
    line-height: 1.6;
}

.form-group textarea:focus,
.form-group .contact-input:focus {
    border-color: #311f43;
    background: rgba(168, 85, 247, 0.05);
}

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

.other-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 14px;
    padding: 4px 8px;
    outline: none;
    width: 250px;
    transition: border-color 0.3s;
}

.other-input:focus {
    border-bottom-color: #a855f7;
}

.other-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.other-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.other-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: 46px;
}

.options-group .checkbox-option {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.options-group .checkbox-option:hover {
    color: #fff;
}

.options-group .checkbox-option input[type="checkbox"] {
    display: none;
}

.options-group .checkbox-option .checkmark {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
}

.options-group .checkbox-option:hover .checkmark {
    border-color: rgba(168, 85, 247, 0.6);
}

.options-group .checkbox-option input[type="checkbox"]:checked + .checkmark {
    background: #7c3aed;
    border-color: #7c3aed;
}

.options-group .checkbox-option input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.options-group .checkbox-option input[type="checkbox"]:checked ~ .label-text {
    color: #fff;
}

.contact-btn {
    display: inline-block;
    margin: 20px auto 0;
    padding: 16px 40px;
    background: linear-gradient(135deg, #6447ff, #8464ff);
    color: #fff;
    font-size: 18px;
    border: 1px solid rgba(168, 85, 247, 0.5);
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 24px rgba(124, 58, 237, 0.4);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    min-width: 280px;
    max-width: 460px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.toast.success {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
    box-shadow: 0 8px 40px rgba(74, 222, 128, 0.15);
}

.toast.error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
    box-shadow: 0 8px 40px rgba(248, 113, 113, 0.15);
}

/* CTA Section */
.cta-section {
    width: 100%;
    padding: 80px 20px;
    background: #0e0048;
    text-align: center;
}

.cta-text {
    font-size: 68px;
    font-weight: 600;
    color: #e4d6f2;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-title-line1 {
        font-size: 42px;
    }
    .hero-title-line2 {
        font-size: 32px;
    }
    .hero-desc {
        font-size: 14px;
    }
    .carousel-slide img {
        height: 280px;
    }
    .slide-caption h3 {
        font-size: 20px;
    }
    .services-title {
        font-size: 32px;
        margin-bottom: 50px;
    }
    .service-item {
        flex-direction: column;
        gap: 30px;
    }
    .service-item.reverse {
        flex-direction: column;
    }
    .service-image img {
        height: 240px;
    }
    .service-text h3 {
        font-size: 24px;
    }
    .cta-text {
        font-size: 28px;
        letter-spacing: 1px;
    }
}
