.services-page {
    min-height: 100vh;
    background-color: rgb(5, 5, 5);
}

.services-content {
    width: min(100%, 92rem);
    margin: 0 auto;
    padding: clamp(4rem, 10vh, 7rem) 2rem 5rem;
    box-sizing: border-box;
    color: white;
    font-family: "Geist", sans-serif;
}

.currency-toggle {
    position: fixed;
    top: 5rem;
    right: 2rem;
    z-index: 900;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
    padding: 0.3rem;
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: 999px;
    background: rgb(8 8 8 / 88%);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: "Geist", sans-serif;
}

.currency-option {
    min-width: 3.7rem;
    padding: 0.65rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgb(255 255 255 / 68%);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.currency-option:hover,
.currency-option:focus-visible {
    color: white;
}

.currency-option:focus-visible {
    outline: 2px solid #dda33a;
    outline-offset: 2px;
}

.currency-option.is-active {
    background: linear-gradient(135deg, #dda33a, #9b6615);
    color: white;
    box-shadow: 0 0 10px rgba(221, 163, 58, 0.52), 0 0 22px rgba(221, 163, 58, 0.2);
    text-shadow: 0 0 6px rgb(255 255 255 / 35%);
}

.services-intro {
    text-align: center;
}

.services-title {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 0 10px rgb(255 255 255 / 28%), 0 0 30px rgb(255 255 255 / 10%);
}

.services-subtitle {
    margin: 0.9rem 0 0;
    color: rgb(255 255 255 / 68%);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    text-shadow: 0 0 9px rgb(255 255 255 / 20%);
}

.gold-divider {
    width: min(32rem, 70%);
    height: 1px;
    margin: 3rem auto 4rem;
    background: linear-gradient(90deg, transparent, #dda33a, transparent);
    box-shadow: 0 0 12px rgba(221, 163, 58, 0.5);
}

.terms-title {
    margin: 0 0 2rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 9px rgb(255 255 255 / 24%);
}

.terms-panel {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 1.25rem;
    background: rgb(210 210 210 / 8%);
    box-shadow: 0 12px 40px rgb(0 0 0 / 25%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    list-style: none;
    counter-reset: terms;
}

.term-item {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.75rem 0;
    counter-increment: terms;
}

.term-item:first-child {
    padding-top: 0;
}

.term-item:last-child {
    padding-bottom: 0;
}

.term-item + .term-item {
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.term-number {
    color: #dda33a;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(221, 163, 58, 0.45);
}

.term-copy h3 {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 700;
    text-shadow: 0 0 7px rgb(255 255 255 / 18%);
}

.term-copy p {
    margin: 0.7rem 0 0;
    color: rgb(255 255 255 / 72%);
    font-size: clamp(0.95rem, 1.25vw, 1.08rem);
    line-height: 1.7;
}

.pricing-divider {
    margin-top: 5rem;
    margin-bottom: 4rem;
}

.pricing-title {
    margin: 0 0 2.5rem;
    color: white;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 10px rgb(255 255 255 / 28%), 0 0 28px rgb(255 255 255 / 10%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 16rem;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 1.25rem;
    background: rgb(210 210 210 / 8%);
    box-shadow: 0 12px 40px rgb(0 0 0 / 25%), 0 0 18px rgba(212, 175, 55, 0.05);
    text-align: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1);
    transform-style: preserve-3d;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    will-change: transform;
}

.pricing-card:hover {
    z-index: 2;
    border-color: rgba(212, 175, 55, 0.48);
    background:
        radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(221, 163, 58, 0.12), transparent 42%),
        rgb(210 210 210 / 9%);
    box-shadow:
        0 20px 55px rgb(0 0 0 / 38%),
        0 0 26px rgba(212, 175, 55, 0.14);
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) scale(1.035);
}

.pricing-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.pricing-card h3 {
    margin: 0;
    color: white;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    text-shadow: 0 0 8px rgb(255 255 255 / 22%);
}

.starting-at {
    margin: auto 0 0.65rem;
    color: rgb(255 255 255 / 70%);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    text-shadow: 0 0 7px rgb(255 255 255 / 16%);
}

.service-price {
    margin: 0;
    color: #dda33a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    text-shadow:
        0 0 5px rgba(255, 210, 112, 0.62),
        0 0 16px rgba(221, 163, 58, 0.48),
        0 0 30px rgba(200, 146, 46, 0.22);
}

.long-term-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 20rem));
    justify-content: center;
    gap: 1.5rem;
}

.long-term-card {
    position: relative;
    grid-column: auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1;
}

.long-term-price {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 3rem);
    margin: 0;
    transform: translate(-50%, -50%);
    text-align: center;
}

.long-term-price .starting-at {
    margin: 0 0 0.65rem;
}

.price-unit {
    margin: 0.65rem 0 0;
    color: rgb(255 255 255 / 62%);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 7px rgb(255 255 255 / 14%);
}

@media (max-width: 600px) {
    .services-content {
        padding-inline: 1rem;
    }

    .term-item {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .currency-toggle {
        top: 4.75rem;
        right: 1rem;
    }

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

    .pricing-card,
    .pricing-card:nth-child(4) {
        grid-column: auto;
    }

    .long-term-grid {
        grid-template-columns: minmax(0, 20rem);
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card,
    .pricing-card:nth-child(4) {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card,
    .pricing-card:hover {
        transform: none;
        transition: none;
    }
}
