/* ======================================================================= */
/* Atlas VPN — "KEYVO" light theme  (v2 — craft pass)                       */
/* Bright mint-green fintech look inspired by the Keyvo website: near-white */
/* paper, soft mint hero, a two-column hero with a product-card visual,     */
/* big tight headlines, compact black pill CTAs, crisp white cards, green   */
/* accents. Loaded AFTER style.css INSTEAD OF premium.css. RTL-safe.        */
/* ======================================================================= */

/* ----------------------------------------------------------------------- */
/* 0 · Palette — light mint system (softer, airier than v1).               */
/* ----------------------------------------------------------------------- */
:root {
  --ink:        #0c1713;
  --ink-2:      #243a31;
  --paper:      #f6faf7;
  --mint:       #d8f1e0;   /* softer hero / section band */
  --mint-soft:  #eaf7ef;
  --mint-line:  #bfe6cd;
  --green:      #18a34a;
  --green-2:    #0f8a3c;
  --green-dark: #116b37;
  --line:       #e7eee9;
  --line-2:     #d7e3db;

  --bg: var(--paper);
  --bg-2: #eef4f0;
  --bg-3: #e7efe9;
  --surface: #ffffff;
  --surface-2: #f2f7f3;
  --surface-solid: #ffffff;
  --surface-solid-2: #f6faf7;

  --border: var(--line);
  --border-soft: #eef3f0;
  --border-strong: var(--line-2);

  --text: var(--ink);
  --txt: var(--ink);
  --text-dim: #566a60;
  --muted: #566a60;
  --text-mute: #879389;

  --accent: var(--green);
  --accent-2: var(--green-2);
  --accent-ink: #ffffff;
  --accent-glow: rgba(24,163,74,.26);

  --violet: #16a34a;
  --violet-2: #0f8a3c;
  --violet-ink: #ffffff;
  --violet-glow: rgba(24,163,74,.22);

  --radius: 18px;
  --radius-lg: 24px;
  --radius-sm: 13px;
  --blur: blur(0px);
  --shadow: 0 30px 60px -34px rgba(13,40,27,.3);
  --shadow-soft: 0 16px 38px -26px rgba(13,40,27,.2);
  --shadow-card: 0 1px 2px rgba(13,40,27,.04), 0 12px 28px -20px rgba(13,40,27,.22);
}

/* ----------------------------------------------------------------------- */
/* 1 · Page.                                                                */
/* ----------------------------------------------------------------------- */
body {
  background:
    radial-gradient(900px 440px at 88% -12%, rgba(24,163,74,.08), transparent 60%),
    var(--paper);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body::before, body::after, .main::before { display: none !important; }
.main { padding-bottom: 72px; }

h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.02em; }
a { color: var(--green-2); }
a:hover { color: var(--green); }

/* ----------------------------------------------------------------------- */
/* 2 · Nav — clean white, black wordmark, compact pill CTA.                 */
/* ----------------------------------------------------------------------- */
.nav {
  background: rgba(246,250,247,.82);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav::before, .nav::after { display: none !important; }
.brand, .brand:hover, .brand-name { color: var(--ink); }
.brand-mark { background: var(--mint); border: 1px solid var(--mint-line); color: var(--green-dark); box-shadow: none; }
.nav-links > a { color: #44564d; font-weight: 600; }
.nav-links > a:hover { color: var(--ink); background: var(--mint-soft); }
.nav-admin { color: var(--green-2) !important; }
.nav-toggle { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.nav-toggle:hover { background: var(--mint-soft); }
@media (max-width: 640px) {
  .nav-links { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); }
  .nav-links > a:hover { background: var(--mint-soft); }
}

/* ----------------------------------------------------------------------- */
/* 3 · Buttons — compact pills; black primary, light secondary.            */
/* ----------------------------------------------------------------------- */
.btn { border-radius: 999px; font-weight: 700; padding: 12px 24px; }
.btn-sm { padding: 8px 16px; }
.btn-accent {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 12px 24px -16px rgba(12,23,19,.55);
}
.btn-accent:hover { background: #17271f; color: #fff; filter: none; transform: translateY(-2px); box-shadow: 0 18px 32px -16px rgba(12,23,19,.6); }
.btn-accent::before, .btn-accent::after { display: none !important; }
.btn-violet { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 12px 24px -16px var(--accent-glow); }
.btn-violet:hover { background: var(--green-2); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.btn-ghost:hover { background: var(--mint-soft); color: var(--ink); border-color: var(--green); }
/* arrow on the hero CTAs only (RTL: points left = "proceed") */
.hero-actions .btn-accent::after { content: "←"; display: inline-block; margin-inline-start: 2px; font-weight: 800; }
.hero-actions .btn { padding: 14px 26px; font-size: 1rem; }

/* ----------------------------------------------------------------------- */
/* 4 · Cards — white, crisp hairline, soft shadow (Keyvo-style).           */
/* ----------------------------------------------------------------------- */
.card, .glass, .feature-card, .stat-tile, .step-card, .proto-section,
.buy-summary, .buy-pay, .pay-card, .server-card, .faq-item, .auth-card,
.sub-item, .sub-card, .growth-card, .empty-state, .help-box, .security-row,
.admin-order, .create-plan, .settings-card, .pending-item, .ostat {
  background: #fff;
  border: 1px solid var(--line);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-card);
}
.card::after, .feature-card::after, .stat-tile::after, .step-card::after,
.proto-section::after, .pay-card::after, .server-card::after, .faq-item::after,
.auth-card::after, .sub-item::after, .buy-summary::after, .buy-pay::after { display: none !important; }
.card-hover:hover, .feature-card:hover, .stat-tile:hover, .step-card:hover, .sub-item:hover {
  border-color: var(--mint-line); box-shadow: var(--shadow); transform: translateY(-4px);
}

/* ----------------------------------------------------------------------- */
/* 5 · Section titles — big, bold, lots of air.                            */
/* ----------------------------------------------------------------------- */
.section-title { color: var(--ink); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; margin: 64px 0 14px; }
.section-title::before { background: var(--green); box-shadow: none; width: 6px; height: 1em; border-radius: 6px; }
.section-lead { color: var(--text-dim); font-size: 1.08rem; max-width: 620px; }

/* ----------------------------------------------------------------------- */
/* 6 · HERO — two columns: copy + a product-card visual (Keyvo signature).  */
/* ----------------------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--mint), #e7f6ec 70%);
  border: 1px solid var(--mint-line);
  border-radius: 28px;
  padding: 56px 44px;
  margin-top: 18px;
  overflow: hidden;
  display: flex; align-items: center; gap: 40px;
}
.hero-glows, .hero::before, .hero::after { display: none !important; }
.hero-body { flex: 1 1 56%; min-width: 0; }
.hero-badge {
  background: rgba(255,255,255,.75); border: 1px solid var(--mint-line);
  color: var(--green-dark); box-shadow: none;
  text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 800;
  padding: 7px 14px;
}
.hero-badge .dot { background: var(--green); box-shadow: 0 0 0 3px rgba(24,163,74,.18); }
.hero-title { color: var(--ink); letter-spacing: -.05em; font-weight: 800; line-height: 1.06;
  font-size: clamp(2.5rem, 5.6vw, 4.2rem); margin-top: 20px; }
.hero-title .grad {
  -webkit-text-fill-color: initial; color: var(--green-dark);
  background: none; -webkit-background-clip: initial; background-clip: initial; filter: none; animation: none;
}
.hero-sub { color: #3a4b42; font-size: 1.12rem; max-width: 520px; line-height: 1.8; }
.hero-chips { gap: 8px; }
.hero-chips li { color: #3a4b42; background: rgba(255,255,255,.6); border: 1px solid var(--mint-line); box-shadow: none; font-size: .86rem; }

/* right-column product visual */
.hero-visual { flex: 0 1 40%; display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
.hv-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 50px -30px rgba(13,40,27,.3); }
.hv-main { padding: 22px; position: relative; }
.hv-main-top { display: flex; align-items: center; justify-content: space-between; }
.hv-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .9rem; color: var(--green-dark); }
.hv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24,163,74,.16); animation: hvPulse 2s ease-in-out infinite; }
@keyframes hvPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.hv-ping { font-weight: 800; color: var(--ink); background: var(--mint); border: 1px solid var(--mint-line); border-radius: 999px; padding: 3px 11px; font-size: .82rem; }
.hv-flag { font-size: 2.6rem; line-height: 1; margin: 14px 0 8px; filter: drop-shadow(0 8px 14px rgba(13,40,27,.18)); }
.hv-loc { font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.hv-proto { color: var(--text-dim); font-size: .9rem; margin-top: 2px; }
.hv-bar { height: 8px; border-radius: 999px; background: #e9f1ec; overflow: hidden; margin: 16px 0 8px; }
.hv-bar > span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green), #58c98a); animation: hvFill 1.6s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes hvFill { to { width: 98%; } }
.hv-speed { color: var(--green-dark); font-weight: 700; font-size: .84rem; }
.hv-list { padding: 8px 10px; }
.hv-li { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px; border-radius: 12px; }
.hv-li + .hv-li { border-top: 1px solid var(--border-soft); }
.hv-li-name { font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.hv-li-ok { font-size: .78rem; font-weight: 800; color: var(--green-dark); background: var(--mint); border: 1px solid var(--mint-line); border-radius: 999px; padding: 3px 11px; }
@media (max-width: 860px) {
  .hero { flex-direction: column; padding: 40px 24px 30px; border-radius: 22px; gap: 26px; }
  .hero-visual { width: 100%; flex-direction: row; }
  .hv-card { flex: 1; }
}
@media (max-width: 560px) {
  .hero-visual { flex-direction: column; }
  .hero-sub { max-width: none; }
}

/* ----------------------------------------------------------------------- */
/* 7 · Stats / trust tiles.                                                 */
/* ----------------------------------------------------------------------- */
.stats { margin-top: 22px; }
.stat-tile { background: #fff; }
.stat-num { color: var(--green-dark); -webkit-text-fill-color: initial; background: none; letter-spacing: -.03em; font-weight: 800; }
.stat-num--emoji { color: inherit; }
.stat-label { color: var(--text-dim); }

/* ----------------------------------------------------------------------- */
/* 8 · Feature cards — generous padding, mint icon tile.                    */
/* ----------------------------------------------------------------------- */
.feature-card { padding: 26px; }
.feature-ico { background: var(--mint); border: 1px solid var(--mint-line); color: var(--green-dark); box-shadow: none; }
.feature-card--violet .feature-ico { background: var(--mint-soft); border-color: var(--mint-line); }
.feature-title { color: var(--ink); font-size: 1.12rem; }
.feature-desc { color: var(--text-dim); }

/* ----------------------------------------------------------------------- */
/* 9 · Steps.                                                               */
/* ----------------------------------------------------------------------- */
.step-num { background: var(--green); color: #fff; box-shadow: 0 12px 24px -14px var(--accent-glow); }
.step-body h3 { color: var(--ink); }
.step-body p { color: var(--text-dim); }

/* ----------------------------------------------------------------------- */
/* 10 · Plans — white cards; popular section mint; popular price = black.   */
/* ----------------------------------------------------------------------- */
.proto-section { background: #fff; box-shadow: var(--shadow-card); padding: 26px; }
.proto-section::before { opacity: 1; height: 4px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.proto-section--reality { background: var(--mint-soft); box-shadow: 0 0 0 1px var(--mint-line), var(--shadow-card); }
.proto-section--reality::before { background: linear-gradient(90deg, transparent, var(--green), transparent); }
.proto-ico { background: var(--mint); border: 1px solid var(--mint-line); color: var(--green-dark); }
.proto-label { color: var(--ink); }
.proto-note { color: var(--text-dim); }
.proto-note--reality, .proto-note--wireguard { color: var(--green-dark); }

.tier-table thead th { background: #f3f8f5; color: var(--text-dim); border-bottom: 1px solid var(--line); }
.tier-table td { border-bottom: 1px solid var(--border-soft); }
.tier-table tbody tr:hover { background: var(--mint-soft); }
.tier-gb { color: var(--ink); }
.tier-gb .gb-ico { color: var(--green); }
.tier-none { color: var(--text-mute); }

.tier-buy { background: #fff; border: 1px solid var(--line-2); color: var(--ink); border-radius: 999px; }
.tier-buy .tier-price { color: var(--green-dark); }
.tier-buy .tier-cta { color: var(--text-mute); }
.tier-buy:hover { border-color: var(--green); background: var(--mint-soft); color: var(--ink); box-shadow: 0 10px 22px -16px var(--accent-glow); }
.tier-buy:hover .tier-cta { color: var(--green-2); }
.tier-buy--pop { background: var(--ink); border-color: var(--ink); box-shadow: 0 12px 26px -16px rgba(12,23,19,.5); }
.tier-buy--pop .tier-price { color: #fff; }
.tier-buy--pop .tier-cta { color: rgba(255,255,255,.72); }
.tier-buy--pop:hover { background: #17271f; border-color: #17271f; color: #fff; }
.tier-buy--pop:hover .tier-price, .tier-buy--pop:hover .tier-cta { color: #fff; }
.tier-pop-tag { background: var(--green); color: #fff; box-shadow: none; }

/* ----------------------------------------------------------------------- */
/* 11 · Server card, FAQ, pay box.                                          */
/* ----------------------------------------------------------------------- */
.server-flag { filter: none; }
.server-info h3 { color: var(--ink); }
.server-stats dt { color: var(--text-mute); }
.server-stats dd { color: var(--green-dark); text-shadow: none; }

.faq-item { background: #fff; border: 1px solid var(--line); }
.faq-item[open] { border-color: var(--mint-line); box-shadow: inset 3px 0 0 var(--green); }
.faq-item summary { color: var(--ink); }
.faq-item summary:hover { color: var(--green-2); }
.faq-item summary::after { color: var(--green); }
.faq-item .faq-a { color: var(--text-dim); }

.pay-card { background: #fff; }
.pay-lead { color: var(--text-dim); }
.card-box { background: var(--mint-soft); border: 1px dashed var(--mint-line); }
.card-box-label { color: var(--text-mute); }
.card-num { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.card-meta { color: var(--text-dim); }

/* ----------------------------------------------------------------------- */
/* 12 · Checkout.                                                           */
/* ----------------------------------------------------------------------- */
.back-link { color: var(--text-dim); }
.back-link:hover { color: var(--ink); }
.buy-head-ico { background: var(--mint); border: 1px solid var(--mint-line); color: var(--green-dark); box-shadow: none; }
.page-title, .buy-plan-title, .pay-title { color: var(--ink); }
.buy-summary { background: var(--mint-soft); }
.summary-kicker { color: var(--green-dark); text-transform: uppercase; letter-spacing: .1em; }
.plan-specs li { color: var(--text-dim); }
.amount-box { background: #fff; border: 1px solid var(--line-2); box-shadow: none; }
.amount-val { color: var(--green-dark); text-shadow: none; }
.buy-trust li { color: var(--text-dim); }
.buy-trust .bt-ico { background: var(--mint); color: var(--green-dark); }
.secure-badge { background: var(--mint-soft); border: 1px solid var(--mint-line); color: var(--green-dark); }
.renew-note { background: var(--mint-soft); border: 1px solid var(--mint-line); color: var(--ink-2); }
.renew-note b { color: var(--ink); }
.loc-pill { background: #fff; color: var(--text-dim); border: 1px solid var(--line-2); }
.loc-opt:hover .loc-pill { border-color: var(--green); color: var(--ink); }
.loc-opt input:checked + .loc-pill { background: var(--mint); color: var(--ink-2); border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.device-slider { background: linear-gradient(90deg, var(--green), #7bd3a0); }
.device-slider::-webkit-slider-thumb { background: var(--green); border: 3px solid #fff; }
.steps { color: var(--text-dim); }
.steps b { color: var(--ink); }

/* ----------------------------------------------------------------------- */
/* 13 · Forms.                                                             */
/* ----------------------------------------------------------------------- */
.input, .select { background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.input::placeholder { color: var(--text-mute); }
.input:focus, .select:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(24,163,74,.14); }
.field-label { color: var(--text-dim); }
.field-hint { color: var(--text-mute); }
.input-file::file-selector-button { background: var(--mint-soft); color: var(--ink); border: 1px solid var(--mint-line); }

/* ----------------------------------------------------------------------- */
/* 14 · Pills, badges, flash, auth, dashboard chrome, footer.              */
/* ----------------------------------------------------------------------- */
.badge-inf { background: var(--mint); color: var(--green-dark); border: 1px solid var(--mint-line); }
.pill-on { background: var(--mint); color: var(--green-dark); border: 1px solid var(--mint-line); }
.flash { box-shadow: var(--shadow-soft); }
.flash-ok { background: var(--mint-soft); border: 1px solid var(--mint-line); color: var(--green-dark); }
.auth-card { background: #fff; }
.auth-logo { background: var(--mint); border: 1px solid var(--mint-line); color: var(--green-dark); box-shadow: none; }
.auth-title { color: var(--ink); }
.auth-sub, .auth-alt { color: var(--text-dim); }
.auth-chip { background: #fff; border: 1px solid var(--line-2); color: var(--text-dim); }
.dash-user { background: #fff; border: 1px solid var(--line); color: var(--text-dim); }

.footer { background: #fff; border-top: 1px solid var(--line); }
.footer-pitch, .footer-col a, .footer-support, .footer-bottom, .footer-dim { color: var(--text-dim); }
.footer-col h4 { color: var(--ink); }
.footer-col a:hover { color: var(--green-2); }
.footer-badge { background: var(--mint-soft); border: 1px solid var(--mint-line); color: var(--green-dark); }
.footer .brand, .footer .brand-name { color: var(--ink); }

/* ----------------------------------------------------------------------- */
/* 16 · v3 polish — Keyvo-style section kicker pills + tighter rhythm.      */
/* ----------------------------------------------------------------------- */
.kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark); background: var(--mint); border: 1px solid var(--mint-line);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 14px;
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
/* kicker + title should hug each other, then breathe before the content */
.kicker + .section-title { margin-top: 2px; }
.section-title { margin-top: 58px; }
.section-lead { margin-bottom: 26px; }
/* a touch more air between major blocks, consistent rhythm */
.why-us, .how, .plans, .server, .faq-section, .pay-info { padding-top: 6px; }
.catalog { gap: 20px; }
