/* pro-pricing.css */

/* Ensure Komet font is available if not globally set elsewhere for this card, though it's in index.html */
/* @import url('assets/fonts/komet-heavy.woff2'); /* Example if needed, but Komet is defined in HTML style block */

:root {
    --octo-navy-dark: #0B1421;
    --octo-cyan: #23E6FF;
    --octo-gradient-blue: #2164FF;
    --octo-gradient-cyan: #28F6F6;
    --text-white: #FFFFFF;
    --text-sub: #C7D5E8;
}

.pricing-card.pro-card {
    position: relative;
    width: 420px;
    max-width: 420px;
    padding-top: 36px;
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 24px; /* New: Padding below CTA */
    background-image: url('./assets/octotools15bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10), 0 0 30px rgba(33, 100, 255, .25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: visible; /* Changed from hidden to allow badge overlap */
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    margin-left: auto;
    margin-right: auto;
}

/* Remove parallax stars background if it was previously enabled via a class or direct style */
.parallax-stars-bg {
    display: none;
}

.pricing-card.pro-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10), 0 0 45px rgba(33, 100, 255, .45);
}

.pricing-card.pro-card:hover .pricing-badge {
    box-shadow: 0 0 10px rgba(40,246,246,.55); /* Increased shadow alpha on card hover */
}

.pricing-card.pro-card .card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* 1. Product Title */
.pricing-card.pro-card h3 {
    font-family: 'Komet', sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 6px;
}

/* 2. Value Note (text under title) */
.pricing-card.pro-card .value-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--octo-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 10px;
}

/* Corner "VALUE" Badge */
.pricing-card.pro-card .pricing-badge {
    position: absolute;
    top: -14px; /* Overlap */
    right: -14px; /* Overlap */
    width: 84px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--octo-gradient-blue) 0%, var(--octo-gradient-cyan) 100%);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 14px; /* Pill shape */
    box-shadow: 0 0 10px rgba(40,246,246,.35); /* Neon vibe shadow */
    z-index: 2; /* Ensure it's above card content visually */
    transition: box-shadow 0.3s ease-out; /* For hover effect */
}

/* Price Block container */
.pricing-card.pro-card .price-block {
    text-align: center;
}

/* 3. Old Price */
.pricing-card.pro-card .original-price {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-align: center;
    display: block;
    margin-bottom: 16px;
}

/* 4. Live Price */
.pricing-card.pro-card .live-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
    margin-bottom: 20px;
}

.pricing-card.pro-card .price-value {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 5rem;
    background: linear-gradient(90deg, var(--octo-gradient-blue) 0%, var(--octo-gradient-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.pricing-card.pro-card .price-currency {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--octo-gradient-blue) 0%, var(--octo-gradient-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-left: 8px;
    opacity: 0.6;
    align-self: baseline;
}

/* 5. Subtitle */
.pricing-card.pro-card .card-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: var(--text-sub);
    text-align: center;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    max-width: 260px;
    margin-bottom: 24px;
}

/* Features List */
.pricing-card.pro-card .features-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 28px; /* Gap to CTA */
    display: block;
    text-align: left;
}

.pricing-card.pro-card .features-list li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-sub);
    font-weight: 500;
    display: flex;
    align-items: center;
    line-height: 1.5;
    margin-bottom: 14px;
    height: auto;
    white-space: normal;
}

.pricing-card.pro-card .features-list li:last-child {
    margin-bottom: 0;
}

.pricing-card.pro-card .features-list li::before {
    content: '\2713';
    color: var(--octo-cyan);
    font-size: 18px;
    font-weight: bold;
    margin-right: 12px;
    min-width: 18px;
}

/* CTA Button */
.pricing-card.pro-card .btn.pro-btn {
    display: flex; /* Changed for robust centering */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--octo-gradient-blue) 0%, var(--octo-gradient-cyan) 100%);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    /* text-align: center; Remove, handled by justify-content */
    /* line-height: 56px; Remove, handled by align-items */
    border-radius: 10px;
    border: none;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1), 
                box-shadow 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 5px 15px rgba(33, 100, 255, 0.2); /* Softer, blue-tinted default shadow */
    cursor: pointer; /* Ensure cursor is pointer */
}

.pricing-card.pro-card .btn.pro-btn:hover {
    transform: translateY(-3px); /* Slightly more lift */
    box-shadow: 0 8px 20px rgba(40, 246, 246, 0.4); /* Refined hover shadow */
}

.pricing-card.pro-card .btn.pro-btn:active {
    transform: translateY(-1px); /* Slight press down from hover */
    box-shadow: 0 4px 10px rgba(40, 246, 246, 0.3); /* Refined active shadow */
}

.pricing-card.pro-card .btn.pro-btn:focus-visible {
    outline: 2px solid var(--octo-gradient-cyan);
    outline-offset: 2px;
}

/* Responsive Rules */
@media (max-width: 1023px) and (min-width: 768px) { /* Tablet */
    .pricing-card.pro-card h3 { font-size: 1.8rem; }
    .pricing-card.pro-card .value-note { font-size: 0.7rem; }
    .pricing-card.pro-card .original-price { font-size: 1.8rem; }
    .pricing-card.pro-card .live-price .price-value { font-size: 4.5rem; }
    .pricing-card.pro-card .live-price .price-currency { font-size: 1.6rem; }
    .pricing-card.pro-card .card-description { font-size: 17px; max-width: 240px; }
    .pricing-card.pro-card .features-list li { font-size: 14.5px; }
    .pricing-card.pro-card .features-list li::before { font-size: 17px; }
    .pricing-card.pro-card .btn.pro-btn { font-size: 15.5px; height: 50px; line-height: 50px; }
}

@media (max-width: 767px) { /* Mobile */
    .pricing-card.pro-card {
        width: 90%;
        padding-left: 24px; /* Mobile specific side padding */
        padding-right: 24px; /* Mobile specific side padding */
        overflow: visible; /* Ensure badge is visible */
    }
    .pricing-card.pro-card h3 { font-size: 1.7rem; margin-bottom: 4px;}
    .pricing-card.pro-card .value-note { font-size: 0.65rem; margin-bottom: 8px; }
    .pricing-card.pro-card .original-price { font-size: 1.6rem; margin-bottom: 12px; }
    .pricing-card.pro-card .live-price { margin-bottom: 16px; }
    .pricing-card.pro-card .live-price .price-value { font-size: 3.8rem; }
    .pricing-card.pro-card .live-price .price-currency { font-size: 1.4rem; }
    .pricing-card.pro-card .card-description { font-size: 16px; max-width: 90%; margin-bottom: 20px; }
    .pricing-card.pro-card .features-list li { font-size: 14px; margin-bottom: 12px; }
    .pricing-card.pro-card .features-list li::before { font-size: 16px; margin-right: 10px; }
    .pricing-card.pro-card .btn.pro-btn { font-size: 15px; height: 48px; line-height: 48px; }
    
    .pricing-card.pro-card .pricing-badge {
        top: -10px; /* Adjust overlap for potentially smaller card/font */
        right: -10px;
        width: 78px; /* Slightly smaller badge for mobile */
        height: 26px;
        font-size: 10px;
        border-radius: 13px;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .pricing-card.pro-card,
    .pricing-card.pro-card:hover {
        transition: none;
        transform: none !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10), 0 0 30px rgba(33, 100, 255, .25) !important;
    }
    .pricing-card.pro-card:hover .pricing-badge {
        box-shadow: 0 0 10px rgba(40,246,246,.35) !important; /* Keep base shadow for badge */
    }
    .pricing-card.pro-card .btn.pro-btn,
    .pricing-card.pro-card .btn.pro-btn:hover,
    .pricing-card.pro-card .btn.pro-btn:active {
        transition: none;
        transform: none !important;
        box-shadow: 0 5px 15px rgba(33, 100, 255, 0.2) !important; /* Apply new default shadow */
    }
}

/* End of file, ensure final newline */

/* Fix for badge position spec: pinned top-right, translateX(50%), translateY(-50%) */
/* My current badge has rotate(15deg) and translate(30%, -50%) for a slightly different effect.
   To match exactly:
*/
/*
.pricing-card.pro-card .pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%); // As per spec
    width: 84px; // As per spec
    height: 28px; // As per spec
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2164FF 0%, #28F6F6 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 14px; // To make it pill shape with height 28px
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
}
*/
/* Re-adjusting badge to spec for width, height, transform, and border-radius for pill shape */
.pricing-card.pro-card .pricing-badge {
    position: absolute;
    top: 0; /* Pinned top */
    right: 0; /* Pinned right */
    transform: translate(50%, -50%); /* Exact translation */
    width: 84px; /* Exact width */
    height: 28px; /* Exact height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2164FF 0%, #28F6F6 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700; /* Bold */
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 14px; /* height / 2 for pill shape */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Mobile badge scaling */
@media (max-width: 767px) {
    .pricing-card.pro-card .pricing-badge {
        width: 72px; /* Exact spec */
        height: 24px; /* Exact spec */
        font-size: 10px; /* Adjusted for smaller badge */
        border-radius: 12px; /* height / 2 */
        /* transform: translate(50%, -50%); remains the same, parent scales */
    }
}


