/* Pricing page styles — tioo.com/pricing/ */

/* ── Scroll-reveal animations ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero ── */
.pricing-hero {
    background: linear-gradient(135deg, #0f1923 0%, #162230 30%, #1a3040 60%, #0d2b3d 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 158, 173, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}
.pricing-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    bottom: -120px;
    left: -50px;
    pointer-events: none;
}
.pricing-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 32px 48px;
}
.pricing-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(52, 158, 173, 0.1);
    border: 1px solid rgba(52, 158, 173, 0.25);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #349EAD;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.pricing-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #349EAD;
    animation: pricingPulse 2s ease-in-out infinite;
}
@keyframes pricingPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.pricing-hero h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -1px;
}
.pricing-hero-sub {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    margin: 0 auto 28px;
}

/* ── Billing Toggle ── */
.billing-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 4px;
}
.toggle-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.toggle-btn.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.toggle-btn:hover:not(.active) {
    color: rgba(255, 255, 255, 0.8);
}
.save-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 4px;
}
.toggle-btn.active .save-badge {
    background: #dcfce7;
    color: #16a34a;
}

/* ── Plans Section ── */
.pricing-plans {
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 24px 0;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── Plan Card ── */
.plan-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 24px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.plan-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.plan-highlight {
    border-color: #349EAD;
    box-shadow: 0 0 0 1px #349EAD, 0 8px 24px rgba(52, 158, 173, 0.12);
}
.plan-highlight:hover {
    box-shadow: 0 0 0 1px #349EAD, 0 16px 40px rgba(52, 158, 173, 0.18);
}
.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #349EAD, #2B8694);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Plan Header */
.plan-header {
    margin-bottom: 20px;
}
.plan-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #0f172a;
    letter-spacing: -0.3px;
}
.plan-rooms {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

/* Plan Price */
.plan-price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.price-amount {
    font-size: 44px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -2px;
    line-height: 1;
}
.price-period {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

/* Plan CTA */
.plan-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}
.plan-cta--primary {
    background: #349EAD;
    color: #fff;
}
.plan-cta--primary:hover {
    background: #2B8694;
    box-shadow: 0 4px 16px rgba(52, 158, 173, 0.35);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.plan-cta--dark {
    background: #1c232d;
    color: #fff;
}
.plan-cta--dark:hover {
    background: #2a3444;
    box-shadow: 0 4px 12px rgba(28, 35, 45, 0.25);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.plan-cta--outline {
    background: transparent;
    color: #1c232d;
    border: 2px solid #e5e7eb;
}
.plan-cta--outline:hover {
    border-color: #1c232d;
    background: #f8fafc;
    text-decoration: none;
    color: #1c232d;
}

/* Plan Divider */
.plan-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 20px 0;
}

/* Plan Features */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.plan-features li {
    padding: 6px 0 6px 26px;
    position: relative;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}
.plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
}
.plan-features li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 14px;
    width: 4px;
    height: 6px;
    border: solid #10b981;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.plan-features-inherit {
    font-weight: 600;
    color: #334155;
}
.plan-features-inherit::before,
.plan-features-inherit::after {
    display: none !important;
}
li.plan-features-inherit {
    padding-left: 0;
    margin-bottom: 4px;
}

/* ── Enterprise ── */
.pricing-enterprise {
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 24px 0;
}
.enterprise-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, #0f1923 0%, #1c232d 60%, #2a3444 100%);
    border-radius: 16px;
    padding: 36px 40px;
    color: #fff;
}
.enterprise-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(52, 158, 173, 0.12);
    color: #349EAD;
    display: flex;
    align-items: center;
    justify-content: center;
}
.enterprise-text {
    flex: 1;
}
.enterprise-text h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}
.enterprise-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.6;
}
.enterprise-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.enterprise-cta:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ── Add-ons ── */
.pricing-addons {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin-top: 56px;
}
.pricing-addons-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 64px 24px;
    text-align: center;
}
.pricing-addons .section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(52, 158, 173, 0.08);
    border: 1px solid rgba(52, 158, 173, 0.18);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #349EAD;
    margin-bottom: 16px;
}
.pricing-addons h2 {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}
.pricing-addons-sub {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 40px;
    line-height: 1.6;
}
.addons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: left;
}
.addon-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.addon-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
    border-color: #d1d5db;
}
.addon-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.addon-icon--teal { background: rgba(52, 158, 173, 0.1); color: #349EAD; }
.addon-icon--blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.addon-icon--green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.addon-icon--purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.addon-icon--amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.addon-icon--rose { background: rgba(244, 63, 94, 0.1); color: #f43f5e; }
.addon-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}
.addon-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0 0 16px;
    flex: 1;
}
.addon-price {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}
.addon-price span {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0;
}

/* ── FAQ ── */
.pricing-faq {
    max-width: 1140px;
    margin: 0 auto;
}
.pricing-faq-inner {
    padding: 64px 24px;
}
.pricing-faq h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 36px;
    text-align: center;
    letter-spacing: -0.5px;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 48px;
}
.faq-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}
.faq-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ── Final CTA ── */
.pricing-cta {
    background: linear-gradient(135deg, #0f1923 0%, #162230 30%, #1a3040 60%, #0d2b3d 100%);
    color: #fff;
    text-align: center;
}
.pricing-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 64px 24px;
}
.pricing-cta h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #fff;
    letter-spacing: -0.5px;
}
.pricing-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px;
    line-height: 1.6;
}
.pricing-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.pcta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}
.pcta-btn--primary {
    background: #349EAD;
    color: #fff;
}
.pcta-btn--primary:hover {
    background: #45B2C1;
    box-shadow: 0 6px 20px rgba(52, 158, 173, 0.4);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}
.pcta-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.pcta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    text-decoration: none;
}

/* ── Responsive: Tablet ── */
@media (max-width: 900px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .addons-grid { grid-template-columns: repeat(2, 1fr); }
    .enterprise-card { flex-direction: column; text-align: center; padding: 32px 24px; }
    .enterprise-text { text-align: center; }
    .faq-grid { grid-template-columns: 1fr; gap: 20px; }
    .pricing-hero-inner { padding: 44px 24px 40px; }
    .pricing-hero h1 { font-size: 30px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
    .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .addons-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-hero-inner { padding: 36px 20px 32px; }
    .pricing-hero h1 { font-size: 24px; letter-spacing: -0.5px; }
    .pricing-hero-sub { font-size: 14px; margin-bottom: 24px; }
    .pricing-pill { font-size: 12px; padding: 5px 14px; }
    .toggle-btn { padding: 8px 16px; font-size: 13px; }
    .price-amount { font-size: 36px; }
    .plan-card { padding: 28px 20px 24px; }
    .enterprise-card { padding: 28px 20px; gap: 20px; }
    .enterprise-icon { width: 52px; height: 52px; }
    .enterprise-text h3 { font-size: 19px; }
    .pricing-addons-inner { padding: 48px 20px; }
    .pricing-addons h2 { font-size: 24px; }
    .pricing-faq-inner { padding: 48px 20px; }
    .pricing-faq h2 { font-size: 24px; }
    .pricing-cta-inner { padding: 48px 20px; }
    .pricing-cta h2 { font-size: 22px; }
    .pcta-btn { padding: 12px 24px; font-size: 14px; }
}
