:root {
    --primary-color: #80ffbf;
    --primary-dark: #4cd995;
    --text-dark: #121a16;
    --text-medium: #4a5550;
    --bg-light: #ffffff;
    --bg-gray: #f4f7f6;
    --section-spacing: 100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.icon-middle { vertical-align: middle; margin-right: 8px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 50px; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; font-size: 15px;
}
.btn-primary {
    background-color: var(--primary-color); color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(128, 255, 191, 0.3);
}
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #e0e0e0; color: var(--text-dark); }
.btn-outline:hover { border-color: var(--primary-dark); color: var(--primary-dark); }
.btn-large { padding: 16px 36px; font-size: 18px; }
.btn-block { width: 100%; }

header {
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px);
    position: fixed; width: 100%; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 26px; font-weight: 800; color: var(--text-dark); display: flex; align-items: center; }
.logo span.accent { color: var(--primary-dark); }
.logo .material-icons { color: var(--primary-dark); margin-right: 5px; font-size: 28px; }

.nav-content { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 600; color: var(--text-medium); font-size: 15px; }
.nav-links a:hover { color: var(--primary-dark); }
.nav-actions { display: flex; gap: 15px; align-items: center; }
.lang-switch { cursor: pointer; font-weight: 600; display: flex; align-items: center; color: var(--text-medium); }
.menu-toggle { display: none; cursor: pointer; color: var(--text-dark); }

.hero {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 100%), 
                url('bg-hero-top.png'); 
    background-color: #f0fff5; 
    background-size: cover; background-position: center;
    padding: 180px 0 var(--section-spacing); position: relative;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}
.hero-container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 2; }
.hero-text { flex: 1; }
.hero h1 { font-size: 52px; line-height: 1.15; margin-bottom: 24px; letter-spacing: -1px; }
.hero p { font-size: 20px; color: var(--text-medium); margin-bottom: 40px; max-width: 540px; }
.hero-visual { flex: 1; display: flex; justify-content: center; width: 100%; }

.hero-reg {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.3) 100%), 
                url('bg-hero-bot.png'); 
    background-color: #f0fff5; 
    background-size: cover; background-position: center;
    padding: 180px 0 var(--section-spacing); position: relative;
}
.hero-reg::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100px;
    background: linear-gradient(to bottom, var(--bg-light), transparent);
}
.hero-reg::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.calc-card {
    background: white; border-radius: 24px; padding: 40px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 2px solid var(--primary-color); max-width: 450px; width: 100%;
}
.calc-title { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 25px; display: flex; align-items: center; justify-content: center; gap: 8px;}
.calc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 600; }
.calc-val { color: var(--primary-dark); font-size: 24px; font-weight: 800; }
input[type=range] { -webkit-appearance: none; width: 100%; margin: 20px 0 30px; background: transparent; }
input[type=range]:focus { outline: none; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 8px; cursor: pointer; background: #e0e0e0; border-radius: 4px; }
input[type=range]::-webkit-slider-thumb { height: 24px; width: 24px; border-radius: 50%; background: var(--primary-dark); cursor: pointer; -webkit-appearance: none; margin-top: -8px; box-shadow: 0 0 10px rgba(76, 217, 149, 0.4); border: 4px solid white; }
.calc-result-box { background: var(--bg-gray); border-radius: 16px; padding: 20px; margin-top: 20px; }
.calc-total { font-size: 32px; font-weight: 800; color: var(--text-dark); margin-bottom: 5px; }
.calc-profit { color: var(--primary-dark); font-weight: 700; display: flex; align-items: center; }

section { padding: var(--section-spacing) 0; }
.bg-gray { background-color: var(--bg-gray); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-title { font-size: 38px; margin-bottom: 20px; }
.section-subtitle { color: var(--text-medium); font-size: 18px; }

.work-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-card { background: var(--bg-light); padding: 40px 30px; border-radius: 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid transparent; }
.step-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(128, 255, 191, 0.2); border-color: var(--primary-color); }
.step-icon-box { width: 80px; height: 80px; background: rgba(128, 255, 191, 0.2); color: var(--primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px; }
.step-icon-box .material-icons { font-size: 36px; }
.step-card h3 { font-size: 22px; margin-bottom: 15px; }
.step-card p { color: var(--text-medium); }

.invest-wrapper {
    display: flex; justify-content: center; align-items: center;
}
.pricing-card {
    background: var(--bg-light); max-width: 480px; width: 100%;
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border: 1px solid #eaeaea; transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px); box-shadow: 0 25px 70px rgba(128, 255, 191, 0.25);
    border-color: var(--primary-color);
}
.pricing-header {
    background: linear-gradient(135deg, #121a16 0%, #2a3b32 100%);
    color: white; padding: 40px; text-align: center; position: relative;
}
.pricing-header::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary-color);
}
.pricing-title { font-size: 24px; font-weight: 700; color: var(--primary-color); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px;}
.pricing-rate { font-size: 56px; font-weight: 800; line-height: 1; margin-bottom: 10px; }
.pricing-rate span { font-size: 18px; font-weight: 500; opacity: 0.8; }
.pricing-body { padding: 40px; }
.pricing-features { margin-bottom: 35px; }
.pricing-features li { 
    display: flex; align-items: center; margin-bottom: 16px; 
    font-size: 16px; color: var(--text-dark); font-weight: 500;
    padding-bottom: 16px; border-bottom: 1px solid #f0f0f0;
}
.pricing-features li:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.pricing-features .material-icons { color: var(--primary-dark); margin-right: 12px; font-size: 22px; }

.ref-section-inner {
    background: #121a16; color: white; border-radius: 30px; padding: 70px;
    display: flex; align-items: center; gap: 60px; position: relative; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.ref-section-inner::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(128, 255, 191, 0.1) 0%, rgba(0,0,0,0) 60%); pointer-events: none;
}
.ref-content { flex: 1.2; position: relative; z-index: 2; }
.ref-badge { 
    display: inline-flex; align-items: center; background: rgba(128, 255, 191, 0.15); 
    color: var(--primary-color); padding: 6px 14px; border-radius: 30px; 
    font-size: 14px; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(128, 255, 191, 0.3);
}
.ref-content h2 { font-size: 40px; margin-bottom: 20px; color: white; line-height: 1.2; }
.ref-levels { display: flex; gap: 20px; margin-top: 40px; }
.ref-level-card {
    background: rgba(255,255,255,0.05); padding: 25px 20px; border-radius: 16px;
    text-align: center; flex: 1; border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}
.ref-level-card:hover { border-color: var(--primary-color); background: rgba(128, 255, 191, 0.05); transform: translateY(-3px); }
.ref-perc { display: block; font-size: 42px; font-weight: 800; color: var(--primary-color); line-height: 1; margin-bottom: 8px; }
.ref-label { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 500; }

.ref-visual { flex: 0.8; position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.network-tree { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; }
.net-node { width: 70px; height: 70px; background: rgba(255,255,255,0.1); border: 2px solid var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; box-shadow: 0 0 20px rgba(128, 255, 191, 0.2); }
.net-node .material-icons { font-size: 32px; color: var(--primary-color); }
.net-node.main { width: 90px; height: 90px; background: var(--primary-dark); border: none; box-shadow: 0 0 30px rgba(76, 217, 149, 0.5); }
.net-node.main .material-icons { color: #121a16; font-size: 40px; }
.net-row { display: flex; gap: 50px; position: relative; z-index: 2; }

.net-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.net-lines svg { width: 100%; height: 100%; }
.net-lines path { stroke: rgba(128, 255, 191, 0.3); stroke-width: 2; fill: none; stroke-dasharray: 5,5; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -1000; } }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-light); margin-bottom: 15px; border-radius: 12px; border: 1px solid #eee; transition: all 0.3s; }
.faq-item.active { border-color: var(--primary-color); box-shadow: 0 5px 20px rgba(128, 255, 191, 0.1); }
.faq-question { padding: 20px 25px; cursor: pointer; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.faq-toggle-icon { color: var(--text-medium); transition: transform 0.3s; }
.faq-item.active .faq-toggle-icon { transform: rotate(180deg); color: var(--primary-dark); }
.faq-answer { padding: 0 25px 25px; color: var(--text-medium); display: none; }

footer { background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 40px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 18px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 14px; }

@media (max-width: 992px) {
    .hero h1 { font-size: 36px; }
    .hero-container { flex-direction: column; text-align: center; gap: 40px; }
    
    .menu-toggle { display: block; }
    .nav-content {
        position: absolute; top: 80px; left: 0; width: 100%; background: white;
        flex-direction: column; padding: 30px 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: all 0.4s ease-in-out;
    }
    .nav-content.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
    .nav-links { flex-direction: column; align-items: center; gap: 20px; width: 100%; }
    .nav-actions { flex-direction: column; width: 100%; gap: 15px; margin-top: 25px; }
    .nav-actions .btn { width: 100%; }
    .lang-switch { order: -1; margin-bottom: 15px; }

    .work-steps { grid-template-columns: 1fr; }
    
    .ref-section-inner { flex-direction: column; padding: 50px 30px; text-align: center; }
    .ref-levels { flex-direction: column; width: 100%; }
    .ref-visual { display: none; }
    
    .footer-content { flex-direction: column; gap: 30px; }
}