/*
       ___                    _ 
  __  / _ \_    _  __ _ _ __ __| |
  \ \/ // /_\/ | | |/ _` | '__/ _` |
   >  </ /_\\| |_| | (_| | | | (_| |
  /_/\_\____/ \__,_|\__,_|_|  \__,_|
                                    
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #121212;
    --bg-secondary: #0c0c0c;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.6);
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- BACKGROUNDS & EFFECTS --- */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: 
        linear-gradient(to right, var(--border-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
    background-size: 40px 40px; 
    opacity: 0.15;
    z-index: -2;
    pointer-events: none;
}

canvas#particles {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; opacity: 0.5; pointer-events: none;
}

.fade-in {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- NAVBAR --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%; background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky; top: 0; z-index: 1000;
}
.logo { font-weight: 800; font-size: 1.3rem; color: #fff; text-decoration: none; z-index: 1001; }

.nav-links { display: flex; align-items: center; }
.nav-links a:not(.btn-secondary) {
    color: var(--text-secondary); text-decoration: none; margin-left: 2rem;
    font-weight: 500; transition: 0.3s; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent-color); }
.nav-links .btn-sm { margin-left: 2rem; padding: 8px 16px; font-size: 0.9rem; }

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 0 20px; position: relative;
}
.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 800;
    letter-spacing: -2px; line-height: 1.1; margin-bottom: 1.5rem;
}
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
    color: var(--text-secondary); font-size: 1.25rem; margin-bottom: 2.5rem;
    max-width: 650px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 4rem; }

.oni-logo {
    width: 130px; height: auto;
    filter: drop-shadow(0 0 25px rgba(220, 20, 60, 0.8));
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); display: flex; flex-direction: column;
    align-items: center; color: var(--text-secondary); font-size: 0.9rem;
}
.mouse {
    width: 26px; height: 42px; border: 2px solid var(--text-secondary);
    border-radius: 20px; margin-bottom: 10px; position: relative;
}
.wheel {
    width: 4px; height: 8px; background: var(--text-secondary);
    border-radius: 2px; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%); animation: scroll 1.5s infinite;
}
@keyframes scroll { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 24px; } }

/* --- BUTTONS --- */
.btn-primary, .btn-secondary, .btn-card {
    padding: 12px 32px; font-weight: 600; border-radius: 8px;
    text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background-color: #fff; color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid var(--border-color); }
.btn-secondary:hover { border-color: var(--accent-color); background: rgba(59, 130, 246, 0.1); }

.rocket-btn {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--accent-color); color: #fff; border: none; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer; box-shadow: 0 0 20px var(--accent-glow);
    display: flex; justify-content: center; align-items: center; z-index: 1000;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; transform: translateY(20px);
}
.rocket-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.rocket-btn:hover { background: #fff; color: var(--accent-color); transform: translateY(-5px); }

/* --- SECTIONS & GRID --- */
.section-pad { padding: 80px 10%; }
.bg-darker { background-color: rgba(0,0,0,0.3); }
.features-grid, .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-weight: 800; font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 15px; }
.section-subtitle { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* --- CARDS (Universal) --- */
.feature-card, .card, .step-card, .testimonial-card {
    background: var(--bg-secondary); border: 1px solid var(--border-color);
    padding: 2.5rem; border-radius: 16px; text-align: center; transition: 0.3s;
    position: relative; overflow: hidden;
}
.feature-card:hover, .card:hover, .step-card:hover, .testimonial-card:hover {
    border-color: var(--accent-color); transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.icon-glow { font-size: 3rem; color: var(--accent-color); margin-bottom: 1.5rem; filter: drop-shadow(0 0 15px var(--accent-color)); }
.feature-card h3, .card h3, .step-card h3 { margin-bottom: 12px; color: #fff; font-size: 1.3rem; font-weight: 700; }
.feature-card p, .card p, .step-card p { color: var(--text-secondary); font-size: 1rem; }

/* --- STEPS --- */
.steps-container { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.step-icon { font-size: 3.5rem; color: var(--accent-color); margin-bottom: 1.5rem; filter: drop-shadow(0 0 20px var(--accent-color)); }
.step-arrow { align-self: center; font-size: 2rem; color: var(--border-color); margin-top: -40px; }

/* --- PRODUCT CARDS --- */
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.badge { font-size: 0.75rem; padding: 5px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 600; }
.badge.supreme { background: linear-gradient(45deg, var(--accent-color), #8b5cf6); box-shadow: 0 0 10px var(--accent-glow); }
.price-list { list-style: none; margin-bottom: 2rem; }
.price-list li { display: flex; justify-content: space-between; margin-bottom: 15px; color: var(--text-secondary); font-size: 1rem; }
.price-list li span { color: #fff; font-weight: 700; font-size: 1.1rem; }
.btn-card { display: block; width: 100%; text-align: center; background: var(--accent-color); color: white; box-shadow: 0 0 20px var(--accent-glow); }
.btn-card:hover { filter: brightness(1.15); box-shadow: 0 0 30px var(--accent-glow); }

/* --- TESTIMONIALS --- */
.quote-icon { font-size: 2rem; color: var(--accent-color); opacity: 0.3; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.05rem; }
.testimonial-author { display: flex; align-items: center; }
.author-avatar { font-size: 3rem; color: var(--text-secondary); margin-right: 15px; background: var(--bg-secondary); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-color); }
.author-info h4 { font-size: 1rem; font-weight: 700; }
.author-info p { font-size: 0.85rem; color: var(--text-secondary); }

/* --- SUGGESTION FORM --- */
.suggestion-box { max-width: 600px; margin: 0 auto; background: var(--bg-secondary); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.suggestion-form { display: flex; flex-direction: column; gap: 20px; }
.input-field { width: 100%; padding: 15px; background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: 8px; color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; outline: none; transition: 0.3s; }
.input-field:focus { border-color: var(--accent-color); box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); }
.textarea-field { min-height: 120px; resize: vertical; }
.rocket-emoji { width: 40px; height: 40px; vertical-align: middle; filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5)); }
.captcha-container { display: flex; align-items: center; gap: 15px; background: var(--bg-tertiary); padding: 10px 15px; border-radius: 8px; border: 1px solid var(--border-color); }
#captcha-label { color: var(--accent-color); font-weight: 700; white-space: nowrap; font-size: 1.1rem; }
.captcha-field { width: 100px !important; padding: 8px !important; text-align: center; border: none; background: transparent; border-bottom: 2px solid var(--border-color); border-radius: 0; }
.captcha-field:focus { box-shadow: none; border-color: var(--accent-color); }
.msg-success { color: #22c55e; } .msg-error { color: #ef4444; }

/* --- STATUS PAGE STYLES --- */
.status-header { text-align: center; margin-bottom: 50px; padding: 30px; background: var(--bg-secondary); border-radius: 16px; border: 1px solid var(--border-color); }
.status-big-icon { font-size: 3rem; color: #22c55e; margin-bottom: 15px; text-shadow: 0 0 20px rgba(34, 197, 94, 0.4); }
.status-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.status-row { 
    display: flex; justify-content: space-between; align-items: center; 
    background: var(--bg-secondary); padding: 20px 30px; 
    border-radius: 12px; border: 1px solid var(--border-color); transition: 0.3s;
}
.status-row:hover { border-color: var(--accent-color); transform: translateX(5px); }
.status-name { font-weight: 600; font-size: 1.1rem; display: flex; align-items: center; gap: 15px; color: #fff; }
.status-name i { color: var(--accent-color); font-size: 1.2rem; }
.status-indicator { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.st-online { color: #22c55e; } .st-online .dot { background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.st-update { color: #f59e0b; } .st-update .dot { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }
.st-offline { color: #ef4444; } .st-offline .dot { background: #ef4444; box-shadow: 0 0 10px #ef4444; }

/* --- FAQ STYLES --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-secondary); border: 1px solid var(--border-color); margin-bottom: 15px; border-radius: 12px; overflow: hidden; transition: 0.3s; }
.faq-item:hover { border-color: var(--border-color); }
.faq-question { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; transition: 0.3s; }
.faq-question i { transition: 0.3s; color: var(--accent-color); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 25px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.active { border-color: var(--accent-color); }
.faq-item.active .faq-question { color: #fff; background: rgba(59, 130, 246, 0.05); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { padding-bottom: 25px; padding-top: 10px; }

/* --- FOOTER --- */
footer { background: var(--bg-secondary); padding: 80px 10% 30px; border-top: 1px solid var(--border-color); margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 60px; }
.footer-col h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff; }
.footer-col p { color: var(--text-secondary); max-width: 300px; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
.footer-col a:hover { color: var(--accent-color); }
.social-icons { display: flex; gap: 15px; }
.social-icons a { font-size: 1.5rem; width: 40px; height: 40px; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-color); color: #fff; }
.social-icons a:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.9rem; }
.payment-icons-footer { font-size: 1.5rem; display: flex; gap: 15px; color: var(--text-secondary); }
.dev-credit { font-weight: 800; text-decoration: none; background: linear-gradient(90deg, #00f2ff, #0044ff, #ff00cc); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: 0.5s; animation: gradientMove 3s linear infinite; }
.dev-credit:hover { text-shadow: 0 0 15px rgba(0, 242, 255, 0.5); transform: scale(1.05); display: inline-block; }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* --- COOKIES --- */
.cookie-banner { position: fixed; bottom: -100px; left: 0; width: 100%; background: rgba(12, 12, 12, 0.95); border-top: 1px solid var(--border-color); padding: 20px; z-index: 999; display: flex; justify-content: center; transition: bottom 0.5s ease-in-out; }
.cookie-banner.show { bottom: 0; }
.cookie-content { display: flex; align-items: center; gap: 20px; }

/* --- TEXT PAGES --- */
.text-page-content { max-width: 900px; margin: 0 auto; background: var(--bg-secondary); padding: 40px; border-radius: 16px; border: 1px solid var(--border-color); }
.text-page-content h2 { color: #fff; margin-top: 30px; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.text-page-content p { margin-bottom: 15px; color: var(--text-secondary); }

/* ==================== RESPONSIVE MOBILE ==================== */
@media (max-width: 900px) {
    .steps-container { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 20px 0; }
    .step-card { width: 100%; max-width: 400px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        flex-direction: column; background: #0c0c0c;
        border-bottom: 1px solid var(--border-color);
        display: none; padding: 20px 0;
    }
    .nav-links.active { display: flex; }
    .nav-links a { margin: 10px 0; }
    .nav-links .btn-sm { margin: 10px 0; }
    
    .hero h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col p { margin: 0 auto; }
    .social-icons { justify-content: center; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; }
    .rocket-btn { bottom: 20px; right: 20px; width: 45px; height: 45px; }
    
    .section-pad { padding: 60px 5%; }
    .suggestion-box { padding: 25px; }
}