/* =========================
   Speed Tiers Page - Visual Styles
   Telstra-inspired comprehensive speed explanation
========================= */

/* Speed Navigation */
.speed-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mz-radius-xl);
}

.speed-nav-link {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.speed-nav-link:hover {
    background: rgba(55, 214, 255, 0.15);
    border-color: rgba(55, 214, 255, 0.3);
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

/* Technology Type Cards */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tech-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mz-radius-xl);
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(55, 214, 255, 0.3);
    transform: translateY(-4px);
}

.tech-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(55, 214, 255, 0.2), rgba(255, 59, 212, 0.2));
    border: 1px solid rgba(55, 214, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.tech-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
}

.tech-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.tech-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.tech-speeds {
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 16px;
}

.tech-speeds strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.tech-factors {
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.tech-factors strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.tech-factors ul {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.tech-factors li {
    margin-bottom: 6px;
}

.tech-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tech-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
}

.tech-badge--best {
    background: linear-gradient(135deg, rgba(55, 214, 255, 0.25), rgba(255, 59, 212, 0.25));
    border-color: rgba(55, 214, 255, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.tech-badge--good {
    background: rgba(55, 214, 255, 0.15);
    border-color: rgba(55, 214, 255, 0.3);
}

.tech-note {
    margin-top: 40px;
    padding: 24px 32px;
    background: rgba(55, 214, 255, 0.08);
    border-left: 4px solid rgba(55, 214, 255, 0.5);
    border-radius: 12px;
}

.tech-note p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin: 0;
}

.tech-note a {
    color: #37d6ff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(55, 214, 255, 0.3);
}

.tech-note a:hover {
    border-bottom-color: #37d6ff;
}

/* Speed Tier Cards */
.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.tier-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mz-radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: rgba(55, 214, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.tier-card--featured {
    background: linear-gradient(135deg, rgba(55, 214, 255, 0.08), rgba(255, 59, 212, 0.06));
    border-color: rgba(55, 214, 255, 0.3);
}

.tier-popular {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #37d6ff, #ff3bd4);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0a0a0f;
    z-index: 2;
}

.tier-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(55, 214, 255, 0.2);
    border: 1px solid rgba(55, 214, 255, 0.3);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.tier-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.tier-speed {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tier-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #37d6ff, #ff3bd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-unit {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.tier-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-body {
    padding: 28px;
}

.tier-section {
    margin-bottom: 24px;
}

.tier-section:last-child {
    margin-bottom: 0;
}

.tier-section h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.tier-speeds {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tier-speed-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-align: center;
}

.tier-speed-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.tier-speed-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}

.tier-list,
.tier-activities,
.tier-limitations,
.tier-examples {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tier-list li,
.tier-activities li,
.tier-limitations li,
.tier-examples li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-list li:last-child,
.tier-activities li:last-child,
.tier-limitations li:last-child,
.tier-examples li:last-child {
    border-bottom: none;
}

.tier-list strong {
    color: rgba(255, 255, 255, 0.95);
}

.tier-activities li {
    padding-left: 24px;
    position: relative;
}

.tier-activities li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #37d6ff;
    font-weight: 700;
}

.tier-limitations li {
    padding-left: 24px;
    position: relative;
    color: rgba(255, 255, 255, 0.6);
}

.tier-limitations li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
}

.tier-price {
    text-align: center;
    padding: 20px 0;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-price-amount {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
}

.tier-price-term {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.tier-note {
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.tier-note small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.5;
}

.tier-footer {
    padding: 0 28px 28px;
}

.tier-footer .mz-btn {
    width: 100%;
}

/* Bandwidth Table */
.bandwidth-table {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mz-radius-xl);
    overflow: hidden;
}

.bandwidth-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bandwidth-row:last-child {
    border-bottom: none;
}

.bandwidth-row--header {
    background: rgba(255, 255, 255, 0.06);
}

.bandwidth-row--header .bandwidth-cell {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.bandwidth-cell {
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.bandwidth-cell strong {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4px;
}

.bandwidth-cell span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.tier-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-tag--25 {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.tier-tag--50 {
    background: rgba(55, 214, 255, 0.2);
    border: 1px solid rgba(55, 214, 255, 0.3);
    color: #37d6ff;
}

.tier-tag--100 {
    background: linear-gradient(135deg, rgba(55, 214, 255, 0.25), rgba(255, 59, 212, 0.25));
    border: 1px solid rgba(55, 214, 255, 0.4);
    color: rgba(255, 255, 255, 0.95);
}

.bandwidth-note {
    margin-top: 24px;
    padding: 20px 24px;
    background: rgba(55, 214, 255, 0.08);
    border-left: 4px solid rgba(55, 214, 255, 0.5);
    border-radius: 12px;
}

.bandwidth-note p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    line-height: 1.7;
}

/* Factors Grid */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.factor-card {
    padding: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mz-radius-lg);
}

.factor-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.factor-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.factor-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.factor-list {
    margin: 16px 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.factor-list li {
    margin-bottom: 8px;
}

.factor-tip {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(55, 214, 255, 0.1);
    border-left: 3px solid rgba(55, 214, 255, 0.5);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.factor-example {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.tip-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mz-radius-lg);
}

.tip-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.tip-list {
    margin: 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.tip-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.comparison-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--mz-radius-xl);
    position: relative;
}

.comparison-card--highlight {
    background: linear-gradient(135deg, rgba(55, 214, 255, 0.08), rgba(255, 59, 212, 0.06));
    border-color: rgba(55, 214, 255, 0.3);
}

.comparison-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #37d6ff, #ff3bd4);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0a0a0f;
}

.comparison-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.comparison-list {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.comparison-list li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-card .mz-btn {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .tech-grid,
    .tier-cards {
        grid-template-columns: 1fr;
    }

    .tier-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .bandwidth-row {
        grid-template-columns: 1fr;
    }

    .bandwidth-cell {
        padding: 12px 16px;
    }

    .bandwidth-row--header .bandwidth-cell {
        padding: 14px 16px;
    }

    .factors-grid,
    .tips-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .tier-speeds {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tier-number {
        font-size: 48px;
    }

    .tier-unit {
        font-size: 18px;
    }
}