/* Military Transition — Plans page */

/* Full-bleed layout: break out of Bootstrap .container max-width */
.container.plans-page {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.plans-page {
    font-size: 118%;
    color: #1e293b;
}

/* Hero banner */
.plans-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: #0f2744;
    background-image: url('/images/shaking%20hand1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 35%;
    overflow: hidden;
}

.plans-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 36, 87, 0.35) 0%,
        rgba(15, 39, 68, 0.55) 45%,
        rgba(15, 39, 68, 0.88) 100%
    );
    pointer-events: none;
}

.plans-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 24px 48px;
    text-align: center;
}

.plans-hero-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #e2e8f0;
    font-size: 1.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plans-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.plans-hero-subtitle {
    margin: 0 auto;
    max-width: 640px;
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

/* Page shell */
.plans-shell {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 38%, #ffffff 100%);
    padding: 0 0 72px;
}

.plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Intro section */
.plans-intro {
    position: relative;
    margin-top: -36px;
    z-index: 2;
}

.plans-intro-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    padding: 36px;
    overflow: hidden;
}

.plans-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #f59e0b 50%, #1d4ed8 100%);
    border-radius: 20px 20px 0 0;
}

.plans-intro-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(30, 78, 121, 0.18);
}

.plans-intro-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.plans-intro-content h2 {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #dc2626;
}

.plans-intro-content p {
    margin: 0 0 18px;
    font-size: 1.5rem;
    line-height: 1.65;
    color: #475569;
}

.plans-benefit-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.plans-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #334155;
}

.plans-benefit-list .fa {
    flex-shrink: 0;
    margin-top: 3px;
    color: #16a34a;
    font-size: 1.8rem;
}

.plans-salary-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 18px;
    color: #64748b;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.plans-salary-divider::before,
.plans-salary-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.plans-salary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.plans-salary-stat {
    text-align: center;
    padding: 18px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
}

.plans-salary-stat .label {
    display: block;
    margin-bottom: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.plans-salary-stat .value {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: #dc2626;
}

/* Pricing section */
.plans-pricing-section {
    margin-top: 56px;
}

.plans-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.plans-section-header h2 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 700;
    color: #0f2744;
}

.plans-section-header p {
    margin: 0 auto;
    /*max-width: 620px;*/
    font-size: 1.5rem;
    line-height: 1.6;
    color: #64748b;
}

.plans-tier-labels {
    display: none;
}

.plans-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.plans-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plans-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

.plans-card--featured {
    border-color: #2563eb;
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.2);
    transform: scale(1.02);
}

.plans-card--featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.plans-card-badge {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    text-align: center;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
}

.plans-card-header {
    padding: 18px 16px 14px;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plans-card-header--basic {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.plans-card-header--trial {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.plans-card-header--premium {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.plans-card-price {
    padding: 20px 16px 8px;
    text-align: center;
    background: #fff;
}

.plans-card-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f2744;
    line-height: 1.1;
}

.plans-card-price .amount sup {
    font-size: 0.95rem;
    font-weight: 700;
    vertical-align: super;
}

.plans-card-price .period {
    display: block;
    margin-top: 4px;
    font-size: 1.2rem;
    color: #64748b;
}

.plans-card-cta {
    padding: 0 16px 18px;
    text-align: center;
    background: #fff;
}

.plans-btn {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plans-btn:hover,
.plans-btn:focus {
    color: #0f172a;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.plans-card-body {
    flex: 1;
    padding: 16px 18px 22px;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.plans-card-summary {
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.42rem;
    line-height: 1.55;
    color: #475569;
}

.plans-feature-heading {
    margin: 0 0 10px;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.plans-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plans-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 1.36rem;
    line-height: 1.45;
    color: #334155;
}

.plans-feature-list .fa {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.45rem;
}

.plans-feature-list .fa-check-square-o,
.plans-feature-list .fa-check-circle {
    color: #16a34a;
}

.plans-feature-list .fa-square-o {
    color: #94a3b8;
}

.plans-feature-list .fa-plus-square-o {
    color: #2563eb;
}

/* Info section */
.plans-info-section {
    margin-top: 56px;
}

.plans-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.plans-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

.plans-info-card h3 {
    margin: 0 0 14px;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1e4e79;
}

.plans-info-card p {
    margin: 0;
    font-size: 1.48rem;
    line-height: 1.65;
    color: #475569;
}

.plans-footer-cta {
    margin-top: 48px;
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #dbeafe;
}

.plans-footer-cta p {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: #475569;
}

.plans-footer-cta a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.plans-footer-cta a:hover {
    text-decoration: underline;
}

.plans-footer-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 28px 0 0;
}

.plans-footer-divider::before,
.plans-footer-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #cbd5e1;
}

/* Responsive */
@media (max-width: 1100px) {
    .plans-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plans-card--featured {
        transform: none;
    }

    .plans-card--featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .plans-hero {
        min-height: 320px;
        background-position: center 30%;
    }

    .plans-hero-inner {
        padding: 56px 20px 36px;
    }

    .plans-intro {
        margin-top: -24px;
    }

    .plans-intro-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        gap: 24px;
    }

    .plans-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .plans-info-grid {
        grid-template-columns: 1fr;
    }

    .plans-salary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .plans-hero {
        min-height: 280px;
    }

    .plans-hero h1 {
        font-size: 2rem;
    }
}
