/* =========================================
   xGuard™ Design System | v1.0
   Authors: xPlugins x WillfryDev
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Fira+Code:wght@400&display=swap');





















:root {
    --bg-color: #050507;
    --card-bg: rgba(20, 20, 25, 0.7);
    --accent-color: #00f2ff;
    --accent-secondary: #7000ff;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --terminal-bg: #0f0f12;
    --success: #10b981;
}











@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #f8f9fa;
        --card-bg: rgba(255, 255, 255, 0.8);
        --accent-color: #0070f3;
        --accent-secondary: #7928ca;
        --text-main: #111111;
        --text-muted: #666666;
        --border: rgba(0, 0, 0, 0.1);
        --terminal-bg: #1e1e1e;
    }
    body {
        background-image: 
            radial-gradient(circle at 15% 50%, rgba(0, 112, 243, 0.05), transparent 25%),
            radial-gradient(circle at 85% 30%, rgba(121, 40, 202, 0.05), transparent 25%);
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 242, 255, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(112, 0, 255, 0.05), transparent 25%);
    transition: background-color 0.5s ease;
}



















nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.2));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1) rotate(-3deg);
}

.logo span { color: var(--accent-color); }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-color); }















header { text-align: center; padding: 5rem 1rem 3rem; animation: fadeIn 1s ease-out; }

.badge { 
    display: inline-block; padding: 6px 16px; border-radius: 50px; 
    background: rgba(0, 242, 255, 0.08); border: 1px solid var(--accent-color); 
    color: var(--accent-color); font-size: 0.75rem; font-weight: 700; 
    letter-spacing: 1px; margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.1;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted); font-size: 1.1rem; max-width: 600px; 
    margin: 0 auto 3rem auto; line-height: 1.6;
}


















.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }

.grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem; padding-bottom: 4rem;
}

.card {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 20px; padding: 2.5rem; position: relative;
    backdrop-filter: blur(20px); transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); overflow: hidden;
}

.card:hover {
    transform: translateY(-5px); border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 242, 255, 0.1);
}

.icon-box {
    width: 50px; height: 50px; background: rgba(255,255,255,0.05);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--accent-color);
    border: 1px solid var(--border);
}

.card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--text-main); }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.6; }


















.terminal-mini {
    background: var(--terminal-bg); border-radius: 8px; border: 1px solid var(--border);
    padding: 1rem; display: flex; justify-content: space-between; align-items: center;
}

.command-text {
    font-family: 'Fira Code', monospace; color: #a5b3ce; font-size: 0.85rem;
    overflow-x: auto; white-space: nowrap; margin-right: 1rem; scrollbar-width: none;
}
.command-text::before { content: '$ '; color: var(--accent-color); }

.copy-btn {
    background: transparent; border: none; color: white; padding: 5px;
    border-radius: 6px; cursor: pointer; font-size: 1.2rem; transition: color 0.2s;
}
.copy-btn:hover { color: var(--accent-color); }

















.demo-section { margin-bottom: 6rem; padding-top: 2rem; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2rem; font-weight: 700; color: var(--text-main); }

.live-terminal-window {
    background: #0f0f12; border-radius: 12px; border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); max-width: 800px; margin: 0 auto; overflow: hidden;
}
.window-header {
    background: #1a1b1e; padding: 10px 15px; display: flex; align-items: center; border-bottom: 1px solid #333;
}
.dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }
.window-title { margin-left: 15px; font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #666; }

.window-body {
    padding: 20px; font-family: 'Fira Code', monospace; font-size: 0.9rem; color: #d4d4d4; min-height: 250px;
}
.line { display: block; margin-bottom: 5px; opacity: 0; animation: fadeLine 0.1s forwards; }
.line.cmd { color: var(--text-main); }
.line.cmd::before { content: "root@server:~# "; color: var(--accent-color); }
.line.info { color: #61afef; }
.line.success { color: #98c379; }
.line.warn { color: #e5c07b; }

@keyframes fadeLine { to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }




















.feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.review-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 15px; padding: 2rem;
}
.stars { color: #ffd700; margin-bottom: 1rem; letter-spacing: 2px; }
.review-card p { font-style: italic; color: var(--text-muted); margin-bottom: 1.5rem; }
.user { display: flex; align-items: center; gap: 10px; }
.avatar { 
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; 
    justify-content: center; font-weight: bold; color: white; 
}
.user span { font-weight: 600; font-size: 0.9rem; display: flex; flex-direction: column; color: var(--text-main); }
.user small { font-weight: 400; color: var(--text-muted); font-size: 0.75rem; }

























.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.success-modal {
    background: rgba(20, 20, 25, 0.9); border: 1px solid var(--accent-color);
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.2); padding: 2.5rem 4rem;
    border-radius: 20px; text-align: center; transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.active .success-modal { transform: scale(1); }
.modal-icon { font-size: 3rem; color: var(--success); margin-bottom: 1rem; animation: bounceIn 0.5s; }

.particle {
    position: absolute; width: 6px; height: 6px; background: var(--accent-color);
    border-radius: 50%; pointer-events: none; z-index: 1001;
}

@keyframes bounceIn { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }


























footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 1rem 2rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.footer-nav a:hover {
    color: var(--accent-color);
    background: rgba(0, 242, 255, 0.05);
    transform: translateY(-2px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.6;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 2rem;
    max-width: 600px;
    margin: 0 auto;
}


























@media (max-width: 768px) { 
    h1 { font-size: 2.5rem; } 
    .grid, .feedback-grid { grid-template-columns: 1fr; }
    .footer-nav { flex-direction: column; gap: 1rem; }
}