/* Background Animated Shapes */
.service-bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.service-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
    animation: float 6s ease-in-out infinite;
}

.service-shape-1 {
    width: 100px;
    height: 100px;
    background: rgba(212, 175, 55, 0.12);
    top: 10%;
    left: 85%;
    animation-delay: 0s;
}

.service-shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(212, 175, 55, 0.07);
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.service-shape-3 {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.05);
    top: 30%;
    left: 10%;
    animation-delay: 4s;
}

.service-shape-4 {
    width: 120px;
    height: 120px;
    background: rgba(212, 175, 55, 0.09);
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

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

/* Main Container */
.service-container {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 100px 40px;
    position: relative;
}

/* Content Wrapper */
.service-content {
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
}

/* Left Content */
.service-left {
    flex: 1;
    max-width: 700px;
    z-index: 10;
    position: relative;
    background: transparent;
    padding: 3rem;
    margin-right: -200px;
    transform: translateX(-100px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-left.service-animate {
    transform: translateX(0);
    opacity: 1;
}

.service-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.service-subtitle {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-description {
    font-size: 1.1rem;
    color: var(--white-dim);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.service-button {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.service-button:hover {
    background: #e0c040;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.service-button:active {
    transform: translateY(0);
}

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

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

/* Right Content */
.service-right {
    flex: 1;
    position: relative;
    transform: translateX(100px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 5;
}

.service-right.service-animate {
    transform: translateX(0);
    opacity: 1;
}

.service-image-wrapper {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--gold-border);
}

.service-image {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

/* Technologies Section */
.service-technologies {
    margin-top: 50px;
    margin-bottom: 50px;
}

.service-tech-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white-dim);
    margin-bottom: 1rem;
    text-align: center;
}

.service-tech-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.service-tech-logo {
    width: 40px;
    height: 40px;
    background: var(--white-faint);
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-tech-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.service-tech-logo:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    background: var(--gold-dim);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Additional Interactive Elements */
.service-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.service-stat {
    text-align: center;
}

.service-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.service-stat-label {
    font-size: 0.9rem;
    color: var(--white-dim);
    font-weight: 500;
}

.service-feature-list {
    margin-top: 1.5rem;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--white-dim);
}

.service-feature::before {
    content: '✓';
    background: var(--gold);
    color: #000;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Service Pricing Plans */
.service-pricing-plans {
    margin: 4rem 0;
    padding: 2rem 0;
    width: 100%;
}

.service-pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
    letter-spacing: -0.03em;
    position: relative;
}

.service-pricing-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.service-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-pricing-card {
    background: #0a0a0a;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--white-faint);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
}

.service-pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--gold-border);
}

.service-pricing-card:nth-child(2) { animation-delay: 0.1s; }
.service-pricing-card:nth-child(3) { animation-delay: 0.2s; }
.service-pricing-card:nth-child(4) { animation-delay: 0.3s; }
.service-pricing-card:nth-child(5) { animation-delay: 0.4s; }

.service-pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--white-faint);
}

.service-pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-align: center;
}

.service-pricing-description {
    color: var(--white-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.service-pricing-pages {
    display: block;
    width: fit-content;
    background: var(--gold);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 auto;
}

.service-pricing-deliverables {
    margin-bottom: 2rem;
}

.service-deliverables-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    margin-left: 5px;
}

.service-deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0 10px;
}

.service-deliverable-item {
    padding: 0.5rem 0;
    color: var(--white-dim);
    font-size: 0.9rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1.5rem;
}

.service-deliverable-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--gold);
    font-weight: bold;
    font-size: 1rem;
}

.service-deliverable-item:not(:last-child) {
    border-bottom: 1px solid var(--white-faint);
}

.service-pricing-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--white-faint);
}

.service-pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    text-align: center;
    letter-spacing: -0.03em;
}

.service-add-to-cart-btn {
    width: 100%;
    background: var(--gold);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-add-to-cart-btn:hover {
    background: #e0c040;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.service-add-to-cart-btn:active {
    transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 968px) {
    .service-content {
        flex-direction: column;
        gap: 2rem;
    }

    .service-right {
        order: -1;
        width: 100%;
    }

    .service-left {
        order: 1;
        margin-right: 0;
        max-width: none;
        width: 100%;
        padding: 2rem;
        text-align: center;
    }

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

    .service-left,
    .service-right {
        transform: translateY(50px);
    }

    .service-left.service-animate,
    .service-right.service-animate {
        transform: translateY(0);
    }

    .service-image-wrapper {
        height: 350px;
    }

    .service-stats {
        justify-content: center;
    }

    .service-feature-list {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 640px) {
    .service-container {
        padding: 1rem;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .service-subtitle {
        font-size: 1.1rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .service-tech-logos {
        gap: 1rem;
    }
}

@media (max-width: 975px) {
    .service-pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.75rem;
        place-items: center;
    }

    .service-pricing-grid > * {
        width: 100%;
        max-width: 500px;
    }

    .service-pricing-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .service-pricing-plans {
        margin: 3rem 0;
        padding: 1.5rem 0;
    }

    .service-pricing-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .service-pricing-card {
        padding: 1.5rem;
    }

    .service-pricing-name {
        font-size: 1.3rem;
    }

    .service-pricing-price {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-pricing-grid {
        padding: 0 0.5rem;
    }

    .service-pricing-card {
        padding: 1.25rem;
    }

    .service-pricing-title {
        font-size: 1.75rem;
    }

    .service-pricing-name {
        font-size: 1.2rem;
    }

    .service-pricing-description {
        font-size: 0.9rem;
    }

    .service-deliverable-item {
        font-size: 0.85rem;
    }

    .service-pricing-price {
        font-size: 1.75rem;
    }

    .service-add-to-cart-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

.services-grid:has(.services-item:nth-last-child(1):nth-child(odd)) .services-item:last-child {
    grid-column: 1 / -1;
    max-width: 280px;
    justify-self: center;
}

@media (max-width: 768px) {
    .services-grid:has(.services-item:nth-last-child(1):nth-child(odd)) .services-item:last-child {
        grid-column: auto;
        max-width: none;
        justify-self: auto;
    }
}
