/* ssh-tunnel-ios.com v2 — single responsive stylesheet, no JS on the page.
   Palette and type ported from the 2018 site (Work Sans, purple gradient). */
:root {
  --grad: linear-gradient(135deg, #502dcf 0%, #2286d4 100%);
  --purple: #4d33cf;
  --bg-tint: #f5f8fd;
  --text: #454a4c;
  --muted: #8d9599;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Work Sans', sans-serif; color: var(--text); }
img { max-width: 100%; }
a { outline: 0; }
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.content { max-width: 1150px; margin: 0 auto; padding: 0 16px; }
.title { font-size: clamp(34px, 6vw, 54px); line-height: 1.17; font-weight: 300; }
.title_purple { color: var(--purple); }
.subtitle { margin: 20px 0 60px; font-size: clamp(17px, 3vw, 22px); line-height: 1.45; color: #404f54; font-weight: 300; }

/* Hero */
.header { background: var(--grad); color: #fff; }
.header__top { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; flex-wrap: wrap; gap: 12px; }
.logo { display: flex; font-size: 32px; line-height: 38px; }
.logo .ssh { font-weight: 300; }
.logo .tunel { font-weight: 400; }
.menu { display: flex; flex-wrap: wrap; gap: 8px 40px; list-style: none; margin: 0; padding: 0; }
.menu a { color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; }
.main { text-align: center; padding: clamp(30px, 6vw, 70px) 16px 0; }
.main h1 { font-size: clamp(38px, 7vw, 70px); line-height: 1.25; font-weight: 300; margin: 0; }
.main__subtitle { font-size: clamp(17px, 3vw, 22px); line-height: 1.45; font-weight: 300; margin: 14px auto 0; max-width: 630px; }
.main__btns { margin: 40px auto; }
.main__btn img { height: 60px; }
.main__img { display: block; margin: 0 auto; width: min(340px, 80vw); }

/* Features */
.features { text-align: center; padding: clamp(60px, 10vw, 110px) 20px; }
.features__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 20px; list-style: none; margin: 0 auto; padding: 0; max-width: 1150px; }
.features__circle { width: 90px; height: 90px; background: var(--grad); border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.features__desc { margin: 34px auto 0; font-size: 18px; line-height: 1.45; max-width: 340px; }

/* Explore — CSS scroll-snap carousel, no JS */
.explore { background: var(--bg-tint); padding: clamp(60px, 10vw, 110px) 0; text-align: center; }
.explore__items { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 24px 24px; -webkit-overflow-scrolling: touch; }
.explore__item { scroll-snap-align: center; flex: 0 0 auto; width: min(300px, 78vw); }
.explore__item img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(80, 45, 207, .15); }
.explore__comment { margin: 14px auto 0; padding: 12px 16px; border-radius: 4px; background: #fff; color: var(--muted); font-size: 16px; line-height: 1.2; }
.explore__hint { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* FAQ — native <details> */
.faq { text-align: center; padding: clamp(60px, 10vw, 110px) 16px; max-width: 650px; margin: 0 auto; }
.faq details { border: .8px solid #e5e5e5; border-radius: 3.2px; background: #fff; margin-bottom: 8px; padding: 16px; text-align: left; }
.faq details[open] { background: var(--bg-tint); }
.faq summary { color: var(--text); font-size: 16px; line-height: 1.6; cursor: pointer; font-weight: 500; }
.faq p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 14px 0 0; }
.faq a { color: var(--purple); }

/* Testimonials */
.testimonials { background: var(--bg-tint); padding: clamp(60px, 10vw, 110px) 16px; text-align: center; }
.testimonials__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 24px; max-width: 1000px; margin: 0 auto; text-align: left; }
.testimonials__rating img { height: 19px; }
.testimonials__impression { font-size: 20px; line-height: 1.3; margin-top: 15px; }
.testimonials__desc { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 15px 0; }
.testimonials__author { color: var(--purple); font-weight: 500; font-size: 16px; }

/* Buy */
.buy { color: #fff; background: var(--grad); padding: clamp(60px, 9vw, 94px) 25px; text-align: center; }
.buy__info { margin: 11px auto 30px; font-size: 16px; line-height: 1.6; max-width: 470px; }
.buy img { height: 60px; }

/* Footer */
.footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 50px; padding: 40px 20px 35px; list-style: none; margin: 0; }
.footer a { text-decoration: none; color: var(--muted); text-transform: uppercase; font-weight: 700; font-size: 14px; line-height: 1.85; }

/* 404 */
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--grad); color: #fff; text-align: center; padding: 16px; }
.error-page a { color: #fff; }
