/* Radmin VPN (net.cn) — content hub / blog site style.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --primary: #0d9488;
  --primary-dark: #065f46;
  --primary-light: #e6f7f4;
  --accent: #d97706;
  --accent-dark: #b45309;
  --gold: #d97706;
  --dark: #0f1a17;
  --dark2: #16241f;
  --header-bg: #0f1a17;
  --bg: #fffdf9;
  --surface: #f6f4ee;
  --surface-2: #ecf6f3;
  --text: #1c1917;
  --text-muted: #6b6156;
  --green: #16a34a;
  --red: #dc2626;
  --border: #e7e2d6;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-card: 0 2px 14px rgba(20,25,20,.07), 0 1px 3px rgba(20,25,20,.05);
  --shadow-lg: 0 16px 48px rgba(20,25,20,.15);
  --shadow-glow: 0 0 0 1px rgba(13,148,136,.10), 0 20px 60px rgba(13,148,136,.18);
  --transition: 0.2s ease;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', Georgia, system-ui, sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.35; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; transition: opacity .3s ease; } }

/* ─── HEADER ─── */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--header-bg); border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .25s var(--ease-out), background .25s var(--ease-out); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.24); background: rgba(15,26,23,.97); backdrop-filter: blur(8px); }
.nav { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 0 var(--space-sm); height: 66px; gap: var(--space-sm); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-links > li > a { color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm); white-space: nowrap; }
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; margin-left: auto; }
.mobile-lang { display: none; }

.btn-cta { background: var(--primary); color: #fff; padding: 10px 20px; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; transition: background .18s ease, transform .18s var(--ease-out), box-shadow .18s ease; white-space: nowrap; display: inline-block; }
@media (hover: hover) and (pointer: fine) { .btn-cta:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,148,136,.28); } }
.btn-cta-lg { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 140%); color: #fff; padding: 17px 38px; border-radius: var(--radius-md); font-size: 18px; font-weight: 700; display: inline-block; transition: transform .18s var(--ease-out), box-shadow .18s ease; box-shadow: 0 10px 30px rgba(13,148,136,.28); }
@media (hover: hover) and (pointer: fine) { .btn-cta-lg:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13,148,136,.38); } }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: #fff; font-size: 22px; padding: 6px; order: 99; }

/* ─── HERO ─── */
.hero { background: radial-gradient(circle at 12% 20%, #123b34 0%, transparent 45%), radial-gradient(circle at 88% 5%, #3d2a08 0%, transparent 38%), linear-gradient(135deg, #0f1a17 0%, #16241f 55%, #0f1a17 100%); color: #fff; text-align: center; padding: calc(var(--space-xl) + 12px) var(--space-sm) var(--space-xl); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .3; pointer-events: none; animation: driftBlob 18s var(--ease-in-out) infinite alternate; }
.hero::before { width: 420px; height: 420px; background: var(--primary); top: -120px; left: -80px; }
.hero::after { width: 380px; height: 380px; background: var(--accent); bottom: -140px; right: -60px; animation-delay: -6s; }
@keyframes driftBlob { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero::before, .hero::after { animation: none; } }
.hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(217,119,6,.14); border: 1px solid rgba(217,119,6,.4); color: #fbbf24; padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; margin-bottom: var(--space-md); }
.hero h1 { font-size: clamp(26px, 4.5vw, 48px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.hero p { font-size: clamp(15px, 2.2vw, 19px); color: rgba(255,255,255,.82); margin-bottom: var(--space-lg); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--space-md) var(--space-sm); }
.trust-bar-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: var(--space-lg); flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-num { font-size: 30px; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.trust-label { font-size: 12px; color: var(--text-muted); letter-spacing: .5px; margin-top: 12px; display: block; }
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── SECTIONS ─── */
.section { padding: var(--space-xl) var(--space-sm); }
.section-alt { background: var(--surface); }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 780px; margin: 0 auto; }
.section-head { max-width: 720px; margin: 0 auto var(--space-lg); text-align: center; }
.section-title, .section-head h2 { font-size: clamp(24px, 3.6vw, 38px); font-weight: 800; margin-bottom: var(--space-sm); }
.section-sub, .section-head p { font-size: 17px; color: var(--text-muted); max-width: 620px; margin: 0 auto var(--space-lg); }

/* ─── FEATURE GRID ─── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-md); transition: box-shadow .22s var(--ease-out), transform .22s var(--ease-out), border-color .22s ease; }
@media (hover: hover) and (pointer: fine) { .feature-card:hover { box-shadow: var(--shadow-glow); transform: translateY(-4px); border-color: rgba(13,148,136,.25); } }
.feature-card i { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: var(--space-sm); color: var(--primary); }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ─── BLOG GRID / CARDS ─── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-md); }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .22s var(--ease-out), transform .22s var(--ease-out); display: flex; flex-direction: column; }
@media (hover: hover) and (pointer: fine) { .blog-card:hover { box-shadow: var(--shadow-glow); transform: translateY(-4px); } }
.blog-card-body { padding: var(--space-md); display: flex; flex-direction: column; flex: 1; }
.blog-card .tag { margin-bottom: var(--space-sm); align-self: flex-start; }
.blog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); text-decoration: none; }
.blog-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; margin: 0 0 var(--space-sm); }
.blog-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 10px; align-items: center; margin-top: auto; }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.tag { display: inline-block; background: var(--surface-2); color: var(--primary); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px; }

/* ─── ARTICLE PAGE ─── */
.article-hero { background: linear-gradient(135deg, #0f1a17 0%, #16241f 100%); color: #fff; padding: 60px var(--space-sm) var(--space-lg); }
.article-hero-inner { max-width: 760px; margin: 0 auto; }
.article-hero .tag { background: rgba(217,119,6,.18); color: #fbbf24; margin-bottom: var(--space-sm); }
.article-hero h1 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; color: #fff; margin-bottom: var(--space-sm); }
.article-meta { display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,.65); font-size: 13px; flex-wrap: wrap; }
.article-body { max-width: 760px; margin: 0 auto; padding: var(--space-xl) var(--space-sm); font-size: 16px; line-height: 1.9; }
.article-body h2 { font-size: 24px; margin-top: 44px; margin-bottom: 14px; color: var(--text); }
.article-body h3 { font-size: 19px; margin-top: 30px; margin-bottom: 10px; }
.article-body p { margin-bottom: 18px; color: #3a352e; }
.article-body ul, .article-body ol { margin: 14px 0 20px 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; color: #3a352e; }
.article-body blockquote { border-left: 3px solid var(--primary); padding: 10px 20px; margin: 20px 0; background: var(--surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--text-muted); font-style: italic; }
.article-cta-inline { background: var(--surface-2); border-radius: var(--radius-lg); padding: var(--space-md); text-align: center; margin: 32px 0; }
.article-cta-inline p { margin-bottom: var(--space-sm); font-weight: 600; color: var(--text); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: var(--space-sm); }
.breadcrumb a { color: rgba(255,255,255,.75); }

/* ─── SPLIT ROW ─── */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 320px; object-fit: cover; }
.check-list { margin: var(--space-sm) 0 var(--space-md); }
.check-list li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: '\2713'; color: var(--green); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ─── STEPS ─── */
.steps-list { max-width: 760px; margin: 0 auto; counter-reset: step; }
.step-item { display: flex; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--border); }
.step-item:last-child { border-bottom: none; }
.step-num { counter-increment: step; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.step-num::before { content: counter(step); }
.step-body h4 { font-size: 16px; margin-bottom: 4px; }
.step-body p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ─── RESOURCE CARDS ─── */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); }
.resource-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-md); text-align: center; transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .resource-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); } }
.resource-card i { font-size: 32px; color: var(--primary); margin-bottom: var(--space-sm); }
.resource-card h3 { font-size: 16px; margin-bottom: 6px; }
.resource-card p { font-size: 13px; color: var(--text-muted); margin: 0; }
.glossary-item { border-bottom: 1px solid var(--border); padding: var(--space-sm) 0; }
.glossary-item dt { font-weight: 700; font-size: 16px; margin-bottom: 6px; color: var(--text); }
.glossary-item dd { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── PRICING ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-md); position: relative; }
.pricing-card.popular { border-color: var(--primary); border-width: 2px; box-shadow: 0 0 0 4px rgba(13,148,136,.08); }
.pricing-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: var(--space-xs); }
.pricing-price { font-size: 42px; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-sm); margin-top: 6px; }
.pricing-features li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: var(--space-sm) 0; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text); gap: var(--space-sm); }
.faq-q i { color: var(--primary); flex-shrink: 0; transition: transform .25s var(--ease-out); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s var(--ease-in-out); }
.faq-a p { padding: 0 0 var(--space-sm); font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.faq-item.open .faq-a { max-height: 800px; }

/* ─── PLATFORM ─── */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-md); }
.platform-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-md) var(--space-sm); text-align: center; }
.platform-card i { font-size: 36px; color: var(--primary); margin-bottom: var(--space-sm); }
.platform-card span { font-size: 14px; font-weight: 600; display: block; }

/* ─── GUARANTEE ─── */
.guarantee-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 140%); color: #fff; text-align: center; padding: var(--space-lg) var(--space-sm); border-radius: var(--radius-xl); margin: var(--space-lg) 0; }
.guarantee-banner h2 { font-size: clamp(22px, 4vw, 36px); margin-bottom: var(--space-sm); color: #fff; }
.guarantee-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: var(--space-md); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─── PAGE HERO ─── */
.page-hero { background: radial-gradient(circle at 80% 0%, #123b34 0%, transparent 40%), linear-gradient(135deg, #0f1a17 0%, #16241f 100%); color: #fff; text-align: center; padding: 72px var(--space-sm) var(--space-xl); }
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea { padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 15px; font-family: inherit; background: #fff; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { background: var(--primary); color: #fff; border: none; cursor: pointer; padding: 14px 32px; border-radius: var(--radius-md); font-size: 16px; font-weight: 700; }
.form-submit:hover { background: var(--primary-dark); }
.contact-info-card { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-md); }
.contact-info-card .ci-row { display: flex; gap: 12px; padding: 10px 0; align-items: flex-start; }
.contact-info-card .ci-row i { color: var(--primary); margin-top: 3px; }

/* ─── PROSE ─── */
.prose { max-width: 800px; margin: 0 auto; font-size: 15px; line-height: 1.85; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.prose p { margin-bottom: 16px; color: var(--text-muted); }
.prose ul { margin: 12px 0 16px 24px; list-style: disc; }
.prose ul li { color: var(--text-muted); margin-bottom: 6px; }

/* ─── FOOTER ─── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: var(--space-xl) var(--space-sm) var(--space-md); }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.footer-brand .logo-footer { height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--space-sm); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; margin: 0; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav { padding: 0 8px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: center; height: auto; max-height: none; overflow: visible; background: var(--header-bg); box-shadow: 0 8px 16px rgba(0,0,0,.24); padding: 12px 0; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; text-align: center; }
  .nav-links > li > a { display: block; width: 100%; padding: 14px 0; font-size: 17px; }
  .nav-right .btn-cta { display: none; }
  .nav-toggle { display: block; }
  .split-row { grid-template-columns: 1fr; }
  .split-row.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .btn-cta-lg, .btn-cta, .hero-cta-group a, .hero-cta a { display: block; margin-left: auto; margin-right: auto; text-align: center; width: max-content; max-width: 90%; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
