/* Pricing Page - Complete Redesign */

.pricing {
    align-items: center;
    background-color: var(--white);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

/* ===== NAVIGATION (ORIGINAL) ===== */
.pricing .nav-yxvYVG {
    align-items: center;
    background-color: transparent;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-shrink: 1;
    height: 51px;
    justify-content: flex-start;
    margin-top: 44px;
    min-width: 1234px;
    position: relative;
    width: auto;
}

.pricing .logo-uC6xUd {
    flex-shrink: 1;
    position: relative;
    height: 40px;
    width: auto;
}

.pricing .services-uC6xUd {
    background-color: transparent;
    flex-shrink: 1;
    font-weight: 300;
    height: auto;
    letter-spacing: 0.00px;
    line-height: 21px;
    margin-bottom: 2.0px;
    margin-left: 142px;
    min-width: 68px;
    position: relative;
    text-align: left;
    white-space: nowrap;
    width: auto;
}

.pricing .pricing-uC6xUd {
    background-color: transparent;
    flex-shrink: 1;
    font-weight: 300;
    height: auto;
    letter-spacing: 0.00px;
    line-height: 21px;
    margin-bottom: 2.0px;
    margin-left: 41px;
    min-width: 55px;
    position: relative;
    text-align: left;
    white-space: nowrap;
    width: auto;
}

.pricing .resources-uC6xUd {
    background-color: transparent;
    flex-shrink: 1;
    font-weight: 300;
    height: auto;
    letter-spacing: 0.00px;
    line-height: 21px;
    margin-bottom: 2.0px;
    margin-left: 42px;
    min-width: 84px;
    position: relative;
    text-align: left;
    white-space: nowrap;
    width: auto;
}

.pricing .button-uC6xUd {
    align-self: flex-start;
    background-image: url(../img/pricing-button-backgroundmask.png);
    flex-shrink: 1;
    height: 50px;
    margin-left: 41px;
    overflow: hidden;
    position: relative;
    width: 357px;
}

.pricing .background-LNdWAJ {
    width: 357px;
}

.pricing .shchedule-a-free-consultation-LNdWAJ {
    background-color: transparent;
    font-weight: 600;
    height: auto;
    left: 32px;
    letter-spacing: 1.10px;
    line-height: 21px;
    position: absolute;
    text-align: left;
    top: 16px;
    white-space: nowrap;
    width: auto;
}

.pricing .login-button-uC6xUd {
    align-self: flex-start;
    background-color: transparent;
    background-image: url(../img/attorney-mail-button-backgroundmask-1@2x.png);
    background-size: 100% 100%;
    flex-shrink: 1;
    height: 50px;
    margin-left: 43px;
    overflow: hidden;
    position: relative;
    width: 143px;
}

.pricing .background-yNJmV7 {
    width: 143px;
}

.pricing .login-yNJmV7 {
    background-color: transparent;
    font-weight: 600;
    height: 29px;
    left: 37px;
    letter-spacing: 0.88px;
    line-height: 21px;
    position: absolute;
    text-align: center;
    top: 12px;
    width: 68px;
}

/* ===== MAIL BUILDER PRICING SECTION - REDESIGNED ===== */
.pricing .mail-builder-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    text-align: center;
}

.pricing .mail-builder-title {
    font-family: var(--font-family-lora);
    font-size: 48px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 20px;
}

.pricing .mail-builder-subtitle {
    font-family: var(--font-family-space_grotesk);
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

.pricing .pricing-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.pricing .pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px 30px;
    position: relative;
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.pricing .pricing-card.popular {
    border: 3px solid var(--guardsman-red);
    transform: scale(1.05);
}

.pricing .popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--guardsman-red);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-family-space_grotesk);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

.pricing .card-title {
    font-family: var(--font-family-space_grotesk);
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.pricing .card-price {
    font-family: var(--font-family-space_grotesk);
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.pricing .card-period {
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.pricing .card-onboarding {
    font-family: var(--font-family-space_grotesk);
    font-size: 14px;
    font-weight: 600;
    color: var(--guardsman-red);
    margin-bottom: 30px;
}

.pricing .card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
}

.pricing .card-features li {
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.pricing .card-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--guardsman-red);
    font-weight: bold;
}

.pricing .card-features li:last-child {
    border-bottom: none;
}

.pricing .card-button {
    width: 100%;
    padding: 15px 20px;
    background: var(--guardsman-red);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pricing .card-button:hover {
    background: #a00000;
}

.pricing .action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing .action-button {
    padding: 15px 30px;
    border-radius: 8px;
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    display: inline-block;
    border: 2px solid;
}

.pricing .action-button.primary {
    background: var(--guardsman-red) !important;
    color: white !important;
    border-color: var(--guardsman-red) !important;
}

.pricing .action-button.primary:hover {
    background: #a00000 !important;
    border-color: #a00000 !important;
}

.pricing .action-button.secondary {
    background: #000000 !important;
    color: white !important;
    border-color: #000000 !important;
}

.pricing .action-button.secondary:hover {
    background: #333333 !important;
    border-color: #333333 !important;
}

/* ===== CUSTOM PRICING SECTION - REDESIGNED ===== */
.pricing .custom-pricing-section {
    width: 100%;
    background: #f8f9fa;
    padding: 80px 0;
    margin-top: 60px;
}

.pricing .custom-pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing .custom-pricing-title {
    font-family: var(--font-family-lora);
    font-size: 48px;
    font-weight: 400;
    color: var(--black);
    text-align: center;
    margin-bottom: 20px;
}

.pricing .custom-pricing-subtitle {
    font-family: var(--font-family-space_grotesk);
    font-size: 18px;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.pricing .product-category {
    margin-bottom: 60px;
}

.pricing .category-title {
    font-family: var(--font-family-lora);
    font-size: 36px;
    font-weight: 400;
    color: var(--guardsman-red);
    text-align: center;
    margin-bottom: 30px;
}

.pricing .pricing-table {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.pricing .pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing .pricing-table th {
    background: var(--guardsman-red);
    color: white;
    font-family: var(--font-family-space_grotesk);
    font-weight: 600;
    font-size: 16px;
    padding: 20px 15px;
    text-align: left;
}

.pricing .pricing-table td {
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.pricing .pricing-table tr:nth-child(even) {
    background: #f8f9fa;
}

.pricing .pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing .product-cell {
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.pricing .product-size {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    display: block;
    margin-top: 5px;
}

.pricing .price-cell {
    font-weight: 600;
    color: var(--guardsman-red);
}

.pricing .pricing-note {
    text-align: center;
    font-style: italic;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

.pricing .product-divider {
    border-top: 2px solid #e0e0e0 !important;
}

.pricing .action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pricing .action-button {
    padding: 15px 30px;
    border-radius: 8px;
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    display: inline-block;
    border: 2px solid;
}

.pricing .action-button.primary {
    background: var(--guardsman-red) !important;
    color: white !important;
    border-color: var(--guardsman-red) !important;
}

.pricing .action-button.primary:hover {
    background: #a00000 !important;
    border-color: #a00000 !important;
}

.pricing .action-button.secondary {
    background: #000000 !important;
    color: white !important;
    border-color: #000000 !important;
}

.pricing .action-button.secondary:hover {
    background: #333333 !important;
    border-color: #333333 !important;
}

/* ===== FOOTER (ORIGINAL) ===== */
.pricing .footer-yxvYVG {
    background-color: transparent;
    height: 300px;
    margin-top: 80px;
    position: relative;
    width: 100%;
}

.pricing .rectangle-VT4W1t {
    background-color: transparent;
    height: 300px;
    left: 1px;
    position: absolute;
    top: 0px;
    max-width: 1440px;
    width: 100%;
}

.pricing .copyright-VT4W1t {
    background-color: transparent;
    font-weight: 300;
    height: auto;
    left: 599px;
    letter-spacing: 0.00px;
    line-height: 23px;
    position: absolute;
    text-align: center;
    top: 250px;
    white-space: nowrap;
    width: auto;
}

.pricing .line-VT4W1t {
    background-color: transparent;
    height: 47px;
    left: -0px;
    position: absolute;
    top: 202px;
    width: 1443px;
}

.pricing .links-VT4W1t {
    background-color: transparent;
    font-weight: 400;
    height: auto;
    left: 297px;
    letter-spacing: 0.00px;
    line-height: 33px;
    position: absolute;
    text-align: left;
    top: 133px;
    white-space: nowrap;
    width: auto;
}

.pricing .socials-VT4W1t {
    background-color: transparent;
    font-weight: 400;
    height: auto;
    left: 1174px;
    letter-spacing: 0.00px;
    line-height: 28px;
    position: absolute;
    text-align: center;
    top: 55px;
    width: 148px;
}

.pricing .logo-VT4W1t {
    left: 101px;
    position: absolute;
    top: 50px;
    height: 40px;
    width: auto;
}

/* Hide original sections */
.pricing .section-1-yxvYVG,
.pricing .section-2-yxvYVG,
.pricing .section-3-yxvYVG {
    display: none;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: white;
    border: 2px solid var(--guardsman-red);
    border-radius: 4px;
    cursor: pointer;
    padding: 8px;
    width: 45px;
    height: 45px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 3px;
    background-color: var(--guardsman-red);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: var(--guardsman-red);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-nav-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.35s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid var(--iron);
    text-align: center;
}

.mobile-menu-logo {
    height: 40px;
    width: auto;
}

.mobile-menu-content {
    flex: 1;
    padding: 20px;
}

.mobile-menu-item {
    display: block;
    padding: 15px 0;
    color: var(--black);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid var(--iron);
}

.mobile-submenu-toggle {
    display: block;
    padding: 15px 0;
    color: var(--black);
    font-family: var(--font-family-space_grotesk);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--iron);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.mobile-submenu-toggle::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 15px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle.active::after {
    transform: rotate(45deg);
}

.mobile-submenu-toggle:hover {
    color: var(--guardsman-red);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--romance);
    margin: 0 -20px;
    padding: 0 20px;
}

.mobile-submenu.active {
    max-height: 500px;
    padding: 10px 20px;
}

.mobile-submenu-item {
    display: block;
    padding: 10px 0;
    padding-left: 20px;
    color: var(--black);
    text-decoration: none;
    font-family: var(--font-family-space_grotesk);
    font-size: 14px;
    font-weight: 300;
    border-bottom: 1px solid var(--celeste);
    transition: color 0.3s ease;
}

.mobile-submenu-item:hover {
    color: var(--guardsman-red);
}

.mobile-menu-buttons {
    padding: 20px;
    border-top: 1px solid var(--iron);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-button {
    display: block;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-button.primary {
    background-color: var(--guardsman-red);
    color: var(--white);
}

.mobile-menu-button.secondary {
    background-color: var(--white);
    color: var(--guardsman-red);
    border: 2px solid var(--guardsman-red);
}

/* Utility Classes */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

/* =================================================================== */
/* --- MOBILE RESPONSIVE OVERRIDES --- */
/* =================================================================== */

@media screen and (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: flex !important;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .pricing {
        padding-top: 70px;
        min-width: 100%;
        width: 100%;
    }

    /* Hide desktop navigation */
    .pricing .nav-yxvYVG {
        display: none;
    }

    /* Mail Builder Section - Mobile */
    .pricing .mail-builder-section {
        padding: 0 15px;
        margin: 20px auto 0;
    }

    .pricing .mail-builder-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .pricing .mail-builder-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .pricing .pricing-cards {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .pricing .pricing-card {
        width: 100%;
        max-width: 350px;
        padding: 30px 20px;
    }

    .pricing .pricing-card.popular {
        transform: none;
        margin: 0;
    }

    .pricing .card-title {
        font-size: 24px;
    }

    .pricing .card-price {
        font-size: 36px;
    }

    .pricing .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing .action-button {
        width: 100%;
        max-width: 300px;
    }

    /* Custom Pricing Section - Mobile */
    .pricing .custom-pricing-section {
        padding: 60px 0;
        margin-top: 60px;
    }

    .pricing .custom-pricing-container {
        padding: 0 15px;
    }

    .pricing .custom-pricing-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .pricing .custom-pricing-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .pricing .category-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .pricing .product-category {
        margin-bottom: 40px;
    }

    /* Mobile Table Styles */
    .pricing .pricing-table {
        margin-bottom: 15px;
        border-radius: 8px;
    }

    .pricing .pricing-table table {
        font-size: 14px;
    }

    .pricing .pricing-table th {
        padding: 15px 10px;
        font-size: 14px;
    }

    .pricing .pricing-table td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .pricing .product-cell {
        font-size: 13px;
    }

    .pricing .product-size {
        font-size: 12px;
    }

    /* Mobile table - stack product info vertically */
    .pricing .pricing-table th:first-child,
    .pricing .pricing-table td:first-child {
        width: 35%;
    }

    .pricing .pricing-table th:nth-child(2),
    .pricing .pricing-table td:nth-child(2) {
        width: 30%;
    }

    .pricing .pricing-table th:last-child,
    .pricing .pricing-table td:last-child {
        width: 35%;
    }

    /* Mobile Footer */
    .pricing .footer-yxvYVG {
        margin-top: 40px;
        height: auto;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 40px 20px !important;
        background-color: var(--cararra) !important;
    }

    .pricing .footer-yxvYVG > * {
        position: static !important;
        margin: 0 0 25px 0 !important;
        text-align: center !important;
        width: auto !important;
        left: auto !important;
        top: auto !important;
    }

    .pricing .footer-yxvYVG .rectangle-VT4W1t,
    .pricing .footer-yxvYVG .line-VT4W1t {
        display: none !important;
    }

    .pricing .footer-yxvYVG .copyright-VT4W1t {
        order: 1 !important;
        margin-bottom: 25px !important;
    }

    .pricing .footer-yxvYVG .links-VT4W1t {
        order: 2 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        margin-bottom: 25px !important;
    }

    .pricing .footer-yxvYVG .socials-VT4W1t {
        order: 3 !important;
        width: auto !important;
        margin-bottom: 25px !important;
    }

    .pricing .footer-yxvYVG .logo-VT4W1t {
        order: 4 !important;
        margin-bottom: 0 !important;
        position: static !important;
        max-width: 150px;
        height: auto;
    }

    .pricing .footer-yxvYVG .links-VT4W1t a {
        display: block !important;
        font-size: 18px !important;
        padding: 8px 0 !important;
        color: var(--black, #000);
        text-decoration: none;
        font-family: var(--font-family-lora);
    }
}

/* Small mobile screens */
@media screen and (max-width: 480px) {
    .pricing .mail-builder-title {
        font-size: 28px;
    }

    .pricing .custom-pricing-title {
        font-size: 28px;
    }

    .pricing .category-title {
        font-size: 24px;
    }

    .pricing .mail-builder-section,
    .pricing .custom-pricing-container {
        padding: 0 10px;
    }

    .pricing .pricing-card {
        padding: 25px 15px;
    }

    .pricing .footer-yxvYVG {
        padding: 30px 15px !important;
    }

    .pricing .footer-yxvYVG .links-VT4W1t a {
        font-size: 16px !important;
    }
}