/* Surfshark Download Page */

/* Hero */
.ss-dl-hero {
    background: #1ebfbf;
    padding: 48px 0 64px;
    overflow: hidden;
}

.ss-dl-hero__inner {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
}

.ss-dl-hero__visual {
    flex: 1;
    width: 100%;
    max-width: 520px;
}

.ss-dl-hero__visual img {
    width: 100%;
    height: auto;
}

.ss-dl-hero__content {
    flex: 1;
    color: #16191c;
}

.ss-dl-hero__title {
    margin: 0 0 24px;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.ss-dl-hero__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ss-dl-hero__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.ss-dl-hero__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-dl-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.ss-dl-hero__note {
    margin: 0;
    font-size: 13px;
    color: #393e41;
}

.ss-btn--outline-light {
    background: transparent;
    color: #16191c;
    border: 2px solid #16191c;
    box-shadow: none;
    border-radius: 12px;
}

.ss-btn--outline-light:hover {
    background: rgba(22, 25, 28, 0.06);
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .ss-dl-hero { padding: 64px 0 80px; }
    .ss-dl-hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
    .ss-dl-hero__visual { max-width: 46%; }
}

@media (min-width: 1024px) {
    .ss-dl-hero { padding: 80px 0 96px; }
}

/* Section common */
.ss-dl-section {
    padding: 48px 0;
}

.ss-dl-section--muted { background: #f9f9f9; }

.ss-dl-section__head {
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
}

.ss-dl-section__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #16191c;
}

.ss-dl-section__desc {
    margin: 0;
    font-size: 18px;
    line-height: 1.67;
    color: #393e41;
}

.ss-dl-section__desc a {
    color: #16191c;
    font-weight: 600;
    text-decoration: underline;
}

@media (min-width: 1024px) {
    .ss-dl-section { padding: 64px 0 96px; }
    .ss-dl-section__head { margin-bottom: 48px; }
}

/* Platform download cards */
.ss-dl-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ss-dl-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(22, 25, 28, 0.06);
    text-decoration: none;
    color: #16191c;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 88px;
}

.ss-dl-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 25, 28, 0.1);
}

.ss-dl-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.ss-dl-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ss-dl-card__text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.ss-dl-card__arrow {
    flex-shrink: 0;
    opacity: 0.7;
}

.ss-dl-footnote {
    margin: 24px 0 0;
    text-align: center;
    font-size: 13px;
    color: #5b6065;
}

.ss-dl-footnote a {
    color: #16191c;
    font-weight: 600;
    text-decoration: underline;
}

@media (min-width: 640px) {
    .ss-dl-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .ss-dl-cards { grid-template-columns: repeat(4, 1fr); }
}

/* Steps */
.ss-dl-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.ss-dl-step {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
}

.ss-dl-section--steps { background: #f5f5f6; }

.ss-dl-step__img {
    width: 120px;
    height: auto;
    margin: 0 auto 24px;
}

.ss-dl-step h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: #16191c;
}

.ss-dl-step p {
    margin: 0;
    font-size: 16px;
    line-height: 1.67;
    color: #393e41;
}

.ss-dl-steps__foot {
    margin-top: 32px;
    text-align: center;
}

.ss-dl-steps__note {
    margin: 0 0 20px;
    font-size: 13px;
    color: #5b6065;
}

@media (min-width: 768px) {
    .ss-dl-steps { grid-template-columns: repeat(3, 1fr); }
}

/* Benefits */
.ss-dl-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.ss-dl-benefit {
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
}

.ss-dl-benefit__icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #1ebfbf;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-dl-benefit__icon svg {
    width: 48px;
    height: 48px;
    color: #16191c;
}

.ss-dl-benefit h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 600;
    color: #16191c;
}

.ss-dl-benefit p {
    margin: 0;
    font-size: 15px;
    line-height: 1.67;
    color: #393e41;
}

@media (min-width: 768px) {
    .ss-dl-benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .ss-dl-benefits { grid-template-columns: repeat(3, 1fr); }
}

/* Device strip */
.ss-dl-devices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.ss-dl-devices__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #16191c;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(22, 25, 28, 0.06);
    transition: background 0.2s;
}

.ss-dl-devices__link:hover { background: #f1f1f1; }

.ss-dl-devices__link svg { flex-shrink: 0; }

.ss-dl-devices__extra {
    max-width: 720px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.67;
    color: #393e41;
}

/* Compare table */
.ss-dl-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 0 24px;
}

.ss-dl-compare {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(22, 25, 28, 0.06);
}

.ss-dl-compare th,
.ss-dl-compare td {
    padding: 20px 24px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #f1f1f1;
    font-size: 15px;
    line-height: 1.6;
    color: #393e41;
}

.ss-dl-compare thead th {
    background: #16191c;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border-bottom: none;
}

.ss-dl-compare thead th:first-child { background: #393e41; }

.ss-dl-compare tbody tr:last-child td { border-bottom: none; }

.ss-dl-compare tbody td:first-child {
    font-weight: 600;
    color: #16191c;
    background: #f9f9f9;
}

.ss-dl-compare tbody td:nth-child(3) {
    background: rgba(30, 191, 191, 0.06);
}

/* Audit */
.ss-dl-audit {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.ss-dl-audit__copy h2 {
    margin: 0 0 20px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: #16191c;
}

.ss-dl-audit__copy p {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.67;
    color: #393e41;
}

.ss-dl-audit__copy a {
    color: #16191c;
    font-weight: 600;
    text-decoration: underline;
}

.ss-dl-audit__img {
    max-width: 368px;
    width: 100%;
}

@media (min-width: 768px) {
    .ss-dl-audit {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
    .ss-dl-audit__copy { flex: 1; }
    .ss-dl-audit__img { flex: 0 0 368px; }
}

/* Bottom CTA */
.ss-dl-cta {
    background: #16191c;
    color: #fff;
    padding: 48px 0;
    border-radius: 0;
}

.ss-dl-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.ss-dl-cta__copy h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
}

.ss-dl-cta__copy p {
    margin: 0 0 24px;
    font-size: 18px;
    color: #dadadd;
}

.ss-btn--light {
    background: #fff;
    color: #16191c;
    box-shadow: none;
    border-radius: 12px;
}

.ss-btn--light:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

.ss-dl-cta__visual {
    max-width: 360px;
    width: 100%;
}

@media (min-width: 768px) {
    .ss-dl-cta { padding: 64px 0; border-radius: 24px; margin: 0 24px 64px; }
    .ss-dl-cta__inner {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }
    .ss-dl-cta__copy { flex: 1; }
}

@media (min-width: 1024px) {
    .ss-dl-cta { margin: 0 auto 96px; max-width: calc(var(--ss-container) + 48px); border-radius: 32px; }
}

/* FAQ */
.ss-dl-faq {
    background: #16191c;
    color: #fff;
    padding: 64px 0;
}

.ss-dl-faq__title {
    margin: 0 0 32px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
}

.ss-dl-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ss-dl-faq__item {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.ss-dl-faq__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.ss-dl-faq__btn svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.ss-dl-faq__item.is-open .ss-dl-faq__btn svg { transform: rotate(180deg); }

.ss-dl-faq__panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 24px;
    font-size: 15px;
    line-height: 1.67;
    color: #dadadd;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.ss-dl-faq__item.is-open .ss-dl-faq__panel {
    max-height: 800px;
    opacity: 1;
    padding-bottom: 20px;
}

.ss-dl-faq__panel p { margin: 0 0 12px; }

.ss-dl-faq__panel ol {
    margin: 0;
    padding-left: 20px;
}

.ss-dl-faq__panel li { margin-bottom: 8px; }
