﻿:root{
    --bg:#EEF1EC;
    --bg-soft:#E4E8E2;
    --card:#FFFFFF;
    --text:#12233A;
    --text-soft:#4A5A6C;
    --line:#C7CFC7;
    --route:#47A76A;
    --route-soft:#CDEBDA;
    --route-ink:#0E2318;
    --route-glow:rgba(71,167,106,.18);
    --success:#22C55E;
    --warning:#F59E0B;
    --error:#EF4444;
    --offline:#8A9AA0;
    --header-bg:rgba(238,241,236,.86);

    --panel:#152A40;
    --panel-soft:#1C3550;
    --panel-line:#2B4258;
    --panel-text:#DCE6E2;
    --panel-text-dim:#8CA0A8;
    --panel-accent:#55C98A;
    --panel-accent-soft:#A8E6C4;

    --radius:2px;
    --mono:'JetBrains Mono', monospace;
    --sans:'Inter', sans-serif;
    --display:'Plus Jakarta Sans', sans-serif;
  }

  html[data-theme="dark"]{
    --bg:#0E1A26;
    --bg-soft:#132434;
    --card:#17283C;
    --text:#E8ECE7;
    --text-soft:#95A7AA;
    --line:#28394A;
    --route:#55C98A;
    --route-soft:#1F4A34;
    --route-ink:#08150F;
    --route-glow:rgba(85,201,138,.22);
    --offline:#5C6E76;
    --header-bg:rgba(14,26,38,.86);
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:var(--sans);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    transition:background .2s ease, color .2s ease;
  }
  a{color:inherit; text-decoration:none;}
  img,svg{display:block; max-width:100%;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 clamp(20px, 5vw, 32px);}

  .eyebrow{
    font-family:var(--mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase;
    color:var(--route); font-weight:700; display:inline-flex; align-items:center; gap:8px;
  }
  .eyebrow::before{content:""; width:6px; height:6px; background:var(--route); display:inline-block; border-radius:50%;}

  h1,h2,h3{font-family:var(--display); font-weight:800; letter-spacing:-0.015em; color:var(--text);}

  header{
    position:sticky; top:0; z-index:50; background:var(--header-bg); backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line); transition:background .2s ease, border-color .2s ease;
  }
  .nav{display:flex; align-items:center; justify-content:space-between; height:76px;}
  .logo{font-family:var(--display); font-weight:800; font-size:19px; letter-spacing:-0.01em; display:flex; align-items:center; gap:10px;}
  .logo-mark{
    width:32px; height:32px; border-radius:9px; background:var(--bg-soft); color:var(--route);
    display:flex; align-items:center; justify-content:center; flex:none; box-shadow:0 0 0 4px var(--route-glow);
  }
  .logo-mark svg{width:19px; height:19px;}
  .logo-mark.sm{width:24px; height:24px; border-radius:7px; box-shadow:none;}
  .logo-mark.sm svg{width:14px; height:14px;}
  .nav-links{display:flex; gap:36px; font-size:14px; font-weight:600; color:var(--text-soft);}
  .nav-links a{transition:color .15s ease;}
  .nav-links a:hover{color:var(--text);}
  .nav-actions{display:flex; align-items:center; gap:12px;}

  .theme-toggle{
    width:38px; height:38px; border-radius:10px; border:1px solid var(--line); background:transparent;
    display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--text); flex:none;
  }
  .theme-toggle:hover{background:var(--bg-soft);}
  .theme-toggle svg{width:17px; height:17px;}
  .theme-toggle .icon-moon{display:block;}
  .theme-toggle .icon-sun{display:none;}
  html[data-theme="dark"] .theme-toggle .icon-moon{display:none;}
  html[data-theme="dark"] .theme-toggle .icon-sun{display:block;}

  .btn{
    font-family:var(--display); font-size:13.5px; font-weight:700; letter-spacing:-0.01em;
    padding:11px 20px; border-radius:10px; border:1px solid transparent; cursor:pointer;
    display:inline-flex; align-items:center; gap:8px;
    transition:transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  }
  .btn:active{transform:translateY(1px);}
  .btn-route{background:var(--route); color:var(--route-ink);}
  .btn-route:hover{filter:brightness(.92);}
  .btn-outline{border-color:var(--text); color:var(--text); background:transparent;}
  .btn-outline:hover{background:var(--text); color:var(--bg);}
  .btn-ghost-panel{border-color:var(--panel-line); color:var(--panel-text);}
  .btn-ghost-panel:hover{background:var(--panel-line);}
  .btn-sm{padding:9px 16px; font-size:12.5px;}

  .hero{padding:88px 0 64px; border-bottom:1px solid var(--line); position:relative; overflow:hidden;}
  .hero .wrap{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
  .hero h1{font-size:clamp(28px, 4vw + 14px, 44px); line-height:1.14; margin:18px 0 22px;}
  .hero h1 em{font-style:normal; color:var(--route);}
  .hero p.lead{font-size:17px; color:var(--text-soft); max-width:46ch; margin-bottom:32px;}
  .hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px;}
  .hero-stats{display:flex; flex-wrap:wrap; row-gap:16px; gap:24px 32px; font-family:var(--mono); border-top:1px solid var(--line); padding-top:22px;}
  .hero-stats div{display:flex; flex-direction:column; gap:4px;}
  .hero-stats b{font-size:21px; color:var(--text); font-weight:700;}
  .hero-stats span{font-size:11px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em;}

  .route-map{position:relative; background:var(--panel); border-radius:14px; padding:18px; border:1px solid var(--panel-line);}
  .route-map .map-head{
    display:flex; justify-content:space-between; align-items:center; font-family:var(--mono); font-size:11px;
    color:var(--panel-text); opacity:.7; letter-spacing:.08em; text-transform:uppercase; margin-bottom:8px; padding:0 4px;
  }
  .route-map svg{width:100%; height:auto;}
  .map-caption{
    font-family:var(--mono); font-size:11px; line-height:1.5; color:var(--panel-text-dim);
    padding:10px 4px 0; text-align:center; min-height:33px;
  }
  .node-label{font-family:var(--mono); font-size:10px; fill:var(--panel-text);}
  .node-ping{font-family:var(--mono); font-size:10px; fill:var(--panel-accent-soft); font-weight:700;}
  .you-label{font-family:var(--mono); font-size:10px; fill:var(--panel-accent-soft); font-weight:700;}
  .route-path{fill:none; stroke:#3D5772; stroke-width:1.1; stroke-dasharray:3 5; opacity:.35;}
  .route-path.active{stroke:var(--panel-accent); stroke-width:1.5; opacity:.9; animation:dash 4.5s linear infinite;}
  @keyframes dash{ to{ stroke-dashoffset:-90; } }
  .pulse{animation:pulse 2.4s ease-in-out infinite; transform-origin:center;}
  @keyframes pulse{0%,100%{opacity:1; r:3.2;} 50%{opacity:.4; r:5;}}
  .you-node{opacity:0; transition:opacity .4s ease;}
  .you-node.show{opacity:1;}
  .srv-node-ring{opacity:0; transition:opacity .3s ease;}
  .srv-node-ring.active{opacity:1;}
  @media (prefers-reduced-motion: reduce){ .route-path.active{animation:none;} .pulse{animation:none;} }

  section{padding:80px 0;}
  .section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:44px; flex-wrap:wrap;}
  .section-head h2{font-size:clamp(22px, 1.6vw + 18px, 30px);}
  .section-head p{color:var(--text-soft); max-width:44ch; font-size:15px;}

  .servers{background:var(--bg-soft); border-bottom:1px solid var(--line); border-top:1px solid var(--line); transition:background .2s ease;}
  .server-table{border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--card);}
  .server-row{
    display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center;
    padding:16px 22px; border-bottom:1px solid var(--line); font-size:14px; transition:background .15s ease;
  }
  .server-row > div:nth-child(2){display:flex; justify-content:center;}
  .server-row > div:nth-child(3){text-align:center;}
  .server-row:last-child{border-bottom:none;}
  .server-row.head-row{
    font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.08em;
    color:var(--text-soft); background:var(--bg-soft);
  }
  .server-row:not(.head-row):hover{background:var(--bg-soft);}
  .server-city{display:flex; align-items:center; gap:12px; font-weight:700;}
  .flag{font-size:19px; line-height:1;}
  .server-city .country{display:block; font-weight:500; font-size:12px; color:var(--text-soft);}
  .status{display:flex; align-items:center; gap:8px; font-family:var(--mono); font-size:12px;}
  .status .dot{width:7px; height:7px; border-radius:50%; background:var(--offline); transition:background .2s ease;}
  .status.online .dot{background:var(--success);}
  .status.offline .dot{background:var(--error);}
  .status.checking .dot{background:var(--warning); animation:pulse 1.2s ease-in-out infinite;}
  .ping{font-family:var(--mono); font-weight:700;}
  .servers-foot{
    display:flex; justify-content:space-between; align-items:center; margin-top:16px;
    font-family:var(--mono); font-size:12px; color:var(--text-soft); flex-wrap:wrap; gap:8px;
  }
  .servers-foot button{
    font-family:var(--mono); font-size:12px; color:var(--route); background:none; border:none; cursor:pointer; padding:0;
  }
  .servers-foot button:hover{text-decoration:underline;}

  @media (max-width:700px){
    .server-row{grid-template-columns:1.2fr 1fr 1fr;}
  }

  .adv-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:1px; background:var(--line); border:1px solid var(--line);}
  .adv-card{background:var(--card); padding:32px 28px;}
  .adv-card .icon{width:38px; height:38px; margin-bottom:20px; color:var(--route);}
  .adv-card h3{font-size:16px; margin-bottom:10px; font-family:var(--display);}
  .adv-card p{font-size:14px; color:var(--text-soft);}

  .price-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;}
  .price-card{
    background:var(--card); border:1px solid var(--line); border-radius:16px; padding:28px 26px;
    display:flex; flex-direction:column; gap:20px; position:relative;
  }
  .price-card.featured{border-color:var(--route);}
  .price-badge{
    position:absolute; top:-12px; left:26px; background:var(--route); color:var(--route-ink);
    font-family:var(--mono); font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
    padding:4px 10px; border-radius:20px;
  }
  .price-tags{display:flex; gap:6px; flex-wrap:wrap;}
  .tag{font-family:var(--mono); font-size:10.5px; font-weight:700; padding:4px 9px; border-radius:20px; letter-spacing:.02em;}
  .tag-periodic{background:rgba(93,124,214,.14); color:#5D7CD6; border:1px solid rgba(93,124,214,.35);}
  .price-devices{font-family:var(--display); font-weight:800; font-size:22px;}
  .price-meta{display:flex; flex-direction:column; gap:9px; font-size:13.5px; color:var(--text-soft);}
  .price-meta li{list-style:none; display:flex; align-items:center; gap:9px;}
  .price-meta li::before{content:""; width:5px; height:5px; border-radius:50%; background:var(--success); flex:none;}
  .price-footer{display:flex; align-items:center; justify-content:space-between; border-top:1px solid var(--line); padding-top:18px; margin-top:auto;}
  .price-value{font-family:var(--mono); display:flex; align-items:baseline; gap:5px;}
  .price-value b{font-size:22px; font-weight:800;}
  .price-value span{font-size:12px; color:var(--text-soft);}

  .trial-banner{
    display:flex; justify-content:space-between; align-items:center; gap:20px;
    background:var(--card); border:1px dashed var(--line); border-radius:14px; padding:20px 24px; margin-top:20px; flex-wrap:wrap;
  }
  .trial-banner strong{font-family:var(--display); font-size:15px;}
  .trial-banner p{font-size:13px; color:var(--text-soft); margin-top:4px;}

  .cta{
    background:var(--panel); color:var(--panel-text); border-radius:16px; margin:0 auto; max-width:1180px; padding:56px 48px;
    display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap;
  }
  .cta h2{color:var(--panel-text); font-size:26px; margin-bottom:10px;}
  .cta p{color:var(--panel-text-dim); font-size:14px; max-width:42ch;}

  footer{padding:48px 0 40px; border-top:1px solid var(--line); margin-top:80px;}
  footer .wrap{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
  footer .foot-logo{font-family:var(--display); font-weight:800; font-size:14px; display:flex; align-items:center; gap:8px;}
  footer .foot-links{display:flex; gap:24px; font-size:13px; color:var(--text-soft);}
  footer .copy{font-family:var(--mono); font-size:11px; color:var(--text-soft);}

  @media (max-width:900px){
    .hero .wrap{grid-template-columns:1fr;}
    .hero{padding:56px 0 48px;}
    .nav-links{display:none;}
    .adv-grid{grid-template-columns:1fr 1fr;}
    .price-grid{grid-template-columns:1fr;}
  }
  @media (max-width:420px){
    .logo{font-size:16px; gap:8px;}
    .logo-mark{width:28px; height:28px;}
    .nav-actions{gap:8px;}
    .nav-actions .btn{padding:9px 14px; font-size:12.5px;}
    .theme-toggle{width:34px; height:34px;}
  }
  @media (max-width:560px){
    .adv-grid{grid-template-columns:1fr;}
    .cta{padding:36px 24px; flex-direction:column; align-items:flex-start;}
    .hero-stats{flex-wrap:wrap; row-gap:16px;}
  }
