* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

@font-face {
    font-family: "Outfit";
    src: url("../fonts/Outfit/Outfit-VariableFont_wght.ttf");
}

body {
    background: #000000;
    color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/bgg.png');
    background-color: #000000;
    max-width: 100svw;
    overflow-x: hidden;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding: 0px calc(50vw - 700px);
}

/* --- Loader Styles --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    width: 80%;
    max-width: 300px;
}

.loader-logo {
    font-family: "Outfit", sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.loader-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loader-progress-bar {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.2s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (max-width: calc(1400px + 20vw)) {
    body {
        padding: 0px 10vw;
    }
}

nav {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0px;
    width: 100svw;
    left: 0px;
    height: 75px;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 100;
}

.links {
    list-style: none;
    display: flex;
    justify-content: center;
}

.links li {
    margin: 0 15px;
    list-style: none;
}

.links li a {
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s;
}

.links li a:hover,
.links li.active a {
    color: #fff;
}

.menu-icon {
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-icon.active {
    transform: rotate(180deg);
}

.header {
    padding: 50px;
}

.header * {
    font-family: "Outfit", sans-serif;
}

.site-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 150px;
}

.site-title .buttons {
    display: flex;
    gap: 20px;
}

.header h1 {
    font-size: 64px;
    font-weight: 450;
    text-align: center;
}

.link-button {
    border-radius: 30px;
    color: #111;
    background-color: #fafafa;
    padding: 10px 15px;
    text-decoration: none;
    font-family: sans-serif;
    transition: 300ms;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.package .link-button {
    border-radius: 10px;
}

.work-item .link-button {
    border-radius: 5px;
}

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

.link-button:hover::before {
    left: 100%;
}

.link-button img {
    width: 18px;
    height: 18px;
}

.link-button.button-secondary {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.link-button.button-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.link-button.button-primary:hover {
    background-color: #d6d6d6ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.offer {
    width: 80dvw;
    min-height: 500px;
    max-width: 1400px;
    border-radius: 20px;
    padding: 5px;
}

.work {
    width: 80dvw;
    max-width: 1400px;
    margin-bottom: 100px;
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
}

.work-item {
    background-color: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.work-image {
    width: 100%;
    height: 200px;
    background-color: #dbdbdb;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.work-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.1);
}

.work-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.work-content h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    color: #fff;
}

.work-content p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
    flex: 1;
}

.about {
    width: 80dvw;
    max-width: 1400px;
    margin-bottom: 100px;
}

.about-container {
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    transition: transform 0.3s ease;
}

.about-container:hover {
    transform: translateY(-5px);
}

.about-image {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img,
.about-image div {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-family: "Outfit", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.about-content p {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact {
    width: 80dvw;
    max-width: 1400px;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}

.contact-container {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.contact-toggle {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.toggle-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #aaa;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
}

.toggle-btn.active,
.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
}

.contact-form h2 {
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.contact-form {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-form.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-form .form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    font-family: sans-serif;
    outline: none;
}

.contact-form select {
    appearance: none;
    cursor: pointer;
}

.contact-form select option {
    background-color: #222;
    color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form textarea {
    margin-bottom: 10px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.form-message.success { background-color: rgba(75, 192, 192, 0.2); color: #4bc0c0; }
.form-message.error { background-color: rgba(255, 99, 132, 0.2); color: #ff6384; }

.contact-form input.invalid {
    box-shadow: 0 0 5px 1px rgba(255, 82, 82, 0.7);
}

footer {
    width: 100%;
    padding: 40px 20px;
    margin-top: 50px;
    text-align: center;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.company-details {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-details input {
    border-radius: 0;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    color: #ccc;
}

.radio-group input[type="radio"] {
    width: auto;
    margin-right: 5px;
}

.captcha-container {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.captcha-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.captcha-display img {
    border-radius: 10px;
    height: 60px;
}

.contact-form .refresh-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-form .refresh-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.contact-form .refresh-btn:active {
    transform: scale(0.95);
}

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

.contact-form .refresh-btn.spinning svg {
    animation: spin 0.5s ease-in-out;
}

.section-title {
    font-family: "Outfit", sans-serif;
    font-size: 36px;
    margin-top: 100px;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
}

.packages {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.package {
    background-color: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.package h2 {
    font-family: "Outfit", sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 400;
}

.package-features {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.package-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 5px;
    border-radius: 5px;
}

.package.recommended {
    transform: scale(1.05);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.package.recommended:hover {
    transform: scale(1.05) translateY(-10px);
}

.package.recommended::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 20px 0;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.3);
}

.price .price-yearly {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #ccc;
    margin-top: 5px;
}

.package-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.package-buttons .link-button {
    text-align: center;
    width: auto;
    flex: 1;
    padding: 10px 5px;
    font-size: 0.9rem;
}

.countdown {
    color: #ff4d4d;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #1a1a1a;
    margin: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: popIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    text-decoration: none;
}

.modal-content h2 {
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.modal-content p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 20px;
}

.modal-content .price-detail {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fafafa;
    text-align: right;
    margin-top: 20px;
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes popInRecommended {
    from { opacity: 0; transform: scale(0.95) translateY(30px); }
    to { opacity: 1; transform: scale(1.05) translateY(0); }
}

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

.icon-close {
    display: none;
}

nav {
    animation: fadeInDown 1s ease-out;
}

.site-title h1 {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.site-title .buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.animate-hidden {
    opacity: 0;
}

.animate-pop-in {
    animation: popIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-pop-in-rec {
    animation: popInRecommended 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out both;
}

@media (max-width: 1024px) {
    .packages {
        flex-direction: column;
        gap: 40px;
    }
    .package {
        width: 100%;
        max-width: 600px;
    }
    .package.recommended {
        transform: scale(1);
    }
    .package.recommended:hover {
        transform: translateY(-10px);
    }
    .offer {
        width: 95vw;
        height: auto;
        padding-bottom: 50px;
    }
    .header {
        padding-top: 75px;
    }
    .header h1 {
        font-size: 3rem;
    }
    nav {
        padding: 15px 20px;
        justify-content: flex-end;
    }
    .menu-icon {
        display: block;
        z-index: 200;
        position: relative;
    }
    nav.menu-open {
        background-color: transparent;
        backdrop-filter: none;
    }
    .links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.75);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 199;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
    }
    .links.active {
        transform: translateX(0);
    }
    .links li a {
        font-size: 2rem;
    }
    .links.active li {
        opacity: 0;
        animation: linkFadeIn 0.4s ease forwards;
    }
    .links.active li:nth-child(1) { animation-delay: 0.20s; }
    .links.active li:nth-child(2) { animation-delay: 0.25s; }
    .links.active li:nth-child(3) { animation-delay: 0.30s; }
    .links.active li:nth-child(4) { animation-delay: 0.35s; }
    .links.active li:nth-child(5) { animation-delay: 0.40s; }
    .section-title {
        text-align: center;
    }
    .site-title {
        margin-top: 100px;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .about-image {
        width: 200px;
        height: 200px;
    }
    .about-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-form .form-group {
        flex-direction: column;
        gap: 20px;
    }
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .package-buttons {
        flex-direction: column;
    }
    .header {
        padding: 20px;
    }
    .header h1 {
        font-size: 2rem;
    }
}