/* --- Core Style --- */
:root {
    --bg-color: #050509;
    --text-color: #e0e0e0;
    --primary-color: #a363ff; /* Neon Purple */
    --secondary-color: #00f2fe; /* Neon Cyan */
    --accent-dark: #1a1a2e;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

span {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Nav --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(5, 5, 9, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: -1px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn-api {
    border: 1px solid var(--primary-color);
    padding: 8px 18px;
    border-radius: 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: 0.3s;
}

.btn-api:hover {
    background: var(--primary-color);
    color: white;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns a {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 10px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #da6eff);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 0 15px var(--primary-color);
}

.btn-secondary {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: rgba(0, 242, 254, 0.1);
}

/* --- Features --- */
.features {
    padding: 100px 50px;
    background-color: var(--accent-dark);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(163, 99, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

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

.feature-card h3 {
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
    color: #666;
}


.footer-mail {
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--primary);
    transition: 0.3s;
}

.footer-mail:hover { color: var(--secondary); border-color: var(--secondary); }


