/* ===================================
   Paper VPN - Mode C Service Styles
   Cloned from papervpn.io design
   Light theme, lime-green accent
   =================================== */

:root {
    --accent: #c1ff73;
    --accent-2: #a8f055;
    --accent-3: #8de03a;
    --bg: #ffffff;
    --bg-light: #f5f5f8;
    --dark: #202020;
    --dark-card: #2a2a2a;
    --text: #020202;
    --text-light: #666;
    --muted: #888;
    --radius: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --glow-05: rgba(193,255,115,.05);
    --glow-10: rgba(193,255,115,.10);
    --glow-20: rgba(193,255,115,.20);
    --glow-30: rgba(193,255,115,.30);
    --glow-40: rgba(193,255,115,.40);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: var(--text); text-decoration: none; transition: all .3s ease; }

/* ── Layout ── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header (dark bar like papervpn.io) ── */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 28px;
    background: #000;
    border-radius: 0 0 16px 16px;
    flex-wrap: wrap;
    margin: 0 -24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand { display: flex; align-items: center; gap: 14px; }

.logo-img {
    height: 28px;
    width: auto;
}

nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
nav a { padding: 10px 16px; border-radius: 12px; font-weight: 500; color: #fff; font-size: 14px; }
nav a:hover { background: rgba(255,255,255,.1); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 14px 28px;
    border-radius: 8px;
    background: var(--accent);
    color: #292929;
    font-weight: 700;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--glow-30); opacity: .92; }

.btn-secondary {
    background: transparent;
    border: 2px solid var(--text);
    color: var(--text);
}

header .btn-secondary { border-color: #fff; color: #fff; }

.btn-secondary:hover { background: rgba(0,0,0,.05); }

.btn-block { width: 100%; justify-content: center; }

/* ── Hero ── */
.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    margin: 64px 0;
}

.hero-left { padding: 8px 0; }

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glow-10);
    border: 1px solid var(--glow-30);
    border-radius: 999px;
    font-size: 13px;
    color: #333;
    margin-bottom: 24px;
    font-weight: 600;
}

h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 20px;
    color: var(--text);
    font-style: italic;
}

.lead {
    font-size: 18px;
    color: var(--text-light);
    margin: 0 0 24px;
    line-height: 1.7;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }

.hero-visual {
    background: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
}

.server-preview {
    padding: 40px 24px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark), #333);
}

.server-preview-inner { text-align: center; z-index: 1; position: relative; }

.hero-logo-big { height: 44px; margin-bottom: 20px; filter: brightness(10); }
.server-preview p { color: rgba(255,255,255,.7); font-size: 16px; margin-bottom: 16px; }
.server-preview-status {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    background: var(--accent);
    color: #292929;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Hero decorative elements */
.hero-decor {
    position: absolute;
    border-radius: 50%;
    opacity: .15;
    pointer-events: none;
}
.hero-decor-1 {
    width: 200px; height: 200px;
    background: var(--accent);
    top: -40px; right: -40px;
    animation: heroFloat 6s ease-in-out infinite;
}
.hero-decor-2 {
    width: 120px; height: 120px;
    background: var(--accent);
    bottom: -20px; left: -20px;
    animation: heroFloat 8s ease-in-out infinite reverse;
}
.hero-decor-3 {
    width: 60px; height: 60px;
    border: 3px solid var(--accent);
    background: transparent;
    top: 30px; left: 40px;
    opacity: .25;
    animation: heroFloat 5s ease-in-out infinite 1s;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-platforms {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}
.hero-platform-dot {
    padding: 5px 12px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    color: rgba(255,255,255,.6);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
}

/* ── Stats ── */
.stats-section { margin: 48px 0 32px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 28px 24px;
    border-radius: 18px;
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,.06);
    text-align: center;
    transition: all .3s ease;
}

.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.stat-label { font-size: 14px; color: var(--muted); }

/* ── Section headers ── */
.section { margin: 64px 0; }
h2 { font-size: 32px; font-weight: 800; margin: 0 0 12px; }
.section-sub { font-size: 17px; color: var(--text-light); margin-bottom: 32px; }

/* ── Dark block (features section like papervpn.io) ── */
.dark-block {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 48px 40px;
    margin-left: -24px;
    margin-right: -24px;
    color: #fff;
}

.dark-block h2 { color: #fff; }
.dark-block .section-sub { color: rgba(255,255,255,.6); }

/* ── Green block (servers like papervpn.io testimonials bg) ── */
.green-block {
    background: var(--accent);
    border-radius: var(--radius);
    padding: 48px 40px;
    margin-left: -24px;
    margin-right: -24px;
    color: var(--text);
}

.green-block h2 { color: var(--text); }
.green-block .section-sub { color: rgba(0,0,0,.6); }

/* ── Features ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.feature-card {
    padding: 28px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    transition: all .3s ease;
}

.feature-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.12); }

.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.feature-card p { color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.6; }

/* ── Platform row (inside dark block) ── */
.platform-row {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.7);
    font-size: 13px;
}

.platform-item svg { width: 32px; height: 32px; fill: #fff; }

/* ── KPIs ── */
.kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.kpi-card {
    padding: 24px 20px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.06);
    background: var(--bg-light);
    text-align: center;
    transition: all .3s ease;
}

.kpi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.kpi-value {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.kpi-label { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ── Servers (green block) ── */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin: 24px 0;
}

.server-pill {
    padding: 12px 8px;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,.1);
    background: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: all .3s ease;
}

.server-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

/* ── Care Block (клон papervpn.io) ── */
.care-section { padding: 64px 0; }
.care-h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    text-align: center;
    margin: 0 0 48px;
    line-height: 1.15;
}
.care-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.care-card { text-align: left; }
.care-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 20px;
}
.care-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.25;
}
.care-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ── Pricing ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.pricing-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 2px solid rgba(0,0,0,.08);
    background: #fff;
    position: relative;
    transition: all .3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,.1);
}

.pricing-card.pricing-popular {
    transform: scale(1.03);
    border: 2px solid var(--accent);
    background: var(--accent);
}

.pricing-card.pricing-popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-tag {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
}

.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }

.price-amount {
    font-size: 44px;
    font-weight: 800;
    margin: 16px 0 4px;
    color: var(--text);
}

.price-period { font-size: 16px; color: var(--muted); font-weight: 400; }
.price-per-month { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.pricing-popular .btn {
    background: var(--dark);
    color: #fff;
}

.pricing-trial {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: var(--muted);
}

.pricing-trial span { color: #2ed573; font-weight: 600; }

/* ── Referral ── */
.referral-section { margin: 64px 0; }

.referral-card {
    background: var(--dark);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    color: #fff;
}

.referral-icon { font-size: 56px; margin-bottom: 20px; }
.referral-card h2 { font-size: 28px; margin-bottom: 12px; color: #fff; }
.referral-card .lead { max-width: 520px; margin: 0 auto 28px; color: rgba(255,255,255,.6); }

.referral-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin: 32px 0;
}

.referral-step { text-align: center; }

.referral-step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #292929;
    margin: 0 auto 12px;
}

.referral-step p { font-size: 14px; color: rgba(255,255,255,.6); max-width: 140px; }

/* ── Download ── */
.download-section { margin: 64px 0; }

.download-intro {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--text-light);
}

.download-intro strong { color: var(--text); }

.download-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.dl-card {
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 18px;
    padding: 24px 16px;
    text-align: center;
    transition: all .3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.dl-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px var(--glow-20);
}

.dl-icon { font-size: 36px; margin-bottom: 12px; }
.dl-icon svg { width: 36px; height: 36px; fill: var(--text); }
.dl-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.dl-card p { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: var(--accent);
    color: #292929;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all .3s ease;
}

.dl-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--glow-20); }

/* ── FAQ ── */
.faq-section { margin: 64px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

details {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    padding: 18px 22px;
    background: var(--bg-light);
    transition: all .3s ease;
}

details[open] { background: #fff; border-color: var(--accent); box-shadow: 0 4px 16px var(--glow-10); }

summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text);
}

summary::-webkit-details-marker { display: none; }

summary::after {
    content: '+';
    font-size: 22px;
    color: var(--text);
    transition: transform .3s ease;
    flex-shrink: 0;
}

details[open] summary::after { transform: rotate(45deg); }

.faq-answer {
    margin-top: 14px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
    margin: 64px 0;
    background: var(--dark);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    color: #fff;
}

.cta-section h2 { margin-bottom: 12px; color: #fff; }
.cta-section .lead { max-width: 560px; margin: 0 auto 28px; color: rgba(255,255,255,.6); }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-secondary { border-color: rgba(255,255,255,.3); color: #fff; }

/* ── Footer ── */
footer {
    margin: 60px 0 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,.08);
    color: var(--muted);
    font-size: 14px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); transition: color .3s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,.05);
    font-size: 12px;
}

/* === SEO Block === */
.seo-block{padding:40px 20px;border-top:1px solid rgba(0,0,0,0.08)}
.seo-block-wrap{max-width:960px;margin:0 auto}
.seo-block-label{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#888;margin:0 0 14px}
.seo-block-links{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:4px 18px}
.seo-block-links li a{font-size:13px;line-height:1.9;color:#4a90e2;text-decoration:none}
.seo-block-links li a:hover{text-decoration:underline}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .servers-grid { grid-template-columns: repeat(4, 1fr); }
    .kpis-grid { grid-template-columns: repeat(2, 1fr); }
    .download-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.pricing-popular { transform: none; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .care-grid { grid-template-columns: 1fr 1fr; }
    h1 { font-size: 36px; }
    h2 { font-size: 26px; }
    .referral-steps { gap: 28px; }
    .dark-block, .green-block { padding: 32px 24px; }
    header { margin: 0 -16px; padding: 12px 16px; }
}

@media (max-width: 600px) {
    h1 { font-size: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .servers-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr; }
    .kpis-grid { grid-template-columns: 1fr 1fr; }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .care-grid { grid-template-columns: 1fr; }
    .care-img { width: 100px; height: 100px; }
    .referral-card { padding: 32px 20px; }
    .cta-section { padding: 32px 20px; }
    .btn { padding: 12px 20px; font-size: 14px; }
    .wrap { padding: 0 16px; }
    .dark-block, .green-block { margin-left: -16px; margin-right: -16px; }
}

@media (max-width: 400px) {
    .download-grid { grid-template-columns: 1fr; }
    nav a:not(.btn) { display: none; }
}
