/* Amnezia — cloned design from amnezia.org */
/* Dark theme, orange accent, rounded cards */

:root {
    --accent: #d44a6a;
    --accent-2: #e85a7a;
    --gradient: linear-gradient(135deg, #d44a6a 0%, #e85a7a 50%, #f07a9a 100%);
    --bg: #0b0b0f;
    --bg-2: #111115;
    --card: #17181c;
    --card-hover: #1e1f24;
    --border: #222328;
    --muted: #878b91;
    --text: #eaeaec;
    --radius: 20px;
    --radius-lg: 40px;
    --shadow: 0 20px 40px rgba(0,0,0,.4);
    --glow-05: rgba(212,74,106,.05);
    --glow-10: rgba(212,74,106,.1);
    --glow-20: rgba(212,74,106,.2);
    --glow-30: rgba(212,74,106,.3);
    --glow-40: rgba(212,74,106,.4);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .85; }

.section, .sec-block, .news-section, .blog-section, .download-section, .faq-section, .cta-section, .referral-section {
    max-width: 1060px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-sub {
    color: var(--muted);
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 40px;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

h3 { font-size: 22px; font-weight: 600; }

.lead {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .25s;
    background: var(--accent);
    color: #000;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--glow-30); opacity: 1; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.btn-outline:hover { background: var(--glow-10); }
.btn-block { width: 100%; text-align: center; }
.btn-header { padding: 10px 24px; font-size: 14px; }

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(11,11,15,.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-logo { height: 28px; }

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
nav a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: color .2s;
}
nav a:hover { color: var(--text); opacity: 1; }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: .3s; border-radius: 2px; }

/* ===== HERO ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
    padding: 160px 20px 100px;
    min-height: 90vh;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glow-10);
    border: 1px solid var(--glow-20);
    border-radius: 60px;
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: visible;
}
.hero-bg-img {
    width: 560px;
    max-width: 560px;
    height: auto;
    margin-right: -80px;
    margin-top: -60px;
    margin-bottom: -80px;
}

/* ===== STATS ===== */
.stats-section {
    max-width: 1060px;
    margin: -40px auto 0;
    padding: 0 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

/* ===== SERVERS ===== */
.servers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.server-pill {
    padding: 12px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 15px;
    white-space: nowrap;
    transition: all .2s;
}
.server-pill:hover {
    border-color: var(--accent);
    background: var(--glow-05);
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: all .3s;
}
.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--glow-10);
}
.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; }

.kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.kpi-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}
.kpi-val {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}
.kpi-label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

/* ===== SECURITY ===== */
.sec-block {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.sec-h2 { margin-bottom: 12px; }
.sec-p { color: var(--muted); margin-bottom: 30px; max-width: 600px; }
.sec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sec-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}
.sec-item-h {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent);
}
.sec-item-p { color: var(--muted); font-size: 14px; }

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all .3s;
}
.pricing-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.pricing-popular {
    border-color: var(--accent);
    box-shadow: 0 0 60px var(--glow-10);
}
.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--accent);
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 60px;
    white-space: nowrap;
}
.pricing-card h3 { margin-bottom: 16px; color: var(--muted); font-weight: 500; }
.price-amount {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 4px;
}
.price-period { font-size: 16px; font-weight: 400; color: var(--muted); }
.price-per-month { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.pricing-card .btn { margin-top: 20px; }
.pricing-trial {
    text-align: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 15px;
}
.pricing-trial span {
    color: var(--accent);
    font-weight: 700;
}

/* ===== REFERRAL ===== */
.referral-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
}
.referral-icon { font-size: 48px; margin-bottom: 20px; }
.referral-card h2 { margin-bottom: 12px; }
.referral-card .lead { margin-bottom: 40px; }
.referral-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}
.referral-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 200px;
}
.referral-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glow-20);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
.referral-step p { font-size: 14px; color: var(--muted); }

/* ===== NEWS & PROMOS (CAROUSEL) ===== */
.news-section { padding-top: 40px; }
.news-label {
    font-size: 20px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.news-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.carousel-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
}
.carousel-arrow:hover { border-color: var(--accent); background: var(--glow-10); }
.carousel-window {
    overflow: hidden;
    flex: 1;
}
.carousel-track {
    display: flex;
    transition: transform .4s ease;
}
.carousel-slide {
    min-width: calc(100% / 3);
    padding: 0 8px;
}
.promo-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    height: 100%;
    color: var(--text);
    transition: all .3s;
}
.promo-card:hover { border-color: var(--accent); opacity: 1; }
.promo-img-wrap {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}
img.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.promo-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.promo-text {
    font-size: 14px;
    color: var(--muted);
    flex: 1;
    line-height: 1.5;
}
.promo-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glow-10);
    color: var(--accent);
    font-size: 24px;
    margin-top: 16px;
    transition: background .2s;
}
.promo-card:hover .promo-arrow { background: var(--glow-20); }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all .2s;
}
.dot.active {
    width: 32px;
    border-radius: 4px;
    background: var(--accent);
}

/* ===== BLOG ===== */
.blog-section { padding-top: 40px; }
.blog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.blog-title {
    font-size: 32px;
    font-weight: 700;
}
.blog-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Headliner */
.blog-headliner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    background: var(--card);
    border-radius: 60px;
    padding: 20px 50px 20px 20px;
    margin-bottom: 24px;
    align-items: center;
}
.headliner-media { border-radius: 50px; overflow: hidden; }
img.headliner-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 50px;
    display: block;
}
.headliner-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.badge-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--card-hover);
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 13px;
    color: var(--muted);
}
.headliner-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
}
.headliner-excerpt {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

/* Blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.post-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    align-items: center;
    transition: border-color .2s;
}
.post-card:hover { border-color: var(--accent); }
.post-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.post-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 12px;
}
.post-card-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
img.post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== DOWNLOAD ===== */
.download-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    padding-left: calc((100% - 1060px)/2 + 20px);
    padding-right: calc((100% - 1060px)/2 + 20px);
}
.download-intro {
    color: var(--muted);
    font-size: 15px;
    margin: -20px 0 30px;
}
.download-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.dl-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all .3s;
}
.dl-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.dl-icon { margin-bottom: 16px; }
.dl-icon svg { width: 48px; height: 48px; color: var(--accent); }
.dl-card h4 { margin-bottom: 4px; }
.dl-card p { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.dl-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--glow-10);
    border: 1px solid var(--accent);
    border-radius: 60px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
}
.dl-btn:hover { background: var(--glow-20); opacity: 1; }

/* ===== FAQ ===== */
.faq-section h2 { margin-bottom: 30px; }
.faq-list { max-width: 800px; }
details {
    border-bottom: 1px solid var(--border);
}
summary {
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
summary::after {
    content: '+';
    font-size: 24px;
    color: var(--muted);
    transition: transform .2s;
}
details[open] summary::after { content: '−'; }
summary::-webkit-details-marker { display: none; }
.faq-answer {
    padding: 0 0 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 100px 20px;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section .lead { margin-bottom: 32px; }
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SEO BLOCK ===== */
.seo-block {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 40px 20px;
}
.seo-block-wrap {
    max-width: 1060px;
    margin: 0 auto;
}
.seo-block-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--muted);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.seo-block-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.seo-block-links a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 60px;
    font-size: 13px;
    color: var(--muted);
    transition: all .2s;
}
.seo-block-links a:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 60px 20px 30px;
}
.footer-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
.footer-logo { height: 24px; margin-bottom: 12px; }
.footer-desc { color: var(--muted); font-size: 14px; max-width: 400px; line-height: 1.6; }
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); opacity: 1; }
.footer-bottom {
    max-width: 1060px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--muted); font-size: 13px; }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
    .hero-cta { justify-content: center; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 34px; }
    .stats-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .kpis-grid { grid-template-columns: repeat(2, 1fr); }
    .sec-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .download-section { padding-left: 20px; padding-right: 20px; }
    .blog-headliner { grid-template-columns: 1fr; border-radius: var(--radius); padding: 20px; }
    .headliner-media { border-radius: var(--radius); }
    .headliner-img { border-radius: var(--radius); height: 200px; }
    .headliner-title { font-size: 26px; }
    .blog-grid { grid-template-columns: 1fr; }
    .carousel-slide { min-width: 100%; }
    .referral-steps { flex-direction: column; align-items: center; }
    .footer-inner { flex-direction: column; }
    .footer-links { flex-wrap: wrap; }

    nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform .3s;
    }
    nav.open { transform: translateY(0); }
    .burger { display: flex; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    h2 { font-size: 28px; }
    .download-grid { grid-template-columns: 1fr; }
    .post-card { grid-template-columns: 1fr; }
    .post-card-img { width: 100%; height: 160px; }
}
