/* Premium Stok AI Redesign - Aligned with New Brand Identity */

.pricing-page {
    width: 100%;
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #EEEAE9;
    background: #000000;
    font-family: "Switzer", "Inter", "Ubuntu Sans", sans-serif;
}

/* Background Glows (Subtle and dark) */
.pricing-bg-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-glow.top-left {
    top: -200px;
    left: -200px;
    background: #ffffff; 
}

.bg-glow.top-right {
    top: -100px;
    right: -200px;
    background: #ffffff;
}

/* Hero Section */
.pricing-hero {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin-bottom: 64px;
}

.pricing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 11px;
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pricing-hero-title {
    font-family: "Switzer", "Inter", sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: normal;
    margin-bottom: 24px;
    color: #ffffff;
}

.pricing-hero-subtitle {
    font-family: "Switzer", sans-serif;
    font-size: clamp(15px, 1.5vw, 16px);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 200;
    line-height: 1.6;
    max-width: 520px;
    letter-spacing: 0.02em;
    margin: 0 auto 48px;
}

/* Billing Toggle */
.pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 24px;
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    position: relative;
}

.toggle-label {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    transition: color 0.4s;
    position: relative;
    letter-spacing: 0.5px;
}

.toggle-label.active {
    color: #fff;
}

.pricing-toggle {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    padding: 0;
    transition: background 0.4s;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-toggle[aria-checked="true"] .toggle-thumb {
    transform: translateX(18px);
}

.discount-badge {
    position: absolute;
    top: -25px;
    right: -37px;
    background: #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 9999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transform: rotate(12deg);
    opacity: 0;
    scale: 0.7;
    transition: opacity 0.3s ease, scale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.toggle-label.active .discount-badge {
    opacity: 1;
    scale: 1;
}

/* Pricing Cards */
.pricing-cards-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin-bottom: 40px;
}

.pricing-logo-loop-section {
    position: relative;
    width: 100%;
    padding: 3rem 0 2.5rem;
    background-color: #000000;
    overflow: hidden;
    z-index: 2;
    margin-bottom: 120px;
}

.pricing-logo-loop-title {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: "Switzer", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 3rem;
}

.pricing-logo-loop-break {
    display: none;
}

.pricing-logo-loop-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.pricing-logo-loop-container::before,
.pricing-logo-loop-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.pricing-logo-loop-container::before {
    left: 0;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
}

.pricing-logo-loop-container::after {
    right: 0;
    background: linear-gradient(to left, #000000 0%, transparent 100%);
}

.pricing-logo-loop-track {
    display: flex;
    width: max-content;
    animation: pricing-scroll-logos 25s linear infinite;
}

.pricing-logos-slide {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding-right: 5rem;
}

.pricing-logos-slide img {
    height: 38px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.pricing-logos-slide img:hover {
    opacity: 1;
}

@keyframes pricing-scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.pricing-card {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
    z-index: 1;
    backdrop-filter: blur(12px);
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    z-index: 30;
}

.pricing-card:focus-within {
    z-index: 30;
}

.pricing-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
    z-index: 0;
}

.pricing-card:hover .pricing-card-glow {
    opacity: 1;
}

.pricing-card .pricing-card-glow { background: radial-gradient(ellipse at top, rgba(255,255,255,0.08), transparent 70%); }

/* Popular Card Highlight */
.pricing-card.popular {
    border-color: rgba(255,255,255,0.3);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    box-shadow: 0 20px 60px rgba(255,255,255,0.05);
}

.pricing-card.popular:hover {
    border-color: rgba(255,255,255,0.5);
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #21BDEF;
    color: #000000;
    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 16px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Card Header */
.pricing-card-header {
    position: relative;
    z-index: 10;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.plan-name {
    font-family: "Switzer", "Inter", sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: normal;
}

.plan-target {
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    min-height: 42px;
    font-weight: 300;
}

/* Price */
.pricing-card-price-wrap {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
    height: 56px;
}

.price-currency {
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    margin-right: 4px;
}

.price-value {
    font-family: "Switzer", "Inter", sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    margin-left: 4px;
}

.enterprise-price .price-value {
    font-size: 32px;
}

.plan-min-seats {
    position: relative;
    z-index: 10;
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 32px;
    height: 18px;
    font-weight: 300;
    text-align: center;
}

/* CTAs - Pill Shaped Minimal Buttons */
.pricing-card-cta-wrap {
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.btn-plan {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: 9999px; /* Pill shape */
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.btn-plan::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-plan span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-primary::before {
    background-color: #ffffff;
}

.btn-primary:hover {
    color: #000000;
}

.btn-primary:hover::before {
    height: 100%;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
}

.btn-secondary::before {
    background-color: #ffffff;
}

.btn-secondary:hover {
    color: #000000;
    border-color: #ffffff;
}

.btn-secondary:hover::before {
    height: 100%;
}

/* CTA Section */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.pricing-cta-section {
    text-align: center;
    padding: 4rem 1.5rem;
    background: rgba(15, 15, 15, 0.5);
    border-radius: 16px;
    margin: 2rem auto 3rem auto;
    width: 100%;
    max-width: 800px;
    /* Fundo de vidro */
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
}

.pricing-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px; /* Espessura do laser */
    background: conic-gradient(from var(--angle), transparent 65%, #21BDEF 98%, transparent 100%) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: rotate-border-angle 4s linear infinite;
}

@keyframes rotate-border-angle {
    0% { --angle: 0deg; }
    100% { --angle: 360deg; }
}

.pricing-cta-title {
    font-family: "Switzer", sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.pricing-cta-subtitle {
    font-family: "Switzer", sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.02em;
    font-weight: 300;
}

.cta-btn {
    font-family: 'Switzer', sans-serif;
    background: #21BDEF;
    color: #000000 !important;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    font-size: 1.0rem;
    border-radius: 9999px;
    border-color: #000000;
    text-decoration: none;
    font-weight: 500;
}


/* Features */
.pricing-card-features {
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.features-title {
    font-family: "Switzer", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.features-list li {
    display: flex;
    align-items: flex-start;
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.features-list svg {
    width: 14px;
    height: 14px;
    margin-right: 12px;
    margin-top: 3px;
    color: #ffffff;
    flex-shrink: 0;
    opacity: 0.6;
}

/* Detailed Comparison Section */
.pricing-compare-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin-bottom: 40px;
}

.compare-title {
    font-family: "Switzer", "Inter", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.compare-subtitle {
    font-family: "Switzer", sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: 0.02em;
}

.compare-table-wrap {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    overflow-x: auto;
    backdrop-filter: blur(12px);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: "Inter", "Ubuntu Sans", sans-serif;
}

.compare-table th {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.01);
    letter-spacing: 0.5px;
}

.feature-col {
    width: 30%;
}

.compare-table td {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
}

.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
    text-align: center;
}

.group-header td {
    background: rgba(255, 255, 255, 0.03);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
    padding: 12px 20px;
}

.icon-dash {
    color: rgba(255,255,255,0.2);
    font-weight: 400;
}

.icon-infinity {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0;
}

.compare-table tbody tr:not(.group-header):hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* FAQ Section */
.pricing-faq-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin-bottom: 80px;
}

.faq-title {
    font-family: "Switzer", "Inter", sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: background 0.4s, border-color 0.4s;
    backdrop-filter: blur(12px);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 32px;
    background: none;
    border: none;
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,0.4);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: #ffffff;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 32px 32px;
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-page {
        padding-top: 100px;
    }
    
    .pricing-hero-title {
        font-size: 42px;
    }
    
    .pricing-cards-container {
        grid-template-columns: 1fr;
    }

    .pricing-logo-loop-section {
        padding: 1.5rem 0;
        margin-bottom: 88px;
    }

    .pricing-logo-loop-break {
        display: block;
    }

    .pricing-logo-loop-container::before,
    .pricing-logo-loop-container::after {
        width: 80px;
    }

    .pricing-logos-slide {
        gap: 3rem;
        padding-right: 3rem;
    }

    .pricing-logos-slide img {
        height: 28px;
    }
    
    .compare-table-wrap {
        border-radius: 20px;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 16px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 14px;
    }
    
    .faq-answer-inner {
        padding: 0 20px 20px;
    }
}

/* ===== Tooltips ===== */
.tooltip-ref {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted rgba(255,255,255,0.35);
    display: inline;
}

.tooltip-ref::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(16, 16, 16, 0.97);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 300;
    padding: 8px 12px;
    border-radius: 10px;
    width: max-content;
    max-width: 260px;
    white-space: normal;
    line-height: 1.5;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    text-align: left;
    backdrop-filter: blur(12px);
}

.tooltip-ref.tooltip-align-left::after {
    left: 0;
    transform: none;
}

.tooltip-ref.tooltip-align-right::after {
    left: auto;
    right: 0;
    transform: none;
}

.tooltip-ref:hover::after,
.tooltip-ref:focus::after,
.tooltip-ref.is-visible::after {
    opacity: 1;
}

.tooltip-ref:focus {
    outline: 1px solid rgba(255,255,255,0.45);
    border-radius: 3px;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .tooltip-ref::after {
        width: min(240px, calc(100vw - 24px));
        max-width: none;
    }
}

/* ===== Footnotes / Disclaimers ===== */
.pricing-footnotes {
    position: relative;
    z-index: 2;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 64px;
}

.pricing-footnotes-container {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 20px 28px;
}

.footnotes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footnotes-list li {
    font-family: "Inter", "Ubuntu Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 300;
    color: rgba(255,255,255,0.32);
    line-height: 1.6;
}

.footnotes-list sup {
    font-size: 9px;
    margin-right: 3px;
}
