:root {
    --bg-color: #0d1117;
    --text-main: #c9d1d9;
    --accent: #58a6ff;
    --card-bg: #161b22;
    --border: #30363d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.logo span {
    color: var(--accent);
}

.links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.links a:hover {
    color: white;
}

.btn-primary {
    background-color: var(--accent);
    color: #000 !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #8b949e;
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.hero-code {
    flex: 1;
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.code-header {
    background-color: #010409;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

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

.code-header .title {
    margin-left: 15px;
    font-family: monospace;
    font-size: 0.9rem;
    color: #8b949e;
}

pre {
    padding: 1.5rem;
    overflow-x: auto;
}

code {
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
    color: #79c0ff;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.feature-card h3 {
    color: white;
    margin-bottom: 1rem;
}