/* ═══════════════════════════════════════════
   XDOKU PRICING PAGE — precios.css
   ═══════════════════════════════════════════ */

/* HEADER OVERRIDES */
.header {
    background: transparent !important;
    position: relative;
    z-index: 100
}

.header .logo-svg,
.header .logo {
    color: #1a1a2e !important
}

.header .nav-chevron path {
    stroke: #1a1a2e !important
}

.header .navbar {
    background: rgba(255, 255, 255, .75) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06) !important
}

.header .navbar::after {
    display: none !important
}

.header-scrolled .navbar {
    background: rgba(255, 255, 255, .92) !important;
    border-color: #e0e0e8 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08) !important
}

.header .nav-dropdown-trigger,
.header .nav-links a {
    color: #1a1a2e !important
}

.header .nav-chevron {
    color: #1a1a2e !important
}

.header .nav-download {
    color: #1a1a2e !important;
    border-color: rgba(26, 26, 46, .15) !important
}

.header .nav-download:hover {
    border-color: #7f5af0 !important;
    color: #7f5af0 !important
}

/* HERO */
.pr-hero {
    position: relative;
    padding: 160px 24px 100px;
    background: linear-gradient(180deg, #f0f4ff 0%, #f8fafb 40%, #fff 100%);
    overflow: hidden;
    text-align: center
}

.pr-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform
}

.pr-orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(127, 90, 240, .12);
    top: -100px;
    left: -100px;
    animation: prFloat 12s ease-in-out infinite
}

.pr-orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, .1);
    bottom: -80px;
    right: -80px;
    animation: prFloat 15s ease-in-out infinite reverse
}

.pr-orb--3 {
    width: 300px;
    height: 300px;
    background: rgba(14, 166, 114, .08);
    top: 40%;
    left: 60%;
    animation: prFloat 10s ease-in-out infinite
}

@keyframes prFloat {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(30px, -30px)
    }
}

.pr-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto
}

.pr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 100px;
    background: rgba(127, 90, 240, .08);
    border: 1px solid rgba(127, 90, 240, .12);
    color: #7f5af0;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 24px
}

.pr-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 18px
}

.pr-hero h1 span {
    background: linear-gradient(135deg, #7f5af0, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.pr-hero-sub {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto
}

/* LICENSING NOTE */
.pr-licensing {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding: 12px 24px;
    border-radius: 14px;
    background: rgba(127, 90, 240, .06);
    border: 1px solid rgba(127, 90, 240, .12);
    font-size: .88rem;
    color: #555;
    line-height: 1.5;
    text-align: left
}

/* PRICING CARDS */
.pr-section {
    padding: 60px 24px 100px;
    background: #fff
}

.pr-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto
}

@media(max-width:768px) {
    .pr-cards {
        grid-template-columns: 1fr;
        max-width: 480px
    }
}

.pr-card {
    border-radius: 28px;
    padding: 48px 40px 44px;
    border: 1.5px solid #e8e8ee;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s, border-color .4s
}

.pr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .06)
}

.pr-card--pro {
    border-color: rgba(127, 90, 240, .25);
    background: linear-gradient(180deg, #faf8ff 0%, #fff 100%)
}

.pr-card--pro:hover {
    box-shadow: 0 24px 64px rgba(127, 90, 240, .12);
    border-color: rgba(127, 90, 240, .35)
}

.pr-card--pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7f5af0, #3b82f6);
    border-radius: 28px 28px 0 0
}

.pr-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    border-radius: 100px;
    background: linear-gradient(135deg, #7f5af0, #6c3fe0);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.pr-plan-name {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px
}

.pr-card--starter .pr-plan-name {
    color: #3b82f6
}

.pr-card--pro .pr-plan-name {
    color: #7f5af0
}

.pr-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px
}

.pr-price-amount {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -.03em;
    line-height: 1
}

.pr-price-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e
}

.pr-price-period {
    font-size: .88rem;
    color: #999;
    font-weight: 500
}

.pr-price-contact {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: -.02em;
    margin-bottom: 6px
}

.pr-price-note {
    font-size: .78rem;
    color: #aaa;
    margin-bottom: 24px
}

.pr-plan-desc {
    font-size: .92rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 32px
}

.pr-cta {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    border: none;
    font-family: inherit
}

.pr-cta--starter {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, .25)
}

.pr-cta--starter:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, .35)
}

.pr-cta--pro {
    background: linear-gradient(135deg, #7f5af0, #6c3fe0);
    color: #fff;
    box-shadow: 0 8px 24px rgba(127, 90, 240, .25)
}

.pr-cta--pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(127, 90, 240, .35)
}

.pr-divider {
    height: 1px;
    background: #eee;
    margin: 28px 0
}

/* FEATURE LIST */
.pr-features-title {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 18px
}

.pr-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px
}

.pr-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: #444;
    line-height: 1.5
}

.pr-features li .material-icons-outlined {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px
}

.pr-feat-check {
    color: #10b981
}

.pr-feat-star {
    color: #7f5af0
}

.pr-feat-lock {
    color: #ccc
}

.pr-features li.pr-feat-disabled {
    color: #bbb
}

.pr-feat-new {
    display: inline-flex;
    padding: 1px 7px;
    border-radius: 4px;
    background: rgba(245, 158, 11, .1);
    color: #f59e0b;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-left: 6px;
    vertical-align: middle
}

/* COMPARISON TABLE */
.pr-comparison {
    padding: 80px 24px 100px;
    background: #f8fafb
}

.pr-comp-inner {
    max-width: 960px;
    margin: 0 auto
}

.pr-comp-header {
    text-align: center;
    margin-bottom: 48px
}

.pr-comp-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #1a1a2e;
    margin-bottom: 12px
}

.pr-comp-header p {
    font-size: 1rem;
    color: #888
}

.pr-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid #e8e8ee;
    overflow: hidden
}

.pr-table th,
.pr-table td {
    padding: 16px 24px;
    text-align: left;
    font-size: .88rem;
    border-bottom: 1px solid #f0f0f5
}

.pr-table thead th {
    background: #fafafe;
    font-weight: 700;
    color: #1a1a2e;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase
}

.pr-table thead th:not(:first-child) {
    text-align: center;
    min-width: 140px
}

.pr-table td:not(:first-child) {
    text-align: center
}

.pr-table tbody tr:last-child td {
    border-bottom: none
}

.pr-table tbody tr:hover {
    background: #faf8ff
}

.pr-table .pr-check {
    color: #10b981;
    font-size: 1.2rem
}

.pr-table .pr-cross {
    color: #ddd;
    font-size: 1.2rem
}

.pr-table .pr-highlight {
    background: rgba(127, 90, 240, .03)
}

.pr-table td:first-child {
    color: #444;
    font-weight: 500
}

@media(max-width:600px) {

    .pr-table th,
    .pr-table td {
        padding: 12px 14px;
        font-size: .8rem
    }
}

/* FAQ SECTION */
.pr-faq {
    padding: 80px 24px 100px;
    background: #fff
}

.pr-faq-inner {
    max-width: 700px;
    margin: 0 auto
}

.pr-faq-header {
    text-align: center;
    margin-bottom: 48px
}

.pr-faq-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #1a1a2e;
    margin-bottom: 12px
}

.pr-faq-item {
    border: 1.5px solid #e8e8ee;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color .3s
}

.pr-faq-item:hover {
    border-color: rgba(127, 90, 240, .2)
}

.pr-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    font-size: .95rem;
    font-weight: 700;
    color: #1a1a2e;
    font-family: inherit;
    text-align: left;
    gap: 16px
}

.pr-faq-q .material-icons-outlined {
    font-size: 1.2rem;
    color: #999;
    transition: transform .3s
}

.pr-faq-item.open .pr-faq-q .material-icons-outlined {
    transform: rotate(180deg)
}

.pr-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease
}

.pr-faq-item.open .pr-faq-a {
    max-height: 300px
}

.pr-faq-a-inner {
    padding: 0 24px 20px;
    font-size: .9rem;
    color: #666;
    line-height: 1.7
}

/* CTA FINAL */
.pr-final-cta {
    padding: 80px 24px;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a3e 40%, #24243e 100%);
    text-align: center;
    position: relative;
    overflow: hidden
}

.pr-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237f5af0' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none
}

.pr-final-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto
}

.pr-final-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px
}

.pr-final-cta h2 span {
    background: linear-gradient(135deg, #7f5af0, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.pr-final-cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.7;
    margin-bottom: 32px
}

.pr-final-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap
}

.pr-final-btn {
    padding: 16px 36px;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit
}

.pr-final-btn--primary {
    background: linear-gradient(135deg, #7f5af0, #6c3fe0);
    color: #fff;
    box-shadow: 0 8px 24px rgba(127, 90, 240, .3)
}

.pr-final-btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(127, 90, 240, .4)
}

.pr-final-btn--secondary {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .15)
}

.pr-final-btn--secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25)
}

/* GUARANTEE BADGE */
.pr-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto
}

.pr-guarantee .material-icons-outlined {
    font-size: 1.8rem;
    color: #10b981
}

.pr-guarantee-text {
    text-align: left
}

.pr-guarantee-title {
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px
}

.pr-guarantee-sub {
    font-size: .75rem;
    color: rgba(255, 255, 255, .4)
}