:root {
    --bg-color: #0d1117;
    --card-color: #161b22;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent: #238636; /* Success green */
    --accent-glow: rgba(35, 134, 54, 0.4);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    padding: 0 5%;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

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

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

.status-tag {
    font-size: 0.8rem;
    background: var(--card-color);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--accent);
}

/* HERO */
header {
    text-align: center;
    max-width: 900px;
    margin: 4rem auto;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.15rem;
    line-height: 1.1;
}

.highlight {
    color: var(--accent);
}

.subtitle {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* This creates perfect spacing between buttons */
}

.btn-primary {
    display: inline-block;
    background-color: #0070ba; /* PayPal Blue */
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 10px 30px rgba(0, 112, 186, 0.3);
    min-width: 250px; /* Ensures consistent size on mobile */
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #005ea6;
}

.btn-secondary {
    display: inline-block;
    background-color: #49aa47; /* M-Pesa Green */
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 10px 30px rgba(73, 170, 71, 0.3);
    min-width: 250px; /* Ensures consistent size on mobile */
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #3d8e3b;
}

.cta-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* DATA TERMINAL */
.data-preview {
    max-width: 800px;
    margin: 6rem auto;
    border: 1px solid #30363d;
    border-radius: 0.5rem;
    overflow: hidden;
}

.terminal-header {
    background: #161b22;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #30363d;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #484f58;
}

.terminal-header .title {
    margin-left: auto;
    margin-right: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.score-high {
    color: #39d353;
    font-weight: 700;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 6rem 0;
}

.feature-card {
    background: var(--card-color);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #30363d;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* FOOTER */
footer {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid #30363d;
    color: var(--text-secondary);
}

.footer-sub {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}
