/* ═══════════════════════════════════════════════════════════════
   iSkorpion Repo — iOS 6 Inspired Theme
   Mobile-first, skeuomorphic design with linen textures,
   glossy buttons, inset shadows, and Helvetica Neue typography
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ios-blue: #1d84fc;
    --ios-blue-dark: #0e5fba;
    --ios-green: #4cd964;
    --ios-red: #ff3b30;
    --ios-orange: #ff9500;
    --ios-gray: #8e8e93;
    --ios-light-gray: #c7c7cc;
    --ios-bg: #c5ccd4;
    --ios-toolbar: linear-gradient(to bottom, #b0b9c5, #8e99a8);
    --ios-navbar: linear-gradient(to bottom, #a9b3c1, #8694a6);
    --ios-card-bg: #ffffff;
    --ios-card-border: #b5b5b5;
    --ios-text: #1c1c1e;
    --ios-text-secondary: #6d6d72;
    --ios-separator: rgba(60, 60, 67, 0.12);
    --ios-inset-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
    --ios-radius: 10px;
    --font: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--ios-bg);
    /* Linen texture via CSS pattern */
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.015) 2px,
            rgba(0,0,0,0.015) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.01) 2px,
            rgba(0,0,0,0.01) 4px
        );
    color: var(--ios-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ios-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ─── iOS 6 Navigation Bar ─── */
.navbar {
    background: linear-gradient(to bottom, #b5c3d3 0%, #8e9bac 50%, #7b8a9d 51%, #6d7d91 100%);
    border-bottom: 1px solid #4a5568;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0.05));
    pointer-events: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.navbar-brand img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.navbar-brand span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.navbar-nav {
    display: flex;
    gap: 6px;
    list-style: none;
    position: relative;
    z-index: 1;
}

.navbar-nav a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.4);
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.0));
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
    transition: all 0.15s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0.1));
    text-decoration: none;
    box-shadow: 0 0 6px rgba(255,255,255,0.15);
}

/* Mobile menu toggle */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ─── Page Container ─── */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
}

/* ─── iOS 6 Card Panel ─── */
.card {
    background: var(--ios-card-bg);
    border: 1px solid var(--ios-card-border);
    border-radius: var(--ios-radius);
    box-shadow: 
        0 1px 4px rgba(0,0,0,0.12),
        var(--ios-inset-shadow);
    margin-bottom: 16px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(to bottom, #f7f7f7, #e8e8e8);
    border-bottom: 1px solid var(--ios-card-border);
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ios-text);
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.card-body {
    padding: 16px;
}

/* ─── iOS 6 Glossy Button ─── */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0.0));
    pointer-events: none;
    border-radius: 8px 8px 0 0;
}

.btn-primary {
    background: linear-gradient(to bottom, #5aa0f5, #1872e0);
    color: #fff;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.3);
    border: 1px solid #1565c0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #6bb1ff, #2182f0);
    text-decoration: none;
}

.add-source-btn.altstore {
    background: linear-gradient(to bottom, #ff5e78, #d81b60);
    color: #fff;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.2);
}

.add-source-btn.trollstore {
    background: linear-gradient(to bottom, #ff4c4c, #c0392b);
    color: #fff;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.2);
}

.add-source-btn.altstore:hover { background: linear-gradient(to bottom, #ff6e8a, #e91e63); }
.add-source-btn.trollstore:hover { background: linear-gradient(to bottom, #ff5c5c, #d32f2f); }

.add-source-buttons.secondary {
    margin-top: 8px;
}

@media (max-width: 600px) {
    .add-source-buttons {
        flex-direction: column;
    }
    .add-source-btn {
        width: 100%;
        justify-content: center;
    }
}

.btn-success {
    background: linear-gradient(to bottom, #6fe084, #37b34a);
    color: #fff;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.2);
    border: 1px solid #2d9a3e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-danger {
    background: linear-gradient(to bottom, #ff6b6b, #e03030);
    color: #fff;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.2);
    border: 1px solid #c62828;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ─── iOS 6 List (Table View) ─── */
.list-group {
    background: var(--ios-card-bg);
    border: 1px solid var(--ios-card-border);
    border-radius: var(--ios-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), var(--ios-inset-shadow);
    overflow: hidden;
    margin-bottom: 16px;
}

.list-group-header {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ios-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.02);
}

.list-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ios-separator);
    gap: 12px;
    transition: background 0.15s;
    text-decoration: none;
    color: var(--ios-text);
}

.list-item:last-child { border-bottom: none; }

.list-item:hover {
    background: rgba(0, 122, 255, 0.05);
    text-decoration: none;
}

.list-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.list-item-content {
    flex: 1;
    min-width: 0;
}

.list-item-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-subtitle {
    font-size: 12px;
    color: var(--ios-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-item-badge {
    background: var(--ios-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.list-item-badge.paid {
    background: var(--ios-green);
}

.list-item-badge.free {
    background: var(--ios-gray);
}

.list-item-arrow {
    color: var(--ios-light-gray);
    font-size: 14px;
    flex-shrink: 0;
}

/* ─── iOS 6 Form Inputs ─── */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ios-text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: var(--font);
    background: #fff;
    border: 1px solid var(--ios-card-border);
    border-radius: 8px;
    box-shadow: var(--ios-inset-shadow);
    color: var(--ios-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--ios-blue);
    box-shadow: var(--ios-inset-shadow), 0 0 0 2px rgba(29, 132, 252, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238e8e93' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* ─── iOS 6 Toggle Switch ─── */
.toggle {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #e5e5ea;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 27px;
    height: 27px;
    background: linear-gradient(to bottom, #fff, #f0f0f0);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.toggle input:checked + .toggle-slider {
    background: var(--ios-green);
}

.toggle input:checked + .toggle-slider::after {
    transform: translateX(20px);
}

/* ─── Flash Messages ─── */
.flash {
    padding: 12px 16px;
    border-radius: var(--ios-radius);
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

.flash-success {
    background: rgba(76, 217, 100, 0.15);
    border: 1px solid rgba(76, 217, 100, 0.3);
    color: #1b8a2e;
}

.flash-error {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.25);
    color: var(--ios-red);
}

.flash-info {
    background: rgba(29, 132, 252, 0.1);
    border: 1px solid rgba(29, 132, 252, 0.25);
    color: var(--ios-blue);
}

/* ─── Search Bar ─── */
.search-bar {
    position: relative;
    margin-bottom: 16px;
}

.search-bar input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    font-size: 15px;
    font-family: var(--font);
    background: #fff;
    border: 1px solid var(--ios-card-border);
    border-radius: 10px;
    box-shadow: var(--ios-inset-shadow);
    -webkit-appearance: none;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--ios-blue);
}

.search-bar::before {
    content: '🔍';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    pointer-events: none;
}

/* ─── Filter Tabs (Segmented Control) ─── */
.segmented-control {
    display: flex;
    background: rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 2px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.segmented-control button,
.segmented-control a {
    flex: 1;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--ios-text);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.segmented-control button.active,
.segmented-control a.active {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12), 0 0 0 0.5px rgba(0,0,0,0.04);
    color: var(--ios-blue);
}

/* ─── Package Grid ─── */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.package-card {
    background: var(--ios-card-bg);
    border: 1px solid var(--ios-card-border);
    border-radius: var(--ios-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), var(--ios-inset-shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: var(--ios-text);
    display: block;
}

.package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-decoration: none;
}

.package-card-inner {
    display: flex;
    align-items: center;
    padding: 14px;
    gap: 12px;
}

.package-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.package-card-info {
    flex: 1;
    min-width: 0;
}

.package-card-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package-card-desc {
    font-size: 12px;
    color: var(--ios-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--ios-text-secondary);
    padding: 0 14px 12px;
}

.package-card-price {
    font-weight: 700;
    color: var(--ios-blue);
}

.package-card-price.free {
    color: var(--ios-gray);
}

/* ─── Version Picker ─── */
.version-picker {
    background: var(--ios-card-bg);
    border: 1px solid var(--ios-card-border);
    border-radius: var(--ios-radius);
    padding: 16px;
    margin-bottom: 16px;
}

.version-picker h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.version-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--ios-separator);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.15s;
    gap: 10px;
}

.version-option:hover {
    border-color: var(--ios-blue);
    background: rgba(29, 132, 252, 0.04);
}

.version-option.selected {
    border-color: var(--ios-blue);
    background: rgba(29, 132, 252, 0.08);
}

.version-option input[type="radio"] {
    accent-color: var(--ios-blue);
}

.version-option-info {
    flex: 1;
}

.version-option-ver {
    font-weight: 600;
    font-size: 14px;
}

.version-option-date {
    font-size: 11px;
    color: var(--ios-text-secondary);
}

.version-option-badge {
    font-size: 10px;
    background: var(--ios-green);
    color: #fff;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 700;
}

/* ─── Package Detail Header ─── */
.pkg-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.pkg-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.pkg-info h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2px;
}

.pkg-info .pkg-author {
    font-size: 14px;
    color: var(--ios-text-secondary);
    margin-bottom: 4px;
}

.pkg-info .pkg-version {
    font-size: 12px;
    color: var(--ios-gray);
}

/* ─── Screenshots Scroller ─── */
.screenshots {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.screenshots img {
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* ─── Pagination ─── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
}

.pagination a {
    background: var(--ios-card-bg);
    color: var(--ios-blue);
    border: 1px solid var(--ios-card-border);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.pagination a:hover {
    background: rgba(29, 132, 252, 0.08);
}

.pagination span.current {
    background: var(--ios-blue);
    color: #fff;
    border: 1px solid var(--ios-blue-dark);
}

/* ─── Hero Section (Landing) ─── */
.hero {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero p {
    font-size: 15px;
    color: var(--ios-text-secondary);
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* ─── Stats Row ─── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.stat-box {
    background: var(--ios-card-bg);
    border: 1px solid var(--ios-card-border);
    border-radius: var(--ios-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08), var(--ios-inset-shadow);
    text-align: center;
    padding: 16px 12px;
}

.stat-box .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--ios-blue);
}

.stat-box .stat-label {
    font-size: 12px;
    color: var(--ios-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ─── Footer ─── */
.footer {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: var(--ios-text-secondary);
    margin-top: 24px;
}

.footer a { color: var(--ios-blue); }

/* ─── User Profile Card ─── */
.profile-card {
    text-align: center;
    padding: 24px;
}

.profile-card .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ios-blue), #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.profile-card .balance {
    font-size: 32px;
    font-weight: 700;
    color: var(--ios-green);
    margin: 8px 0;
}

.profile-card .balance-label {
    font-size: 12px;
    color: var(--ios-text-secondary);
    text-transform: uppercase;
}

/* ─── Empty State ─── */
.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--ios-text-secondary);
}

.empty-state .emoji {
    font-size: 48px;
    margin-bottom: 12px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--ios-text);
}

/* ─── Tables ─── */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table th {
    background: linear-gradient(to bottom, #f7f7f7, #e8e8e8);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--ios-text-secondary);
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--ios-card-border);
}

table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--ios-separator);
    vertical-align: middle;
}

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

/* ─── Add to Source Buttons ─── */
.add-source-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.add-source-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s;
    position: relative;
    overflow: hidden;
}

.add-source-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
    pointer-events: none;
}

.add-source-btn.cydia {
    background: linear-gradient(to bottom, #6c4d38, #4a3425);
    color: #fff;
    border: 1px solid #3a2415;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.3);
}

.add-source-btn.sileo {
    background: linear-gradient(to bottom, #8B6BC7, #6244A5);
    color: #fff;
    border: 1px solid #4e3682;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.3);
}

.add-source-btn.zebra {
    background: linear-gradient(to bottom, #4A90D9, #2B6CB0);
    color: #fff;
    border: 1px solid #1e5695;
    text-shadow: 0 -1px 1px rgba(0,0,0,0.3);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(to bottom, #8e9bac, #6d7d91);
        flex-direction: column;
        padding: 8px;
        gap: 4px;
        border-top: 1px solid rgba(0,0,0,0.2);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .navbar-nav.open {
        display: flex;
    }

    .navbar-toggle {
        display: block;
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 22px;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .pkg-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .hero {
        padding: 24px 12px;
    }

    .navbar-brand span {
        font-size: 15px;
    }
}
