/* HideMy.Name VPN — Horizon 3.0 */
:root {
    --accent: #1e6ff0;
    --accent-dark: #0a4fc2;
    --bg: #0b1120;
    --bg-2: #0f172a;
    --surface: #1e293b;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --border: #1e293b;
    --success: #10b981;
    --max: 1180px;
    --radius: 14px;
    --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.logo img { border-radius: 8px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: all 0.2s; border: 1px solid transparent; cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 15px 32px; font-size: 16px; }

/* Hero */
.hero { padding: 80px 0 60px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.hero__h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; letter-spacing: -0.02em; }
.hero__h1 .accent { color: var(--accent); }
.hero__p { font-size: 18px; color: var(--muted); max-width: 700px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; padding: 28px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.stat b { display: block; font-size: 28px; color: var(--accent); margin-bottom: 4px; }
.stat span { font-size: 14px; color: var(--muted); }

/* Sections shared */
section { padding: 70px 0; }
.section__label { display: inline-block; padding: 5px 12px; background: rgba(30,111,240,0.12); color: var(--accent); border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.section__h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 700; margin-bottom: 14px; letter-spacing: -0.01em; }
.section__p { color: var(--muted); margin-bottom: 36px; max-width: 700px; }

/* Features */
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Servers */
.servers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.server { padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; font-size: 14px; font-weight: 500; }

/* Pricing */
.pricing__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.plan { padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); position: relative; text-align: center; }
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(30,111,240,0.08); }
.plan__badge { position: absolute; top: 14px; right: 14px; padding: 4px 10px; background: var(--success); color: #fff; border-radius: 100px; font-size: 11px; font-weight: 700; }
.plan h3 { font-size: 16px; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.plan__price { font-size: 42px; font-weight: 800; margin-bottom: 24px; }
.plan__price span { font-size: 20px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan .btn { width: 100%; }

/* Download */
.download__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; font-weight: 500; transition: all 0.2s; }
.platform:hover { border-color: var(--accent); transform: translateY(-2px); }
.platform svg { width: 36px; height: 36px; fill: currentColor; }

/* Referral */
.referral__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.step b { display: block; font-size: 28px; color: var(--accent); margin-bottom: 6px; }
.step span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.faq__item summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; padding-right: 30px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 24px; color: var(--accent); transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* SEO text */
.seo-text { padding: 60px 0; background: var(--bg-2); }
.seo-text__p { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 920px; }

/* CTA */
.cta { background: linear-gradient(135deg, rgba(30,111,240,0.15), rgba(30,111,240,0.04)); text-align: center; }

/* Footer */
.footer { background: var(--bg-2); padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); margin-bottom: 16px; font-weight: 700; }
.footer__col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent); }
.footer__col > p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer__bottom { padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13px; }

/* Connect page */
.connect-hero { padding: 80px 0 40px; text-align: center; }
.connect-hero .hero__p { margin: 0 auto 40px; text-align: center; }
.connect-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; max-width: 820px; margin: 0 auto; }
.connect-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; text-align: left; transition: all 0.2s; }
.connect-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.connect-card__icon { font-size: 42px; }
.connect-card h2 { font-size: 22px; }
.connect-card p { color: var(--muted); font-size: 15px; }
.connect-card__btn { margin-top: auto; padding: 10px 20px; background: var(--accent); color: #fff; border-radius: 8px; font-weight: 600; font-size: 14px; }
.connect-steps { padding: 60px 0 80px; }
.connect-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step-card { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step-card b { font-size: 24px; color: var(--accent); display: block; margin-bottom: 8px; }
.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    section { padding: 50px 0; }
    .hero { padding: 50px 0 40px; }
}
@media (max-width: 480px) {
    .footer__inner { grid-template-columns: 1fr; }
}
