/* =========================================================
   Professional pages - Towa AI Academy
========================================================= */

.professional-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(16, 185, 129, .16), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(168, 85, 247, .13), transparent 32%),
        radial-gradient(circle at 45% 88%, rgba(20, 184, 166, .14), transparent 34%),
        linear-gradient(135deg, #f7fff9 0%, #f3fbff 42%, #fbf7ff 100%);
}

.professional-page::before,
.professional-page::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.professional-page::before {
    width: 420px;
    height: 420px;
    top: 120px;
    right: -180px;
    background: rgba(16, 185, 129, .10);
    filter: blur(6px);
}

.professional-page::after {
    width: 340px;
    height: 340px;
    left: -160px;
    bottom: 280px;
    background: rgba(168, 85, 247, .09);
    filter: blur(8px);
}

.professional-layer {
    position: relative;
    z-index: 1;
}

.professional-hero {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
}

.professional-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid rgba(15, 118, 110, .16);
    background: rgba(255, 255, 255, .76);
    color: #0f766e;
    border-radius: 999px;
    padding: .55rem 1rem;
    font-weight: 800;
    font-size: .9rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
}

.professional-title {
    font-size: clamp(2.15rem, 5vw, 4.35rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.professional-lead {
    color: #566173;
    font-size: 1.05rem;
    line-height: 2;
}

.professional-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(15, 118, 110, .12);
    box-shadow: 0 24px 58px rgba(15, 23, 42, .10);
    backdrop-filter: blur(12px);
}

.professional-hero-card::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    top: -90px;
    right: -70px;
    background: rgba(16, 185, 129, .13);
}

.professional-stat {
    border-radius: 1.25rem;
    background: rgba(248, 250, 252, .82);
    border: 1px solid rgba(15, 23, 42, .06);
    padding: 1rem;
    height: 100%;
}

.professional-section-kicker {
    color: #0f766e;
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.professional-section-title {
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    letter-spacing: -.04em;
    line-height: 1.25;
}

.professional-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.professional-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 118, 110, .13);
    border-color: rgba(15, 118, 110, .18);
}

.professional-card-visual {
    min-height: 160px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .84), transparent 28%),
        linear-gradient(135deg, #ccfbf1 0%, #ecfeff 45%, #f5f3ff 100%);
}

.professional-card-visual.marketing {
    background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 48%, #f5f3ff 100%);
}

.professional-card-visual.backoffice {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 48%, #ecfeff 100%);
}

.professional-card-visual.creative {
    background: linear-gradient(135deg, #fae8ff 0%, #fdf2f8 48%, #f0f9ff 100%);
}

.professional-card-visual.tourism {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 48%, #e0f2fe 100%);
}

.professional-card-visual::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    top: -90px;
    right: -70px;
    background: rgba(15, 118, 110, .12);
}

.professional-card-visual::after {
    content: "";
    position: absolute;
    width: 128px;
    height: 128px;
    left: 36px;
    bottom: -44px;
    border-radius: 32px;
    border: 1px solid rgba(15, 118, 110, .18);
    transform: rotate(16deg);
}

.professional-icon {
    position: absolute;
    left: 28px;
    top: 28px;
    width: 62px;
    height: 62px;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .9);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 16px 32px rgba(15, 118, 110, .14);
}

.professional-label {
    position: absolute;
    top: 24px;
    right: 24px;
    border-radius: 999px;
    padding: .45rem .82rem;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(15, 118, 110, .13);
    color: #0f766e;
    font-size: .78rem;
    font-weight: 900;
}

.professional-card-body {
    margin: -30px 18px 18px;
    position: relative;
    background: #fff;
    border-radius: 1.3rem;
    border: 1px solid rgba(15, 23, 42, .07);
    padding: 1.35rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .08);
}

.professional-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, .14);
    background: rgba(240, 253, 250, .82);
    color: #334155;
    font-weight: 800;
    font-size: .8rem;
    padding: .38rem .72rem;
}

.professional-info-box {
    height: 100%;
    border-radius: 1.15rem;
    background: rgba(248, 250, 252, .9);
    border: 1px solid rgba(15, 23, 42, .06);
    padding: 1rem;
}

.professional-info-title {
    color: #0f766e;
    font-weight: 900;
    font-size: .86rem;
    margin-bottom: .35rem;
}

.professional-detail-panel {
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(15, 118, 110, .12);
    box-shadow: 0 20px 46px rgba(15, 23, 42, .08);
}

.professional-table-card {
    border-radius: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.professional-table-card table {
    margin-bottom: 0;
}

.professional-table-card thead th {
    background: #0f766e;
    color: #fff;
    border-color: rgba(255, 255, 255, .18);
    white-space: nowrap;
}

.professional-table-card tbody td {
    padding: 1rem;
    vertical-align: top;
}

.professional-price-card {
    border-radius: 1.6rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border: 1px solid rgba(15, 118, 110, .15);
    box-shadow: 0 20px 48px rgba(15, 118, 110, .10);
}

.professional-cta {
    border-radius: 2rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(16, 185, 129, .15), transparent 32%),
        radial-gradient(circle at 88% 24%, rgba(168, 85, 247, .12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f0fdfa 48%, #f8fafc 100%);
    border: 1px solid rgba(15, 118, 110, .12);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.professional-soft-section {
    background:
        radial-gradient(circle at 15% 12%, rgba(45, 212, 191, .12), transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(168, 85, 247, .10), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, .65), rgba(240, 253, 250, .72));
}

@media (max-width: 991.98px) {
    .professional-hero {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .professional-card-visual {
        min-height: 150px;
    }
}
