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

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #0b0d1a;
    color: #eef0f7;
    line-height: 1.5;
    transition: background 0.3s, color 0.3s;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
}

.card {
    background: rgba(20,22,42,0.7);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.6);
    transition: transform 0.25s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 48px -12px rgba(59,76,255,0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b4cff, #6c5ce7);
    color: #fff;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 500;
    border: none;
    transition: 0.2s;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #5364ff, #7f6ff0);
    transform: scale(1.02);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 28px;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.badge {
    background: rgba(59,76,255,0.2);
    padding: 4px 14px;
    border-radius: 60px;
    font-size: 0.85rem;
    color: #b3c2ff;
    border: 1px solid rgba(59,76,255,0.2);
}

.light-mode {
    background: #f5f7fc;
    color: #1a1d2e;
}

.light-mode .glass {
    background: rgba(255,255,255,0.7);
    border-color: rgba(0,0,0,0.05);
}

.light-mode .card {
    background: rgba(255,255,255,0.6);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.light-mode .btn {
    background: linear-gradient(135deg, #3b4cff, #6c5ce7);
    color: #fff;
}

.light-mode .badge {
    background: rgba(59,76,255,0.1);
}

nav a:hover {
    opacity: 0.8;
}

.hero svg {
    width: 100%;
    height: auto;
}

.lazy {
    opacity: 0;
    transition: opacity 0.4s;
}

.lazy.loaded {
    opacity: 1;
}

.footer-links a {
    color: #9ca3d0;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #b3c2ff;
}

@media (max-width: 760px) {
    .section-title {
        font-size: 1.8rem;
    }
    .card {
        padding: 20px;
    }
}