:root {
    --bg: #f0f2f5;
    --panel: #ffffff;
    --panel-soft: #f7f8fa;
    --line: #e2e5ea;
    --text: #1a1d23;
    --text-2: #50555e;
    --muted: #717680;
    --accent: #0088cc;
    --accent-soft: rgba(0,136,204,0.12);
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 6px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    --r-lg: 14px;
    --r-md: 10px;
    --font: 'DM Sans', system-ui, sans-serif;
    --mono: 'DM Mono', 'SF Mono', monospace;
    --ease: 160ms ease;
}

.ov-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    line-height: 1.65;
}

.packages-hero {
    position: relative;
    overflow: hidden;
    padding: 3.75rem 0;
    margin-bottom: 1.5rem;
    background: radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.18), transparent 28%), radial-gradient(circle at 84% 20%, rgba(0, 164, 239, 0.22), transparent 24%), radial-gradient(circle at 72% 78%, rgba(255, 255, 255, 0.12), transparent 26%), linear-gradient(125deg, #062a49 0%, #0066b2 38%, #0093dd 68%, #dff2fb 100%);
}

.packages-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.22;
    pointer-events: none;
}

.packages-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    top: 8%;
    width: 38rem;
    height: 38rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 62%);
    filter: blur(10px);
    pointer-events: none;
}

.packages-hero .container {
    position: relative;
    z-index: 1;
}

.packages-hero h4 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 2.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.packages-hero p {
    max-width: 72ch;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.5rem;
    line-height: 1.7;
}

.packages-hero .btn-outline-primary {
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 650;
    padding: 0.75rem 1.45rem;
    border-radius: 8px;
    transition: all 200ms ease;
    margin-left: 10px !important;
}

.packages-hero .btn-outline-primary:hover,
.packages-hero .btn-outline-primary:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.hero-lead {
    margin: 0;
    color: var(--text-2);
    font-size: 1.48rem;
    line-height: 1.68;
    padding-top: 8px;
    max-width: 58ch;
}

.edition-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 1.2rem;
}

.edition-card {
    background: var(--panel);
    border: 1.5px solid var(--line);
    padding: 18px;
    cursor: pointer;
    transition: border-color .14s, box-shadow .14s, background .1s, transform .14s;
    user-select: none;
    box-shadow: var(--shadow-xs);
}

    .edition-card:hover {
        border-color: var(--accent);
        box-shadow: var(--shadow);
        transform: translateY(-1px);
    }

    .edition-card.active {
        border-color: var(--accent);
        background: linear-gradient(180deg, var(--accent-soft) 0%, var(--panel) 100%);
        box-shadow: 0 0 0 3px rgba(0,136,204,.10), var(--shadow);
    }

.edition-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.edition-badge {
    font-size: 0.95rem !important;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 5px;
    background: var(--accent-soft);
    color: var(--accent);
}

.edition-card.active .edition-badge {
    background: var(--accent);
    color: #fff;
}

.edition-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--panel);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .14s;
    flex-shrink: 0;
}

.edition-card.active .edition-check {
    background: var(--accent);
    border-color: var(--accent);
}

.edition-check::after {
    content: "✓";
    font-size: 12px;
    color: white;
    opacity: 0;
}

.edition-card.active .edition-check::after {
    opacity: 1;
}

.edition-card-name {
    font-size: 1.75rem !important;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.edition-card-intro {
    font-size: 1.30rem !important;
    line-height: 1.6;
    color: var(--muted);
}

.edition-card-footer {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 1.20rem !important;
    color: var(--muted);
}

.edition-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1.25rem;
}

.edition-details-toggle {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel-soft);
    overflow: hidden;
}

.edition-details-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
    padding: 1.1rem 1.15rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    border: 1px solid var(--line);
}

.edition-details-summary::-webkit-details-marker {
    display: none;
}

.edition-details-summary::before {
    content: '▸';
    font-size: 1.85rem;
    color: var(--muted);
    transition: transform var(--ease);
}

.edition-details-toggle[open] > .edition-details-summary::before {
    transform: rotate(90deg);
}

.edition-details-title {
    font-weight: 700;
    font-size: 1.82rem;
}

.edition-details-meta {
    flex: 1;
    font-size: 1.3rem;
    color: var(--muted);
}

.edition-details-count {
    margin-left: auto;
    font-size: 1.24rem;
    font-weight: 500;
    font-family: var(--mono);
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(0,136,204,0.14);
    white-space: nowrap;
}

.edition-details-toggle .feature-list {
    margin: 12px 0 0;
    padding: 0 1.15rem 1.05rem 1.95rem;
    list-style: none;
    font-size: 1.35rem !important;
    color: var(--text-2);
    columns: 2;
    line-height: 1.80;
}

.edition-details-toggle .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    break-inside: avoid;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.edition-details-toggle .feature-list li + li {
    margin-top: 0.36rem;
    align-items:center;
}

.edition-details-toggle .feature-list .feature-icon {
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    margin-top: 0.22rem;
    border-radius: 0.22rem;
    background: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edition-details-toggle .feature-list li.excluded .feature-icon {
    background: #dc2626;
}

.edition-details-toggle .feature-list .feature-text {
    flex: 1;
    min-width: 0;
}

.edition-details-toggle .feature-list li.excluded {
    color: var(--muted);
}

.family-card {
    margin-top: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel-soft);
    overflow: hidden;
}

.family-panel {
    margin-top: 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.family-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

.family-panel-title {
    font-size: 1.82rem;
    font-weight: 700;
    color: var(--text);
}

.family-panel-count {
    font-size: 1.12rem;
    font-weight: 500;
    font-family: var(--mono);
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(0,136,204,0.14);
    white-space: nowrap;
}

.family-panel-content {
    padding: 1rem;
    background: var(--panel);
}

.family-table-shell {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--panel-soft);
    overflow: hidden;
}

.family-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: var(--panel);
}

.family-table td {
    padding: 1rem 1.1rem;
    vertical-align: top;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    background: var(--panel);
}

.family-table tr:first-child td {
    border-top: none;
}


.family-table td:last-child {
    border-right: none;
}

.family-table-name {
    width: 30%;
    font-size: 1.40rem;
    font-weight: 700;
}

.family-table-desc {
    font-size: 0.90em;
    color: var(--text-2);
    line-height: 1.65;
}

.family-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.family-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.cta-panel {
    margin-top: 1rem;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.cta-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem;
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

.cta-panel-title {
    font-size: 1.82rem;
    font-weight: 700;
    color: var(--text);
}

.cta-panel-meta {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(0,136,204,0.14);
    white-space: nowrap;
}

.cta-panel-content {
    padding: 1rem 1.15rem 1.15rem;
    background: var(--panel);
}

.cta-panel-text {
    margin: 0 0 1rem;
    font-size: 1.28rem;
    line-height: 1.7;
    color: var(--text-2);
}

.cta-action-grid {
    display: flex; 
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cta-action-grid-two {
    display: flex;
    gap: 0.6rem;
}

.cta-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px; 
    padding: 0 14px; 
    border-radius: 4px; 
    border: 1px solid #0b79b7;
    background: #0b79b7;
    color: #fff;
    font-size: 1.15rem; 
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    transition: all 140ms ease;
    white-space: nowrap;
}

    .cta-action-btn:hover {
        background: #095f92;
        border-color: #095f92;
        color: #fff;
        text-decoration: none;
    }

.cta-action-btn-primary {
    background: #0b79b7;
    border-color: #0b79b7;
    color: #fff;
}

.cta-action-btn-primary:hover {
    background: #0077b3;
    border-color: #0077b3;
    color: #fff;
}
