:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --bg-color: #0c0f1a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    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;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Particles Container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle at center, #1e1b4b 0%, #0c0f1a 100%);
}

/* Typography elements */
h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(12, 15, 26, 0.7);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

/* Base Glass Panel Style */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 30px 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.primary-btn {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px var(--primary-glow);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--primary-glow);
}

/* App Mockup UI */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.app-mockup {
    width: 320px;
    height: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-mockup::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary);
    filter: blur(60px);
    z-index: -1;
    opacity: 0.5;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.server-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.flag { font-size: 2rem; }

.server-info h4 { margin-bottom: 5px; font-weight: 600; }
.server-info .status {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 10px;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
}

.protocol-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: auto;
}

.badge-proto {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-btn {
    background: var(--text-main);
    color: var(--bg-color);
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 40px;
    cursor: pointer;
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Legal Pages Styling */
.legal-content {
    flex: 1;
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 30px;
    width: 100%;
}

.legal-card {
    padding: 50px;
}

.title-large {
    font-size: 3rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
}

.legal-text h2 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--text-main);
}

.legal-text p, .legal-text ul {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.legal-text ul {
    padding-left: 20px;
}

.legal-text li {
    margin-bottom: 10px;
}

.legal-text strong {
    color: var(--text-main);
}

.deletion-list {
    list-style: none !important;
    padding: 0 !important;
}

.deletion-list li {
    color: var(--text-main) !important;
    background: rgba(255,255,255,0.03);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
}

/* Footer */
.glass-footer {
    background: rgba(12, 15, 26, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 60px 30px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.bounce-in {
    animation: bounceIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 { animation-delay: 0.2s; }

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes bounceIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero h1 { font-size: 3.5rem; }
    
    .hero-content {
        margin-bottom: 60px;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified mobile nav for now */
    .hero h1 { font-size: 2.8rem; }
    .legal-card { padding: 30px; }
    .title-large { font-size: 2.2rem; }
}
