@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: #a5b4fc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font-family: inherit;
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: translateY(0);
}

input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

::selection {
    background: rgba(99, 102, 241, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

#main-content {
    transition: margin-left 0.28s ease;
}

@media (max-width: 768px) {
    #main-content {
        margin-left: 0 !important;
    }
    nav {
        padding: 0 16px !important;
    }
    h1 {
        font-size: 32px !important;
    }
    section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .hero-section h1 {
        font-size: 36px !important;
    }
}
